Kayobe Ansible collection versions always take precedence over kayobe-config collection versions

Bug #2056473 reported by Scott Davidson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kayobe
In Progress
High
Unassigned

Bug Description

If we have different versions of a collection defined in both kayobe/requirements.yml and in kayobe-config/etc/kayobe/ansible/requirements.yml (e.g. the stackhpc.linux collection) then the Kayobe version is used everywhere.

This can lead to difficult to track down errors e.g. in hook playbooks if import_role tasks such as

- import_role:
    name: <collection-name>.<role-name>

are used in the playbook.

Prioritising the collection version in kayobe-config, at least for custom hooks, would probably make more sense.

Revision history for this message
Will Szumski (willjs) wrote :

Mark pointed out at the PTG (https://etherpad.opendev.org/p/kolla-dalmatian-ptg) that it can be desirable to use custom collections for things like filters in your kayobe configuration, but it could be possible to arrange the precedence so that it went:

- kayobe custom playbook collections
- kayobe collections

for kayobe playbooks. That way you could have additions, but could not replace the plugins in the kayobe managed collections.

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

Changed in kayobe:
status: New → In Progress
Will Szumski (willjs)
Changed in kayobe:
importance: Undecided → Medium
importance: Medium → High
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.