Trunk status is down after a live-migration

Bug #1988549 reported by Arnau Verdaguer
6
This bug affects 1 person
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-server-trunk-ext-pinger-1
+------------------------------------------+--------------------------------------+--------+----------------------------+
| Request ID | Server ID | Action | Start Time |
+------------------------------------------+--------------------------------------+--------+----------------------------+
| req-93485625-4e4f-40f0-89a6-104853eceee5 | 8ded64a4-6675-462c-8276-663a46f8efa9 | create | 2022-09-01T20:51:14.000000 |
+------------------------------------------+--------------------------------------+--------+----------------------------+
(overcloud) [stack@undercloud-0 ~]$ openstack port list | grep -ext-pinger-1
| de281f6b-afab-424f-a05e-058cabc42b53 | ovn-migration-port-trunk-ext-pinger-1-subport | fa:16:3e:bc:b6:96 | ip_address='192.168.200.178', subnet_id='e54a235d-1337-4f78-ba64-1c3d1f21c97e' | ACTIVE |
| fca6bb27-a0a1-47fb-bb37-b6aa53121248 | ovn-migration-port-trunk-ext-pinger-1 | fa:16:3e:bc:b6:96 | ip_address='10.0.0.218', subnet_id='f0ef20d3-5769-478c-bbfd-7384d5ffb284' | ACTIVE |
(overcloud) [stack@undercloud-0 ~]$ openstack network trunk show ovn-migration-trunk-pinger-1 -f value -c status
ACTIVE
(overcloud) [stack@undercloud-0 ~]$ openstack server migrate --live-migration --host compute-0.redhat.local --block-migration --wait ovn-migration-server-trunk-ext-pinger-1
Complete
(overcloud) [stack@undercloud-0 ~]$ openstack port list | grep -ext-pinger-1
| de281f6b-afab-424f-a05e-058cabc42b53 | ovn-migration-port-trunk-ext-pinger-1-subport | fa:16:3e:bc:b6:96 | ip_address='192.168.200.178', subnet_id='e54a235d-1337-4f78-ba64-1c3d1f21c97e' | ACTIVE |
| fca6bb27-a0a1-47fb-bb37-b6aa53121248 | ovn-migration-port-trunk-ext-pinger-1 | fa:16:3e:bc:b6:96 | ip_address='10.0.0.218', subnet_id='f0ef20d3-5769-478c-bbfd-7384d5ffb284' | ACTIVE |
(overcloud) [stack@undercloud-0 ~]$ openstack network trunk show ovn-migration-trunk-pinger-1 -f value -c status
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/853779
Committed: https://opendev.org/openstack/neutron/commit/178ee6fd3d76802cd7f577ad3d0d190117e78962
Submitter: "Zuul (22348)"
Branch: master

commit 178ee6fd3d76802cd7f577ad3d0d190117e78962
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
    Change-Id: Ia0f7a6e8510af2c3545993e0d0d4bb06a9b70b79

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/neutron/+/871759

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/neutron/+/871760

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/neutron/+/871761

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/neutron/+/871762

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/871760
Committed: https://opendev.org/openstack/neutron/commit/2617f7b93c468263c81f57073f8828063454838b
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 2617f7b93c468263c81f57073f8828063454838b
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
    Change-Id: Ia0f7a6e8510af2c3545993e0d0d4bb06a9b70b79
    (cherry picked from commit 178ee6fd3d76802cd7f577ad3d0d190117e78962)

tags: added: in-stable-zed
tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/871761
Committed: https://opendev.org/openstack/neutron/commit/254d3d0e5cc5fc0fb3fbc28606cde1f36ab57ba9
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 254d3d0e5cc5fc0fb3fbc28606cde1f36ab57ba9
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
    Change-Id: Ia0f7a6e8510af2c3545993e0d0d4bb06a9b70b79
    (cherry picked from commit 178ee6fd3d76802cd7f577ad3d0d190117e78962)

tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/871762
Committed: https://opendev.org/openstack/neutron/commit/a94143d4fdb140f1df15044c0350c1fc699978b2
Submitter: "Zuul (22348)"
Branch: stable/xena

commit a94143d4fdb140f1df15044c0350c1fc699978b2
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
    Change-Id: Ia0f7a6e8510af2c3545993e0d0d4bb06a9b70b79
    (cherry picked from commit 178ee6fd3d76802cd7f577ad3d0d190117e78962)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 19.5.0

This issue was fixed in the openstack/neutron 19.5.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/c/openstack/neutron/+/873144

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/neutron/+/873146

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/c/openstack/neutron/+/873147

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/train)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/873144
Committed: https://opendev.org/openstack/neutron/commit/27880bb5cb9b3beb0f7a898e73b48d545b1db9c6
Submitter: "Zuul (22348)"
Branch: stable/train

commit 27880bb5cb9b3beb0f7a898e73b48d545b1db9c6
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
    Change-Id: Ia0f7a6e8510af2c3545993e0d0d4bb06a9b70b79
    (cherry picked from commit 178ee6fd3d76802cd7f577ad3d0d190117e78962)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/871759
Committed: https://opendev.org/openstack/neutron/commit/cac769cefdcb889b4a85c9c7fc871e4d74a7234c
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit cac769cefdcb889b4a85c9c7fc871e4d74a7234c
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
    Change-Id: Ia0f7a6e8510af2c3545993e0d0d4bb06a9b70b79
    (cherry picked from commit 178ee6fd3d76802cd7f577ad3d0d190117e78962)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 22.0.0.0rc1

This issue was fixed in the openstack/neutron 22.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/873147
Committed: https://opendev.org/openstack/neutron/commit/b09458c1e0cbd2e3dc0fff9571f9ad1baa1f859e
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit b09458c1e0cbd2e3dc0fff9571f9ad1baa1f859e
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.

    Depends-On: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/873351
    Closes-Bug: #1988549
    Change-Id: Ia0f7a6e8510af2c3545993e0d0d4bb06a9b70b79
    (cherry picked from commit 178ee6fd3d76802cd7f577ad3d0d190117e78962)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 20.3.0

This issue was fixed in the openstack/neutron 20.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 21.1.0

This issue was fixed in the openstack/neutron 21.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/873146
Committed: https://opendev.org/openstack/neutron/commit/1e7509acdc80f28a4f6d59162842a4e383f0698b
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 1e7509acdc80f28a4f6d59162842a4e383f0698b
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
    Change-Id: Ia0f7a6e8510af2c3545993e0d0d4bb06a9b70b79
    (cherry picked from commit 178ee6fd3d76802cd7f577ad3d0d190117e78962)

tags: added: in-stable-victoria
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron train-eol

This issue was fixed in the openstack/neutron train-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron ussuri-eol

This issue was fixed in the openstack/neutron ussuri-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron victoria-eom

This issue was fixed in the openstack/neutron victoria-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron wallaby-eom

This issue was fixed in the openstack/neutron wallaby-eom release.

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.