Master overcloud deployment failing with 'Node' object has no attribute 'uuid'

Bug #1974134 reported by Sandeep Yadav
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

Description:

Master overcloud deployment failing with 'Node' object has no attribute 'uuid'

https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-9-ovb-1ctlr_2comp-featureset020-master/2d9eaf4/logs/undercloud/home/zuul/overcloud_deploy.log.txt.gz

~~~
2022-05-18 22:38:29 | Stack overcloud/13bf0bb6-f5e9-453c-b026-ae79a7bf2a1b CREATE_COMPLETE
2022-05-18 22:38:29 |
2022-05-18 22:38:29 | 2022-05-18 22:38:29.285 142074 INFO tripleoclient.utils.utils [-] Running Ansible playbook: /usr/share/ansible/tripleo-playbooks/cli-overcloud-node-unprovision.yaml, Working directory: /tmp/tripleoq1g_lygb, Playbook directory: /usr/share/ansible/tripleo-playbooks
2022-05-18 22:38:30 |
2022-05-18 22:38:30 | PLAY [Overcloud Node Unprovision] **********************************************
2022-05-18 22:38:30 | 2022-05-18 22:38:30.190851 | fa163e54-337a-d2c8-6505-000000000008 | SKIPPED | fail | localhost
2022-05-18 22:38:30 | 2022-05-18 22:38:30.192181 | fa163e54-337a-d2c8-6505-000000000008 | TIMING | fail | localhost | 0:00:00.054243 | 0.02s
2022-05-18 22:38:30 | 2022-05-18 22:38:30.233670 | fa163e54-337a-d2c8-6505-000000000009 | SKIPPED | fail | localhost
2022-05-18 22:38:30 | 2022-05-18 22:38:30.235031 | fa163e54-337a-d2c8-6505-000000000009 | TIMING | fail | localhost | 0:00:00.097093 | 0.04s
2022-05-18 22:38:30 | 2022-05-18 22:38:30.265969 | fa163e54-337a-d2c8-6505-00000000000a | SKIPPED | fail | localhost
2022-05-18 22:38:30 | 2022-05-18 22:38:30.266692 | fa163e54-337a-d2c8-6505-00000000000a | TIMING | fail | localhost | 0:00:00.128768 | 0.03s
2022-05-18 22:38:30 | 2022-05-18 22:38:30.271469 | fa163e54-337a-d2c8-6505-00000000000c | TASK | Expand roles
2022-05-18 22:38:31 | 2022-05-18 22:38:31.250056 | fa163e54-337a-d2c8-6505-00000000000c | CHANGED | Expand roles | localhost
2022-05-18 22:38:31 | 2022-05-18 22:38:31.251954 | fa163e54-337a-d2c8-6505-00000000000c | TIMING | Expand roles | localhost | 0:00:01.114015 | 0.98s
2022-05-18 22:38:31 | 2022-05-18 22:38:31.259098 | fa163e54-337a-d2c8-6505-00000000000d | TASK | Find existing instances
2022-05-18 22:38:32 | 2022-05-18 22:38:32.594683 | fa163e54-337a-d2c8-6505-00000000000d | FATAL | Find existing instances | localhost | error={"changed": false, "msg": "'Node' object has no attribute 'uuid'"}
2022-05-18 22:38:32 | 2022-05-18 22:38:32.596122 | fa163e54-337a-d2c8-6505-00000000000d | TIMING | Find existing instances | localhost | 0:00:02.458185 | 1.34s
2022-05-18 22:38:32 |
~~~

More logs:

https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-9-ovb-1ctlr_1comp-featureset002-master/deeb884/logs/undercloud/home/zuul/overcloud_deploy.log.txt.gz

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-ansible (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/842399

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (master)
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-ansible (master)

Change abandoned by "Harald Jensås <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/842399
Reason: Merging https://review.opendev.org/c/openstack/tripleo-ansible/+/842473 instead.

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/842473
Committed: https://opendev.org/openstack/tripleo-ansible/commit/ef3626e2ffc90ee1a93856c4a95f78d2e2deb326
Submitter: "Zuul (22348)"
Branch: master

commit ef3626e2ffc90ee1a93856c4a95f78d2e2deb326
Author: Sandeep Yadav <email address hidden>
Date: Thu May 19 14:45:40 2022 +0530

    Correcting attribute for 'Node' object

    After patch[0], overcloud deployment is failing with

    ~~~
    'Node' object has no attribute 'uuid
    ~~~

    The correct attribute of 'Node' object is 'id' and
    not 'uuid'[1]

    [0] https://review.opendev.org/c/openstack/tripleo-ansible/+/840262
    [1] https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/baremetal/v1/node.py#L133

    Closes-Bug: #1974134
    Co-authored-by: Yatin <email address hidden>
    Change-Id: I7f9608a7be23eeba3c718d4e185f62014a7417a1

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

This issue was fixed in the openstack/tripleo-ansible 5.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.