This is needed to check the config-drive labels properly,
as the current way using blkid was failing under some use
cases. So we switched to lsblk instead.
Change-Id: I3676cd8e5c5e61fe4e3f67ab9e121c4cd0cd599b
"object" is a built-in class name in python,
using it as a function argument name should
be avoided as it shadows the built-in.
Change-Id: Ic775eee07bba6aa919d9911a4e2d0f6b393b9ffc
The description for the hash_partition_exponent configuration had dubious
grammar. A sentance has been reworded.
Change-Id: I161183f5974686e7c92f92697b61c58fb6f77a26
Closes-Bug: 1490406
This reverts commit be6f34c3388365f93c84671f07af7a1cffb6efd8
Now that the openstack/nova commit
3c217acb9c55d647ca362320d697e80d7cfa5ceb has landed. The issue is now
fixed and we can revert this change.
Change-Id: I6729706b13d49a277a2f037ea7ef00211d4a4ca9
Related-Bug: #1651678
It was removed as part of commit
e4be907e34e043888bb10b29655018dd2d4eb06e to tempest.
Also, fix python3 compatibility for API boolean type
This was throwing errors in the latest WSME on python 3.5, make it the
right string type instead. It must be squashed into this change because
each fixes a different CI job, and they can't land without each other.
Closes-Bug: #1654202
Change-Id: I5cefad7d9d8f6db51fd891ecce9879979c83baee
The locations of commas in JSON in docs/source/deploy/raid.rst
are not correct. This patch fixs it.
Change-Id: Ibda01aae45827d1e913bc76b1ee3aec99f97ccc9
Closes-Bug: #1654243
This patch cleans up the requirements.txt list to remove netaddr
module actually replaced by oslo_utils.
Change-Id: Ib454286350256b6141bc4a5c178b1ade73bd0223
This patch updates the generic power interface to support SOFT_REBOOT
and SOFT_POWER_OFF. And also it introduces "timeout" optional
parameter for all power operations.
Partial-Bug: #1526226
Change-Id: I1c9bbd1f11f6a8565607c874b3c99aa10eeb62a5
A helper table conductor_hardware_interfaces was created to track which
hardware types have which interfaces loaded on which conductors.
Partial-Bug: #1524745
Change-Id: Iae2f3fddb2441b6069c011cf8bf646943d34d0a4
This patch is removing a trailing backtick (`) from the
baremetal-api-v1-node-management.inc document.
Change-Id: Ie1a8c0d15f169287d5b5d6b7cd5b190e87345869
socat should not forks for each new connection.
After this change socat console will be available only for single user
connection and will be closed after user connection close.
To connect again, user should re-activate console.
This already covered in nova virt driver.
Also added timeout check for 600 sec for user's connection.
Change-Id: If92b3a9cff2d0fc1280f8e9dfc4bc8fa100c91ec
Closes-bug: #1611279
This patch adds the RPC API interfaces for the virtual network
interface API in order to abstract the task of assigning logical network
interfaces to physical network interfaces.
Since the OpenStack Newton release, Ironic provides an interface for
pluggable network implementations. Different network implementations may
want to handle how logical to physical network interface assignment
happens. To do this the new API calls into new functions on the network
implementation loaded for the specified node.
This is part 2 of 3, and adds vif_attach, vif_detach and vif_list
functions to the conductor manager and RPC API classes.
Co-Authored-By: Vasyl Saienko (vsaienko@mirantis.com)
Change-Id: I6c5a50016d12ad88b3c8175bc9b665e325e8df66
Partial-Bug: #1582188
The method validate_driver_interfaces in conductor manager
catches only known exceptions. But some third-party can
break this method.
Adding catch of general Exception to this method to avoid
not desirable failure and write detailed information about
exception to result and logs.
Change-Id: Ia3105b21cd42396568317bb26ff4be22cf5c5649
Closes-Bug: 1646854
When regenerate-samples.sh called values like uuid, created_at,
updated_at, provision_state, power_state are updated automatically.
This patch ensures that they restored to original values to minimize
commit diff, as they are not related to change itself.
Add a waiter to wait for node state after update request to make sure
it was applied.
Removed unused anywhere files:
* node-set-power-state.json
* node-states-show-response.json
Change-Id: Iccff575990c9c06b6cc2cb60e93dd962bde46347
This patch adds the driver API interfaces for the virtual network
interface API in order to abstract the task of assigning logical network
interfaces to physical network interfaces.
Since the OpenStack Newton release, Ironic provides an interface for
pluggable network implementations. Different network implementations may
want to handle how logical to physical network interface assignment
happens. To do this the new API calls into new functions on the network
implementation loaded for the specified node.
This is part 1 of 3, and adds four new functions vif_attach, vif_detach,
vif_list, port_changed, portgroup_changed, get_current_vif to the base
network interface class, which should be overridden by network interface
implementations.
DHCP provider update_mac_address method was deprecated, network
interface port_changed() and portgroup_changed() should be used instead.
Co-Authored-By: Vasyl Saienko (vsaienko@mirantis.com)
Change-Id: I0b84cfd85557d18254697f2e539c583ea0f8e88c
Partial-Bug: #1582188
Closes-Bug: #1158684
node.save() doesn't update object from db because 'updated_at'
field for the node is not up-to-date after a save().
Change-Id: I58076d71e5977dded3f5485f295b3235d467872d
Partial-Bug: #1281638
Co-Authored-By: Galyna Zholtkevych <gzholtkevych@mirantis.com>