Ask Your Question
1

devstack cannot launch any instances

asked 2015-09-08 20:04:20 -0500

slosh_liuxin gravatar image

updated 2015-09-09 02:26:31 -0500

Hi,all.I install the devstack (all-in-one) on a physics machine with no errors.But,when i launch an instance,it failed.The errors like this in the n-api.log :

  Warning: Can't resolve label reference 'id'; converting to text...
  .........
  ERROR nova.api.openstack.extensions [req-9057c130-c372-448c-abaa-dc8dddee52f5 admin demo] Unexpected exception in API method
 TRACE nova.api.openstack.extensions Traceback (most recent call last):
 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/extensions.py", line 478, in wrapped
 TRACE nova.api.openstack.extensions     return f(*args, **kwargs)
 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/validation/__init__.py", line 61, in wrapper
 TRACE nova.api.openstack.extensions     return func(*args, **kwargs)
 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 508, in get
 TRACE nova.api.openstack.extensions     new = self.manager.get(self.id)
 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 493, in __getattr__
 TRACE nova.api.openstack.extensions     raise AttributeError(k)
 TRACE nova.api.openstack.extensions AttributeError: id

Any answer is very helpful,please tell me how to fix.......Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-09 04:22:20 -0500

This is glance client issue with urlib3. Bug has been reported: https://bugs.launchpad.net/python-glanceclient/+bug/1479296 (https://bugs.launchpad.net/python-gla...) Fix : https://review.openstack.org/#/c/204193/1/global-requirements.txt (https://review.openstack.org/#/c/2041...)

edit flag offensive delete link more

Comments

Thank you very much for helping me! I have seen the bug reported and the fix url,then i check my urllib3 is python-urllib3-1.10.4-1. By the fix url,i change my global-requirements.txt where urllib3>=1.8.3,<1.11. Then i restart devstack,but the same errors report also... Where is my mistake?Pl,help!

slosh_liuxin gravatar imageslosh_liuxin ( 2015-09-09 19:46:18 -0500 )edit

BTW,my OS is centos7.1 64bit.

slosh_liuxin gravatar imageslosh_liuxin ( 2015-09-09 22:14:04 -0500 )edit

Hi, how did you solve this problem? I have met the same problem, and my OS is also CentOS 7. Hope your reply!

Shijia gravatar imageShijia ( 2015-09-22 03:49:19 -0500 )edit

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: 2015-09-08 20:04:20 -0500

Seen: 983 times

Last updated: Sep 09 '15