Bug 1396270 - [RFE][Ironic]Ironic driver for Redfish API
Summary: [RFE][Ironic]Ironic driver for Redfish API
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ironic
Version: 12.0 (Pike)
Hardware: All
OS: Linux
medium
medium
Target Milestone: Upstream M2
: 12.0 (Pike)
Assignee: Lucas Alvares Gomes
QA Contact: Dan Yasny
URL: https://github.com/hafe/ironic-hds
Whiteboard:
: 1369078 (view as bug list)
Depends On:
Blocks: 1281573 1389435 1396159 1442136 1458798 1474453
TreeView+ depends on / blocked
 
Reported: 2016-11-17 20:06 UTC by Sirius Rayner-Karlsson
Modified: 2018-11-13 14:04 UTC (History)
15 users (show)

Fixed In Version: openstack-ironic-8.0.1-0.20170521082039.bd7143f.el7ost
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 20:52:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1526477 0 None None None 2017-02-05 15:01:02 UTC
OpenStack gerrit 184653 0 None MERGED Propose Redfish support into Ironic 2020-05-08 17:00:15 UTC
OpenStack gerrit 438982 0 None MERGED Add redfish driver 2020-05-08 17:00:14 UTC
OpenStack gerrit 459263 0 None MERGED Support Redfish hardware in the overcloud Ironic 2020-05-08 17:00:14 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Sirius Rayner-Karlsson 2016-11-17 20:06:58 UTC
1. Description:

Feature request to include the Redfish API Ironic driver in OSP11/Ocata

2. Details
  a. Bugzilla dependencies (if any):

Unknown

  b. Hardware dependencies (if any):

Unknown

  c. Upstream information
     i. Date it will be upstream:

It's being upstreamed, https://github.com/hafe/ironic-hds, but require review, pointers and tips from Red Hat

    ii. Version:

Unknown

  d.     External links:

https://github.com/hafe/ironic-hds

  e.      Severity (U/H/M/L):

High

  f.       Business Priority (Must/High Want/Want):

Must

3. Business Justification
  a. Why is this needed:

The HDS-8000 hardware require an Ironic driver for bare-metal bring-up, and that requires leveraging the Redfish API.

  b.  What hardware is required (if any):

Unknown

  c.  Business impact:

Unknown

4. Primary Red Hat contact:

 * Jean-Philippe Jung, jjung, +14387960257 x8160257, +19494364606
 * Anders Rayner-Karlsson, akarlsso, +46850575634 x8265034, +46768052173 

5. Primary “Partner” contact:

 * Hans Feldt, hans.feldt

Comment 1 Sirius Rayner-Karlsson 2016-11-17 20:07:18 UTC
Some links:
	- Upstream bare metal to tenant feature overview (video)[1].
	- Ironic ML2 integration[2]
	- Deva’s python RedFish library (old)[3].
	- Ironic RedFish blueprint[4]
	- Ironic Python Agent[5]

[1] - https://www.openstack.org/summit/tokyo-2015/videos/presentation/tenant-network-isolation-for-bare-metal-deployments-with-neutron
[2] - https://blueprints.launchpad.net/ironic/+spec/ironic-ml2-integration
[3] - https://github.com/devananda/python-redfish
[4] - https://blueprints.launchpad.net/ironic/+spec/ironic-redfish
[5] - http://docs.openstack.org/developer/ironic-python-agent/

Comment 2 Sirius Rayner-Karlsson 2016-12-16 15:22:13 UTC
*** Bug 1369078 has been marked as a duplicate of this bug. ***

Comment 7 Dmitry Tantsur 2017-04-11 15:09:34 UTC
Do we know if the driver proposed upstream is going work for this case?

Also, are we going to get hardware to test it or should it be OtherQA?

Comment 9 Dmitry Tantsur 2017-04-13 16:41:02 UTC
Moving to Pike-2. The underlying library was released, the ironic patches are in good shape and undergo review right now.

Comment 10 Ramon Acedo 2017-05-22 17:49:15 UTC
Just to be clear this BZ tracks specifically the upstream redfish development with Sushy: https://github.com/openstack/sushy not https://github.com/hafe/ironic-hds as in the description.

Comment 11 Dmitry Tantsur 2017-05-22 17:58:33 UTC
Thanks for clarification. If so, the Ironic part is already available, and the TripleO bits are on review. We're well on track with it even for Pike-2.

Comment 12 Dmitry Tantsur 2017-05-23 14:48:34 UTC
With the TripleO patch merged, I think we can move it to POST.

Comment 15 Ilya Etingof 2017-11-13 14:20:57 UTC
With the great help from dyasny I have been able to pass through all the test cases [A].

I have configured two nodes via the instackenv.json [B] at Dan's test bench [C]. One node is ipmi-managed while the other works over redfish.

The redfish simulator [C] is installed on the Infrared undercloud and ran in parallel with the vbmc. So you can manage both libvirt-based instances (compute & controller) via either of the tools.

The only quirk I run into when importing instackenv is that you can't leave out pm_username  and pm_password JSON fields even if they are not actually used by the redfish driver.

You can play with the setup while it lasts.

A. http://file.rdu.redhat.com/~dyasny/RHELOpenStackPlatform_Ironic-RHOS12_Ironic_driver_for_Redfish_API.pdf
B. http://paste.openstack.org/show/626162/
C. sealusa25.mobius.lab.eng.rdu2.redhat.com:/root/venv/infrared/.workspaces/workspace_2017-11-10_21-49-45
D. https://github.com/openstack/sushy-tools

Comment 19 errata-xmlrpc 2017-12-13 20:52:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462


Note You need to log in before you can comment on or make changes to this bug.