Ask Your Question
0

STEP4:Can't create a Nova administrator on CentOS

asked 2010-12-01 05:42:17 -0500

when I create a Nova administrator on CentOS5.5, I got this message: [root@localhost ~]# nova-manage user admin anne Traceback (most recent call last): File "/usr/local/bin/nova-manage", line 4, in ? import pkg_resources File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 2603, in ? working_set.require(__requires__) File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 666, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 565, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: nova==2010.1

Best Regards

edit retag flag offensive close merge delete

4 answers

Sort by » oldest newest most voted
0

answered 2010-12-02 06:56:47 -0500

Thanks Soren Hansen, that solved my question.

edit flag offensive delete link more
0

answered 2010-12-02 05:49:50 -0500

I used python 2.6 to build and installed Nova again ,that problem was solved but I get a another problem: [root@localhost nova-2010.1]# nova-manage user admin anne Traceback (most recent call last): File "/usr/local/bin/nova-manage", line 5, in <module> pkg_resources.run_script('nova==2010.1', 'nova-manage') File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 489, in run_script File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 1207, in run_script File "/usr/local/lib/python2.6/site-packages/nova-2010.1-py2.6.egg/EGG-INFO/scripts/nova-manage", line 81, in <module> flags.DECLARE('fixed_range', 'nova.network.manager') File "/usr/local/lib/python2.6/site-packages/nova-2010.1-py2.6.egg/nova/flags.py", line 166, in DECLARE __import__(module_string, globals(), locals()) File "/usr/local/lib/python2.6/site-packages/nova-2010.1-py2.6.egg/nova/network/manager.py", line 47, in <module> flags.DEFINE_string('vpn_ip', utils.get_my_ip(), File "/usr/local/lib/python2.6/site-packages/nova-2010.1-py2.6.egg/nova/utils.py", line 155, in get_my_ip csock.connect(('www.google.com', 80)) File "/usr/local/lib/python2.6/site-packages/eventlet-0.9.13-py2.6.egg/eventlet/greenio.py", line 161, in connect while not socket_connect(fd, address): File "/usr/local/lib/python2.6/site-packages/eventlet-0.9.13-py2.6.egg/eventlet/greenio.py", line 35, in socket_connect raise socket.error(err, errno.errorcode[err]) socket.error: [Errno 110] ETIMEDOUT

Best Regards

edit flag offensive delete link more
0

answered 2010-12-02 01:25:25 -0500

thanks for your answer. I will try to use Python 2.6.

edit flag offensive delete link more
0

answered 2010-12-01 11:01:54 -0500

soren gravatar image

2010/12/1 cjy7891 question136162@answers.launchpad.net:

New question #136162 on OpenStack Compute (nova): When I create a Nova administrator on CentOS5.5,I got the message: [root@localhost nova-2010.1]# nova-manage user admin anne Traceback (most recent call last):  File "/usr/local/bin/nova-manage", line 4, in ?    import pkg_resources  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 2603, in ?    working_set.require(__requires__)  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 666, in require    needed = self.resolve(parse_requirements(requirements))  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 565, in resolve    raise DistributionNotFound(req)  # XXX put more info here pkg_resources.DistributionNotFound: nova==2010.1 If anybody can help me I appreciate.

I'm not sure what the problem is, but your output suggets you're using Python 2.4. Nova requires Python 2.6, so even if that's not your problem, you're not going to get very far. :(


Soren Hansen Ubuntu Developer    http://www.ubuntu.com/ OpenStack Developer http://www.openstack.org/

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2010-12-01 05:42:17 -0500

Seen: 27 times

Last updated: Dec 02 '10