Socat as configured would exit on client disconnect. Since there was
no active process monitoring, the process would (a) become a zombie,
and (b) would not restart, which would disable console access.
This commits adds the fork,max-children=1 parametesr to the socat
call, which makes socat persistent until it is explicitly killed.
Change-Id: I612cd9bca403b7a77ad3e671c1fdadd55353d5f7
Story: 2005024
Task: 29503
We documented this in the spec, but not in the actual admin
documentation.
Adding a note to clarify the case and why.
Change-Id: I5c911d2f58d153b0554ace3f80920f8781ade1de
When scheduling nodes for periodic power sync, first deal with
the nodes that used to fail power syncing in the near past.
The aim here is to fail non-responsive nodes fast.
Change-Id: Id7f654369843c28b5edc213046f82c7bf15fed85
This patch updates API reference to contain the changes made
by the feature of exposing conductors.
Story: 1724474
Task: 28064
Change-Id: I47dbea2cda1cc0ad73786fe3fe9b80850e1cf289
This is a follow-up from I96a96a9d6f23f02f9f49c962f183e8c5ca78e048
Removing the duplicated jobs after we have the patches for other
repositories merged.
Also we have refactor the jobs so we can use ironic-base in other
repositories jobs to avoid unnecessary code duplication
Depends-On: https://review.openstack.org/#/c/629494/
Change-Id: Icd4a486f176c8d7dbd78426c39097c169f27c0ae
Currently the POST API returns "null" values for unspecified traits
or candidate_nodes fields, while the subsequent GET API will return
empty lists. This patch fixes it to always return empty lists.
Change-Id: Ia3de56e97f63ef06a1115ae6328a626e327a64af
Story: #2004341
Changes are made to support ironic handling is_smarting port attribute
that was added in this change Ic2ffbd6f1035907ea5a18bda6d2b21e617194195
This change expose is_smartnic port field in REST API, updated API
reference to include is_smartnic field and relevent documentations.
API version updated to 1.53.
Story: #2003346
Change-Id: I89ce54a0c034f2a5f82ff961ab06cfcc6d853bd4
This change introduces the API endpoints for allocation API:
* GET/POST /v1/allocations
* GET/DELETE /v1/allocations/<ID or name>
* GET/DELETE /v1/nodes/<ID or name>/allocation
Change-Id: Idf1a30d1a90b8c626d3b912c92844297e920d68c
Story: #2004341
Task: #28739
The ParallelPowerSyncTestCase did not inherit from unit test
therefore never actually run. This patch fixes this problem.
Change-Id: I8a6811485baa1219781b7083479af2d8811e4c67
Since we use the new conductor group to calculate which conductor an
update_node message should go to, we need to lowercase the new
conductor_group value at the API level, rather than just before saving
the node object.
Change-Id: I5530f8e1c2fdff9008e008cfa0c63edaa04e81d9
Story: 2004947
Task: 29362
By default, Ironic makes persistent changes to the system boot order
at the end of an instance deployment. This may not be desired in
all cases, e.g. when DC policies require to leave the persistent
system boot order unchanged.
While keeping the persistent approach as the default, this patch
proposes to extent the existing 'force_persistent_boot_device'
field in the node's driver_info for (i)PXE in a way that allows
to have all boot device changes to be non-persistent.
Change-Id: If3a19f74fb0dfbcff2cde4cd5a8cc1edf5de3058
Story: #2004846
Task: #29058
Extend Ironic to enable use of Smart NICs to implement
generic networking services for baremetal servers.
Extending the ramdisk, direct, iscsi and ansible deployment Interfaces
to support the Smart NIC use-cases.
For Smart NIC use-case the baremetal node must be powered on and
booted into bios then wait for agent that runs on the Smart NIC to be
alive then do the network changes required.
Task: #26932
Story: #2003346
Change-Id: I00d6f13dd991074e4f45ada4d7cf4ccc0edbc7e1
Currently we cache BIOS setting after calling apply_configuration or
factory_reset implicitly via a wrapper added in BIOSInterface.__new__.
It's confusing, and we did forget about this aspect when writing
unit tests for the new iLO BIOS interface. This results in unsufficient
mocking that breaks unit tests with proliantutils installed.
This patch moves caching BIOS settings to an explicit decorator and
fixes the mocking problem.
Change-Id: I704eccea484b36cb5056fdb64d3702738c22c678
Story: #2004953
Task: #29375
Adds documentation for OOB RAID implementation using new hardware
type ``ilo5``.
Change-Id: Iafda73900b9ebca34642e6340a114f1fa7aff86d
Story: 2003349
Task: 24391
Make iLO BIOS interface clean steps asynchronous to ensure the
BIOS settings on the node are consistent with the settings stored
in the database. Node goes through the power cycle after the
settings are applied. Once the node reboots, ironic gets the current
settings from the node, caches the settings in the database,
checks for any errors from the status message and marks the clean
step as failed or success accordingly.
Change-Id: I00deaa2f2b68d2a34f8592ea20c36349a87d6c23
Story: #2004066
Task: #27074
This patch provides a mount point which is required by cinder to
attach the volume to the baremetal, when the volume targets are
created for any node.
Story: 2004864
Task: 29107
Change-Id: Id2a2e071026b86a6fd586a998bf865b1ddb960d7
Update api-ref to include the description field.
Also updated a few missing owner field.
Change-Id: I81c5bf1be18ac4109f0e5ef66193ff66f484d107
Story: 2003089
Task: 23178
This patch implements the feature of storing informational free-form text
into ironic node, via the "description" field.
Operators can do simple queries on the context of description.
Change-Id: I787fb0df34566aff30dea4c4a3ba0e1ec820d044
Story: 2003089
Task: 23178
The string used for the 'force_persistent_boot_device' field in the
node's driver_info is split by an additional blank and hence doesn't
set the option to be tested. In addition, the test condition tests a
mostly independent call (which also explains why the test succeeds
despite the incorrect option).
This patch removes the incorrect test and introduces new ones to
test the signature of prepare_ramdisk() which is the function in
which 'force_persistent_boot_device' is actually used.
Change-Id: I0b6a298837306fb8c6a46c13612b003dc62a7850
If ipxe_enabled=False, Ironic still tried to download images into
the TFTP location, which could fail. This patch fixes it.
Story: #2004905
Task: #29253
Change-Id: I5958eeb0d9de59a34145dd899354bf2a1a115dde
This change introduces the two RPC calls required for the allocation
API: create_allocation and destroy_allocation.
The nodes RPC is updated to:
* Prevent instance_uuid deletion if a node has an allocation and is
not in an updatable state.
* Delete allocation when instance_uuid is deleted and the node is
in an updatable state.
* Delete allocation when a node is unprovisioned and instance_uuid
is thus cleared.
Change-Id: I45815727f970c3d7fe51bb78d8e162a374d12e04
Story: #2004341
Task: #27987