Locale issue on fresh install of Fuel 7.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Medium
|
Ihor Kalnytskyi |
Bug Description
When calling fuel2 and some error occur (like invalid command name) traceback is printed:
[root@nailgun ~]# fuel2 invalid-
DEPRECATION WARNING: /etc/fuel/
Traceback (most recent call last):
File "/usr/bin/fuel2", line 10, in <module>
sys.
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
command_
File "/usr/lib/
self.
File "/usr/lib/
locale.
File "/usr/lib64/
return _setlocale(
locale.Error: unsupported locale setting
After setting LC_ALL variable it works again.
custom ISO:
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "7.0"
openstack_
api: "1.0"
build_number: "891"
build_id: "2015-08-
nailgun_sha: "ee00c45985ed05
python-
fuel-agent_sha: "57145b1d880438
fuel-
astute_sha: "e1d3a435e5df5b
fuel-library_sha: "38a188ebf41427
fuel-ostf_sha: "c7f745431aa3c1
fuelmain_sha: "b87de67f15317b
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Alexander Bochkarev (abochkarev) |
tags: | added: area-python |
Apart from proposing a patch to Cliff it's also a must to set LC_ALL for root and in /etc/skell: that will resolve the issue faster. Unset LC_ALL will cause failures not only in Fuel Client.