[OVN][FT] During the OvnNorthd stop, the unix file could not exist

Bug #1943029 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Rodolfo Alonso

Bug Description

During the OVN functional tests, when the "OvnNorthd" is stopped at the end of the test, the UNIX ctl file could have been already deleted. Check first before executing the "ovs-appctl" command.

E.g.:
Running command: ['ovs-appctl', '-t', '/tmp/tmpo321snqk/ovnnb_db.ctl', 'exit']
Exit code: 1; Cmd: ['ovs-appctl', '-t', '/tmp/tmpo321snqk/ovnnb_db.ctl', 'exit']; Stdin: ; Stdout: ; Stderr: 2021-09-08T11:18:44Z|00001|unixctl|WARN|failed to connect to /tmp/tmpo321snqk/ovnnb_db.ctl
ovs-appctl: cannot connect to "/tmp/tmpo321snqk/ovnnb_db.ctl" (No such file or directory)

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/807862

Changed in neutron:
status: New → In Progress
tags: added: functional-tests ovn
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/807862
Committed: https://opendev.org/openstack/neutron/commit/1762ed883447fefbf08e11c309fc1f098374ea53
Submitter: "Zuul (22348)"
Branch: master

commit 1762ed883447fefbf08e11c309fc1f098374ea53
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Sep 8 11:46:58 2021 +0000

    [OVN][FT] Check UNIX socket file before using it

    When stopping "OvnNorthd", first check if the UNIX socket file is
    still present before calling "ovs-appctl" command.

    Closes-Bug: #1943029
    Change-Id: Id70df8d28a258108acf88f36b2fb59b5df3a0857

Changed in neutron:
status: In Progress → Fix Released
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/+/825721

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/+/825731

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/+/825732

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/+/825733

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

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

commit 328c5740c5db7e95a2ce8a260f2c8aa217ae5467
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Sep 8 11:46:58 2021 +0000

    [OVN][FT] Check UNIX socket file before using it

    When stopping "OvnNorthd", first check if the UNIX socket file is
    still present before calling "ovs-appctl" command.

    Closes-Bug: #1943029
    Change-Id: Id70df8d28a258108acf88f36b2fb59b5df3a0857
    (cherry picked from commit 1762ed883447fefbf08e11c309fc1f098374ea53)

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

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

commit fb33a02cb25ad806ef08a4799ecba09940cfcd82
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Sep 8 11:46:58 2021 +0000

    [OVN][FT] Check UNIX socket file before using it

    When stopping "OvnNorthd", first check if the UNIX socket file is
    still present before calling "ovs-appctl" command.

    Closes-Bug: #1943029
    Change-Id: Id70df8d28a258108acf88f36b2fb59b5df3a0857
    (cherry picked from commit 1762ed883447fefbf08e11c309fc1f098374ea53)

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

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

commit a1327842bdca43bd729b3b66f84ed6541b5354ab
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Sep 8 11:46:58 2021 +0000

    [OVN][FT] Check UNIX socket file before using it

    When stopping "OvnNorthd", first check if the UNIX socket file is
    still present before calling "ovs-appctl" command.

    Closes-Bug: #1943029
    Change-Id: Id70df8d28a258108acf88f36b2fb59b5df3a0857
    (cherry picked from commit 1762ed883447fefbf08e11c309fc1f098374ea53)

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

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

commit ab6398e99499f63bff2757e02babcd338855523b
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Sep 8 11:46:58 2021 +0000

    [OVN][FT] Check UNIX socket file before using it

    When stopping "OvnNorthd", first check if the UNIX socket file is
    still present before calling "ovs-appctl" command.

    Closes-Bug: #1943029
    Change-Id: Id70df8d28a258108acf88f36b2fb59b5df3a0857
    (cherry picked from commit 1762ed883447fefbf08e11c309fc1f098374ea53)

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

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

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

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

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

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

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

This issue was fixed in the openstack/neutron 19.2.0 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.

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.