Containerized overcloud means that kvm doesn't work out of the box on ppc64le

Bug #1878048 reported by Jeremy Freudberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Jeremy Freudberg

Bug Description

On some non-x86 hosts, most notably the POWER8 variant of ppc64le, kvm requires some additional setup before VMs can be successfully run.

The qemu-kvm package provides a script that does the necessary setup for POWER8 (and some other host architectures) but the script is meant to be run through a systemd service, and we don't have systemd inside containers.

There are easy workarounds (install the qemu-kvm package directly on the host, or execute the script manually, etc.) but it is best to include the invocation of the script in the definition of the container.

Changed in tripleo:
assignee: nobody → Jeremy Freudberg (jfreud)
status: New → In Progress
tags: added: tripleo-heat-templates
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/726901

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

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

commit 3873d3607542b46d7cd709e4a980888334e6132f
Author: Jeremy Freudberg <email address hidden>
Date: Mon May 11 12:33:12 2020 -0400

    Execute kvm-setup inside nova_libvirt container

    On POWER8 (and some others), kvm requires some additional setup before
    VMs can be successfully run. There is a script to perform this setup,
    but it is provided as a systemd service -- we don't have systemd inside
    containers, so let's include the invocation of the script in the
    definition of the container.

    Change-Id: I1e7208e4bd1c7f0c87354b6f6963c0d2df86cc02
    Closes-Bug: #1878048

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

Fix proposed to branch: stable/train
Review: https://review.opendev.org/727858

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

Reviewed: https://review.opendev.org/727858
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=d92443f96eb0c2a70764c3dfbbe0fb074e925e1d
Submitter: Zuul
Branch: stable/train

commit d92443f96eb0c2a70764c3dfbbe0fb074e925e1d
Author: Jeremy Freudberg <email address hidden>
Date: Mon May 11 12:33:12 2020 -0400

    Execute kvm-setup inside nova_libvirt container

    On POWER8 (and some others), kvm requires some additional setup before
    VMs can be successfully run. There is a script to perform this setup,
    but it is provided as a systemd service -- we don't have systemd inside
    containers, so let's include the invocation of the script in the
    definition of the container.

    Change-Id: I1e7208e4bd1c7f0c87354b6f6963c0d2df86cc02
    Closes-Bug: #1878048
    (cherry picked from commit 3873d3607542b46d7cd709e4a980888334e6132f)

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

This issue was fixed in the openstack/tripleo-heat-templates 11.4.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.