← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1786870] Re: alias can not support list for pci device

 

Reviewed:  https://review.openstack.org/592243
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d086389366ca9f76750c60c33db1d948a8bc69ff
Submitter: Zuul
Branch:    master

commit d086389366ca9f76750c60c33db1d948a8bc69ff
Author: fpxie <fpxie@xxxxxxxxxxxxx>
Date:   Thu Aug 16 10:05:23 2018 +0800

    Add an example to add more pci devices in nova.conf
    
    The help for the [pci]aliases config option was confusing in that it
    wasn't clear how to specify multiple aliases. The default value being []
    made it seem like you ought to be able to specify a list as:
    
     alias = [{...}, {...}, ...]
    
    This won't actually work; you instead have to say:
    
     alias = {...}
     alias = {...}
     ...
    
    So this patch adds a multi-alias example to the help string and
    explicitly calls out the fact that you can't use list values.
    
    See the referenced bug for more details.
    Change-Id: I71d4c440340db31d22a73a8b3e3abc51771aa7bc
    Closes-Bug: #1786870


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1786870

Title:
  alias can not support list for pci device

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  when add alias in pci section in nova.conf, can not use a list. Like this:
  alias = [{"product_id":"1b06","address":"02:00.0"},{"product_id":"1b06","address":"03:00.0"}]

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1786870/+subscriptions


References