Trunk status is down after a live-migration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Arnau Verdaguer |
Bug Description
After live-migrating a trunk VM the network trunk status remains in a DOWN state even if the subports and parent port status is ACTIVE and there is connectivity between subports and to the trunk port.
stepts to reproduce:
1. Create trunk with some subport,
2. Spawn vm with plugged to the trunk's parent port,
3. Check status of trunk's parent port, subport's port and trunk itself- all ACTIVE
4. Live-migrate vm
5. Check status of trunk's parent port and subport's port and trunk itself - subport and parent port status is UP but trunk itself has DOWN status.
Info:
(overcloud) [stack@undercloud-0 ~]$ openstack server event list ovn-migration-
+------
| Request ID | Server ID | Action | Start Time |
+------
| req-93485625-
+------
(overcloud) [stack@undercloud-0 ~]$ openstack port list | grep -ext-pinger-1
| de281f6b-
| fca6bb27-
(overcloud) [stack@undercloud-0 ~]$ openstack network trunk show ovn-migration-
ACTIVE
(overcloud) [stack@undercloud-0 ~]$ openstack server migrate --live-migration --host compute-
Complete
(overcloud) [stack@undercloud-0 ~]$ openstack port list | grep -ext-pinger-1
| de281f6b-
| fca6bb27-
(overcloud) [stack@undercloud-0 ~]$ openstack network trunk show ovn-migration-
DOWN
Changed in neutron: | |
assignee: | nobody → Arnau Verdaguer (averdagu) |
Changed in neutron: | |
status: | New → In Progress |
tags: | added: trunk |
Changed in neutron: | |
importance: | Undecided → Medium |
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/853779 /opendev. org/openstack/ neutron/ commit/ 178ee6fd3d76802 cd7f577ad3d0d19 0117e78962
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 178ee6fd3d76802 cd7f577ad3d0d19 0117e78962
Author: Arnau Verdaguer <email address hidden>
Date: Fri Aug 19 16:40:50 2022 +0200
[Trunk] Update the trunk status with the parent status
After a trunk VM has been migrated the trunk status remains
DOWN, After the parent port is back to active modify the trunk
status.
Closes-Bug: #1988549 c3545993e0d0d4b b06a9b70b79
Change-Id: Ia0f7a6e8510af2