Skip to content

Instantly share code, notes, and snippets.

@dizz
Created October 28, 2015 13:26
Show Gist options
  • Save dizz/6c5ac243500262361d6d to your computer and use it in GitHub Desktop.
Save dizz/6c5ac243500262361d6d to your computer and use it in GitHub Desktop.
ims provisioning error
E2E SO
Thread-9 INFO 10/28/2015 01:24:27 PM: Provisioning service instance: http://ims.cloudcomplab.ch:8890/ims/soims86fa39a265f6172f
Thread-9 INFO 10/28/2015 01:24:27 PM: Sending headers: {'X-OCCI-Attribute': u'mcn.endpoint.forwarder="130.92.70.234", mcn.endpoint.maas="130.92.70.235", mcn.endpoint.api="130.92.70.233"', 'X-Tenant-Name': 'mcntub', 'Content-type': 'text/occi', 'X-Auth-Token': 'f84a4ebe4e3447f9a328cf0dd2cc06a2'}
Thread-9 ERROR 10/28/2015 01:24:32 PM: HTTP Error: should do something more here!500 Server Error: Internal Server Error for url: http://ims.cloudcomplab.ch:8890/ims/soims86fa39a265f6172f
Exception in thread Thread-9:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/env/lib/python2.7/site-packages/sm/so/service_orchestrator.py", line 577, in run
raise err
HTTPError: 500 Server Error: Internal Server Error for url: http://ims.cloudcomplab.ch:8890/ims/soims86fa39a265f6172f
IMS SO
10.1.0.1 - - [28/Oct/2015 13:24:16] "POST /orchestrator/default?action=provision HTTP/1.1" 200 1134
2015-10-28 13:24:24,930_1:/env/lib/python2.7/site-packages/IMSServiceOrchestrator-3.1-py2.7.egg/services/RuntimeAgent.py:531 [ERROR] ERROR Setting ips for unit db-1.
10.1.0.1 - - [28/Oct/2015 13:24:27] "GET /orchestrator/default HTTP/1.1" 200 2
2015-10-28 13:24:29,003_1:/env/lib/python2.7/site-packages/IMSServiceOrchestrator-3.1-py2.7.egg/services/RuntimeAgent.py:531 [ERROR] ERROR Setting ips for unit hss-1.
2015-10-28 13:24:32,678_1:/env/lib/python2.7/site-packages/IMSServiceOrchestrator-3.1-py2.7.egg/services/RuntimeAgent.py:531 [ERROR] ERROR Setting ips for unit slf-1.
Traceback (most recent call last):
File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "/env/lib/python2.7/site-packages/sdk/mcn/occi_ext.py", line 78, in __call__
tenant_name=environ['HTTP_X_TENANT_NAME'])
File "/env/lib/python2.7/site-packages/occi/wsgi.py", line 232, in _call_occi
status, headers, body = handler.handle(mtd, key)
File "/env/lib/python2.7/site-packages/occi/handlers.py", line 69, in handle
return getattr(self, str.lower(method))(key)
File "/env/lib/python2.7/site-packages/occi/handlers.py", line 248, in post
workflow.update_entity(old, new, self.registry, self.extras)
File "/env/lib/python2.7/site-packages/occi/workflow.py", line 156, in update_entity
backend.update(old, new, extras)
File "/app/wsgi/application", line 65, in update
self.so.so_e.provision(new.attributes)
File "/env/lib/python2.7/site-packages/IMSServiceOrchestrator-3.1-py2.7.egg/core/orchestrator.py", line 140, in provision
parameters['dnsaas_ip_address'] = os.environ['DNSAAS_IP'] = dnsaas_forwarders
File "/env/lib/python2.7/os.py", line 473, in __setitem__
putenv(key, item)
TypeError: must be string, not None
10.1.0.1 - - [28/Oct/2015 13:24:32] "POST /orchestrator/default HTTP/1.1" 500 59
2015-10-28 13:25:03,595_1:/env/lib/python2.7/site-packages/IMSServiceOrchestrator-3.1-py2.7.egg/services/RuntimeAgent.py:531 [ERROR] ERROR Setting ips for unit slf-1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment