*** This bug is a duplicate of bug 1202098 *** https://bugs.launchpad.net/bugs/1202098
** This bug has been marked a duplicate of bug 1202098 glance-api failed to startup caused by UnicodeEncodeError in non-English environment -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1202963 Title: Unable to run g-api due to sheepdog store Status in OpenStack Image Registry and Delivery Service (Glance): New Bug description: I am using the latest devstack and openstack code. ./stack.sh will prompt the following log for g-api: ===============================g-api=============================== 2013-07-19 03:42:22.387 20198 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-07-19 03:42:22.387 20198 DEBUG glance.store [-] Attempting to import store glance.store.rbd.Store _get_store_class /opt/stack/glance/glance/store/__init__.py:144 2013-07-19 03:42:22.392 20198 DEBUG glance.store [-] Registering store <class 'glance.store.rbd.Store'> with schemes ('rbd',) create_stores /opt/stack/glance/glance/store/__init__.py:174 2013-07-19 03:42:22.393 20198 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-07-19 03:42:22.393 20198 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-07-19 03:42:22.393 20198 DEBUG glance.store [-] Attempting to import store glance.store.s3.Store _get_store_class /opt/stack/glance/glance/store/__init__.py:144 2013-07-19 03:42:22.398 20198 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-07-19 03:42:22.398 20198 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-07-19 03:42:22.398 20198 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-07-19 03:42:22.398 20198 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-07-19 03:42:22.399 20198 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-07-19 03:42:22.399 20198 DEBUG glance.store [-] Attempting to import store glance.store.swift.Store _get_store_class /opt/stack/glance/glance/store/__init__.py:144 2013-07-19 03:42:22.434 20198 DEBUG glance.store [-] Registering store <function Store at 0x2385c08> with schemes ('swift+https', 'swift', 'swift+http') create_stores /opt/stack/glance/glance/store/__init__.py:174 2013-07-19 03:42:22.435 20198 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-07-19 03:42:22.435 20198 DEBUG glance.store.location [-] Registering scheme swift+https with {'store_class': <function Store at 0x2385c08>, 'location_class': <class 'glance.store.swift.StoreLocation'>} register_scheme_map /opt/stack/glance/glance/store/location.py:86 2013-07-19 03:42:22.435 20198 DEBUG glance.store.location [-] Registering scheme swift+http with {'store_class': <function Store at 0x2385c08>, 'location_class': <class 'glance.store.swift.StoreLocation'>} register_scheme_map /opt/stack/glance/glance/store/location.py:86 2013-07-19 03:42:22.435 20198 DEBUG glance.store.location [-] Registering scheme swift with {'store_class': <function Store at 0x2385c08>, 'location_class': <class 'glance.store.swift.StoreLocation'>} register_scheme_map /opt/stack/glance/glance/store/location.py:86 2013-07-19 03:42:22.435 20198 DEBUG glance.store [-] Attempting to import store glance.store.sheepdog.Store _get_store_class /opt/stack/glance/glance/store/__init__.py:144 2013-07-19 03:42:22.443 20198 DEBUG glance.openstack.common.processutils [-] Running cmd (subprocess): collie execute /opt/stack/glance/glance/openstack/common/processutils.py:142 2013-07-19 03:42:22.474 20198 DEBUG glance.openstack.common.processutils [-] Result was 127 execute /opt/stack/glance/glance/openstack/common/processutils.py:167 2013-07-19 03:42:22.474 20198 ERROR glance.store.sheepdog [-] 储存配置错误:Unexpected error while running command. Command: collie Exit code: 127 Stdout: '' Stderr: '/bin/sh: 1: collie: not found\n' 2013-07-19 03:42:22.495 20198 CRITICAL glance [-] 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128) ==================================================================== To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1202963/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp