host-delete was rejected while host was powered off and hostname is none
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
John Kung |
Bug Description
Brief Description
-----------------
host-delete was rejected for hostname name with none and powered off. Newly added host after powering off the host when it was deleted it was rejected . It was tried many times. Below shows the rejected message .
system host-list
+----+-
| id | hostname | personality | administrative | operational | availability |
+----+-
| 1 | controller-0 | controller | unlocked | enabled | available |
| 3 | compute-1 | worker | unlocked | disabled | offline |
| 4 | controller-1 | controller | unlocked | enabled | available |
| 5 | None | None | locked | disabled | offline |
+----+-
[sysadmin@
Mtce rejected delete request.Please retry and if problem persists then contact your system administrator.
2019-10-30 17:37:13.918 113029 INFO sysinv.
2019-10-30 17:37:13.918 113029 INFO sysinv.
2019-10-30 17:37:13.918 113029 WARNING sysinv.
2019-10-30 17:37:13.918 113029 WARNING sysinv.
2019-10-30 17:37:13.919 113029 INFO sysinv.
2019-10-30 17:37:13.920 113029 INFO sysinv.
2019-10-30 17:37:13.921 113029 WARNING wsme.api [-] Client-side error: Mtce rejected delete request.Please retry and if problem persists then contact your system administrator.
2019-10-30 17:37:40.979 113028 INFO sysinv.
2019-10-30 17:39:41.175 1076747 INFO sysinv.
6.274 [112384.00540] controller-0 mtcAgent hbs nodeClass.cpp (2968) clear_service_
2019-10-
2019-10-
2019-10-
2019-10-
2019-10-
2019-10-
Severity
--------
Major
Steps to Reproduce
------------------
1. Verify system is up and good health. No alarm
2. lock one of the compute host-lock
3. Delete the locked compute system host-lock compute-0
4. Since compute is not powered off it will re added after it was rebooted host-list will have hostname
with none
5. Power off the compute that was deleted
6. Delete the host that was added last . As per above description id=5. host delete was failed.
System Configuration
-------
Regular system wcp-63-66 IPV6
Expected Behavior
------------------
Able delete hosts when hosts name is none .
Actual Behavior
----------------
As per description hosts delete failed for hostname is none
Reproducibility
---------------
100% reproduce able.
Load
----
Build was on "2019-10-29 20:02:14 -0400"
Last Pass
---------
Timestamp/Logs
--------------
2019-10-30 17:37:13.919
Test Activity
-------------
Regression test
summary: |
- host-delete was rejected when host was powered off + host-delete was rejected while it is host was powered off and hostname + is none |
tags: | added: stx.retestneeded |
Changed in starlingx: | |
importance: | Undecided → Low |
status: | New → Triaged |
importance: | Low → Undecided |
status: | Triaged → New |
tags: | added: in-r-stx30 |
tags: | added: stx.4.0 |
tags: | added: in-r-stx30 |
Marking as stx.3.0 / medium priority - it's expected that the host-delete would succeed regardless of the actual state of the node