Support configuration of multiple pci_alias options

Bug #1735205 reported by Lorenzo Cavassa
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Nova Cloud Controller Charm
In Progress
High
Liam Young

Bug Description

Hi,

I need to setup multiple pci_alias entries to manage the PCI passthrough for several different PCI devices.

Looks like Nova doesn't support multiple pci_alias definitions using an array:

https://bugs.launchpad.net/nova/+bug/1513513

The workaround is to create multiple pci_alias in the nova.conf file but the NCC charm doesn't support this way to configure it.

Tags: cpe-onsite
James Page (james-page)
affects: openstack-mojo-specs → charm-nova-cloud-controller
Ryan Beisner (1chb1n)
Changed in charm-nova-cloud-controller:
status: New → Confirmed
tags: added: cpe-onsite
removed: cpe-crit nova-cloud-controller
Revision history for this message
James Page (james-page) wrote :

OK so this is not a quick fix (and its release day tomorrow so I don't want to land a largish change into nova-cc right now); my recommendation for right now is that you fork the charm and update the template as needed to define the required alias keys; once we have a thought through solution via configuation, we'll land in master, backport to stable 17.11 and you'll them be able to switch back to the mainline stable charm.

Changed in charm-nova-cloud-controller:
status: Confirmed → Triaged
importance: Undecided → High
milestone: none → 18.02
Revision history for this message
Dean Henrichsmeyer (dean) wrote :

This is not a field critical bug. Lorenzo, please re-evaluate the criteria and prioritize accordingly.

Liam Young (gnuoy)
Changed in charm-nova-cloud-controller:
assignee: nobody → Liam Young (gnuoy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-cloud-controller (master)

Fix proposed to branch: master
Review: https://review.openstack.org/535350

Changed in charm-nova-cloud-controller:
status: Triaged → In Progress
Ryan Beisner (1chb1n)
Changed in charm-nova-cloud-controller:
milestone: 18.02 → 18.05
David Ames (thedac)
Changed in charm-nova-cloud-controller:
milestone: 18.05 → 18.08
James Page (james-page)
Changed in charm-nova-cloud-controller:
milestone: 18.08 → 18.11
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-cloud-controller (master)

Reviewed: https://review.openstack.org/535350
Committed: https://git.openstack.org/cgit/openstack/charm-nova-cloud-controller/commit/?id=630a07013f5d1402df7b2c70870c463398fe9450
Submitter: Zuul
Branch: master

commit 630a07013f5d1402df7b2c70870c463398fe9450
Author: Liam Young <email address hidden>
Date: Mon Dec 11 13:56:03 2017 +0000

    Accept lists in pci-alias charm config

    Allow json lists to be passed in via the pci-alias charm config
    option so that multiple aliases can be set.

    Increase amulet timeout due to gate failures

    Change-Id: I3b5ea70224536f8d40f9c04482fa676c2b230bdd
    Partial-Bug: #1735205

David Ames (thedac)
Changed in charm-nova-cloud-controller:
milestone: 18.11 → 19.04
David Ames (thedac)
Changed in charm-nova-cloud-controller:
milestone: 19.04 → 19.07
David Ames (thedac)
Changed in charm-nova-cloud-controller:
milestone: 19.07 → 19.10
David Ames (thedac)
Changed in charm-nova-cloud-controller:
milestone: 19.10 → 20.01
James Page (james-page)
Changed in charm-nova-cloud-controller:
milestone: 20.01 → 20.05
David Ames (thedac)
Changed in charm-nova-cloud-controller:
milestone: 20.05 → 20.08
James Page (james-page)
Changed in charm-nova-cloud-controller:
milestone: 20.08 → none
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.