Stein:Can't delete host after its locked

Bug #1815942 reported by Nimalini Rasa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Alexander Kozyrev

Bug Description

Brief Description
-----------------
STX_STEIN: can't delete the compute node with system host-delete compute-0
 system host-delete compute-0
local variable 'host' referenced before assignment

Severity
--------
Major

Steps to Reproduce
------------------
Install STX Stein load
Attempt to delete a host

Expected Behavior
------------------
Expected the host to be delete

Actual Behavior
----------------
Host didn't get deleted

Reproducibility
---------------
Yes

System Configuration
--------------------
Any config where there is more than one hosts

Branch/Pull Time/Commit
-----------------------
BUILD_DATE="2019-02-13 18:12:13 +0000"

Timestamp/Logs
--------------
Thu Feb 14 18:03:27 UTC 2019

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

Reviewed: https://review.openstack.org/637048
Committed: https://git.openstack.org/cgit/openstack/stx-config/commit/?id=ceb2ae16b799832496a0d2801f79276a2926d374
Submitter: Zuul
Branch: master

commit ceb2ae16b799832496a0d2801f79276a2926d374
Author: Alex Kozyrev <email address hidden>
Date: Thu Feb 14 15:57:51 2019 -0500

    Fix for the issue for with host-delete command failure due to a typo

    Recent Barbican integration commit introduced a typo in 'ihost' variable
    That leads to the host-delete command failure with the following message
    "local variable 'host' referenced before assignment"

    Closes-Bug: 1815942
    Change-Id: If8d8dcffb7b4f1bcfb831a4b6a104c95b76e5f2f
    Signed-off-by: Alex Kozyrev <email address hidden>

Changed in starlingx:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to stx-config (f/stein)

Fix proposed to branch: f/stein
Review: https://review.openstack.org/637226

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-config (f/stein)

Reviewed: https://review.openstack.org/637226
Committed: https://git.openstack.org/cgit/openstack/stx-config/commit/?id=681dd797bd631536986860d609efb9828a4d1fb6
Submitter: Zuul
Branch: f/stein

commit ceb2ae16b799832496a0d2801f79276a2926d374
Author: Alex Kozyrev <email address hidden>
Date: Thu Feb 14 15:57:51 2019 -0500

    Fix for the issue for with host-delete command failure due to a typo

    Recent Barbican integration commit introduced a typo in 'ihost' variable
    That leads to the host-delete command failure with the following message
    "local variable 'host' referenced before assignment"

    Closes-Bug: 1815942
    Change-Id: If8d8dcffb7b4f1bcfb831a4b6a104c95b76e5f2f
    Signed-off-by: Alex Kozyrev <email address hidden>

tags: added: in-f-stein
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Marking as release gating; issue related to recent mtce changes related to barbican integration

Changed in starlingx:
assignee: nobody → Alex Kozyrev (akozyrev)
importance: Undecided → Medium
tags: added: stx.2019.05 stx.metal
Ken Young (kenyis)
tags: added: stx.2.0
removed: stx.2019.05
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.