"openstack overcloud ceph deploy" with a spec file fails

Solution In Progress - Updated -

Issue

  • openstack overcloud ceph deploy --ceph-spec command fails with No orchestrator configured error message.

    openstack overcloud ceph deploy --yes --stack overcloud --cluster ceph \
      :
    --ceph-spec ceph_spec.yaml
      :
    
      : 
    2023-05-16 06:29:13.393449 | aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa |      FATAL | Get the ceph orchestrator status | controller-0 | error={
        "changed": true,
        "cmd": [
            "podman",
            "run",
            "--rm",
            "--net=host",
            "--ipc=host",
            "--volume",
            "/etc/ceph:/etc/ceph:z",
            "--volume",
            "/home/ceph-admin/assimilate_ceph.conf:/home/assimilate_ceph.conf:z",
            "--volume",
            "/home/ceph-admin/specs/ceph_spec.yaml:/home/ceph_spec.yaml:z",
            "--entrypoint",
            "ceph",
            "director.ctlplane.example.com:8787/rhceph/rhceph-5-rhel8:latest",
            "--fsid",
            "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
            "-c",
            "/etc/ceph/ceph.conf",
            "-k",
            "/etc/ceph/ceph.client.admin.keyring",
            "orch",
            "status",
            "--format",
            "json"
        ],
        "delta": "0:00:00.540744",
        "end": "2023-05-15 19:29:13.367369",
        "invocation": {
            "module_args": {
                "_raw_params": "podman run --rm --net=host --ipc=host   --volume /etc/ceph:/etc/ceph:z --volume /home/ceph-admin/assimilate_ceph.conf:/home/assimilate_ceph.conf:z   --volume /home/ceph-admin/specs/ceph_spec.yaml:/home/ceph_spec.yaml:z   --entrypoint ceph director.ctlplane.example.com:8787/rhceph/rhceph-5-rhel8:latest --fsid aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa -c /etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring   orch status --format json",
                "_uses_shell": false,
                "argv": null,
                "chdir": null,
                "creates": null,
                "executable": null,
                "removes": null,
                "stdin": null,
                "stdin_add_newline": true,
                "strip_empty_ends": true,
                "warn": false
            }
        },
        "msg": "non-zero return code",
        "rc": 2,
        "start": "2023-05-15 19:29:12.826625",
        "stderr": "Error ENOENT: No orchestrator configured (try `ceph orch set backend`)",
        "stderr_lines": [
            "Error ENOENT: No orchestrator configured (try `ceph orch set backend`)"
        ],
        "stdout": "",
        "stdout_lines": []
    }
      : 
    

Environment

  • Red Hat OpenStack Platform 17.0

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