Failed to create service VM via Heat
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
Critical
|
Praneet Bachheti |
Bug Description
The heat based service-chain test cases seem to failing while attempting to create SVM, exception is seen in API server log.
Test Setup:
Cfgm, control: nodem14
Computes: nodem8, nodem9, nodem10
Test:
attempts to create single SVM instance, in-network-firewall service chain through heat. The heat template defines the following resource port-tuple, 3 – VMIs, VM, instance-ips, SVM & SI.
Failure point seems to creation of SVM, all other resources seem to present in system. The following error is seen in api log.
Template:
https:/
Traceback (most recent call last):
File "/usr/lib/
response = handler(*args, **kwargs)
File "/usr/lib/
return self.plugin_
File "/usr/lib/
port[
File "/usr/lib/
return func(self, *args, **kwargs)
File "/usr/lib/
port_obj = self._port_
File "/usr/lib/
kvps = port_bindings.
AttributeError: 'NoneType' object has no attribute 'get_key_
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
importance: | Undecided → High |
milestone: | none → r4.0 |
tags: | added: sanity |
Changed in juniperopenstack: | |
importance: | High → Critical |
Fixed in this commit...
Reviewed: https:/ /review. opencontrail. org/30818 github. com/Juniper/ contrail- controller/ commit/ f2e577ab6e2ba29 09c5dbea5391baa 309881962e
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit f2e577ab6e2ba29 09c5dbea5391baa 309881962e
Author: Sukhdev Kapur <email address hidden>
Date: Thu Apr 27 16:32:58 2017 -0700
Check to make sure portbinding value is set before acting on it
If port_binding is not set, do not bother to check for
host_id and skip the logic.
Change-Id: I1c63352e4a9a44 ee7bb3ba5300107 c87c98d1c8a
Closes-Bug: 1686851