At this point we already have DHCP on the right NIC to be able to download
this iPXE script. The "dhcp" may actually break the boot, as it runs DHCP
on the first available interface, not the PXE booting one.
Change-Id: I97dc897da49ceb8e03476ddacd5bc92dd40aa4b2
Closes-Bug: #1635191
This change implements _get_impi_cmd method for
IPMI consoles. Depends on type of console,
ipmi command should contain different arguments.
Change-Id: I55e712a1a91aed3d533f636e519f0bae1f9be2d4
Closes-bug: #1611285
This is a followup to I0ce425325ad01455c72a96e013114509bbd74a66.
Our deprecation/removal policy is to deprecate for at least 3 months
and one cycle boundary, so we cannot delete build_instance_info_for_deploy()
from ironic.drivers.modules.agent until Pike.
This adds a release note about the deprecation.
Change-Id: Ib4cf73a46c1a947bea65d6a54c77e955102b68f9
This patch adds missed space between words in docstring of
_set_and_wait() in ironic/drivers/modules/ipmitool.py
Change-Id: I89efe6007d060459021933c85ba18da08670bbbc
This patch adds a missing error check into ipmitool power driver's
reboot so that the reboot can fail properly if power off failed.
Change-Id: Icd061fe51555be3200b154c5e43e0f082864c93f
Closes-bug: #1633992
node.driver_internal_info['agent_last_heartbeat'] was not being used by
ironic, and Ic198f6a952ed135099bcc525ef548a4aea005056 removed the code
that sets that value.
However, for existing nodes, driver_internal_info['agent_last_heartbeat']
may already exist, so we need to delete it. This patch does that.
In addition, a LOG line was moved (and a nit addressed) to make the code
a bit easier to read.
This is a followup to Ic198f6a952ed135099bcc525ef548a4aea005056.
Change-Id: I194d22c0e605b187823ceebae94d3ef895fb91f5
Related-Bug: #1602410
This adds optional notifications emitted when ironic changes a node's power
state or when ironic detects a change in a node's power state.
These notifications can be consumed by any external service listening to the
message bus to perform functions like tracking node power state changes over
time or automatically responding to anomalous power states.
The event_types of the new notifications are:
* baremetal.node.power_set.{start,end,error}
* baremetal.node.power_state_corrected.success
This also adds a new NodePayload class for notification payloads related
to nodes.
Change-Id: I82702e7f959d666bb02b59d1fc53ab50b519cb74
Closes-Bug: 1526408
With multitenancy case there is no need to create a hacky
connection between brbm and br-int. This patch ensure that
we do not call devstack create_ovs_taps() with multitenancy
case.
Change-Id: I1326a3f83d596655d577c48f642ac3ba8a8b6ee2
This patch is replacing the parse_root_device_hints() method from
deploy_utils.py with the ironic-lib version.
The parse_root_device_hints() method is only being used to verify the
syntax of the root device hints, finding/matching a disk with the hints
is performed by IPA.
The ironic-lib version also does add support for using operators such as
(>=, >, <, etc...) to finding a suitable disk device.
Closes-Bug: #1561137
Depends-On: Id93dd0360137df600f5a656348279e56c6b84bf9
Change-Id: I4516d9f1f1733be26ae603b70c1e59ccf19e0448
Parameters validation was not in conformity with the docs, and it
was not possible to pass a SSH key with a passphrase. This patch
fixes the validation allowing the user to pass both parameters,
and adds tests for this validation.
Change-Id: I1ba1eb8393c7921f4cab154b69b856418af32173
Closes-Bug: #1607527
"agent_last_heartbeat" in the driver_internal_info dict of agent drivers is not
used anywhere by ironic itself, except for logging purposes. This
removes it.
Change-Id: Ic198f6a952ed135099bcc525ef548a4aea005056
Closes-Bug: 1602410
The event processing for "fail" event clears the node's
"target_provision_state", so there is no need for the conductor to
explicitly clear it again.
Change-Id: I18e7c1dbcec6ad48bfea242b6201d900fd0c3461