For native ppc64el, the charm needs to set cpu_mode=host-passthrough in nova.conf

Bug #1472848 reported by Ryan Beisner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-compute (Juju Charms Collection)
Fix Released
High
Unassigned

Bug Description

For native ppc64el, the charm needs to set cpu_mode=host-passthrough in nova.conf:
    [libvirt]
    virt_type=kvm
    cpu_mode=host-passthrough

This can be addressed: (a) at the package level; (b) as a charm configuration option; or (c) automagically by the charm hooks via architecture detection.

Input, please & thanks!

Revision history for this message
Adam Conrad (adconrad) wrote :

What is the default cpu_mode? Is it "host"? If so, I would assume this is covered by libvirt bug #1468247, which has SRUs in flight.

Revision history for this message
James Page (james-page) wrote :

charm has:

        if config('cpu-mode'):
            ctxt['cpu_mode'] = config('cpu-mode')
        elif ctxt['arch'] in ['ppc64el', 'ppc64le']:
            ctxt['cpu_mode'] = 'host-passthrough'

fixing this bug but still allowing things to be overridden by users.

Changed in nova-compute (Juju Charms Collection):
status: New → Fix Released
importance: Undecided → High
milestone: none → 17.01
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.