Quickstart deployment on libvirt node failing with ERROR! the role 'tripleo_undercloud_install' was not found in tripleo.operator:ansible.legacy

Bug #1940652 reported by Sandeep Yadav
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Unassigned

Bug Description

Description:-

Quickstart deployment on libvirt machine failing with ERROR! the role 'tripleo_undercloud_install' was not found in tripleo.operator:ansible.legacy

Error Snippet:-

TASK [Install undercloud] ************************************************************************************************************************************************************************************************************************************
task path: /var/tmp/bootcamp/usr/local/share/ansible/roles/undercloud-deploy/tasks/main.yml:54
Sunday 15 August 2021 22:01:03 +0530 (0:00:02.164) 0:00:20.248 *********
ERROR! the role 'tripleo_undercloud_install' was not found in tripleo.operator:ansible.legacy:/var/tmp/bootcamp/playbooks/roles:/home/oooq/tripleo-quickstart/roles:/var/tmp/bootcamp/usr/local/share/tripleo-quickstart/roles:/var/tmp/bootcamp/usr/local/share/ansible/roles:/var/tmp/bootcamp/usr/local/share/opstools-ansible/roles:/var/tmp/bootcamp/share/ansible/roles:/var/tmp/bootcamp/usr/share/ansible/roles:/usr/share/ansible/roles:/var/tmp/bootcamp/playbooks

The error appears to be in '/var/tmp/bootcamp/usr/local/share/ansible/roles/undercloud-deploy/tasks/main.yml': line 58, column 15, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

      include_role:
        name: tripleo_undercloud_install
              ^ here

PLAY RECAP ***************************************************************************************************************************************************************************************************************************************************
undercloud : ok=18 changed=1 unreachable=0 failed=0 skipped=78 rescued=0 ignored=0

Sunday 15 August 2021 22:01:03 +0530 (0:00:00.040) 0:00:20.288 *********
===============================================================================

Known workaround:-

Installation of tripleo-operator-ansible rpm on libvirt node fixed the issue.

Tags: alert
summary: - Quickstart deployment on libvirt machine failing with ERROR! the role
+ Quickstart deployment on libvirt node failing with ERROR! the role
'tripleo_undercloud_install' was not found in
tripleo.operator:ansible.legacy
Revision history for this message
Juan Badia Payno (jbadiapa) wrote :

As my environment is a RHEL 8.3.
The workaround was:
 # cd ~/.quickstart
 # source bin/activate
 # ansible-galaxy collection install tripleo.operator -p ~/.quickstart/share/ansible/collections/

Probably this needs to be installed at:
   https://github.com/openstack/tripleo-quickstart/blob/master/install-deps.sh#L270

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart (master)
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
Juan Badia Payno (jbadiapa) wrote :

Another workaround is to execute the tripleo-quickstart (tq) with the --requirements flags something like:

./quickstart.sh -n -X -R master-tripleo-ci --tags all -T none --nodes config/nodes/1ctlr_1comp_1ceph.yml --requirements quickstart-extras-requirements.txt --requirements ci-scripts/ci-base-requirements.txt -p quickstart.yml 127.0.0.2

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-quickstart/+/805384
Committed: https://opendev.org/openstack/tripleo-quickstart/commit/70f9a6bd6da7fbb6839d09c74775c59b6d347608
Submitter: "Zuul (22348)"
Branch: master

commit 70f9a6bd6da7fbb6839d09c74775c59b6d347608
Author: Juan Badia Payno <email address hidden>
Date: Fri Aug 20 15:40:08 2021 +0200

    Install tripleo.operator collections

    Installing the undercloud is falling due to the lack of the
    tripleo.operator collection. This patch installs the
    tripleo.operator when the dependencies are installed.

    Closes-Bug: #1940652
    Change-Id: I0b670246ec6fe77632855c05c9d705be6359d820

Changed in tripleo:
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.