Ask Your Question
0

STEP4:Can't create a Nova administrator on CentOS(2)

asked 2010-12-02 06:11:43 -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 retag flag offensive close merge delete

5 answers

Sort by » oldest newest most voted
0

answered 2010-12-02 09:16:13 -0500

soren gravatar image

2010/12/2 cjy7891 question136299@answers.launchpad.net:

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

Nova is attempting to connect to http://www.google.com . This was fixed a couple of weeks ago. I recommened you try with a newer snapshot of nova. You can find current snapshots at

http://nova.openstack.org/tarballs

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

edit flag offensive delete link more
0

answered 2010-12-02 09:16:13 -0500

soren gravatar image

2010/12/2 cjy7891 question136299@answers.launchpad.net:

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

Nova is attempting to connect to http://www.google.com . This was fixed a couple of weeks ago. I recommened you try with a newer snapshot of nova. You can find current snapshots at

http://nova.openstack.org/tarballs

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

edit flag offensive delete link more
0

answered 2010-12-02 11:20:53 -0500

thanks for your answer. Tomorrow I will try.

edit flag offensive delete link more
0

answered 2010-12-03 01:56:29 -0500

Used the newer snapshot of nova,my problem was solved .thanks

edit flag offensive delete link more
0

answered 2010-12-03 01:56:51 -0500

Thanks Soren Hansen, that solved my question.

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-02 06:11:43 -0500

Seen: 9 times

Last updated: Dec 03 '10