neutron_dhcp container restart fails when running with crun on centos8

Bug #1945521 reported by Alex Schultz
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Unassigned

Bug Description

If you have the crun package installed, podman prefers that as the container runtime. The neutron_dhcp container hangs when trying to restart when running under crun on centos8. This doesn't appear to be an issue under centos9 with crun-1.0 but the version shipping for c8 is crun-0.18

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
Alex Schultz (alex-schultz) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/806481
Committed: https://opendev.org/openstack/tripleo-ansible/commit/0b05f55b4133c85b460de0ba13ee58b38582431c
Submitter: "Zuul (22348)"
Branch: master

commit 0b05f55b4133c85b460de0ba13ee58b38582431c
Author: Michele Baldessari <email address hidden>
Date: Sat Aug 28 19:05:49 2021 +0200

    Explicitly define engine runtime in containers.conf

    We should not let the runtime container be decided by what rpms
    are installed in the system. Let's specify this:
    - runc on centos/rhel 8
    - crun on centos/rhel 9

    Closes-Bug: #1945521
    Change-Id: I1eb52bc4d6a07be1e25f33aad1fbedae70050a3a

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/811954

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/811980

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/811982

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/811983

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/811954
Committed: https://opendev.org/openstack/tripleo-ansible/commit/88530532e76a1fa28f7e481c499c9e4e6baedadf
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 88530532e76a1fa28f7e481c499c9e4e6baedadf
Author: Michele Baldessari <email address hidden>
Date: Sat Aug 28 19:05:49 2021 +0200

    Explicitly define engine runtime in containers.conf

    We should not let the runtime container be decided by what rpms
    are installed in the system. Let's specify this:
    - runc on centos/rhel 8
    - crun on centos/rhel 9

    NB: Slight context diff conflicts

    Closes-Bug: #1945521
    Change-Id: I1eb52bc4d6a07be1e25f33aad1fbedae70050a3a

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/811982
Committed: https://opendev.org/openstack/tripleo-ansible/commit/2c61c01329ab4959ae4f12aae5b5da81e648f88b
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 2c61c01329ab4959ae4f12aae5b5da81e648f88b
Author: Michele Baldessari <email address hidden>
Date: Sat Aug 28 19:05:49 2021 +0200

    Explicitly define engine runtime in containers.conf

    We should not let the runtime container be decided by what rpms
    are installed in the system. Let's specify this:
    - runc on centos/rhel 8
    - crun on centos/rhel 9

    Conflicts:
    - tripleo_ansible/roles/tripleo_podman/tasks/tripleo_podman_install.yml
      Missing task in Victoria for: Enable podman.socket service

    Closes-Bug: #1945521
    Change-Id: I1eb52bc4d6a07be1e25f33aad1fbedae70050a3a
    (cherry picked from commit 0b05f55b4133c85b460de0ba13ee58b38582431c)

tags: added: in-stable-victoria
tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/811980
Committed: https://opendev.org/openstack/tripleo-ansible/commit/eb304728569a9e4e4d6a533f9a76ca36eb5317a8
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit eb304728569a9e4e4d6a533f9a76ca36eb5317a8
Author: Michele Baldessari <email address hidden>
Date: Sat Aug 28 19:05:49 2021 +0200

    Explicitly define engine runtime in containers.conf

    We should not let the runtime container be decided by what rpms
    are installed in the system. Let's specify this:
    - runc on centos/rhel 8
    - crun on centos/rhel 9

    Conflicts:
    - tripleo_ansible/roles/tripleo_podman/tasks/tripleo_podman_install.yml
      Missing task in Ussuri for: Enable podman.socket service

    Closes-Bug: #1945521
    Change-Id: I1eb52bc4d6a07be1e25f33aad1fbedae70050a3a
    (cherry picked from commit 0b05f55b4133c85b460de0ba13ee58b38582431c)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/train)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/811983
Committed: https://opendev.org/openstack/tripleo-ansible/commit/553f361e215a58f837a58e55ab9917ff4fbf4656
Submitter: "Zuul (22348)"
Branch: stable/train

commit 553f361e215a58f837a58e55ab9917ff4fbf4656
Author: Michele Baldessari <email address hidden>
Date: Sat Aug 28 19:05:49 2021 +0200

    Explicitly define engine runtime in containers.conf

    We should not let the runtime container be decided by what rpms
    are installed in the system. Let's specify this:
    - runc on centos/rhel 8
    - crun on centos/rhel 9

    Conflicts:
    - tripleo_ansible/roles/tripleo-podman/defaults/main.yml
    - tripleo_ansible/roles/tripleo-podman/tasks/tripleo_podman_install.yml
      Missing task in Train for: Enable podman.socket service

    Closes-Bug: #1945521
    Change-Id: I1eb52bc4d6a07be1e25f33aad1fbedae70050a3a
    (cherry picked from commit 0b05f55b4133c85b460de0ba13ee58b38582431c)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 4.1.0

This issue was fixed in the openstack/tripleo-ansible 4.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 1.5.6

This issue was fixed in the openstack/tripleo-ansible 1.5.6 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 2.6.0

This issue was fixed in the openstack/tripleo-ansible 2.6.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible train-eol

This issue was fixed in the openstack/tripleo-ansible train-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.