[Airship-discuss] Failed to connect to remote host: FD Shutdown

Hemant Sonawane hemant.sonawane at itera.io
Thu Aug 1 09:26:31 UTC 2019


Hello guys,

Thank you so much for you emails. Hey Sean I tried your fix at first I
exposed tiller svc as a NodePort and mounted the /etc/armada/armada.conf
inside the container but still i am having some issue related to host port.
Please find attached log file and armada.conf for your ready reference.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.airshipit.org/pipermail/airship-discuss/attachments/20190801/f4493415/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 377 bytes
Desc: not available
URL: <http://lists.airshipit.org/pipermail/airship-discuss/attachments/20190801/f4493415/attachment.jpg>
-------------- next part --------------
2019-08-01 09:13:27.694 140 ERROR armada.cli [-] Caught unexpected exception: TypeError: argument of type 'NoneType' is not iterable
2019-08-01 09:13:27.694 140 ERROR armada.cli Traceback (most recent call last):
2019-08-01 09:13:27.694 140 ERROR armada.cli   File "/usr/local/lib/python3.5/dist-packages/armada/handlers/k8s.py", line 44, in __init__
2019-08-01 09:13:27.694 140 ERROR armada.cli     config.load_incluster_config()
2019-08-01 09:13:27.694 140 ERROR armada.cli   File "/usr/local/lib/python3.5/dist-packages/kubernetes/config/incluster_config.py", line 96, in load_incluster_config
2019-08-01 09:13:27.694 140 ERROR armada.cli     cert_filename=SERVICE_CERT_FILENAME).load_and_set()
2019-08-01 09:13:27.694 140 ERROR armada.cli   File "/usr/local/lib/python3.5/dist-packages/kubernetes/config/incluster_config.py", line 47, in load_and_set
2019-08-01 09:13:27.694 140 ERROR armada.cli     self._load_config()
2019-08-01 09:13:27.694 140 ERROR armada.cli   File "/usr/local/lib/python3.5/dist-packages/kubernetes/config/incluster_config.py", line 53, in _load_config
2019-08-01 09:13:27.694 140 ERROR armada.cli     raise ConfigException("Service host/port is not set.")
2019-08-01 09:13:27.694 140 ERROR armada.cli kubernetes.config.config_exception.ConfigException: Service host/port is not set.
2019-08-01 09:13:27.694 140 ERROR armada.cli 
2019-08-01 09:13:27.694 140 ERROR armada.cli During handling of the above exception, another exception occurred:
2019-08-01 09:13:27.694 140 ERROR armada.cli 
2019-08-01 09:13:27.694 140 ERROR armada.cli Traceback (most recent call last):
2019-08-01 09:13:27.694 140 ERROR armada.cli   File "/usr/local/lib/python3.5/dist-packages/armada/cli/__init__.py", line 39, in safe_invoke
2019-08-01 09:13:27.694 140 ERROR armada.cli     self.invoke()
2019-08-01 09:13:27.694 140 ERROR armada.cli   File "/usr/local/lib/python3.5/dist-packages/armada/cli/apply.py", line 207, in invoke
2019-08-01 09:13:27.694 140 ERROR armada.cli     dry_run=self.dry_run) as tiller:
2019-08-01 09:13:27.694 140 ERROR armada.cli   File "/usr/local/lib/python3.5/dist-packages/armada/handlers/tiller.py", line 94, in __init__
2019-08-01 09:13:27.694 140 ERROR armada.cli     self.k8s = K8s(bearer_token=self.bearer_token)
2019-08-01 09:13:27.694 140 ERROR armada.cli   File "/usr/local/lib/python3.5/dist-packages/armada/handlers/k8s.py", line 46, in __init__
2019-08-01 09:13:27.694 140 ERROR armada.cli     config.load_kube_config()
2019-08-01 09:13:27.694 140 ERROR armada.cli   File "/usr/local/lib/python3.5/dist-packages/kubernetes/config/kube_config.py", line 645, in load_kube_config
2019-08-01 09:13:27.694 140 ERROR armada.cli     persist_config=persist_config)
2019-08-01 09:13:27.694 140 ERROR armada.cli   File "/usr/local/lib/python3.5/dist-packages/kubernetes/config/kube_config.py", line 613, in _get_kube_config_loader_for_yaml_file
2019-08-01 09:13:27.694 140 ERROR armada.cli     **kwargs)
2019-08-01 09:13:27.694 140 ERROR armada.cli   File "/usr/local/lib/python3.5/dist-packages/kubernetes/config/kube_config.py", line 153, in __init__
2019-08-01 09:13:27.694 140 ERROR armada.cli     self.set_active_context(active_context)
2019-08-01 09:13:27.694 140 ERROR armada.cli   File "/usr/local/lib/python3.5/dist-packages/kubernetes/config/kube_config.py", line 173, in set_active_context
2019-08-01 09:13:27.694 140 ERROR armada.cli     context_name = self._config['current-context']
2019-08-01 09:13:27.694 140 ERROR armada.cli   File "/usr/local/lib/python3.5/dist-packages/kubernetes/config/kube_config.py", line 495, in __getitem__
2019-08-01 09:13:27.694 140 ERROR armada.cli     v = self.safe_get(key)
2019-08-01 09:13:27.694 140 ERROR armada.cli   File "/usr/local/lib/python3.5/dist-packages/kubernetes/config/kube_config.py", line 491, in safe_get
2019-08-01 09:13:27.694 140 ERROR armada.cli     key in self.value):
2019-08-01 09:13:27.694 140 ERROR armada.cli TypeError: argument of type 'NoneType' is not iterable
2019-08-01 09:13:27.694 140 ERROR armada.cli 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: armada.conf
Type: application/octet-stream
Size: 96 bytes
Desc: not available
URL: <http://lists.airshipit.org/pipermail/airship-discuss/attachments/20190801/f4493415/attachment.obj>


More information about the Airship-discuss mailing list