CVM sets up new VLAN ID despite port already having one

Bug #1777630 reported by Adrian Szczepański on 2018-06-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
Undecided
Adrian Szczepański
Trunk
Fix Committed
Medium
Adrian Szczepański
OpenContrail
Fix Committed
Undecided
Adrian Szczepański

Bug Description

When a new VMI is created in CVM, the program automatically sets new VLAN ID for it's port. It causes an update in vRouter agent, which in turn may cause temporal connectivity issues.

Changed in opencontrail:
assignee: nobody → Adrian Szczepański (adrian.szczepanski)

Review in progress for https://review.opencontrail.org/43964
Submitter: Adrian Szczepanski (<email address hidden>)

Reviewed: https://review.opencontrail.org/43964
Committed: http://github.com/Juniper/contrail-vcenter-manager/commit/431bf8d80c34d2bfd61ac2bf86e3e2444097e523
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 431bf8d80c34d2bfd61ac2bf86e3e2444097e523
Author: Adrian Szczepański <email address hidden>
Date: Mon Jun 18 11:43:04 2018 +0200

Stop reassigning VLAN IDs

Add VCenterPort class for storing info on ports in VM Model
Remove vrouter_port_added field from VMI Model
Move VMIs parent and security group attachment outside of the VMI Model constructor
Encapsulate vcenter port related data in VCenterPort object in VMI model
Add get_vlan_id method to VCenterAPIClient

Closes-Bug: #1777630
Change-Id: If94758e6871b4492511b915bd06d04ae81c5643e

Jeba Paulaiyan (jebap) on 2018-06-19
tags: added: vmware

Review in progress for https://review.opencontrail.org/44016
Submitter: Adrian Szczepanski (<email address hidden>)

Reviewed: https://review.opencontrail.org/44016
Committed: http://github.com/Juniper/contrail-vcenter-manager/commit/0c3173e4459e8cf5bc3cc943626bc4c414ede568
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 0c3173e4459e8cf5bc3cc943626bc4c414ede568
Author: Adrian Szczepański <email address hidden>
Date: Mon Jun 18 11:43:04 2018 +0200

Stop reassigning VLAN IDs

Add VCenterPort class for storing info on ports in VM Model
Remove vrouter_port_added field from VMI Model
Move VMIs parent and security group attachment outside of the VMI Model constructor
Encapsulate vcenter port related data in VCenterPort object in VMI model
Add get_vlan_id method to VCenterAPIClient

Closes-Bug: #1777630
Change-Id: If94758e6871b4492511b915bd06d04ae81c5643e
(cherry picked from commit 431bf8d80c34d2bfd61ac2bf86e3e2444097e523)

Changed in opencontrail:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers