Undercloud install is failing with Error message: Validation ['r', 'o', 'p', 'd', '.', 'i', 'y', 'k', 'c', 'e', 'l', 's', '-', 'n', 'u', 'a', 'm'] not found in /usr/share/ansible/validation-playbooks.

Bug #1901676 reported by Sandeep Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Cédric Jeanneret

Bug Description

Description:-

Undercloud install is failing with Error message: Validation ['r', 'o', 'p', 'd', '.', 'i', 'y', 'k', 'c', 'e', 'l', 's', '-', 'n', 'u', 'a', 'm'] not found in /usr/share/ansible/validation-playbooks.

https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-scenario000-multinode-oooq-container-updates-master/186cc9d/logs/undercloud/home/zuul/undercloud_install.log.txt.gz
~~~
/usr/lib64/python3.6/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
  return f(*args, **kwds)
Deprecated: Option "ipxe_deploy" from group "DEFAULT" is deprecated. Use option "ipxe_enabled" from group "DEFAULT".
An error occurred during configuration validation, please check your host configuration and try again. Error message: Validation ['r', 'o', 'p', 'd', '.', 'i', 'y', 'k', 'c', 'e', 'l', 's', '-', 'n', 'u', 'a', 'm'] not found in /usr/share/ansible/validation-playbooks.
~~~

Another example:

https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-containers-undercloud-minion-master/d4fe8f8/logs/undercloud/home/zuul/undercloud_install.log.txt.gz

tags: added: promotion-blocker
Revision history for this message
Cédric Jeanneret (cjeanner) wrote :

I'd say it's linked to the following change in python-tripleoclient:

commit 3dd2c83883960bd279e82b9fb0d4a3cb16c5e2cb
Author: Mathieu Bultel <email address hidden>
Date: Wed Sep 23 16:33:06 2020 +0200

    Use validation framework for running undercloud checkdisk

    The validations playbook is own and moved under the VF
    ansible dir.
    The undercloud preflight check should use VF for running it.

    Change-Id: Id853b1e80d690734ac9c32a1b914e49608f6cc43

Though... it's "old" ? Is it possible it only shows up now?

Revision history for this message
Cédric Jeanneret (cjeanner) wrote :

After some more digging, might be more related to this change:
https://review.opendev.org/#/c/758803/3/validations_libs/validation_actions.py

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.opendev.org/759864

Changed in tripleo:
assignee: nobody → Cédric Jeanneret (cjeanner)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to validations-libs (master)

Fix proposed to branch: master
Review: https://review.opendev.org/759866

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-tripleoclient (master)

Change abandoned by Cédric Jeanneret (Tengu) (<email address hidden>) on branch: master
Review: https://review.opendev.org/759864
Reason: Replaced by a better patch against validations-libs: https://review.opendev.org/759866

Changed in tripleo:
assignee: Cédric Jeanneret (cjeanner) → Gael Chamoulaud (gael-chamoulaud)
Changed in tripleo:
assignee: Gael Chamoulaud (gael-chamoulaud) → Cédric Jeanneret (cjeanner)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to validations-libs (master)

Reviewed: https://review.opendev.org/759866
Committed: https://git.openstack.org/cgit/openstack/validations-libs/commit/?id=6d0d1ce06dbdd19f6b9af3a4b1641c1819469b11
Submitter: Zuul
Branch: master

commit 6d0d1ce06dbdd19f6b9af3a4b1641c1819469b11
Author: Cédric Jeanneret <email address hidden>
Date: Tue Oct 27 14:43:55 2020 +0100

    Ensure we're using proper types for validation_name and _id

    In some case we might get string instead of list - instead of failing,
    just do a simple convertion and go on.

    We also support both notation, either playbook name (foo.yaml) and
    validation name (foo) in the search of valid content.

    Co-Authored-By: Gael Chamoulaud (Strider) <email address hidden>

    Change-Id: I8d0288dae3cab131a8bc65e3d0b986dc6b9aec67
    Closes-Bug: #1901676

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/validations-libs 1.1.0

This issue was fixed in the openstack/validations-libs 1.1.0 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.