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

Bug #1863377 reported by Wendy Mitchell
6
This bug affects 1 person
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@controller-0 ~(keystone_admin)]$ system ceph-mon-list
---------------------------------------------------------------------
uuid ceph_ hostname state task
   mon_g
   ib
---------------------------------------------------------------------
508ffb3e-4b89-4fa5-8b83-79269a7cd583 20 controller-0 configured None
79f591ae-7d7a-4fb6-9f5f-6860ea91975c 20 controller-1 configured None
cafe5769-bd96-47ac-b937-93d1b24aec35 20 compute-0 configured None

---------------------------------------------------------------------

Check corresponding ceph -s output
controller-0:~$ ceph -s
cluster:
id: 22abcab3-ee37-4ec7-a312-7739e725a145
health: HEALTH_OK

services:
mon: 1 daemons, quorum controller
mgr: controller-0(active), standbys: controller-1
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

Revision history for this message
Ghada Khalil (gkhalil) wrote :

Not Gating - no negative system impact is noted

Changed in starlingx:
importance: Undecided → Low
status: New → Triaged
tags: added: stx.config stx.storage
Revision history for this message
Ramaswamy Subramanian (rsubrama) wrote :

No progress on this bug for more than 2 years. Candidate for closure.

If there is no update, this issue is targeted to be closed as 'Won't Fix' in 2 weeks.

Revision history for this message
Ramaswamy Subramanian (rsubrama) wrote :

Changing the status to 'Won't Fix' as there is no activity.

Changed in starlingx:
status: Triaged → Won't Fix
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.