Hello William!

I looked at the error you provided. According to the traceback at the end of the output, it looks like this is the problem that podman reported: /var/log/journal: no such file or directory. Can you check to see if the /var/log/journal directory exists or if podman has the permissions to access the systemd journal directory? Can you start podman containers outside of Kolla Ansible without any errors?

I hope that helps. Good luck with this issue!

Thank you,

Jadon

On Wed, Jul 17, 2024 at 8:09 AM William Muriithi <wmuriithi@perasoinc.com> wrote:
Hello,

What could I be doing wrong here?

When we attempt openstack deploy, this step fails with the error message below?

kolla-ansible -i /etc/kolla/multinode deploy



debug3: mux_client_request_alive: done pid = 91641
debug3: mux_client_request_session: session request sent
debug1: mux_client_request_session: master session id: 2
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
The full traceback is:
  File "/tmp/ansible_kolla_container_payload_xai740dx/ansible_kolla_container_payload.zip/ansible/modules/kolla_container.py", line 425, in main
  File "/tmp/ansible_kolla_container_payload_xai740dx/ansible_kolla_container_payload.zip/ansible/module_utils/kolla_podman_worker.py", line 515, in recreate_or_restart_container
    self.start_container()
  File "/tmp/ansible_kolla_container_payload_xai740dx/ansible_kolla_container_payload.zip/ansible/module_utils/kolla_podman_worker.py", line 538, in start_container
    self.create_container()
  File "/tmp/ansible_kolla_container_payload_xai740dx/ansible_kolla_container_payload.zip/ansible/module_utils/kolla_podman_worker.py", line 501, in create_container
    container = self.pc.containers.create(**args)
  File "/usr/local/lib/python3.9/site-packages/podman/domain/containers_create.py", line 354, in create
    response.raise_for_status(not_found=ImageNotFound)
  File "/usr/local/lib/python3.9/site-packages/podman/api/client.py", line 75, in raise_for_status
    raise APIError(cause, response=self._response, explanation=message)
fatal: [ostack-40.openstack.perasotech.com]: FAILED! => {
    "changed": true,
    "invocation": {
        "module_args": {
            "action": "recreate_or_restart_container",
            "api_version": "auto",
            "auth_email": null,
            "auth_password": null,
            "auth_registry": "quay.io",
            "auth_username": null,
            "client_timeout": 120,
            "container_engine": "podman",
            "detach": true,
            "dimensions": {
                "ulimits": {}
            },
            "environment": {
                "KOLLA_CONFIG_STRATEGY": "COPY_ALWAYS"
            },
            "graceful_timeout": 60,
            "ignore_missing": false,
            "image": "quay.io/openstack.kolla/fluentd:master-rocky-9",
            "labels": {},
            "name": "fluentd",
            "privileged": false,
            "remove_on_exit": true,
            "restart_policy": "unless-stopped",
            "restart_retries": 10,
            "security_opt": [],
            "state": "running",
            "tls_verify": false,
            "tty": false
        }
    },
    "msg": "'Traceback (most recent call last):\\n  File \"/tmp/ansible_kolla_container_payload_xai740dx/ansible_kolla_container_payload.zip/ansible/modules/kolla_container.py\", line 425, in main\\n  File \"/tmp/ansible_kolla_container_payload_xai740dx/ansible_kolla_container_payload.zip/ansible/module_utils/kolla_podman_worker.py\", line 515, in recreate_or_restart_container\\n    self.start_container()\\n  File \"/tmp/ansible_kolla_container_payload_xai740dx/ansible_kolla_container_payload.zip/ansible/module_utils/kolla_podman_worker.py\", line 538, in start_container\\n    self.create_container()\\n  File \"/tmp/ansible_kolla_container_payload_xai740dx/ansible_kolla_container_payload.zip/ansible/module_utils/kolla_podman_worker.py\", line 501, in create_container\\n    container = self.pc.containers.create(**args)\\n  File \"/usr/local/lib/python3.9/site-packages/podman/domain/containers_create.py\", line 354, in create\\n    response.raise_for_status(not_found=ImageNotFound)\\n  File \"/usr/local/lib/python3.9/site-packages/podman/api/client.py\", line 75, in raise_for_status\\n    raise APIError(cause, response=self._response, explanation=message)\\npodman.errors.exceptions.APIError: 500 Server Error: Internal Server Error (statfs /var/log/journal: no such file or directory)\\n'"
}

Have anyone see the issue before?

Regards,
William