OVN playbook attempts to set OVS hostname on ineligible host

Bug #1790915 reported by James Denton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
James Denton

Bug Description

TASK [os_neutron : Set openvswitch hostname] *******************************************************************************************************************
fatal: [aio1_neutron_server_container-ced97477]: FAILED! => {"changed": false, "cmd": "ovs-vsctl set open_vswitch . external-ids:hostname=aio1_neutron_server_container-ced97477", "msg": "[Errno 2] No such file or directory", "rc": 2}
fatal: [aio1_neutron_server_container-f4039214]: FAILED! => {"changed": false, "cmd": "ovs-vsctl set open_vswitch . external-ids:hostname=aio1_neutron_server_container-f4039214", "msg": "[Errno 2] No such file or directory", "rc": 2}
fatal: [aio1_neutron_server_container-2cc36f37]: FAILED! => {"changed": false, "cmd": "ovs-vsctl set open_vswitch . external-ids:hostname=aio1_neutron_server_container-2cc36f37", "msg": "[Errno 2] No such file or directory", "rc": 2}

The neutron_server container should not have an OVS instance running.

Changed in openstack-ansible:
assignee: nobody → James Denton (james-denton)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/600185

Changed in openstack-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_neutron (master)

Reviewed: https://review.openstack.org/600185
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_neutron/commit/?id=f97e9ffbbaa2ac1a7428eab4845fa372f52307f8
Submitter: Zuul
Branch: master

commit f97e9ffbbaa2ac1a7428eab4845fa372f52307f8
Author: James Denton <email address hidden>
Date: Wed Sep 5 18:53:46 2018 +0000

    Only set openvswitch hostname for OVN on eligible hosts

    This patch addresses a bug where the OVS 'hostname' external-id was being
    set on ineligible hosts due to undefined group matching statements.

    Change-Id: I158d6c7da732dada7dc4cf999a2128c02adc189a
    Closes-Bug: #1790915

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_neutron stein-eol

This issue was fixed in the openstack/openstack-ansible-os_neutron stein-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_neutron train-eol

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

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_neutron yoga-eom

This issue was fixed in the openstack/openstack-ansible-os_neutron yoga-eom release.

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

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

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_neutron xena-eom

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