[Openstack] Unable to run Glance in a Devstack Installation

Victor Ruiz VictorMRuizS at gmail.com
Wed Aug 14 15:54:23 UTC 2013


Hello everyone,

I'm trying to install Openstack by using Devstack, in a Ubuntu Server
12.04.2 VM but when I launch the installation script I always get this
error:

+ screen -S stack -p g-api -X stuff 'cd /opt/stack/glance;
/usr/local/bin/glance-api --config-file=/etc/glance/glance-api.conf ||
touch "/opt/stack/status/stack/g-api.fai'ure"
+ echo 'Waiting for g-api (10.0.2.15:9292) to start...'
Waiting for g-api (10.0.2.15:9292) to start...
+ timeout 60 sh -c 'while ! http_proxy= wget -q -O- http://10.0.2.15:9292;
do sleep 1; done'
+ die 191 'g-api did not start'
+ local exitcode=0
+ set +o xtrace
[Call Trace]
stack.sh:1186:start_glance
/opt/stack/devstack/lib/glance:191:die
[ERROR] /opt/stack/devstack/lib/glance:191 g-api did not start

And then, when I try to execute  /usr/local/bin/glance-api
--config-file=/etc/glance/glance-api.conf to see what happens I get this:

2013-08-14 17:45:12.779 10822 DEBUG glance.store [-] Attempting to import
store glance.store.filesystem.Store _get_store_class
/opt/stack/glance/glance/store/__init__.py:144
2013-08-14 17:45:12.781 10822 DEBUG glance.store [-] Registering store
<class 'glance.store.filesystem.Store'> with schemes ('file', 'filesystem')
create_stores /opt/stack/glance/glance/store/__init__.py:174
2013-08-14 17:45:12.782 10822 DEBUG glance.store.base [-] Late loading
location class glance.store.filesystem.StoreLocation
get_store_location_class /opt/stack/glance/glance/store/base.py:68
2013-08-14 17:45:12.782 10822 DEBUG glance.store.location [-] Registering
scheme file with {'store_class': <class 'glance.store.filesystem.Store'>,
'location_class': <class 'glance.store.filesystem.StoreLocation'>}
register_scheme_map /opt/stack/glance/glance/store/location.py:86
2013-08-14 17:45:12.783 10822 DEBUG glance.store.location [-] Registering
scheme filesystem with {'store_class': <class
'glance.store.filesystem.Store'>, 'location_class': <class
'glance.store.filesystem.StoreLocation'>} register_scheme_map
/opt/stack/glance/glance/store/location.py:86
2013-08-14 17:45:12.784 10822 DEBUG glance.store [-] Attempting to import
store glance.store.http.Store _get_store_class
/opt/stack/glance/glance/store/__init__.py:144
2013-08-14 17:45:12.785 10822 DEBUG glance.store [-] Registering store
<class 'glance.store.http.Store'> with schemes ('http', 'https')
create_stores /opt/stack/glance/glance/store/__init__.py:174
2013-08-14 17:45:12.785 10822 DEBUG glance.store.base [-] Late loading
location class glance.store.http.StoreLocation get_store_location_class
/opt/stack/glance/glance/store/base.py:68
2013-08-14 17:45:12.786 10822 DEBUG glance.store.location [-] Registering
scheme http with {'store_class': <class 'glance.store.http.Store'>,
'location_class': <class 'glance.store.http.StoreLocation'>}
register_scheme_map /opt/stack/glance/glance/store/location.py:86
2013-08-14 17:45:12.787 10822 DEBUG glance.store.location [-] Registering
scheme https with {'store_class': <class 'glance.store.http.Store'>,
'location_class': <class 'glance.store.http.StoreLocation'>}
register_scheme_map /opt/stack/glance/glance/store/location.py:86
2013-08-14 17:45:12.787 10822 DEBUG glance.store [-] Attempting to import
store glance.store.rbd.Store _get_store_class
/opt/stack/glance/glance/store/__init__.py:144
2013-08-14 17:45:12.788 10822 DEBUG glance.store [-] Registering store
<class 'glance.store.rbd.Store'> with schemes ('rbd',) create_stores
/opt/stack/glance/glance/store/__init__.py:174
2013-08-14 17:45:12.789 10822 DEBUG glance.store.base [-] Late loading
location class glance.store.rbd.StoreLocation get_store_location_class
/opt/stack/glance/glance/store/base.py:68
2013-08-14 17:45:12.790 10822 DEBUG glance.store.location [-] Registering
scheme rbd with {'store_class': <class 'glance.store.rbd.Store'>,
'location_class': <class 'glance.store.rbd.StoreLocation'>}
register_scheme_map /opt/stack/glance/glance/store/location.py:86
2013-08-14 17:45:12.790 10822 DEBUG glance.store [-] Attempting to import
store glance.store.s3.Store _get_store_class
/opt/stack/glance/glance/store/__init__.py:144
2013-08-14 17:45:12.792 10822 DEBUG glance.store [-] Registering store
<class 'glance.store.s3.Store'> with schemes ('s3', 's3+http', 's3+https')
create_stores /opt/stack/glance/glance/store/__init__.py:174
2013-08-14 17:45:12.792 10822 DEBUG glance.store.base [-] Late loading
location class glance.store.s3.StoreLocation get_store_location_class
/opt/stack/glance/glance/store/base.py:68
2013-08-14 17:45:12.793 10822 DEBUG glance.store.location [-] Registering
scheme s3 with {'store_class': <class 'glance.store.s3.Store'>,
'location_class': <class 'glance.store.s3.StoreLocation'>}
register_scheme_map /opt/stack/glance/glance/store/location.py:86
2013-08-14 17:45:12.793 10822 DEBUG glance.store.location [-] Registering
scheme s3+http with {'store_class': <class 'glance.store.s3.Store'>,
'location_class': <class 'glance.store.s3.StoreLocation'>}
register_scheme_map /opt/stack/glance/glance/store/location.py:86
2013-08-14 17:45:12.794 10822 DEBUG glance.store.location [-] Registering
scheme s3+https with {'store_class': <class 'glance.store.s3.Store'>,
'location_class': <class 'glance.store.s3.StoreLocation'>}
register_scheme_map /opt/stack/glance/glance/store/location.py:86
2013-08-14 17:45:12.795 10822 DEBUG glance.store [-] Attempting to import
store glance.store.swift.Store _get_store_class
/opt/stack/glance/glance/store/__init__.py:144
2013-08-14 17:45:12.807 10822 DEBUG glance.store [-] Registering store
<function Store at 0x195c140> with schemes ('swift+https', 'swift',
'swift+http') create_stores /opt/stack/glance/glance/store/__init__.py:174
2013-08-14 17:45:12.807 10822 DEBUG glance.store.base [-] Late loading
location class glance.store.swift.StoreLocation get_store_location_class
/opt/stack/glance/glance/store/base.py:68
2013-08-14 17:45:12.808 10822 DEBUG glance.store.location [-] Registering
scheme swift+https with {'store_class': <function Store at 0x195c140>,
'location_class': <class 'glance.store.swift.StoreLocation'>}
register_scheme_map /opt/stack/glance/glance/store/location.py:86
2013-08-14 17:45:12.808 10822 DEBUG glance.store.location [-] Registering
scheme swift+http with {'store_class': <function Store at 0x195c140>,
'location_class': <class 'glance.store.swift.StoreLocation'>}
register_scheme_map /opt/stack/glance/glance/store/location.py:86
2013-08-14 17:45:12.809 10822 DEBUG glance.store.location [-] Registering
scheme swift with {'store_class': <function Store at 0x195c140>,
'location_class': <class 'glance.store.swift.StoreLocation'>}
register_scheme_map /opt/stack/glance/glance/store/location.py:86
2013-08-14 17:45:12.810 10822 DEBUG glance.store [-] Attempting to import
store glance.store.sheepdog.Store _get_store_class
/opt/stack/glance/glance/store/__init__.py:144
2013-08-14 17:45:12.812 10822 DEBUG glance.openstack.common.processutils
[-] Running cmd (subprocess): collie execute
/opt/stack/glance/glance/openstack/common/processutils.py:142
2013-08-14 17:45:12.821 10822 DEBUG glance.store [-] Registering store
<class 'glance.store.sheepdog.Store'> with schemes ('sheepdog',)
create_stores /opt/stack/glance/glance/store/__init__.py:174
2013-08-14 17:45:12.822 10822 DEBUG glance.store.base [-] Late loading
location class glance.store.sheepdog.StoreLocation get_store_location_class
/opt/stack/glance/glance/store/base.py:68
2013-08-14 17:45:12.822 10822 DEBUG glance.store.location [-] Registering
scheme sheepdog with {'store_class': <class 'glance.store.sheepdog.Store'>,
'location_class': <class 'glance.store.sheepdog.StoreLocation'>}
register_scheme_map /opt/stack/glance/glance/store/location.py:86
2013-08-14 17:45:12.823 10822 DEBUG glance.store [-] Attempting to import
store glance.store.cinder.Store _get_store_class
/opt/stack/glance/glance/store/__init__.py:144
2013-08-14 17:45:12.875 10822 CRITICAL glance [-] 'ascii' codec can't
encode character u'\xf3' in position 65: ordinal not in range(128)

Any ideas? Thanks you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130814/cb5db791/attachment.html>


More information about the Openstack mailing list