Masakari: Incorrect reference to dictionary key in 'with_dict' loop

Bug #2054867 reported by Mina
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Mina
Antelope
Confirmed
Undecided
Unassigned
Bobcat
Confirmed
Undecided
Unassigned
Caracal
In Progress
Medium
Mina
Yoga
Confirmed
Undecided
Unassigned
Zed
Confirmed
Undecided
Unassigned

Bug Description

The bug occurs in the 'Copying over existing policy file' task within the Masakari roles configuration file (config.yml). The issue lies in the 'with_dict' loop where '{{ item }}' is incorrectly referenced instead of '{{ item.key }}'. This leads to potential errors in policy file copying for the Masakari services.

Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
Maksim Malchuk (mmalchuk) wrote :
Changed in kolla-ansible:
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/+/915760
Committed: https://opendev.org/openstack/kolla-ansible/commit/d45660bbc2f50566c1f89db6702985066044409d
Submitter: "Zuul (22348)"
Branch: master

commit d45660bbc2f50566c1f89db6702985066044409d
Author: Mina ShahsavanPour <email address hidden>
Date: Sat Apr 13 10:21:59 2024 +0330

    Masakari: Fix incorrect reference to dictionary key.

    Closes-Bug: #2054867
    Change-Id: I1fdcaacd4f3bee2c5a4d4e6f3b643e46793a1313

Changed in kolla-ansible:
status: In Progress → Fix Released
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.