On Mon, 2017-04-10 at 11:50 +0530, Nisha Agarwal wrote:
> Hi team,
> 
> Please could you pour in your suggestions on the mail?
> 
> I raised a blueprint in Nova for this https://blueprints.launchpad.ne
> t/nova/+spec/pci-passthorugh-for-ironic and two RFEs at ironic side h
> ttps://bugs.launchpad.net/ironic/+bug/1680780 and https://bugs.launch
> pad.net/ironic/+bug/1681320 for the discussion topic.

If I understand you correctly, you want to be able to filter ironic
hosts by available PCI device, correct? Barring any possibility that
resource providers could do this for you yet, extending the nova ironic
driver to use the PCI passthrough filter sounds like the way to go.

Stephen

> Regards
> Nisha
> 
> On Wed, Apr 5, 2017 at 11:03 PM, Nisha Agarwal <agarwalnisha1980@gmai
> l.com> wrote:
> > Hi,
> > 
> > I suggested to add few pci devices related attributes to ironic
> > inspection(out-of-band as well inband). https://review.openstack.or
> > g/#/c/338138.
> > 
> > I got the suggestion to convert them to standard pci device format
> > which nova understands. For example( as given in Nova code):
> > [{"count": 5, "vendor_id": "8086", "product_id": "1520",
> >  "extra_info":'{}'}],
> > 
> > For above to be supported for ironic scheduling, we will require
> > changes at two places: 
> > 1. nova - This should require a small code changes as
> > pci_passthrough filter already exists in nova. The ironic virt
> > driver should be able to consume the pci_device structure from
> > ironic node/database and pass it on to scheduler for scheduling and
> > it should add pci_passthrough filter in ironic nodes filter list.
> > 2. ironic - this definitely needs a spec which will suggest to add
> > the pci_device data structure to ironic node.
> > 
> > 
> > The ironic side work may take some time but Nova side looks to be a
> > small change. IMO we can have the nova side changes and ironic
> > database changes (to add pci_device field) parallely. 
> > Inspection can populate that new pci_device field for the node to
> > get scheduled.
> > 
> > AFAIK, ironic-inspector already has the plugin to discover pci
> > devices in the format nova has it today. If we get the scheduling
> > enabled based on pci_devices for ironic nodes, then inspector can
> > write this data to ironic node object by default.
> > 
> > What do you people think on this idea? Does it make sense? If its
> > worth to do this way i can own up this work.
> > 
> > Regards
> > Nisha
> > 
> > -- 
> > The Secret Of Success is learning how to use pain and pleasure,
> > instead
> > of having pain and pleasure use you. If You do that you are in
> > control
> > of your life. If you don't life controls you.
> > 
> 
> 
> 
> -- 
> The Secret Of Success is learning how to use pain and pleasure,
> instead
> of having pain and pleasure use you. If You do that you are in
> control
> of your life. If you don't life controls you.
> _____________________________________________________________________
> _____
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubs
> cribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to