Actions
Bug #47381
closed"ceph orch apply --dry-run" reports empty osdspec even though OSDs will be deployed
Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
cephadm/osd
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
If I precede "ceph orch apply --dry-run" with "ceph orch device ls --refresh", everything is fine.
But AFAICT we are not requiring users to issue a "ceph orch device ls --refresh" before running "ceph orch apply --dry-run".
Without "ceph orch device ls --refresh", I get the following output even though my spec file WILL deploy OSDs when applied:
master: ++ ceph orch apply -i /root/service_spec_core.yml --dry-run master: WARNING! Dry-Runs are snapshots of a certain point in time and are bound master: to the current inventory setup. If any on these conditions changes, the master: preview will be invalid. Please make sure to have a minimal master: timeframe between planning and applying the specs. master: #################### master: SERVICESPEC PREVIEWS master: #################### master: +---------+------+-------------+-------------+ master: |SERVICE |NAME |ADD_TO |REMOVE_FROM | master: +---------+------+-------------+-------------+ master: |mon |mon |node2 node3 | | master: |mgr |mgr |node2 node3 | | master: +---------+------+-------------+-------------+ master: ################ master: OSDSPEC PREVIEWS master: ################ master: +---------+------+------+------+----+-----+ master: |SERVICE |NAME |HOST |DATA |DB |WAL | master: +---------+------+------+------+----+-----+ master: +---------+------+------+------+----+-----+
Actions