Skip to content

Instantly share code, notes, and snippets.

@dizz
Created October 27, 2015 14:33
Show Gist options
  • Save dizz/71a1a6ae4e2ec03fe68c to your computer and use it in GitHub Desktop.
Save dizz/71a1a6ae4e2ec03fe68c to your computer and use it in GitHub Desktop.
ims so error
E2E SO - Error with IMS
Thread-9 INFO 10/27/2015 02:25:39 PM: Provisioning service instance: http://ims.cloudcomplab.ch:8890/ims/soims95da51ffd4d30bb9
Thread-9 INFO 10/27/2015 02:25:39 PM: Sending headers: {'X-OCCI-Attribute': u'mcn.endpoint.forwarder="130.92.70.144", mcn.endpoint.maas="130.92.70.135", mcn.endpoint.api="130.92.70.139"', 'X-Tenant-Name': 'mcntub', 'Content-type': 'text/occi', 'X-Auth-Token': 'f84a4ebe4e3447f9a328cf0dd2cc06a2'}
Thread-9 ERROR 10/27/2015 02:25:47 PM: HTTP Error: should do something more here!500 Server Error: Internal Server Error for url: http://ims.cloudcomplab.ch:8890/ims/soims95da51ffd4d30bb9
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/soims95da51ffd4d30bb9
IMS SO Error:
2015-10-27 14:25:34,282_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.
10.1.0.1 - - [27/Oct/2015 14:25:39] "GET /orchestrator/default HTTP/1.1" 200 2
Traceback (most recent call last):
File "/env/lib/python2.7/site-packages/sdk/mcn/dnsaasclient.py", line 411, in init_dns
raise Exception, "Not able to handle more than one instance! " + str(number_instances)
Exception: Not able to handle more than one instance! 2
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 136, in provision
self.dnsaas = util.get_dnsaas(self.token, tenant_name=self.tenant_name, mcn_endpoint_api=attributes['mcn.endpoint.api'])
File "/env/lib/python2.7/site-packages/sdk/mcn/util.py", line 153, in get_dnsaas
if dns_action.init_dns():
File "/env/lib/python2.7/site-packages/sdk/mcn/dnsaasclient.py", line 429, in init_dns
if 'UPDATE_COMPLETE' in response.headers.get('x-occi-attribute', None):
TypeError: argument of type 'NoneType' is not iterable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment