AttributeError: 'FlatManager' object has no attribute 'allocate_network'

asked 2010-11-30 19:23:48 -0500

naangilsunder gravatar image

hi, I followed the below link for installing Nova in Ubuntu 10.10

http://wiki.openstack.org/NovaInstall/MultipleServer (http://wiki.openstack.org/NovaInstall...)

while i try to run Step no 4

/usr/bin/python /usr/bin/nova-manage project create <project_name> <user_name>

Iam getting the following error

INFO:root:backend <module 'nova.db.sqlalchemy.api'="" from="" '="" usr="" lib="" pymodules="" python2.6="" nova="" db="" sqlalchemy="" api.pyc'=""> /usr/lib/pymodules/python2.6/nova/db/sqlalchemy/api.py:42: DeprecationWarning: Use of empty request context is deprecated DeprecationWarning) Traceback (most recent call last): File "/usr/bin/nova-manage", line 457, in <module> main() File "/usr/bin/nova-manage", line 449, in main fn(argv) File "/usr/bin/nova-manage", line 297, in create self.manager.create_project(name, project_manager, description) File "/usr/lib/pymodules/python2.6/nova/auth/manager.py", line 488, in create_project self.network_manager.allocate_network(context, AttributeError: 'FlatManager' object has no attribute 'allocate_network' root@cncc:~# /usr/bin/python /usr/bin/nova-manage project create asdshadjsavdfsahdfhsafdfjsadafs ss INFO:root:backend <module 'nova.db.sqlalchemy.api'="" from="" '="" usr="" lib="" pymodules="" python2.6="" nova="" db="" sqlalchemy="" api.pyc'=""> /usr/lib/pymodules/python2.6/nova/db/sqlalchemy/api.py:42: DeprecationWarning: Use of empty request context is deprecated DeprecationWarning) Traceback (most recent call last): File "/usr/bin/nova-manage", line 457, in <module> main() File "/usr/bin/nova-manage", line 449, in main fn(argv) File "/usr/bin/nova-manage", line 297, in create self.manager.create_project(name, project_manager, description) File "/usr/lib/pymodules/python2.6/nova/auth/manager.py", line 484, in create_project member_users) File "/usr/lib/pymodules/python2.6/nova/auth/dbdriver.py", line 101, in create_project manager = db.user_get({}, manager_uid) File "/usr/lib/pymodules/python2.6/nova/db/api.py", line 575, in user_get return IMPL.user_get(context, id) File "/usr/lib/pymodules/python2.6/nova/db/sqlalchemy/api.py", line 92, in wrapper return f(args, *kwargs) File "/usr/lib/pymodules/python2.6/nova/db/sqlalchemy/api.py", line 1296, in user_get raise exception.NotFound('No user for id %s' % id) nova.exception.NotFound: No user for id ss root@cncc:~# /usr/bin/python /usr/bin/nova-manage project create asdshadjsavdfsahdfhsafdfjsadafs cn INFO:root:backend <module 'nova.db.sqlalchemy.api'="" from="" '="" usr="" lib="" pymodules="" python2.6="" nova="" db="" sqlalchemy="" api.pyc'=""> /usr/lib/pymodules/python2.6/nova/db/sqlalchemy/api.py:42: DeprecationWarning: Use of empty request context is deprecated DeprecationWarning) Traceback (most recent call last): File "/usr/bin/nova-manage", line 457, in <module> main() File "/usr/bin/nova-manage", line 449, in main fn(*argv) File "/usr/bin/nova-manage", line 297, in create self.manager.create_project(name, project_manager, description) File "/usr/lib/pymodules/python2.6/nova/auth/manager.py", line 488, in create_project self.network_manager.allocate_network(context, AttributeError: 'FlatManager' object has no attribute 'allocate_network'

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2010-12-28 14:57:58 -0500

naangilsunder gravatar image

HI Josh,

Thanks for your reply , i did re-installation and now not getting any issue in this step.

edit flag offensive delete link more
0

answered 2010-12-08 16:03:13 -0500

jk0 gravatar image

Hi,

Can you confirm that there is in fact a user by the name of 'ss'? This can be done by:

nova-manage user list

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2010-11-30 19:23:48 -0500

Seen: 146 times

Last updated: Dec 28 '10