Pull command fails in ovs-dpdk role

Bug #2041864 reported by German E
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Status tracked in Caracal
Antelope
Fix Committed
Medium
Unassigned
Bobcat
Fix Committed
Medium
Unassigned
Caracal
Fix Released
Medium
German E
Zed
Fix Released
Medium
Unassigned

Bug Description

Command `kolla-ansible pull` fails in ovs-dpdk role:

```
PLAY [Apply role ovs-dpdk] *****************************************************

TASK [ovs-dpdk : include_tasks] ************************************************
included: /usr/local/share/kolla-ansible/ansible/roles/ovs-dpdk/tasks/pull.yml for LAB-HNS-01, LAB-HNS-02

TASK [service-images-pull : ovs | Pull images] *********************************
fatal: [LAB-HNS-01]: FAILED! => {"msg": "No variable found with this name: ovs_services"}
```

For image pulling, the service-images-pull role uses the 'project_name' variable (currently defined as 'ovs') + '_services' string . However, defaults of the ovs-dpdk role only define 'ovsdpdk_services'.

German E (gespinozat)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)
Changed in kolla-ansible:
status: New → In Progress
Changed in kolla-ansible:
importance: Undecided → Medium
assignee: nobody → German E (gespinozat)
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/+/899626
Committed: https://opendev.org/openstack/kolla-ansible/commit/a81a53092d870a584b854e9ba0ce7e61ebf59c2a
Submitter: "Zuul (22348)"
Branch: master

commit a81a53092d870a584b854e9ba0ce7e61ebf59c2a
Author: German Espinoza <email address hidden>
Date: Mon Oct 30 12:01:11 2023 -0500

    Fix images pull in ovs-dpdk role

    This patch fixes ovs-dpdk images pull by adding
    the variable kolla_role_name to the ovs-dpdk vars, so
    services-image-pull can work correctly.

    Closes-Bug: #2041864
    Change-Id: I2e799290a57ebfacbc0ff9a0b1ca3dc956c513df
    Signed-off-by: German Espinoza <email address hidden>

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/2023.2)

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

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

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

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

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

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/912758
Committed: https://opendev.org/openstack/kolla-ansible/commit/2214a42f636eec6bbfc23e3ac45d4558303d0dc9
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 2214a42f636eec6bbfc23e3ac45d4558303d0dc9
Author: German Espinoza <email address hidden>
Date: Mon Oct 30 12:01:11 2023 -0500

    Fix images pull in ovs-dpdk role

    This patch fixes ovs-dpdk images pull by adding
    the variable kolla_role_name to the ovs-dpdk vars, so
    services-image-pull can work correctly.

    Closes-Bug: #2041864
    Change-Id: I2e799290a57ebfacbc0ff9a0b1ca3dc956c513df
    Signed-off-by: German Espinoza <email address hidden>
    (cherry picked from commit a81a53092d870a584b854e9ba0ce7e61ebf59c2a)

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

commit f9eec65fb71bbbd818032cf46c5cde1ddac72b24
Author: German Espinoza <email address hidden>
Date: Mon Oct 30 12:01:11 2023 -0500

    Fix images pull in ovs-dpdk role

    This patch fixes ovs-dpdk images pull by adding
    the variable kolla_role_name to the ovs-dpdk vars, so
    services-image-pull can work correctly.

    Closes-Bug: #2041864
    Change-Id: I2e799290a57ebfacbc0ff9a0b1ca3dc956c513df
    Signed-off-by: German Espinoza <email address hidden>
    (cherry picked from commit a81a53092d870a584b854e9ba0ce7e61ebf59c2a)

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

commit d6188a893565a62d22ffa984931ebe89926c7c5d
Author: German Espinoza <email address hidden>
Date: Mon Oct 30 12:01:11 2023 -0500

    Fix images pull in ovs-dpdk role

    This patch fixes ovs-dpdk images pull by adding
    the variable kolla_role_name to the ovs-dpdk vars, so
    services-image-pull can work correctly.

    Closes-Bug: #2041864
    Change-Id: I2e799290a57ebfacbc0ff9a0b1ca3dc956c513df
    Signed-off-by: German Espinoza <email address hidden>
    (cherry picked from commit a81a53092d870a584b854e9ba0ce7e61ebf59c2a)

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

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