yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05220
[Bug 1218903] Re: glance-api can't start in non-English env
** Changed in: glance
Status: Fix Committed => Fix Released
** Changed in: glance
Milestone: None => havana-rc1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1218903
Title:
glance-api can't start in non-English env
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Bug description:
In non-English env, the start of glance-api will fail with below
error:
2013-08-30 04:31:40.830 22137 DEBUG glance.store.base [-] [(')十十十十一構ソチ‐ Store sheepdog could not be configured correctly. Reason: [(')>十十一構ソチ‐ Error in store configuration: Unexpected error while running command.
Command: collie
Exit code: 127
Stdout: ''
Stderr: '/bin/sh: collie: \xe3\x82\xb3\xe3\x83\x9e\xe3\x83\xb3\xe3\x83\x89\xe3\x81\x8c\xe8\xa6\x8b\xe3\x81\xa4\xe3\x81\x8b\xe3\x82\x8a\xe3\x81\xbe\xe3\x81\x9b\xe3\x82\x93\n']] _exception_to_str /usr/lib/python2.6/site-packages/glance/store/base.py:41
2013-08-30 04:31:40.831 22137 CRITICAL glance [-] 'ascii' codec can't decode byte 0xe5 in position 4: ordinal not in range(128)
2013-08-30 04:31:40.831 22137 TRACE glance Traceback (most recent call last):
2013-08-30 04:31:40.831 22137 TRACE glance File "/usr/bin/glance-api", line 10, in <module>
2013-08-30 04:31:40.831 22137 TRACE glance sys.exit(main())
2013-08-30 04:31:40.831 22137 TRACE glance File "/usr/lib/python2.6/site-packages/glance/cmd/api.py", line 57, in main
2013-08-30 04:31:40.831 22137 TRACE glance glance.store.create_stores()
2013-08-30 04:31:40.831 22137 TRACE glance File "/usr/lib/python2.6/site-packages/glance/store/__init__.py", line 165, in create_stores
2013-08-30 04:31:40.831 22137 TRACE glance store_instance = store_cls()
2013-08-30 04:31:40.831 22137 TRACE glance File "/usr/lib/python2.6/site-packages/glance/store/base.py", line 65, in __init__
2013-08-30 04:31:40.831 22137 TRACE glance "Disabling add method.") % _exception_to_str(e))
2013-08-30 04:31:40.831 22137 TRACE glance UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 4: ordinal not in range(128)
2013-08-30 04:31:40.831 22137 TRACE glance
Seems it's injected by patch https://review.openstack.org/#/c/37421
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1218903/+subscriptions