[RFE] Generic PCI Resource

Bug #1580893 reported by Grzegorz Grasza
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic Inspector
Fix Released
Wishlist
Szymon Borkowski
ironic-python-agent
Fix Released
Wishlist
Szymon Borkowski

Bug Description

Currently, the iLO driver sets a GPU resource capability by hardware inspection (namely pci_gpu_devices).
http://docs.openstack.org/developer/ironic/drivers/ilo.html#hardware-inspection-support

I would like to propose a more generic implementation of hardware inspection and updating the node capabilities.
The name of the capability, as well as the PCI vendor and device ID list could be configured by the deployer. After creating a corresponding flavor, nova scheduler can filter nodes by flavor's extra_specs for a wide range of PCI device types.

This would be implemented in the ironic-python-agent and ironic-inspector projects.

Tags: rfe
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic-inspector-specs (master)

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

Changed in ironic-inspector:
assignee: nobody → Grzegorz Grasza (xek)
status: New → In Progress
Dmitry Tantsur (divius)
Changed in ironic-inspector:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic-python-agent (master)

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

Changed in ironic-python-agent:
assignee: nobody → Szymon Borkowski (szymon-borkowski)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic-inspector-specs (master)

Reviewed: https://review.openstack.org/315413
Committed: https://git.openstack.org/cgit/openstack/ironic-inspector-specs/commit/?id=9815d4a3076479239a8426e09debc09dc7aba252
Submitter: Jenkins
Branch: master

commit 9815d4a3076479239a8426e09debc09dc7aba252
Author: Grzegorz Grasza <email address hidden>
Date: Thu May 12 10:22:30 2016 +0200

    Generic PCI Resource spec

    Change-Id: I84fb1dbdc9884dca75b53d23389dccb5ee2a67f1
    Partial-Bug: #1580893

Dmitry Tantsur (divius)
Changed in ironic-python-agent:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic-python-agent (master)

Reviewed: https://review.openstack.org/326318
Committed: https://git.openstack.org/cgit/openstack/ironic-python-agent/commit/?id=f7e080c8bfeae354b4ca17e41663f8b84c4e7e1a
Submitter: Jenkins
Branch: master

commit f7e080c8bfeae354b4ca17e41663f8b84c4e7e1a
Author: Szymon Borkowski <email address hidden>
Date: Mon Jun 6 15:16:11 2016 +0200

    Add PCI devices collector to inspector

    Adds a new collector, which gathers list of PCI devices.
    Each entry is a dictionary containing 2 keys:
    - vendor-id
    - product-id
    Such information can then be used by the inspector to distinguish
    appropriate PCI devices.

    Change-Id: Id7521d66410e7d408d7eada692b6123e769ce084
    Partial-Bug: #1580893

Changed in ironic-python-agent:
status: In Progress → Fix Released
Revision history for this message
Dmitry Tantsur (divius) wrote :

Hi! Do you plan to propose the inspector part? I'd be very interested to see it.

Revision history for this message
Grzegorz Grasza (xek) wrote :

Yes, we're currently working on it and testing it on our setup. Szymon will be out of work for two weeks, so we are aiming on submitting it then.

Revision history for this message
Dmitry Tantsur (divius) wrote :

Cool! Just please mind the feature freeze in the end of August: http://releases.openstack.org/newton/schedule.html

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic-inspector (master)

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

Changed in ironic-inspector:
assignee: Grzegorz Grasza (xek) → Szymon Borkowski (szymon-borkowski)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic-inspector (master)

Reviewed: https://review.openstack.org/352295
Committed: https://git.openstack.org/cgit/openstack/ironic-inspector/commit/?id=e6868927391674867b50e904422d953fa192cfb1
Submitter: Jenkins
Branch: master

commit e6868927391674867b50e904422d953fa192cfb1
Author: Szymon Borkowski <email address hidden>
Date: Wed Aug 3 16:35:29 2016 +0200

    Add PCI devices plugin to inspector

    Adds a new plugin to distinguish PCI devices returned by Ironic
    Python Agent. Recognized PCI devices are then registered in node
    capabilities and later can be used by nova flavors.

    Change-Id: I6565b8c4aa76de240a6c4d795635300ff2d0c30b
    Partial-Bug: #1580893

Anton Arefiev (aarefiev)
Changed in ironic-inspector:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.