No real inspection is done: it only accepts data and returns success.
Common code has been extracted from the existing inspector-based
implementation.
Change-Id: I7462bb2e0449fb1098fe59e394b5c583fea89bac
Since iRMC S6 2.00, iRMC firmware doesn't support HTTP
connection to REST API.
To deal with this firmware incompatibility, this commit
adds verify step to check connection to REST API and adds
node vendor passthru to fetch&cache version of iRMC firmware.
Story: 2010396
Task: 46745
Change-Id: Ib04b66b0c7b1ef1c4175841689c16a7fbc0b1e54
This change aligns the boot interface order of the irmc
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 irmc
hardware type, where they would default to use the "irmc-pxe" boot
interface, where as the other interfaces would end up defaulting
to "ipxe".
Change-Id: I017c6560f9de884eefb2c1925321380cc1c721e2
Third party CI for the Fujitsu irmc hardware type has been down for
a substantial amount of time and we've been unable to contact anyone
at Fujitsu.
As such, we are deprecating the driver in order to eventually remove
it from the code base.
Change-Id: If0d124352dec7072d7f806d60628eefe3619a8b0
Story: 2007186
Task: 38312
In Train cycle, iPXE boot with [pxe]ipxe_enabled option in
ironic.conf file will be removed. And ipxe boot interface
will be the only boot interface to deploy Ironic node with
iPXE. Till Train, iRMC driver has supported iPXE boot with
[pxe]ipxe_enabled option.
This commit copes with this incompatibility and supports
ipxe boot interface by adding ipxe.iPXEBoot to
supported_boot_interface.
Change-Id: Iec2284c2d101aebadd9d1b531c44794e2d4efacf
Related-Bug: #1628069
This patch supports BIOS configuration for iRMC drivers using
out-of-band method.
Tested successfully on TX2540 M1 along with eLCM license.
Story: #1743674
Task: #10651
Co-Authored-By: Nguyen Van Trung <trungnv@vn.fujitsu.com>
Change-Id: I61f15e7c65c4ef5cc5f959d2b016b053e70ba19b
This is OOB solution which using create/delete raid config via
Fujitsu iRMC driver. In addition, This commit will enable raid
interface via iRMC driver.
Tested successfully on TX2540 M1 along with eLCM license, SDcard and
SP(Service Platform) available.
Change-Id: Iacaf213f76abf130d5570fc13704b1d1bfcf49d7
Story: #1699695
Task: #10597
Irmc power interface requires a vendor agent on an instance for
enabling soft reboot and soft power off. For a case where the agent is
not installed, this patch enables ipmitool power interface with irmc
hardware type.
Change-Id: I9bbe702645ba2a8ddbc0cf825b00999568f384c5
Story: 2002595
Task: 22206
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
- Adds new boot interface 'irmc-pxe'. Deprecates 'pxe' boot interface
from using with hardware type 'irmc'.
- Adds functions backup_bios_config and restore_bios_config to iRMC
management interface for implementing the BIOS BACKUP/RESTORE
mechanism supporting iRMC S4 hardware. The function backup_bios_config()
will be called automatically before deploying.
- Adds clean step restore_irmc_bios_config to restore BIOS config
for a node during automatic cleaning.
Change-Id: I04aa5bc2f5e287e048d0b52fee123e53ae2eaa99
Partial-Bug: #1639688
Added IRMCHardware type for FUJITSU PRIMERGY servers
which have iRMC S4 management system.
Change-Id: I92c62a1680d4662dce5b1158b323192f35af7e9c
Closes-Bug:#1659209
This patch removes the deprecated agent lookup/heartbeat as vendor
passthru functionality from most of the drivers in following modules:
- ironic.drivers.agent
- ironic.drivers.pxe
- ironic.drivers.drac
- ironic.drivers.irmc
Some drivers are left untouched though:
- iLO and OneView drivers are a bit more complicated and will be fixed
in follow-up patches
- iBoot, WoL and AMT drivers will be fixed in ironic-staging-drivers
repo first and then removed from ironic tree.
Change-Id: Ia9ee46cda68ef823d1fe8e5ea03c1d5948810a50
Partial-Bug: #1640533
This module enables iRMC out-of-band hardware inspection for FUJITSU
PRIMERGY bare metal nodes having iRMC S4 and beyond.
Change-Id: I8f406a9beb3fd3c01b15f764211ffd18494464f6
Closes-Bug: #1525108
This patch refactors IRMCVirtualMediaAgentDeploy by applying new
BootInterface. Consequently IRMCVirtualMediaAgentDeploy is divided
into IRMCVirtualMediaBoot and IRMCVirtualMediaAgentDeploy.
Implements: blueprint irmc-driver-uses-boot-interface
Change-Id: I7cae6588dfeffec3c5667ecabdb164ca72d63f22
This patch refactors IRMCVirtualMediaIscsiDeploy by applying new
BootInterface. Consequently IRMCVirtualMediaIscsiDeploy is divided
into IRMCVirtualMediaBoot and IRMCVirtualMediaIscsiDeploy.
Implements: blueprint irmc-driver-uses-boot-interface
Change-Id: I709f3eb9b7798fa9b8a415bafbebbc24b03c5ebe
This patch fixes an agent_irmc bug which which doesn't detach virtual
cd and fd at the end of deploy process.
And also this patch adds detach virtual cd and fd calls before attach
calls so that proper images can be attached.
Closes-Bug: #1497799
Change-Id: Ifb975123de0f273952941e070e0a7cd9ef6925a0
ironic/drivers/irmc.py is an imported module and should not be set to
executable. Change permissions to 0664 like the other files in
ironic/drivers/
Change-Id: I2bacdc5faaea3874344f623bc1995b8783cc904b
This patch adds copyright notice in accordance with "APPENDIX: How to
apply the Apache License to your work" [1].
Also this is a reflection of the gerrit review comment in [2] that is
there's no problem adding a copyright line in the license header in
OpenStack.
[1] http://www.apache.org/licenses/LICENSE-2.0
[2] https://review.openstack.org/#/c/171672/
Change-Id: Ic0d69c735170267640803a9bc707f058306c9da1
This module enables PXE/TFTP less deployment capability to provision
PRIMERGY bare metal nodes (having iRMC S4 and beyond) by booting the
bare metal node with virtual media using NFS or CIFS from conductor
node to deploy the image.
Implements: blueprint irmc-virtualmedia-deploy-driver
Change-Id: I747b3245c7ba5e991abb07c894c8cd2b2d3c45e8