OpenStack create service keystone fail, due to LOCALE variable missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Confirmed
|
Low
|
Steve Martinelli |
Bug Description
I installed OpenStack kilo on empty Ubuntu. During identity service configuration I had to create the service entity but I got following:
-----------
root@bm:~# openstack service create --type identity --description "OpenStack Identity" keystone
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
return OpenStackShell(
File "/usr/lib/
command_
File "/usr/lib/
self.
File "/usr/lib/
locale.
File "/usr/lib/
return _setlocale(
-----------
It was a problem of missing LOCALE, LC_CTYPE and LC_ALL environment variables. After adding variables to the /root/.bashrc the command return successful result:
root@bm:~# openstack service create --type identity --description "OpenStack Identity" keystone
+------
| Field | Value |
+------
| description | OpenStack Identity |
| enabled | True |
| id | d96f45dbf04d478
| name | keystone |
| type | identity |
+------
I suppose need to add Note to the documentation that LOCALE, LC_CTYPE and LC_ALL variables should be set.
Changed in python-openstackclient: | |
assignee: | Steve Martinelli (stevemar) → nobody |
assignee: | nobody → Steve Martinelli (stevemar) |
This is the second time we've seen this issue now. The first time we closed it as invalid since there wasn't much we could do, but yes... you have a point, let's document it.