overcloud deploy fails with NovaResumeGuestsStateOnHostBoot: True and podman

Bug #1840618 reported by Martin Schuppert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Martin Schuppert

Bug Description

There is an issue if NovaResumeGuestsStateOnHostBoot gets enabled on the initial deploy run.
It tries to start libvirt-guests in the host_prep_tasks task. While this is not an issue with
docker where we run the libvirt-guests direct on the host (outside a container), with
podman we run the libvirt-guests inside the container and in the initial deploy we don't have
the container at this stage.

Changed in tripleo:
assignee: nobody → Martin Schuppert (mschuppert)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.opendev.org/677135

Changed in tripleo:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/677141

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/677135
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=13c6dc16a98f7b87921bd21838c6d91bc4159d3d
Submitter: Zuul
Branch: master

commit 13c6dc16a98f7b87921bd21838c6d91bc4159d3d
Author: Martin Schuppert <email address hidden>
Date: Mon Aug 19 09:57:40 2019 +0200

    Fix NovaResumeGuestsStateOnHostBoot when using podman

    There is an issue if NovaResumeGuestsStateOnHostBoot gets enabled on the
    initial deploy run. It tries to start libvirt-guests in the
    host_prep_tasks task. While this is not an issue with docker where we run
    the libvirt-guests direct on the host (outside a container), with podman
    we run the libvirt-guests inside the container and in the initial deploy
    we don't have the container at this stage.

    This disables to start the tripleo_nova_libvirt_guests service in the
    host_prep_tasks task in case of podman is used.

    Change-Id: I7569ea69399807ce2efcc6ca9403db166181a2db
    Closes-Bug: #1840618

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/stein)

Reviewed: https://review.opendev.org/677141
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=9639dc938dd40bb08d20ff9b1b3100b6e5042306
Submitter: Zuul
Branch: stable/stein

commit 9639dc938dd40bb08d20ff9b1b3100b6e5042306
Author: Martin Schuppert <email address hidden>
Date: Mon Aug 19 09:57:40 2019 +0200

    Fix NovaResumeGuestsStateOnHostBoot when using podman

    There is an issue if NovaResumeGuestsStateOnHostBoot gets enabled on the
    initial deploy run. It tries to start libvirt-guests in the
    host_prep_tasks task. While this is not an issue with docker where we run
    the libvirt-guests direct on the host (outside a container), with podman
    we run the libvirt-guests inside the container and in the initial deploy
    we don't have the container at this stage.

    This disables to start the tripleo_nova_libvirt_guests service in the
    host_prep_tasks task in case of podman is used.

    Change-Id: I7569ea69399807ce2efcc6ca9403db166181a2db
    Closes-Bug: #1840618
    (cherry picked from commit 13c6dc16a98f7b87921bd21838c6d91bc4159d3d)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.6.1

This issue was fixed in the openstack/tripleo-heat-templates 10.6.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 11.2.0

This issue was fixed in the openstack/tripleo-heat-templates 11.2.0 release.

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

Other bug subscribers

Remote bug watches

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