[RFE]get pci device's numa_node info when collecting pci devices info

Bug #1622940 reported by zhouya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ironic-python-agent
Fix Released
Wishlist
Jay Faulkner

Bug Description

As a OpenStack installer, daisycloud-core project has a requirement: When there are more than one baremetal in a cluster which have the same hardware characteristic. Then only one of then need to be described and configured, and the others can be add into cluster without any human intervention. So daisycloud-core needs to collect some detail hardware info, such as numa info, from ironic-python-agent when using bifrost/ironic as the bare metal deployment tool.

When collecting pci devices info by using collect_pci_devices_info() function, only vendor and device info are collected. Now we need additional info about numa_node (such as /sys/bus/pci/devices/0000\:00\:03.0/numa_node) to help to compare if two baremetal are physically homogenious, thus can be quickly added into a OpenStack cluster by using existing homogenious nodes configuration.

I hope this small bp is just about to modify only one file (inspector.py) , and no need to update code of other part of ironic. But if it has to, then those things will be done all in this bp. Thanks.

Tags: rfe-approved
zhouya (zhou-ya)
Changed in ironic:
assignee: nobody → zhouya (zhou-ya)
tags: added: rfe
Changed in ironic:
status: New → In Progress
affects: ironic → ironic-python-agent
summary: - get pci device's numa_node info when collecting pci devices info
+ [RFE]get pci device's numa_node info when collecting pci devices info
Revision history for this message
zhouya (zhou-ya) wrote :
Revision history for this message
Jay Faulkner (jason-oldos) wrote :

Seems reasonable to me, just adding items to inventory. Approving RFE. Thanks!

tags: added: rfe-approved
removed: rfe
Changed in ironic-python-agent:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic-python-agent (master)

Change abandoned by zhouya (<email address hidden>) on branch: master
Review: https://review.openstack.org/369245

Revision history for this message
Jay Faulkner (jason-oldos) wrote :

While we don't believe you can uniquely identify hardware as physically homogeneous using this method, this is a useful feature and we're sorry it fell through the cracks. I've revised your change and re-proposed it, I'd expect it to land in Caracal.

Changed in ironic-python-agent:
assignee: zhouya (zhou-ya) → Jay Faulkner (jason-oldos)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic-python-agent 9.8.0

This issue was fixed in the openstack/ironic-python-agent 9.8.0 release.

Changed in ironic-python-agent:
status: In Progress → Fix Released
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.