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 https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2082511

Summary: [cee/sd][cephadm] Unable to export the entire service specification in yaml using "ceph orch ls --export"
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Geo Jose <gjose>
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED DUPLICATE QA Contact: Sunil Kumar Nagaraju <sunnagar>
Severity: medium Docs Contact: Anjana Suparna Sriram <asriram>
Priority: unspecified    
Version: 5.1CC: adking, ceph-qe-bugs
Target Milestone: ---   
Target Release: 6.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-06 11:58:15 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:

Description Geo Jose 2022-05-06 09:55:45 UTC
Description of problem:
 - While exporting the entire service specification as yaml format using the command "ceph orch ls --export" or "ceph orch ls --format yaml" getting the below error:

~~~
# ceph orch ls --export
Error EINVAL: ServiceSpec: __init__() takes 2 positional arguments but 3 were given
~~~

Version-Release number of selected component (if applicable):
 - RHCS 5.1

How reproducible:
 NA

Steps to Reproduce:
NA

Actual results:
"ceph orch ls --format yaml" is not providing the yaml output.

Expected results:
"ceph orch ls --format yaml or ceph orch ls --export" should give the entire service specification in yaml format.

Additional info:
NA