Back to bug 2116689

Who When What Removed Added
Sunil Kumar Nagaraju 2022-08-09 07:42:21 UTC Summary bootstrap with apply-spec do bootstrap with apply-spec does not return fail exit code with a failure
Red Hat One Jira (issues.redhat.com) 2022-08-09 07:55:55 UTC Link ID Red Hat Issue Tracker RHCEPH-5023
Sunil Kumar Nagaraju 2022-08-16 05:58:33 UTC Blocks 2118541
Adam King 2022-09-08 17:25:52 UTC Status NEW POST
errata-xmlrpc 2022-09-08 20:44:43 UTC Fixed In Version ceph-17.2.3-24.el9cp
CC tserlin
Status POST MODIFIED
Status MODIFIED ON_QA
Masauso Lungu 2022-09-09 10:24:38 UTC CC adking, mlungu
Flags needinfo?(adking)
Docs Contact asriram mlungu
Adam King 2022-09-09 15:52:30 UTC Doc Text Cause: cephadm bootstrap always returned code 0 if it was able to run to completion

Consequence: failures in applying a spec provided to bootstrap with --apply-spec would not be reflected in the return code

Fix: cephadm sets the return code to a nonzero value if applying a spec fails

Result: the return code of cephadm bootstrap should reflect that an apply spec failed by returning a nonzero return code if a failure occurs
Doc Type If docs needed, set a value Bug Fix
Flags needinfo?(adking)
Masauso Lungu 2022-09-21 18:25:49 UTC Blocks 2126050
Masauso Lungu 2022-09-27 09:00:21 UTC Flags needinfo?(adking)
Doc Text Cause: cephadm bootstrap always returned code 0 if it was able to run to completion

Consequence: failures in applying a spec provided to bootstrap with --apply-spec would not be reflected in the return code

Fix: cephadm sets the return code to a nonzero value if applying a spec fails

Result: the return code of cephadm bootstrap should reflect that an apply spec failed by returning a nonzero return code if a failure occurs
.`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.
Adam King 2022-09-27 20:19:57 UTC Flags needinfo?(adking)
Masauso Lungu 2022-09-29 15:01:06 UTC Flags needinfo?(adking)
Adam King 2022-09-29 15:35:48 UTC Flags needinfo?(adking)
Adam King 2022-10-04 02:20:58 UTC CC mbukatov
Manisha Saini 2022-10-27 06:37:53 UTC CC msaini
Manisha Saini 2022-10-27 06:39:17 UTC QA Contact mgowri msaini
Manisha Saini 2022-11-02 18:58:34 UTC Status ON_QA VERIFIED
Red Hat Bugzilla 2023-01-01 05:37:29 UTC CC adking
Assignee adking nobody
Red Hat Bugzilla 2023-01-01 05:39:52 UTC CC tserlin
Red Hat Bugzilla 2023-01-01 08:37:29 UTC QA Contact msaini
CC msaini
Alasdair Kergon 2023-01-04 04:33:20 UTC Assignee nobody adking
Alasdair Kergon 2023-01-04 04:38:28 UTC CC adking
Alasdair Kergon 2023-01-04 04:42:26 UTC QA Contact msaini
Alasdair Kergon 2023-01-04 05:18:08 UTC CC msaini
errata-xmlrpc 2023-03-20 18:38:15 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2023-03-20 18:57:13 UTC Resolution --- ERRATA
Status RELEASE_PENDING CLOSED
Last Closed 2023-03-20 18:57:13 UTC
errata-xmlrpc 2023-03-20 18:57:56 UTC Link ID Red Hat Product Errata RHBA-2023:1360

Back to bug 2116689