Ask Your Question
0

cannot launch new vnf

asked 2016-06-20 05:11:22 -0600

anonymous user

Anonymous

updated 2016-06-20 09:15:21 -0600

lafada gravatar image

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 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-06-20 14:52:38 -0600

The error

ConnectionError: ('Connection aborted.', error(111, 'ECONNREFUSED'))

indicates that the Heat service may not be running. Can you confirm that heat service is running by executing

heat stack-list

or by creating a stack. If tacker cant talk to heat that may be the reason why the VNFs are unable to launch.

edit flag offensive delete link more

Comments

Heat service is running and stack creation is also going on fine.

+--------------------------------------+------------+-----------------+---------------------+--------------+ | id | stack_name | stack_status | creation_time | updated_time | +--------------

prateeka gravatar imageprateeka ( 2016-06-21 00:44:07 -0600 )edit

Also found this error in neutron-server.log:

ProgrammingError: (_mysql_exceptions.ProgrammingError) (1146, "Table 'neutron.ml2_vlan_allocations' doesn't exist") [SQL: u'SELECT ml2_vlan_allocations.physical_network AS ml2_vlan_allocations_physical_network, ml2_vlan_allocations.vlan_id AS ml2_vlan_al

prateeka gravatar imageprateeka ( 2016-06-22 01:29:31 -0600 )edit

"AttributeError: 'str' object has no attribute 'pop' in the above logs in the question indicates that it is not getting management network. Please verify this.

Syed Awais Ali gravatar imageSyed Awais Ali ( 2016-06-22 02:51:20 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-06-20 05:11:22 -0600

Seen: 268 times

Last updated: Jun 20 '16