Fail pre-deploy validation if some nodes failed introspection

Bug #1775431 reported by Sergii Golovatiuk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Expired
Medium
Unassigned

Bug Description

Due to libvirt/vbmc issue introspection didn't happen so the status was as

(undercloud) [stack@undercloud-0 ~]$ openstack baremetal introspection list
+--------------------------------------+---------------------+---------------------+-----------------------+
| UUID | Started at | Finished at | Error |
+--------------------------------------+---------------------+---------------------+-----------------------+
| aa010b32-ada8-4427-9468-1fc9d9783277 | 2018-06-06T08:43:15 | 2018-06-06T09:43:51 | Introspection timeout |
| cde6798e-7c61-4fa9-8bec-23cc8cf7a9c1 | 2018-06-06T08:43:14 | 2018-06-06T08:44:57 | None |
| 5a228b52-b62d-4cab-8a51-6de8f017ce9e | 2018-06-06T08:43:14 | 2018-06-06T09:43:51 | Introspection timeout |
+--------------------------------------+---------------------+---------------------+-----------------------+

However, overcloud deployment didn't take into account that 2/3 of nodes didn't pass introspection and there are no enough nodes to complete overcloud installation. So, overcloud deployment failed as with the following failed resource

 | resource_status_reason | resources.Compute: Resource CREATE failed: ResourceInError: resources[1].resources.NovaCompute: Went to status ERROR due to "Message: Unknown, Code: Unknown"

Expected result:
fail validation and don't start deployment

Actual result:
Failed deployment

Environment:
RHOS 13, tripleo master

Revision history for this message
Sergii Golovatiuk (sgolovatiuk) wrote :
Download full text (6.3 KiB)

Here is a full output of

openstack stack resource show overcloud Compute

| attributes | {u'attributes': None, u'refs': None, u'refs_map': None, u'removed_rsrc_list': []} |
| creation_time | 2018-06-06T09:55:41Z |
| description | |
| links | [{u'href': u'https://192.168.24.2:13004/v1/2aab9da7c82a48d08589a3de357f440f/stacks/overcloud/d68f7da7-b9e8-48c8-8c74-0e0c3424ba41/resources/Compute', u'rel': u'self'}, {u'href': u'https://192.168.24.2:13004/v1/2aab9da7c82a48d08589a3de357f440f/stacks/overcloud/d68f7da7-b9e8-48c8-8c74-0e0c3424ba41', u'rel': u'stack'}, {u'href': u'https://192.168.24.2:13004/v1/2aab9da7c82a48d08589a3de357f440f/stacks/overcloud-Compute-of7hwipnk6dr/5b7cb24e-0848-433e-83eb-9c37ba78e83d', u'rel': u'nested'}] |
| logical_resource_id | Compute |
| physical_resource_id | 5b7cb24e-0848-433e-83eb-9c37ba78e83d |
| required...

Read more...

Changed in tripleo:
milestone: none → rocky-3
assignee: nobody → Dmitry Tantsur (divius)
Dmitry Tantsur (divius)
Changed in tripleo:
assignee: Dmitry Tantsur (divius) → nobody
summary: - overcloud depoyment happened after failed introspection
+ Fail pre-deploy validation if some nodes failed introspection
Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
tags: added: tripleo-common
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Incomplete
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
Changed in tripleo:
milestone: victoria-3 → wallaby-1
Changed in tripleo:
milestone: wallaby-1 → wallaby-2
Changed in tripleo:
milestone: wallaby-2 → wallaby-3
Revision history for this message
Marios Andreou (marios-b) wrote :

This is an automated action. Bug status has been set to 'Incomplete' and target milestone has been removed due to inactivity. If you disagree please re-set these values and reach out to us on freenode #tripleo

Changed in tripleo:
milestone: wallaby-3 → none
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tripleo because there has been no activity for 60 days.]

Changed in tripleo:
status: Incomplete → Expired
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.