vnf-create fails with TypeError: <type 'NoneType'> can't be decoded
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/
^[[00m ^[[00;33mfrom (pid=23114) log_http_response /usr/local/
2015-11-05 22:59:13.792 ^[[01;31mERROR tacker.vm.plugin [^[[00;
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/opt/stack/
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m context=context, device_
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/opt/stack/
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m return getattr(driver, method_
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/opt/stack/
^[[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/
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m stack = heatclient_
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/opt/stack/
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m return self.stacks.
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/usr/local/
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m resp = self.client.
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/usr/local/
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m return self.client_
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/usr/local/
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m resp, body = self.json_
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/usr/local/
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m resp = self._http_
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m File "/usr/local/
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^[[00m raise exc.from_
^[[01;31m2015-11-05 22:59:13.792 TRACE tacker.vm.plugin ^[[01;35m^
^[[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;
^[[00m
2015-11-05 23:00:28.593 ^[[00;32mDEBUG keystonemiddlew
Changed in tacker: | |
importance: | Undecided → Critical |
It could be related to the requirement problem. Can u repeat the error in new trunk tacker?