[cephadm]Unable to export the entire service specification in yaml using "ceph orch ls --export"

Solution Verified - Updated -

Issue

  • Unable to export the entire service specification in yaml using ceph orch ls --export or ceph orch ls --format yaml.
  • Getting the below error while exporting service specification in yaml format:
# ceph orch ls --export
Error EINVAL: ServiceSpec: __init__() takes 2 positional arguments but 3 were given
  • Unable to export the OSD service specification in yaml:
# ceph orch ls --service_type osd --export
Error EINVAL: ServiceSpec: __init__() takes 2 positional arguments but 3 were given

Environment

  • Red Hat Ceph Storage 5.1.
  • cephadm

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content