Support configuration of multiple pci_alias options

Bug #1735205 reported by Lorenzo Cavassa on 2017-11-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack nova-cloud-controller charm
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.

James Page (james-page) on 2017-11-29
affects: openstack-mojo-specs → charm-nova-cloud-controller
Ryan Beisner (1chb1n) on 2017-11-29
Changed in charm-nova-cloud-controller:
status: New → Confirmed
tags: added: cpe-onsite
removed: cpe-crit nova-cloud-controller
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
Dean Henrichsmeyer (dean) wrote :

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

Liam Young (gnuoy) on 2017-12-08
Changed in charm-nova-cloud-controller:
assignee: nobody → Liam Young (gnuoy)

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

Changed in charm-nova-cloud-controller:
status: Triaged → In Progress
Ryan Beisner (1chb1n) on 2018-03-09
Changed in charm-nova-cloud-controller:
milestone: 18.02 → 18.05
David Ames (thedac) on 2018-06-11
Changed in charm-nova-cloud-controller:
milestone: 18.05 → 18.08
James Page (james-page) on 2018-09-12
Changed in charm-nova-cloud-controller:
milestone: 18.08 → 18.11

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) on 2018-11-20
Changed in charm-nova-cloud-controller:
milestone: 18.11 → 19.04
David Ames (thedac) 20 hours ago
Changed in charm-nova-cloud-controller:
milestone: 19.04 → 19.07
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers