Ask Your Question
0

glance-api startw with erorr and not able to create image in openstack liberty on ubuntu 14.04 machine

asked 2016-02-08 06:48:46 -0600

anonymous user

Anonymous

When I'm installing glance in liberty openstack on ubuntu 14.04 machine , the glance-api starting with the following error and I'm unable to create glance image. Please someone tell me the solution for this issue as I tried re-installing openstack for 3 time and all the times, I'm facing this issue.

ERROR:

2016-02-08 03:58:39.264 23079 ERROR stevedore.extension [-] Could not load 'glance.store.swift.Store': No module named swiftclient

2016-02-08 03:58:39.265 23079 ERROR stevedore.extension [-] No module named swiftclient

2016-02-08 03:58:39.265 23079 ERROR stevedore.extension Traceback (most recent call last):

2016-02-08 03:58:39.265 23079 ERROR stevedore.extension File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 162, in _load_plugins

2016-02-08 03:58:39.265 23079 ERROR stevedore.extension verify_requirements,

2016-02-08 03:58:39.265 23079 ERROR stevedore.extension File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 183, in _load_one_plugin

2016-02-08 03:58:39.265 23079 ERROR stevedore.extension plugin = ep.resolve()

2016-02-08 03:58:39.265 23079 ERROR stevedore.extension File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve

2016-02-08 03:58:39.265 23079 ERROR stevedore.extension module = __import__(self.module_name, fromlist=['__name__'], level=0)

2016-02-08 03:58:39.265 23079 ERROR stevedore.extension File "/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/__init__.py", line 17, in <module>

2016-02-08 03:58:39.265 23079 ERROR stevedore.extension from glance_store._drivers.swift.store import * # noqa

2016-02-08 03:58:39.265 23079 ERROR stevedore.extension File "/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/store.py", line 28, in <module>

2016-02-08 03:58:39.265 23079 ERROR stevedore.extension import swiftclient

2016-02-08 03:58:39.265 23079 ERROR stevedore.extension ImportError: No module named swiftclient

2016-02-08 03:58:39.265 23079 ERROR stevedore.extension

2016-02-08 03:58:39.266 23079 ERROR stevedore.extension [-] Could not load 'swift': cannot import name utils

2016-02-08 03:58:39.266 23079 ERROR stevedore.extension [-] cannot import name utils

2016-02-08 03:58:39.266 23079 ERROR stevedore.extension Traceback (most recent call last):

2016-02-08 03:58:39.266 23079 ERROR stevedore.extension File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 162, in _load_plugins

2016-02-08 03:58:39.266 23079 ERROR stevedore.extension verify_requirements,

2016-02-08 03:58:39.266 23079 ERROR stevedore.extension File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 183, in _load_one_plugin

2016-02-08 03:58:39.266 23079 ERROR stevedore.extension plugin = ep.resolve()

2016-02-08 03:58:39.266 23079 ERROR stevedore.extension File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve

2016-02-08 03:58:39.266 23079 ERROR stevedore.extension module = __import__(self.module_name, fromlist=['__name__'], level=0)

2016-02-08 03:58:39.266 23079 ERROR stevedore.extension File "/usr/lib/python2.7/dist-packages/glance_store/_drivers/swift/__init__.py", line 16, in <module>

2016-02-08 03:58:39.266 23079 ERROR stevedore.extension from glance_store._drivers.swift import utils # noqa

2016-02-08 03:58:39.266 23079 ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-06-07 02:15:52 -0600

Moss gravatar image

Hello,

Bug report is here: https://bugs.launchpad.net/ubuntu/+so...

Solution I used:

root@brutus:~# grep -i error /var/log/glance/glance-*
ERROR stevedore.extension [-] Could not load 'glance.store.swift.Store': No module named swiftclient
root@brutus:~# apt-get install python-swiftclient
root@brutus:~# service glance-api restart;service glance-registry restart

Enjoy!

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: 2016-02-08 06:11:13 -0600

Seen: 282 times

Last updated: Jun 07 '16