openvswitch role does not restart ovs container when hw offload is changed

Bug #2076335 reported by Bartosz Bezak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Status tracked in Dalmatian
Antelope
Fix Released
Medium
Unassigned
Bobcat
Fix Released
Medium
Unassigned
Caracal
Fix Released
Medium
Unassigned
Dalmatian
Fix Released
Medium
Bartosz Bezak

Bug Description

openvswitch role does not restart ovs container when hw offload is changed

TASK [openvswitch : Set system-id and hw-offload] **************************************************************************************************************************************************************
ok: [localhost] => (item={'col': 'external_ids', 'name': 'system-id', 'value': 'test-bbezak-r9'})
ok: [localhost] => (item={'col': 'external_ids', 'name': 'hostname', 'value': 'test-bbezak-r9'})
changed: [localhost] => (item={'col': 'other_config', 'name': 'hw-offload', 'value': True, 'state': 'present'})

after hw-offload is changed, ovs container needs to be restarted [1]

[1] https://docs.nvidia.com/networking/display/mlnxofedv590560125/ovs+offload+using+asap²+direct#src-2408744670_safe-id-T1ZTT2ZmbG9hZFVzaW5nQVNBUMKyRGlyZWN0LU9wZW52U3dpdGNoQ29uZmlndXJhdGlvbg

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)
Changed in kolla-ansible:
status: New → In Progress
Bartosz Bezak (bbezak)
Changed in kolla-ansible:
assignee: nobody → Bartosz Bezak (bbezak)
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/925970
Committed: https://opendev.org/openstack/kolla-ansible/commit/416574c8b48a342fac5c99806a227cabb1782841
Submitter: "Zuul (22348)"
Branch: master

commit 416574c8b48a342fac5c99806a227cabb1782841
Author: Bartosz Bezak <email address hidden>
Date: Thu Aug 8 11:35:03 2024 +0000

    Restart OVS container after hw-offload change

    OpenvSwitch container needs to be restarted for hw offload to be
    enabled/disabled properly [1].

    OpenvSwitch container will also be restarted when system-id or
    hostname changes.

    Closes-Bug: #2076335

    [1] https://docs.openstack.org/neutron/2024.1/admin/config-ovs-offload.html#configure-open-vswitch-hardware-offloading

    Change-Id: I444fc345e5d21ed969f48aa9a6230905cc411149

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

Fix proposed to branch: stable/2024.1
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/926058

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/2023.2)

Fix proposed to branch: stable/2023.2
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/926059

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/926060

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/2024.1)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/926058
Committed: https://opendev.org/openstack/kolla-ansible/commit/4268379da333d3cad1fac779e9b27b03fae56a0d
Submitter: "Zuul (22348)"
Branch: stable/2024.1

commit 4268379da333d3cad1fac779e9b27b03fae56a0d
Author: Bartosz Bezak <email address hidden>
Date: Thu Aug 8 11:35:03 2024 +0000

    Restart OVS container after hw-offload change

    OpenvSwitch container needs to be restarted for hw offload to be
    enabled/disabled properly [1].

    OpenvSwitch container will also be restarted when system-id or
    hostname changes.

    Closes-Bug: #2076335

    [1] https://docs.openstack.org/neutron/2024.1/admin/config-ovs-offload.html#configure-open-vswitch-hardware-offloading

    Change-Id: I444fc345e5d21ed969f48aa9a6230905cc411149
    (cherry picked from commit 416574c8b48a342fac5c99806a227cabb1782841)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/2023.2)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/926059
Committed: https://opendev.org/openstack/kolla-ansible/commit/d5d3ae3a0b0923a8fb636d035ffc1ac70955d514
Submitter: "Zuul (22348)"
Branch: stable/2023.2

commit d5d3ae3a0b0923a8fb636d035ffc1ac70955d514
Author: Bartosz Bezak <email address hidden>
Date: Thu Aug 8 11:35:03 2024 +0000

    Restart OVS container after hw-offload change

    OpenvSwitch container needs to be restarted for hw offload to be
    enabled/disabled properly [1].

    OpenvSwitch container will also be restarted when system-id or
    hostname changes.

    Closes-Bug: #2076335

    [1] https://docs.openstack.org/neutron/2024.1/admin/config-ovs-offload.html#configure-open-vswitch-hardware-offloading

    Change-Id: I444fc345e5d21ed969f48aa9a6230905cc411149
    (cherry picked from commit 416574c8b48a342fac5c99806a227cabb1782841)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/926060
Committed: https://opendev.org/openstack/kolla-ansible/commit/558f6c2987d7980a3305161646e0152afec8b8f0
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 558f6c2987d7980a3305161646e0152afec8b8f0
Author: Bartosz Bezak <email address hidden>
Date: Thu Aug 8 11:35:03 2024 +0000

    Restart OVS container after hw-offload change

    OpenvSwitch container needs to be restarted for hw offload to be
    enabled/disabled properly [1].

    OpenvSwitch container will also be restarted when system-id or
    hostname changes.

    Closes-Bug: #2076335

    [1] https://docs.openstack.org/neutron/2024.1/admin/config-ovs-offload.html#configure-open-vswitch-hardware-offloading

    Change-Id: I444fc345e5d21ed969f48aa9a6230905cc411149
    (cherry picked from commit 416574c8b48a342fac5c99806a227cabb1782841)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 16.7.0

This issue was fixed in the openstack/kolla-ansible 16.7.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 17.5.0

This issue was fixed in the openstack/kolla-ansible 17.5.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 18.2.0

This issue was fixed in the openstack/kolla-ansible 18.2.0 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.