system ceph-mon-add operation unexpected not rejected on AIO-DX + N worker configuration. Results in ceph -s output not correlating with system ceph-mon-list output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Won't Fix
|
Low
|
Unassigned |
Bug Description
On AIO-plus system with workers (AIO-DX+N) the user is unexpectedly allowed to run $system ceph-mon-add even though only one monitor is currently supported for AIO systems (ceph -s only lists 1)
Severity
--------
standard
Steps to Reproduce
------------------
1. Installed system with AIO configuration plus workers (eg. AIO controllers + 3 workers)
controller-0, controller-1 and compute-# are listed with ceph-mon-list
$system ceph-mon-list
$ system ceph-mon-add
usage: system ceph-mon-add <hostname or id>
[sysadmin@
-------
uuid ceph_ hostname state task
mon_g
ib
-------
508ffb3e-
79f591ae-
cafe5769-
-------
Check corresponding ceph -s output
controller-0:~$ ceph -s
cluster:
id: 22abcab3-
health: HEALTH_OK
services:
mon: 1 daemons, quorum controller
mgr: controller-
osd: 2 osds: 2 up, 2 in
data:
pools: 1 pools, 64 pgs
objects: 0 objects, 0 B
usage: 215 MiB used, 892 GiB / 892 GiB avail
pgs: 64 active+clean
Expected Behavior
------------------
Currently adding a ceph-mon on AIO-plus system (AIO-DX+N) is not supported so expect the command should not have been allowed in this case.
Actual Behavior
----------------
The system ceph-mon-add operation was not rejected
The ceph -s output does not correlate with system ceph-mon-list output as a result
Reproducibility
---------------
yes
System Configuration
-------
AIO plus ie. AIO-DX controllers + N workers
Branch/Pull Time/Commit
-------
Master as of 2020-02-11_00-10-00
Last Pass
---------
ceph -s appears to list the monitors on other configuration types
Timestamp/Logs
--------------
see inline
Test Activity
-------------
Regression
Not Gating - no negative system impact is noted