Bootstrap fails: Ansible role mrlesmithjr.manage-lvm cannot be found on https://galaxy.ansible.com/api/

Bug #2024163 reported by Matt Crees
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kayobe
Fix Released
High
Matt Crees
Antelope
Fix Released
High
Matt Crees
Wallaby
Fix Released
High
Matt Crees
Xena
Fix Released
High
Matt Crees
Yoga
Fix Released
High
Matt Crees
Zed
Fix Released
High
Matt Crees

Bug Description

The Ansible role mrlesmithjr.manage-lvm was renamed to mrlesmithjr.manage_lvm (hyphen replaced with underscore) in release v0.2.10 yesterday. While we pin the version to v0.2.8 in Kayobe, this name change affects all versions due to changing the name in Ansible Galaxy. The role cannot be found under the old name:

mrlesmithjr.manage-lvm was NOT installed successfully: - sorry,
mrlesmithjr.manage-lvm was not found on https://galaxy.ansible.com/api/

``requirements.yml`` needs to be changed to use an underscore instead.

Matt Crees (mattcrees)
Changed in kayobe:
assignee: nobody → Matt Crees (mattcrees)
Revision history for this message
Jack Hodgkiss (jackhodgkiss) wrote :

This would also impact the actual running of the role within `lvm.yml`

```
TASK [Ensure LVM configuration is applied] ************************************************************************************************************
Friday 16 June 2023 09:14:28 +0000 (0:00:00.115) 0:03:14.546 ***********
ERROR! the role 'mrlesmithjr.manage-lvm' was not found in /home/cloud-user/venvs/kayobe/share/kayobe/ansible/roles:/home/cloud-user/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/cloud-user/venvs/kayobe/share/kayobe/ansible

The error appears to be in '/home/cloud-user/venvs/kayobe/share/kayobe/ansible/lvm.yml': line 30, column 15, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

      include_role:
        name: mrlesmithjr.manage-lvm
              ^ here
```

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

Changed in kayobe:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/kayobe/+/886144

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/886144
Committed: https://opendev.org/openstack/kayobe/commit/b4b70123790037eea71d50a0c6d42397888a67a0
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit b4b70123790037eea71d50a0c6d42397888a67a0
Author: Matt Crees <email address hidden>
Date: Fri Jun 16 10:13:54 2023 +0100

    Correct name for role mrlesmithjr.manage_lvm

    The name of ``mrlesmithjr.manage_lvm`` was changed yesterday in release
    v0.2.10 to use an underscore, instead of a hyphen. As this changes the
    name of the role on Ansible Galaxy, it needs to be updated in
    ``requirements.yml``.

    Closes-Bug: #2024163
    Change-Id: I4ea8d8c3a822a7c217bcfcfd5027eecfd21beaed

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/kayobe/+/886274

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/886274
Committed: https://opendev.org/openstack/kayobe/commit/98d8e04bb5645b25526bd3987629e6e8e4c4eebd
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 98d8e04bb5645b25526bd3987629e6e8e4c4eebd
Author: Matt Crees <email address hidden>
Date: Fri Jun 16 10:13:54 2023 +0100

    Correct name for role mrlesmithjr.manage_lvm

    The name of ``mrlesmithjr.manage_lvm`` was changed yesterday in release
    v0.2.10 to use an underscore, instead of a hyphen. As this changes the
    name of the role on Ansible Galaxy, it needs to be updated in
    ``requirements.yml``.

    Closes-Bug: #2024163
    Change-Id: I4ea8d8c3a822a7c217bcfcfd5027eecfd21beaed

tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/kayobe/+/886293

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/886293
Committed: https://opendev.org/openstack/kayobe/commit/c4fa262a53f3df6da5c5e7d1e5a3e3f33e5c3100
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit c4fa262a53f3df6da5c5e7d1e5a3e3f33e5c3100
Author: Matt Crees <email address hidden>
Date: Fri Jun 16 10:13:54 2023 +0100

    Correct name for role mrlesmithjr.manage_lvm

    The name of ``mrlesmithjr.manage_lvm`` was changed yesterday in release
    v0.2.10 to use an underscore, instead of a hyphen. As this changes the
    name of the role on Ansible Galaxy, it needs to be updated in
    ``requirements.yml``.

    Closes-Bug: #2024163
    Change-Id: I4ea8d8c3a822a7c217bcfcfd5027eecfd21beaed

tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/kayobe/+/886390

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

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/kayobe/+/886314

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

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/886390
Committed: https://opendev.org/openstack/kayobe/commit/6accbcf6654423ee0a48ba8382b7fd7e0c2b00fa
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 6accbcf6654423ee0a48ba8382b7fd7e0c2b00fa
Author: Matt Crees <email address hidden>
Date: Fri Jun 16 10:13:54 2023 +0100

    Correct name for role mrlesmithjr.manage_lvm

    The name of ``mrlesmithjr.manage_lvm`` was changed yesterday in release
    v0.2.10 to use an underscore, instead of a hyphen. As this changes the
    name of the role on Ansible Galaxy, it needs to be updated in
    ``requirements.yml``.

    Closes-Bug: #2024163
    Change-Id: I4ea8d8c3a822a7c217bcfcfd5027eecfd21beaed

tags: added: in-stable-zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/886314
Committed: https://opendev.org/openstack/kayobe/commit/f525c6a563ebe36cd0c1016deb4fa16529eec51f
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit f525c6a563ebe36cd0c1016deb4fa16529eec51f
Author: Matt Crees <email address hidden>
Date: Fri Jun 16 10:13:54 2023 +0100

    Correct name for role mrlesmithjr.manage_lvm

    The name of ``mrlesmithjr.manage_lvm`` was changed yesterday in release
    v0.2.10 to use an underscore, instead of a hyphen. As this changes the
    name of the role on Ansible Galaxy, it needs to be updated in
    ``requirements.yml``.

    Closes-Bug: #2024163
    Change-Id: I4ea8d8c3a822a7c217bcfcfd5027eecfd21beaed

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

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/886251
Committed: https://opendev.org/openstack/kayobe/commit/505bb28b8d2c3582820ff736b168e64c74cb0a00
Submitter: "Zuul (22348)"
Branch: master

commit 505bb28b8d2c3582820ff736b168e64c74cb0a00
Author: Matt Crees <email address hidden>
Date: Fri Jun 16 10:13:54 2023 +0100

    Correct name for role mrlesmithjr.manage_lvm

    The name of ``mrlesmithjr.manage_lvm`` was changed yesterday in release
    v0.2.10 to use an underscore, instead of a hyphen. As this changes the
    name of the role on Ansible Galaxy, it needs to be updated in
    ``requirements.yml``.

    Closes-Bug: #2024163
    Change-Id: I4ea8d8c3a822a7c217bcfcfd5027eecfd21beaed

Changed in kayobe:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kayobe 14.1.0

This issue was fixed in the openstack/kayobe 14.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kayobe 12.8.0

This issue was fixed in the openstack/kayobe 12.8.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kayobe 13.2.0

This issue was fixed in the openstack/kayobe 13.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kayobe wallaby-eol

This issue was fixed in the openstack/kayobe wallaby-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kayobe xena-eol

This issue was fixed in the openstack/kayobe xena-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kayobe 15.0.0.0rc1

This issue was fixed in the openstack/kayobe 15.0.0.0rc1 release candidate.

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.