Deployment is failing on one compute with "The error was: 'dict object' has no attribute 'devices'"

Solution In Progress - Updated -

Issue

  • Deployment is failing on one compute with "The error was: 'dict object' has no attribute 'devices'":
2023-01-26 20:58:53.352265 | 52540059-be42-ce02-6b4a-000000008fda |    SUMMARY | overcloud-controller-2 | tripleo-container-tag : Pull satellite.localdomain:443/production-cv_rhosp_16_2-osp_16_2-mariadb:16.2.4 image | 26.26s
2023-01-26 20:58:53.352351 | 52540059-be42-ce02-6b4a-000000003e7f |    SUMMARY | overcloud-controller-3 | Run puppet on the host to apply IPtables rules | 22.04s
2023-01-26 20:58:53.352445 | 52540059-be42-ce02-6b4a-000000009b8b |    SUMMARY | overcloud-compute-7 | Wait for container-puppet tasks (generate config) to finish | 21.52s
2023-01-26 20:58:53.352539 | 52540059-be42-ce02-6b4a-000000009a33 |    SUMMARY | overcloud-compute-1 | Wait for container-puppet tasks (generate config) to finish | 21.37s
2023-01-26 20:58:53.352632 | 52540059-be42-ce02-6b4a-000000009aba |    SUMMARY | overcloud-compute-3 | Wait for container-puppet tasks (generate config) to finish | 21.34s
2023-01-26 20:58:53.352735 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ End Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-01-26 20:58:53.352892 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ State Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-01-26 20:58:53.352992 | ~~~~~~~~~~~~~~~~~~ Number of nodes which did not deploy successfully: 1 ~~~~~~~~~~~~~~~~~
2023-01-26 20:58:53.353078 |  The following node(s) had failures: overcloud-compute-10
2023-01-26 20:58:53.353166 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The output file /home/stack/overcloud-deploy/overcloud/overcloud-deployment_status.yaml will be overriden
Ansible failed, check log at /var/lib/mistral/overcloud/ansible.log.Overcloud Endpoint: https://horizon.localdomain:13000
Overcloud Horizon Dashboard URL: https://horizon.localdomain:443/dashboard
Overcloud rc file: /home/stack/att-cloud-lab-osp16-2/scripts/overcloudrc
Overcloud Deployed with error
Overcloud configuration failed.

-Here is the error

(undercloud) [stack@director scripts]$ openstack overcloud failures
|-> Failures for host: overcloud-compute-10
|--> Task: set allowed_devices
|---> _ansible_no_log: false
|---> msg: "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'devices'\n\nThe error appears to be in '/usr/share/ansible/roles/tripleo_lvmfilter/tasks/main.yml': line 39, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n      lvm2_physical_devices_facts:\n    - name: set allowed_devices\n      ^ here\n"

(undercloud) [stack@director scripts]$ openstack stack failures list overcloud --long
(undercloud) [stack@mxtlal01labospdir01 scripts]$

Environment

  • Red Hat OpenStack Platform 16.2 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content