Bug 2116689

Summary: bootstrap with apply-spec does not return fail exit code with a failure
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Sunil Kumar Nagaraju <sunnagar>
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: high Docs Contact: Masauso Lungu <mlungu>
Priority: unspecified    
Version: 5.2CC: adking, cephqe-warriors, mbukatov, mlungu, msaini
Target Milestone: ---Keywords: Automation
Target Release: 6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.3-24.el9cp Doc Type: Bug Fix
Doc Text:
.`cephadm` returns non-zero code when `--apply-spec` option fails during bootstrap Previously, `cephadm` bootstrap always returned code `0` if the operation was complete. If there were any failures in the deployment using the `--apply-spec` option, it would not reflect any failures in the return code. With this fix, `cephadm` returns a non-zero value when applying specification fails during bootstrap.
Story Points: ---
Clone Of:
: 2118541 (view as bug list) Environment:
Last Closed: 2023-03-20 18:57:13 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:
Bug Depends On:    
Bug Blocks: 2118541, 2126050    

Comment 10 Adam King 2022-10-04 02:20:58 UTC
*** Bug 2114882 has been marked as a duplicate of this bug. ***

Comment 17 errata-xmlrpc 2023-03-20 18:57:13 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 6.0 Bug Fix update), 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-2023:1360