Unable to setup static act/sby SI mode via Heat

Bug #1674408 reported by amit surana
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Won't Fix
High
Naveen N
R3.1
Fix Committed
High
Naveen N
R3.2
Fix Committed
High
Naveen N
R4.0
Fix Committed
High
Naveen N
Trunk
Fix Committed
High
Naveen N

Bug Description

If the VNF is not participating in any act/standy protocol like vrrp, then the same can be achieved by doing both of these steps:
  (a) Statically set the LP of the VNF VMIs. Active VMI is set to LP 200 and backup is set to 100.
  (b) Set service instance IP mode to active-standby.

With the service-instance ha-mode flag deprecated in 3.1/3.2, and because the service-instance IP is created dynamically after the service is instantiated, there is no way to set its service_instance_ip mode purely via HEAT/automation.

Either the ha_mode flag should be made available or agent should be able to export the correct route based on just the LP setting (ignoring the service-instance ip mode).

Tags: vrouter
amit surana (asurana-t)
tags: removed: config ui
Revision history for this message
amit surana (asurana-t) wrote :

Agent code will be fixed to ignore service-instance IP mode and advertise the vmi with higher LP.

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

Review in progress for https://review.opencontrail.org/33511
Submitter: Naveen N (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/33512
Submitter: Naveen N (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/33511
Submitter: Naveen N (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/33511
Committed: http://github.com/Juniper/contrail-controller/commit/1b3a838331198aa5eef7c745d3095cdda37cc214
Submitter: Zuul (<email address hidden>)
Branch: R3.1

commit 1b3a838331198aa5eef7c745d3095cdda37cc214
Author: Naveen N <email address hidden>
Date: Mon Jul 10 13:55:09 2017 +0530

Prioritize static preference over act-active flag

If static preference is configured on interface then publish the
route with that preference even if active-active flags is configured
on instance-ip or AAP. Test case for same.

Change-Id: I8fed0387ddd153225cd654182bfc82097bde315c
Closes-bug:#1674408

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

Reviewed: https://review.opencontrail.org/33512
Committed: http://github.com/Juniper/contrail-controller/commit/76b90a12f4758c292aa60af99667faedb7981b03
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 76b90a12f4758c292aa60af99667faedb7981b03
Author: Naveen N <email address hidden>
Date: Mon Jul 10 14:24:12 2017 +0530

Prioritize static preference over act-active flag

If static preference is configured on interface then publish the
route with that preference even if active-active flags is configured
on instance-ip or AAP. Test case for same.

Change-Id: I6368e50e4fa8a431f454a7fe3b97c830a2d94f7f
Closes-bug:#1674408

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

Review in progress for https://review.opencontrail.org/33669
Submitter: Hari Prasad Killi (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/33669
Committed: http://github.com/Juniper/contrail-controller/commit/24ee634ce27dce7c5e02dcca68c119cc299f3f51
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 24ee634ce27dce7c5e02dcca68c119cc299f3f51
Author: Naveen N <email address hidden>
Date: Mon Jul 10 14:24:12 2017 +0530

Prioritize static preference over act-active flag

If static preference is configured on interface then publish the
route with that preference even if active-active flags is configured
on instance-ip or AAP. Test case for same.

Conflicts:
 src/vnsw/agent/oper/vm_interface.cc

Change-Id: I6368e50e4fa8a431f454a7fe3b97c830a2d94f7f
Closes-bug:#1674408

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

Review in progress for https://review.opencontrail.org/35432
Submitter: Hari Prasad Killi (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35432
Committed: http://github.com/Juniper/contrail-controller/commit/1e99c470650b3b58f97a1bd3a59ee8112ade27c4
Submitter: Zuul (<email address hidden>)
Branch: master

commit 1e99c470650b3b58f97a1bd3a59ee8112ade27c4
Author: Naveen N <email address hidden>
Date: Mon Jul 10 14:24:12 2017 +0530

Prioritize static preference over act-active flag

If static preference is configured on interface then publish the
route with that preference even if active-active flags is configured
on instance-ip or AAP. Test case for same.

Conflicts:
 src/vnsw/agent/oper/vm_interface.cc

(cherry picked from commit 24ee634ce27dce7c5e02dcca68c119cc299f3f51)
Change-Id: I6368e50e4fa8a431f454a7fe3b97c830a2d94f7f
closes-bug: #1674408

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.