prechecks not passing for api_interfaces with dashes

Bug #2070051 reported by Michal Nasiadka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kayobe
In Progress
Undecided
Unassigned
kolla-ansible
Status tracked in Dalmatian
Antelope
Fix Committed
Medium
Unassigned
Bobcat
Fix Committed
Medium
Unassigned
Caracal
In Progress
Medium
Unassigned
Dalmatian
Fix Released
Medium
Michal Nasiadka

Bug Description

Both port prechecks and load balancer role prechecks are failing on checking active interface when interface name is with dashes e.g. my-fantastic-interface-name - ansible does replace dashes with underscores under ansible_facts (but not for the interface list under ansible_facts.interfaces)

Revision history for this message
Michal Nasiadka (mnasiadka) wrote (last edit ):

In addition to that Kayobe is templating api and external interface with underscores instead of dashes to Kolla-Ansible and it shouldn't.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe (master)

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

Changed in kolla-ansible:
status: New → In Progress
Changed in kayobe:
status: New → In Progress
description: updated
Revision history for this message
Doug Szumski (dszumski) wrote :

You could argue that this is a feature since we warn against using dashes in the documentation.

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/+/922478
Committed: https://opendev.org/openstack/kolla-ansible/commit/a535e65a85aa99af2e42a22a891de79a172bd033
Submitter: "Zuul (22348)"
Branch: master

commit a535e65a85aa99af2e42a22a891de79a172bd033
Author: Michal Nasiadka <email address hidden>
Date: Fri Jun 21 16:39:09 2024 +0200

    Fix prechecks for interfaces with dashes

    Closes-Bug: #2070051

    Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/923544

    Change-Id: I221eb136e77c61aef39e8646b48b927352d1419d

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

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

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

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/+/923959
Committed: https://opendev.org/openstack/kolla-ansible/commit/54019c56f12856ad1c87fac927a02b27a413ef70
Submitter: "Zuul (22348)"
Branch: stable/2023.2

commit 54019c56f12856ad1c87fac927a02b27a413ef70
Author: Michal Nasiadka <email address hidden>
Date: Fri Jun 21 16:39:09 2024 +0200

    Fix prechecks for interfaces with dashes

    Closes-Bug: #2070051

    Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/923544

    Change-Id: I221eb136e77c61aef39e8646b48b927352d1419d
    (cherry picked from commit a535e65a85aa99af2e42a22a891de79a172bd033)

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/+/923960
Committed: https://opendev.org/openstack/kolla-ansible/commit/f78dab4bd742648e9c525d68fe80539a3f076eab
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit f78dab4bd742648e9c525d68fe80539a3f076eab
Author: Michal Nasiadka <email address hidden>
Date: Fri Jun 21 16:39:09 2024 +0200

    Fix prechecks for interfaces with dashes

    Closes-Bug: #2070051

    Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/923544

    Change-Id: I221eb136e77c61aef39e8646b48b927352d1419d
    (cherry picked from commit a535e65a85aa99af2e42a22a891de79a172bd033)

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.