-
Task
-
Resolution: Done
-
Medium
-
None
-
None
-
None
helm plugin needs to produce better error messages when this error occurs at this place in the code, and other similar occurrences within the code: File "/opt/mgmtworker/env/plugins/default_tenant/onap-helm-plugin-2.3.1/lib/python2.7/site-packages/plugin/tasks.py", line 232, in config response = urllib2.urlopen(request) |
Here is complete stacktrace:
2018-10-09 15:05:40.060 CFY <controller_8024> [ecompcomponent_7wfq7j.configure] Sending task 'plugin.tasks.config' [retry 9/60]
2018-10-09 15:05:40.822 CFY <controller_8024> [ecompcomponent_7wfq7j.configure] Task started 'plugin.tasks.config' [retry 9/60]
2018-10-09 15:05:42.831 LOG <controller_8024> [ecompcomponent_7wfq7j.configure] DEBUG: /opt/manager/resources/controller_8024/helloworld.yaml
2018-10-09 15:05:41.258 LOG <controller_8024> [ecompcomponent_7wfq7j.configure] DEBUG: debug
2018-10-09 15:05:41.828 LOG <controller_8024> [ecompcomponent_7wfq7j.configure] DEBUG: tls-enable type <type 'bool'>
2018-10-09 15:05:41.828 LOG <controller_8024> [ecompcomponent_7wfq7j.configure] DEBUG: tls disable
2018-10-09 15:05:42.263 CFY <controller_8024> [ecompcomponent_7wfq7j.configure] Task failed 'plugin.tasks.config' -> <urlopen error [Errno -2] Name or service not known> [retry 9/60]
Traceback (most recent call last):
File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py", line 669, in main
payload = handler.handle()
File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py", line 411, in handle
result = self.func(*self.args, **kwargs)
File "/opt/mgmtworker/env/plugins/default_tenant/onap-helm-plugin-2.3.1/lib/python2.7/site-packages/plugin/tasks.py", line 232, in config
response = urllib2.urlopen(request)
File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 1244, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.7/urllib2.py", line 1214, in do_open
raise URLError(err)
URLError: <urlopen error [Errno -2] Name or service not known>|