Activity log for bug #1634981

Date Who What changed Old value New value Message
2016-10-19 17:26:11 Tushar Karkera bug added bug
2016-10-20 17:19:15 Tushar Karkera 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/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):   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. Note: This is seen in an environment where Magnum is running inside a container, so this might not be seen in every environment.