Host is not force lockable when active ceph monitors < required ceph monitors
Bug #1965945 reported by
Iago Filipe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Iago Filipe |
Bug Description
Brief Description
-----------------
system host-lock --force semantic check needs to be updated in order to take into account whether is safe to lock hosts based on ceph monitors states.
Severity
--------
Minor
Steps to Reproduce
------------------
1. Active ceph monitors less than required monitors
2. system host-lock --force <stand-by controller/compute>
Expected Behavior
------------------
The force flag should lock the host if there is at least 1 active monitor left (and it's not the current locking host).
Actual Behavior
----------------
Force flag has no effect.
Reproducibility
---------------
Reproducible
System Configuration
-------
Multi-node system
summary: |
- Host is not force lockable with 1 ceph mon remaining + Host is not force lockable when active ceph monitors < required ceph + monitors |
Changed in starlingx: | |
assignee: | nobody → Iago Filipe (ifest1) |
Changed in starlingx: | |
status: | New → In Progress |
tags: | added: stx.storage |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.7.0 |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/833468 /opendev. org/starlingx/ config/ commit/ 950721eb48706d4 09db8d3bbb3899f 7fb55fdf9a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 950721eb48706d4 09db8d3bbb3899f 7fb55fdf9a
Author: Iago Estrela <email address hidden>
Date: Fri Mar 11 18:16:10 2022 -0300
Update host force lock semantic check for ceph monitors
Host lock force flag is not taken into account in the
host semantic check for ceph monitors available. We want
to lock the host regardless the system has only one ceph
monitor available or not.
Test plan:
PASS: Fail normal lock controller with 1 remaining monitor.
PASS: Successfully force lock controller with 1 remaining monitor.
PASS: System host-delete with 1 remaining monitor.
Closes-Bug: 1965945
Signed-off-by: Iago Estrela <email address hidden> 316fbd4b4adb897 ca73b1eb846
Change-Id: Ib7b8fdda6cddc4