Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use Jira Cloud for all bug tracking management.

Bug 1898632

Summary: OSD synopsis with proposed layout is not generated with --dry-run option
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Sunil Kumar Nagaraju <sunnagar>
Component: CephadmAssignee: Daniel Pivonka <dpivonka>
Status: CLOSED ERRATA QA Contact: Sunil Kumar Nagaraju <sunnagar>
Severity: high Docs Contact: Karen Norteman <knortema>
Priority: unspecified    
Version: 5.0CC: dpivonka, jolmomar, pnataraj, sewagner, tserlin, vereddy
Target Milestone: ---   
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.1.0-736.el8cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:27:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Daniel Pivonka 2021-01-11 15:40:19 UTC
https://github.com/ceph/ceph/pull/38654

Comment 3 Daniel Pivonka 2021-03-19 16:41:12 UTC
changes to osd services will show up in the OSDSPEC PREVIEWS table 
changes to all other services will show up in the SERVICESPEC PREVIEWS table

this is because osds are treated a little bit differently when generating the dry run preview.

based on your description of your sequence on events this all looks correct. 
every time you run 'ceph orch apply osd -i spec.yaml --dry-run' your preview shows you the osds that would be added to the cluster.

Comment 5 Daniel Pivonka 2021-04-15 18:43:37 UTC
i feel that the current table names are sufficient and self explanatory. 
as for explaining what the 2 tables are in more detail that is probably something that should be handled in the documentation not a print out from the command. 
the current warning printed out from the command is only there to REALLY make sure the user understands a dry runs are not a guarantee that apply the same spec later will result in the predicted outcome

Comment 8 errata-xmlrpc 2021-08-30 08:27:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 5.0 bug fix and enhancement), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3294