Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cannot launch new vnf

I've created a VNFD but I am getting the following erreor when I try to launch new VNF:

2016-06-20 10:02:20.514 11269 ERROR root [-] Original exception being dropped: ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 298, in _create_device\n context=context, device=device_dict)\n', ' File "/usr/lib/python2.7/dist-packages/tacker/common/driver_manager.py", line 75, in invoke\n return getattr(driver, method_name)(kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/tacker/common/log.py", line 34, in wrapper\n return method(args, *kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/tacker/vm/drivers/heat/heat.py", line 258, in create\n template_dict)\n', ' File "/usr/lib/python2.7/dist-packages/tacker/common/log.py", line 34, in wrapper\n return method(args, *kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/tacker/vm/drivers/heat/heat.py", line 191, in _process_vdu_network_interfaces\n if network_param.pop(\'management\', False):\n', "AttributeError: 'str' object has no attribute 'pop'\n"] 2016-06-20 10:02:20.514 11269 ERROR tacker.api.v1.resource [req-8637df38-bc28-40aa-bd6b-6a69a0d61f71 None] create failed 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource Traceback (most recent call last): 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/tacker/api/v1/resource.py", line 87, in resource 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource result = method(request=request, *args) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/tacker/api/v1/base.py", line 398, in create 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource obj = obj_creator(request.context, *kwargs) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 665, in create_vnf 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource vnf_dict = self.create_device(context, vnf) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 312, in create_device 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource device_dict = self._create_device(context, device) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 301, in _create_device 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource self.delete_device(context, device_id) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 408, in delete_device 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource self._delete_device_post(context, device_id, e) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/tacker/openstack/common/excutils.py", line 82, in __exit__ 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource six.reraise(self.type_, self.value, self.tb) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 400, in delete_device 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource context=context, device_id=instance_id) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/tacker/common/driver_manager.py", line 75, in invoke 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource return getattr(driver, method_name)(kwargs) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/tacker/vm/drivers/heat/heat.py", line 410, in delete 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource heatclient_.delete(device_id) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/tacker/vm/drivers/heat/heat.py", line 493, in delete 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource self.stacks.delete(stack_id) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/heatclient/v1/stacks.py", line 162, in delete 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource self._delete("/stacks/%s" % stack_id) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/heatclient/openstack/common/apiclient/base.py", line 227, in _delete 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource return self.client.delete(url) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 287, in delete 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource return self.raw_request("DELETE", url, *kwargs) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 268, in raw_request 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource return self._http_request(url, method, *kwargs) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 196, in _http_request 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource *kwargs) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/requests/api.py", line 50, in request 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource response = session.request(method=method, url=url, *kwargs) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 465, in request 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource resp = self.send(prep, *send_kwargs) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 573, in send 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource r = adapter.send(request, *kwargs) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 415, in send 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource raise ConnectionError(err, request=request) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource ConnectionError: ('Connection aborted.', error(111, 'ECONNREFUSED')) 2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource

cannot launch new vnf

I've created a VNFD but I am getting the following erreor when I try to launch new VNF:

2016-06-20 10:02:20.514 11269 ERROR root [-] Original exception being dropped: ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 298, in _create_device\n    context=context, device=device_dict)\n', '  File "/usr/lib/python2.7/dist-packages/tacker/common/driver_manager.py", line 75, in invoke\n    return getattr(driver, method_name)(kwargs)\n', method_name)(**kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/tacker/common/log.py", line 34, in wrapper\n    return method(args, *kwargs)\n', method(*args, **kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/tacker/vm/drivers/heat/heat.py", line 258, in create\n    template_dict)\n', '  File "/usr/lib/python2.7/dist-packages/tacker/common/log.py", line 34, in wrapper\n    return method(args, *kwargs)\n', method(*args, **kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/tacker/vm/drivers/heat/heat.py", line 191, in _process_vdu_network_interfaces\n    if network_param.pop(\'management\', False):\n', "AttributeError: 'str' object has no attribute 'pop'\n"]
2016-06-20 10:02:20.514 11269 ERROR tacker.api.v1.resource [req-8637df38-bc28-40aa-bd6b-6a69a0d61f71 None] create failed
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource Traceback (most recent call last):
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/api/v1/resource.py", line 87, in resource
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     result = method(request=request, *args)
**args)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/api/v1/base.py", line 398, in create
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     obj = obj_creator(request.context, *kwargs)
**kwargs)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 665, in create_vnf
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     vnf_dict = self.create_device(context, vnf)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 312, in create_device
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     device_dict = self._create_device(context, device)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 301, in _create_device
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     self.delete_device(context, device_id)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 408, in delete_device
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     self._delete_device_post(context, device_id, e)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/openstack/common/excutils.py", line 82, in __exit__
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     six.reraise(self.type_, self.value, self.tb)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 400, in delete_device
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     context=context, device_id=instance_id)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/common/driver_manager.py", line 75, in invoke
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     return getattr(driver, method_name)(kwargs)
method_name)(**kwargs)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/vm/drivers/heat/heat.py", line 410, in delete
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     heatclient_.delete(device_id)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/vm/drivers/heat/heat.py", line 493, in delete
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     self.stacks.delete(stack_id)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/heatclient/v1/stacks.py", line 162, in delete
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     self._delete("/stacks/%s" % stack_id)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/heatclient/openstack/common/apiclient/base.py", line 227, in _delete
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     return self.client.delete(url)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 287, in delete
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     return self.raw_request("DELETE", url, *kwargs)
**kwargs)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 268, in raw_request
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     return self._http_request(url, method, *kwargs)
**kwargs)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 196, in _http_request
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     *kwargs)
**kwargs)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/requests/api.py", line 50, in request
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     response = session.request(method=method, url=url, *kwargs)
**kwargs)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 465, in request
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     resp = self.send(prep, *send_kwargs)
**send_kwargs)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 573, in send
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     r = adapter.send(request, *kwargs)
**kwargs)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 415, in send
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     raise ConnectionError(err, request=request)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource ConnectionError: ('Connection aborted.', error(111, 'ECONNREFUSED'))
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource

tacker.api.v1.resource