Commit Graph

32 Commits

Author SHA1 Message Date
Zuul a171e588fd Merge "Enables event subscription methods for ilo and ilo5 hardware types" 2022-09-12 15:49:33 +00:00
mallikarjuna.kolagatla 166bd1697a Enables event subscription methods for ilo and ilo5 hardware types
Enables event subscription methods by inheriting RedfishVendorPassthru
for ilo and ilo5 hardware types

Story: 2010207
Task: 45931
Change-Id: I96f7e44069402e3f1d25bcd527408008ca5e77cb
2022-09-05 11:58:44 +00:00
Julia Kreger c921c077d4 Fix ilo boot interface order
This change aligns the boot interface order of the ilo
hardware type to match the other hardware type interface
order lists.

This change is a result of an operator reporting inconsistent
behavior of ironic when they are adding nodes using the ilo
hardware type, where they would default to use the "pxe" boot
interface, where as the other interfaces would end up defaulting
to "ipxe".

Change-Id: I3d848af284545a7a1fb1e065f09fe2df6a9114ac
2022-08-17 09:50:39 -07:00
vmud213 6d36b0b785 Adds ilo-uefi-https boot interface to ilo5
Change-Id: I224eca4d8b331711369b17903098daa9fec27d7d
Story: #2008073
Task: #40761
2020-09-17 13:20:53 +00:00
Dmitry Tantsur c376cb3219 Add missing agent RAID compatibility for ilo5 and idrac
Software RAID relies on it.

Change-Id: Id220ce3a2c2821ad1841add20f2138e65d1786bf
2020-07-14 16:26:16 +02:00
paresh-sao c0799c95ed Out-of-band `erase_devices` clean step for Proliant Servers
This commit adds new management interface `ilo5` to support an
out-of-band clean step for sanitize disk erase on ilo5 based
Proliant Servers.

Change-Id: I7b9fc6add6f6a616bdee4d94cb577e7a27a794e5
Story: #2006394
Task: #36269
2019-08-23 08:09:20 +00:00
Shivanand Tendulker 1e3b684037 Add iPXE boot interface to 'ilo' hardware type
This commit adds new boot interface 'ilo-ipxe' to support booting
of iPXE instances using 'ilo' hardware type.

Change-Id: I3abebc77cbc57344a74759e0a8b99e8cacac6f6b
Story: 2006408
Task: 36292
2019-08-16 12:32:36 -04:00
Anshul Jain 58a395bf83 OOB RAID implementation for ilo5 based HPE Proliant servers.
This commit adds functionality to perform out-of-band RAID operations
for ilo5 based HPE Proliant servers. Using this a user can perform
create and delete the RAID configuration from the server.

Co-Authored-By: Paresh Sao <paresh.sao@hpe.com>
Change-Id: Iad0c609e59dca56729967133c6bbcff73b50a51e
Story: 2003349
Task: 24391
2019-01-03 09:03:36 +00:00
vmud213 66e1ccb7c5 iLO BIOS interface implementation
Adds support for manual cleaning steps "apply_configuration" and
"factory_reset" which manage BIOS settings on the iLO. This requires to
implement 'ilo' BIOS interface for 'ilo' hardware type.

Story: #2002899
Task: #22863
Change-Id: Ia014ea3d55504e8e0c815fb4f19bb87b1fc0d6ef
2018-07-20 17:52:46 +05:30
Dmitry Tantsur 9c7729d6b7 Remove the ilo classic drivers
This removes pxe_ilo, iscsi_ilo and agent_ilo. Also removed is
the whole documentation section dedicated to them.

Change-Id: Ie6f8a65d68ce4eb9c8467c416df5f3a35f0abe98
2018-06-22 16:55:20 +02:00
Dmitry Tantsur d1062cfbdd Migrate the remaining classic drivers to hardware types
I've tried my best to provide a correct matching for these, but
there are two exceptions:

* fake_drac uses iscsi deploy with None boot, which cannot work,
  so changing both to fake
* some fake drivers are migrated to the 'fake' power interface,
  which is changed to include soft power as well.

The latter means that all fake classic drivers now support fake
soft power actions, while previously only fake_soft_power did.
Now fake_soft_power is identical to fake and is left for backward
compatibility

Also wrote more tests to check correctness of this migration.

Change-Id: I00c9c6ed698b10f035e65428e1a20d733c7e544a
Partial-Bug: #1690185
2018-02-01 18:38:24 +01:00
Dmitry Tantsur 8f464b909a Add missing ilo vendor to the ilo hardware types
I'm not sure why it was missed initially. But if we don't have it,
the automatic migration to hardware types will reset the vendor
interface to no-vendor, which may look like a regression to users.

Change-Id: I6da6aa8138d7f0cbf225c15c4137edeec2c33d49
Related-Bug: #1690185
2018-01-31 16:49:56 +01:00
Shivanand Tendulker dd04c35a1c Add 'iscsi' deploy support for 'ilo' hardware type
The classic iLO driver 'pxe_ilo', uses 'iscsi' deploy method and
there by avoids dependency on Swift Temp URL for glance images.
With no support to 'iscsi' deploy interface, 'ilo' hardware type
do not provide complete compatibility with all classic iLO drivers.

This commit adds support for 'iscsi' deploy interface for 'ilo'
hardware type so that one could compose a driver for a node that
matches any of the classic iLO drivers.

Closes-Bug: #1689274

Change-Id: I6c5f4d68020bcf58b83d74f45bb059f1807a80ee
2017-05-08 08:10:56 -04:00
Shivanand Tendulker 317afc8d37 Add hardware type for HPE ProLiant servers based on iLO 4
Added hardware type 'ilo' for HPE ProLiant servers based on iLO 4
management engine.

'ilo' hardware type only supports 'agent' deploy method and does
not support 'iscsi' deploy method.

Change-Id: Id2186717633630fabe11041634759adb3b74a0f9
Closes-Bug: #1666787
2017-05-02 03:28:32 -04:00
Shivanand Tendulker 565b31424e Use standard deploy interfaces for iscsi_ilo and agent_ilo
Refactored iLO classic drivers 'iscsi_ilo' and 'agent_ilo' to
change 'deploy' interfaces to iscsi_deploy.ISCSIDeploy()
and agent.AgentDeploy() respectively.

Change-Id: Id38dcf6b64a15caa9d6cf4d2021ffeb264d12b5e
Partial-Bug: #1666787
2017-04-04 06:35:11 -04:00
Pavlo Shchelokovskyy 679edb4e72 Remove agent vendor passthru from iLO drvers
Change-Id: Ic686eaa744bf2c9eac44fe3c437ebb67e6153489
Partial-Bug: #1640533
2016-12-08 21:54:25 +02:00
Aparna 7f7b5c7dbc Adds RAID interface for 'iscsi_ilo'
Currently iscsi_ilo doesn't support RAID interface.
This commit adds RAID interface support for iscsi_ilo.

Closes-Bug: #1579635
Change-Id: Ib486ba819358c280ddc6941401552a0f58246198
2016-05-09 08:26:57 +00:00
Shivanand Tendulker 6a74e1fb67 Refactor agent_ilo driver to use new boot interface
This commit refactors agent_ilo driver to support
IloVirtualMediaBoot as its boot interface.

Change-Id: Iac359306856ccd9fd440bc9dc2116d85d28b89bf
Implements: blueprint ilo-driver-uses-boot-interface
2015-11-14 06:27:15 -08:00
Shivanand Tendulker 229baafaf3 Refactor iLO driver console interface into new module
This commit moves IloConsoleInterface class to separate file.

Change-Id: I143064efdba9f3056c7f980d36a88ef1e9a793fa
Implements: blueprint ilo-driver-uses-boot-interface
2015-11-13 06:23:20 -08:00
Shivanand Tendulker 39e40ef12b Refactor iscsi_ilo driver to use new boot interface
This commit implements new boot interface IloVirtualMediaBoot and
refactors IloVirtualMediaIscsiDeploy to use the same.

Implements: blueprint ilo-driver-uses-boot-interface
Change-Id: I5481e705892f66cb3184ac16ff56c123f5c69087
2015-11-04 03:00:39 -08:00
Ramakrishnan G 5dd42ff66d Add support for inband raid configuration agent ramdisk
This commit adds support for inband raid configuration
using agent ramdisk.  Agent ramdisk will route the call
to appropriate hardware manager which will create the
desired raid configuration. This must be explicitly
invoked via setting the provision to 'zap'.

This commit also updates the code to not touch
node.target_raid_config in raid.update_raid_info()
method.

Implements: blueprint inband-raid-configuration
Change-Id: Ifa640d4839b2f08410ceec57c2972e2f9dc69db3
2015-09-14 15:52:31 +00:00
Sam Betts 8c07c4fda3 Enforce flake8 E123/6/7/8 in ironic
This patch enforces the rules E123, E126, E127, and E128 in the ironic
code base:

E123 - closing bracket does not match indentation of opening
bracket’s line
E126 - continuation line over-indented for hanging indent
E127 - continuation line over-indented for visual indent
E128 - continuation line under-indented for visual indent

This fixes any parts of the current code which fails these rules and
removes these rules from the tox.ini flake8 ignore list.

Change-Id: Ia96582b5e9abc088d6c1694afc93c59be4a4065c
Closes-Bug: 1421522
2015-06-04 12:56:51 +01:00
Shivanand Tendulker f734945746 Secure boot support for agent_ilo driver
This patch implements secure boot support for agent_ilo driver.

