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/python2.7/site-packages/magnumclient/shell.py", line 691, in main
OpenStackMagnumShell().main(map(encodeutils.safe_decode, sys.argv[1:]))
File "/usr/lib/python2.7/site-packages/magnumclient/shell.py", line 633, in main
args.func(self.cs, args)
File "/usr/lib/python2.7/site-packages/magnumclient/v1/clusters_shell.py", line 227, in do_cluster_config
cfg_dir=args.dir, force=args.force))
File "/usr/lib/python2.7/site-packages/magnumclient/v1/clusters_shell.py", line 234, in _config_cluster
cfg_dir, force)
File "/usr/lib/python2.7/site-packages/magnumclient/v1/clusters_shell.py", line 288, in _config_cluster_kubernetes
if 'csh' in os.environ['SHELL']:
File "/usr/lib64/python2.7/UserDict.py", line 23, in __getitem__
raise KeyError(key)
KeyError: 'SHELL'
ERROR: 'SHELL'
Although the command returns an error, the cert files are generated under the specified folder.
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): python2. 7/site- packages/ magnumclient/ shell.py" , line 691, in main gnumShell( ).main( map(encodeutils .safe_decode, sys.argv[1:])) python2. 7/site- packages/ magnumclient/ shell.py" , line 633, in main func(self. cs, args) python2. 7/site- packages/ magnumclient/ v1/clusters_ shell.py" , line 227, in do_cluster_config dir=args. dir, force=args.force)) python2. 7/site- packages/ magnumclient/ v1/clusters_ shell.py" , line 234, in _config_cluster python2. 7/site- packages/ magnumclient/ v1/clusters_ shell.py" , line 288, in _config_ cluster_ kubernetes 'SHELL' ]: python2. 7/UserDict. py", line 23, in __getitem__
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.