KeyError: 'SHELL' while running cluster-config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
New
|
Undecided
|
Unassigned |
Bug Description
Hi, I have a newton environment with a kubernetes cluster deployed on coreos. On running "cluster-config" to setup the environment and artifacts for TLS it returns an error with below traceback:
Traceback (most recent call last):
File "/usr/lib/
OpenStackMa
File "/usr/lib/
args.
File "/usr/lib/
cfg_
File "/usr/lib/
cfg_dir, force)
File "/usr/lib/
if 'csh' in os.environ[
File "/usr/lib64/
raise KeyError(key)
KeyError: 'SHELL'
ERROR: 'SHELL'
Although the command returns an error, the cert files are generated under the specified folder.
Note: This is seen in an environment where Magnum is running inside a container, so this might not be seen in every environment.
description: | updated |
A workaround is to export SHELL in the environment