Heat is failing to launch stack for the 2nd time with the same template. due to duplicate virtual network names . Probably there is a check for unique vn names which needs to be removed.

Bug #1513414 reported by kapil Neeralgi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Medium
kapil Neeralgi
Trunk
Fix Committed
Medium
kapil Neeralgi

Bug Description

We need to support multiple topology / stack per user. In Contrail package we are unable to launch the same template (heat .yml file) twice as it is failing .

There is a check for unique VN name , which is prohibiting to launch the same template once agin.

Note : the network with same name can be created in Contrail , so it should be possible through heat as well.

Thanks,
Kapil R N

Tags: heat-support
information type: Proprietary → Public
Changed in juniperopenstack:
assignee: nobody → Praneet Bachheti (praneetb)
importance: Undecided → Medium
milestone: none → r3.0-fcs
Revision history for this message
kapil Neeralgi (kapil-neeralgi) wrote :

To be precise :

The heat template is using network resource : "type: OS::Contrail::VirtualNetwork" , otherwise using default resource works fine.

Thanks,
Kapil

Changed in juniperopenstack:
assignee: Praneet Bachheti (praneetb) → kapil Neeralgi (kapil-neeralgi)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/15447
Submitter: kapil Neeralgi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/15447
Committed: http://github.org/Juniper/contrail-heat/commit/73b5f342d59094f12af04a7ff020b76edfe93ac4
Submitter: Zuul
Branch: master

commit 73b5f342d59094f12af04a7ff020b76edfe93ac4
Author: kapilrn <email address hidden>
Date: Tue Nov 24 18:30:39 2015 +0530

Heat changes to allow multiple neutron resource creation with same name.

This will allow same heat-template to be launched multiple
times,in order for user to create n-number of topology/appln
with neutron resources.

Closes-Bug: #1513414

Change-Id: I9c1d6a07d1773c54b258c962f83ecaf4e07a4bce

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/17011
Submitter: kapil Neeralgi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/17020
Submitter: Vinay Vithal Mahuli (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/17020
Committed: http://github.org/Juniper/contrail-heat/commit/be56db62a5eeba7d5e2c6da360413f890c46b5e3
Submitter: Zuul
Branch: R2.20

commit be56db62a5eeba7d5e2c6da360413f890c46b5e3
Author: kapilrn <email address hidden>
Date: Tue Nov 24 18:30:39 2015 +0530

Heat changes to allow multiple neutron resource creation with same name.

This will allow same heat-template to be launched multiple
times,in order for user to create n-number of topology/appln
with neutron resources.

Closes-Bug: #1513414

Conflicts:
 contrail_heat/resources/virtual_machine_interface.py
 contrail_heat/resources/virtual_network.py

Change-Id: I73cf6174e56b6660e9b4f72751e0ae6f91b913ef

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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