vnf-create fails with TypeError: <type 'NoneType'> can't be decoded

Bug #1514037 reported by Sridhar Ramaswamy
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tacker
Incomplete
Medium
Unassigned

Bug Description

Hi,

I am new to tacker and trying out it. I successfully install it on devstack using the provided sample local.conf, and I can create a VNFD using "tacker vnfd-create --name sample-vnfd --vnfd-file sample-vnfd.yaml"

But when I tried to deploy the sample vnf using the UI or" tacker vnf-create --name sample --vnfd-id ba48**********", I always got ERROR status. Below are the logs of the traceback. Can someone help me identify what's the problem. Thanks a lot!

{"explanation": "The resource could not be found.", "code": 404, "error": {"message": "The Stack (None) could not be found.", "traceback": "Traceback (most recent call last):\n\n File \"/opt/stack/heat/heat/common/context.py\", line 296, in wrapped\n return func(self, ctx, *args, **kwargs)\n\n File \"/opt/stack/heat/heat/engine/service.py\", line 430, in identify_stack\n raise exception.StackNotFound(stack_name=stack_name)\n\nStackNotFound: The Stack (None) could not be found.\n", "type": "StackNotFound"}, "title": "Not Found"}
^[[00m ^[[00;33mfrom (pid=23114) log_http_response /usr/local/lib/python2.7/dist-packages/heatclient/common/http.py:142^[[00m
2015-11-05 22:59:13.792 ^[[01;31mERROR tacker.vm.plugin [^[[00;36m-^[[01;31m] ^[[01;35m^[[01;31m_delete_device_wait^[[00m
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00mTraceback (most recent call last):
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/opt/stack/tacker/tacker/vm/plugin.py", line 377, in _delete_device_wait
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m context=context, device_id=instance_id)
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/opt/stack/tacker/tacker/common/driver_manager.py", line 75, in invoke
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m return getattr(driver, method_name)(**kwargs)
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/opt/stack/tacker/tacker/common/log.py", line 34, in wrapper
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m return method(*args, **kwargs)
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/opt/stack/tacker/tacker/vm/drivers/heat/heat.py", line 416, in delete_wait
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m stack = heatclient_.get(device_id)
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/opt/stack/tacker/tacker/vm/drivers/heat/heat.py", line 499, in get
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m return self.stacks.get(stack_id)
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/heatclient/v1/stacks.py", line 214, in get
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m resp = self.client.get('/stacks/%s' % stack_id)
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 284, in get
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m return self.client_request("GET", url, **kwargs)
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 277, in client_request
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m resp, body = self.json_request(method, url, **kwargs)
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 266, in json_request
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m resp = self._http_request(url, method, **kwargs)
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/heatclient/common/http.py", line 221, in _http_request
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m raise exc.from_response(resp)
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00mHTTPNotFound: ERROR: The Stack (None) could not be found.
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m
2015-11-05 23:00:28.592 ^[[00;36mINFO tacker.wsgi [^[[00;36m-^[[00;36m] ^[[01;35m^[[00;36m(23114) accepted ('192.168.111.59', 37363)
^[[00m
2015-11-05 23:00:28.593 ^[[00;32mDEBUG keystonemiddleware.auth_token [^[[00;36m-^[[00;32m] ^[[01;35m^[[00;32mAuthenticating user token^[[00m ^[[00;33mfrom (pid=23114) process_request /usr/local/lib/python2.7/dist-packages/

Changed in tacker:
importance: Undecided → Critical
Revision history for this message
yong sheng gong (gongysh) wrote :

It could be related to the requirement problem. Can u repeat the error in new trunk tacker?

Changed in tacker:
status: New → Incomplete
Revision history for this message
Sridhar Ramaswamy (srics-r) wrote :

Reducing severity as the issue is related to wrong error status.

Changed in tacker:
importance: Critical → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.