overcloud deployment fails with failed to read journal entry: failed to read message field: bad message

Solution Verified - Updated -

Issue

  • openstack overcloud deploy command failed on ceph-container-common : get ceph version task with Cannot get exit code: failed to read journal entry: failed to read message field: bad message.

    # less /var/lib/mistral/overcloud/ceph-ansible/ceph_ansible_command.log
    
    2023-01-01 02:22:16,594 p=542200 u=root n=ansible | TASK [ceph-container-common : get ceph version] ********************************
    2023-01-01 02:22:16,594 p=542200 u=root n=ansible | Tuesday 1 Jan 2023  02:22:16 +0000 (0:00:02.023)       0:07:05.460 **********                                                                          
      :
    2023-01-01 02:22:36,825 p=542200 u=root n=ansible | fatal: [controller-0]: FAILED! => {
        "changed": false,
        "cmd": [
            "podman",
            "run",
            "--rm",
            "--net=host",
            "--entrypoint",
            "/usr/bin/ceph",
            "undercloud.ctlplane:8787/rhceph/rhceph-4-rhel8:4-69",
            "--version"
        ],
        "delta": "0:00:19.994547",
        "end": "2023-01-01 02:22:36.804701",
        "invocation": {
            "module_args": {
                "_raw_params": "podman run --rm --net=host --entrypoint /usr/bin/ceph undercloud.ctlplane:8787/rhceph/rhceph-4-rhel8:4-69 --version\n",
                "_uses_shell": false,
                "argv": null,
                "chdir": null,
                "creates": null,
                "executable": null,
                "removes": null,
                "stdin": null,
                "stdin_add_newline": true,
                "strip_empty_ends": true,
                "warn": true
            }
        },
        "msg": "non-zero return code",
        "rc": 127,
        "start": "2023-01-01 02:22:16.810154",
        "stderr": "time=\"2023-01-01T02:22:36Z\" level=error msg=\"Cannot get exit code: failed to read journal entry: failed to read message field: bad message\"",
        "stderr_lines": [
            "time=\"2023-01-01T02:22:36Z\" level=error msg=\"Cannot get exit code: failed to read journal entry: failed to read message field: bad message\""
        ],
        "stdout": "ceph version 14.2.11-208.el8cp (6738ba96f296a41c24357c12e8d594fbde457abc) nautilus (stable)",
        "stdout_lines": [
            "ceph version 14.2.11-208.el8cp (6738ba96f296a41c24357c12e8d594fbde457abc) nautilus (stable)"
        ]
    }
    

Environment

  • Red Hat OpenStack Platform 16.2

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