Implements: blueprint uefi-secure-boot
Change-Id: Ic83edd5744ba33e25dc1667dec3534d389be4e76
2015-03-19 14:25:26 -07:00
Nisha Agarwal 7d5345af6b iLO implementation for hardware inspection
This inspects the iLO to get the essential scheduling properties
and create the ironic ports for the requested macs.

It creates ports if the operator has provided the port numbers
in driver_info of the driver as there is no mechanism out-of-band
to know if server port is physically connected with a ethernet
cable.

Implements: blueprint ironic-node-properties-discovery

DocImpact

Change-Id: I0427f2657dab1145b90738760b1853689536a1e1
2015-03-17 22:34:08 -07:00
jiangfei c67fa26416 Use oslo_utils replace oslo.utils
oslo.utils 1.2.0 has changed its namespace from oslo.utils to
oslo_utils.

Co-Authored-By: Victor Sergeyev <vsergeyev@mirantis.com>

Change-Id: I07ce4791cfe3b32efb02be60f792bd1c4f03d82f
2015-02-19 11:39:21 +02:00
Anusha Ramineni f71c36ec10 iLO Management Interface
This commit is to support management Interface for HP ProLiant Servers
using iLO client python library.

Change-Id: I2d909c682b0db6d6bc447c433e3448d31d3558a4
Implements: blueprint ilo-management-interface
2014-11-26 16:17:10 +05:30
Anusha Ramineni c5bfba0f2f ilo* drivers to use only ilo credentials
Currently IloVirtualMediaIscsiDriver and IloVirtualMediaAgentDriver
and pxe_ilo driver uses ipmitool for console and management interfaces.
This imposes user/operator to specify ipmi credentials along with ilo
credentials (which are same) during creation of node.

This fix proposes to update the ipmi credentials on the fly by inheriting
IPMI console and Management Interface.

Change-Id: I81c1311b05bd00bb8245ceb71a140f6bdd2e7daa
Closes-bug:#1367182
2014-10-02 01:30:30 +05:30
Ramakrishnan G 5894ff356e IloVirtualMediaAgent deploy driver
This commit introduces a new deploy driver which uses iLO virtual
media to boot up proliant baremetal nodes, and uses agent to deploy
the baremetal nodes.

This patch also changes agent pxe config template slightly, so that
the names of agent ramdisk parameters generated in code and those
expected by agent ramdisk are same.

Change-Id: Ia5677dff294bc146b864bed180fbda939cf9bb38
Implements: blueprint ilo-virtualmedia-ipa
2014-09-03 16:51:33 -07:00
Ramakrishnan G 571579a005 IloVirtualMediaIscsi deploy driver
This commit introduces a new iLo deploy driver which uses virtual
media to boot up proliant baremetal nodes, and uses iSCSI to deploy
the baremetal nodes.

Change-Id: I98f47ed6082a3a28fce3148f6d5177cdb5c61881
Implements: blueprint ironic-ilo-virtualmedia-driver
2014-09-03 16:46:57 -07:00
Devananda van der Veen 55858be5f8 Replace incomplete "ilo" driver with pxe_ilo and fake_ilo
The "ilo" driver is not complete -- it only has a PowerInterface today.

This patch removes it from setup.cfg, deletes the drivers/ilo.py module,
and adds both PXEAndIloDriver and FakeIloDriver instead.

Change-Id: I431fd5155d0696a0a48ad8decf9f5317c5fcd7a2
2014-08-14 15:02:06 -07:00
Ghe Rivero 4723aec443 Migration to oslo.utils library
oslo.utils has been released with the modules excutils, importutils,
strutils and timeutils.

Changes done:
- Use the new oslo.utils modules when possible (not updated in the
nova.ironic driver and other oslo.incubator modules)
- importutils.import_module now is importutils.try_import
- Updated requirements.txt with the new library
- strutils.to_bytes now is strutils.string_to_bytes

Once the nova.ironic driver is migrated into nova tree, old references
and libraries can be cleaned (Bug: #1350269)

Closes-Bug: #1353540

Change-Id: Ic0af04ebd07b23eb94df32a6abf0e490d597f32a
2014-08-06 16:15:58 +00:00
Ramakrishnan G e59e5cdb1f Add IloDriver and its IloPower module
Add a new ironic driver for managing HP Proliant Gen8 servers
using iLO4. This commit introduces the power module for
IloDriver.

Implements: blueprint ironic-ilo-power-driver
Change-Id: I8d521f67fb14a6132626782b05cd490cd42ba476
Co-Authors: Anusha Ramineni<anusha.iiitm@gmail.com>
2014-07-17 20:50:53 +05:30