set_consolde_mode is an asynchronous operation, so we need to use
polling to avoid races between set_console_mode and get_console.
Closes-Bug: #1649344
Change-Id: Iedf3148d6324cc3d552234f46060d28603386044
Make virtual machine graphical console listen on 0.0.0.0.
This allows to access to VM VNC console from remote ('desktop' PC)
on devstack's HOST_IP.
VNC port may be found by using: virsh vncdisplay {vm_name}
Change-Id: I253899393c98c24d46710aa4ab78f1090bae00f4
This is a follow up of commit ce46c43246ee05f76805b22f4656080b27c2266b.
Certain mocks were not set with autospec=True, meaning that calls to
methods or attributes of those mocks that don't exist would pass
silently. Additionally, an error string raised during incorrect test
behavior would have failed due to an incorrect use of Python's join()
method. Additional information is included in the error message now,
too.
Change-Id: I7a7621369ce909530a08eb7d86d1ebdc4c473c9e
Provide a variable IRONIC_DHCP_PROVIDER to set CONF.dhcp.dhcp_provider.
This is needed to properly configure ironicclient functional tests,
which don't deploy neutron.
Change-Id: If601934d0c59b5dd5556336e5644832dc7564548
Partial-Bug: #1648179
If audit is enabled ironic API service does not start with default
value (None) of "ignore_req_list" config option. This patch changes
default value to empty string. Related modification added to ironic
sample config.
Closes-Bug: 1648387
Change-Id: Ifbbbed4012670b4b05fcf63e5586024f3c927875
Add a simple unit test for the create_node() RPC call. We forgot
to add it in Id1da20ccd5bb50e61a82449ef3d2ffce91822d71.
Change-Id: Ic5d0e82079d76e3bea2fb60057b1a6a98f7ecbe1
This patch updates the Ironic documentation to describe how to
configure security groups for baremetal servers.
Change-Id: I19b42f0fcecc7e4952de452e8576a1ad87e73b61
Closes-bug: 1594242
This should make it easier to work out when an API change was
introduced and what API microversions are likely to be supported by a
given cloud. Release numbers were determined by reading the release
notes in most cases, and by searching Git history when that failed. I
was unable to determine when the API versions 1.1-1.6 were released, so
have listed them all as simply "Kilo".
Keeping this list up-to-date is (currently?) a manual process; this
patch adds "Update the API version history" to the how-to-release
document as a pre-release task.
Change-Id: I44b29d29e38b0ac1b256c2377ff84db2482b7aa7
This is a leftover from the moving the root device hints logic to
ironic-lib. This variable is not used anywhere anymore.
Change-Id: I3aaa79cc7dd5fafda874d370fccc801ec5bc3344
Do not fail to start the ironic-conductor service if there's a
trailing comma or an empty value as part of the "enabled_drivers" or
"enabled_network_interfaces" configuration option, instead, log a warning
alerting the operation of the wrong syntax.
Change-Id: Id9141c014263de5e72641613d970fd481a6aaa74
Closes-Bug: #1647783
This patch removes a dot from the end of a string which is passed to
the function check_for_misssing_params() as the second parameter
"error_msg", because the function check_for_misssing_params() appends
another dot at the end of the "error_msg".
def check_for_missing_params(info_dict, error_msg, param_prefix='')
Change-Id: I1a99feb1a1338ace773928e9070d42dbd2a7bb0f
This cleans up the code so that wherever an object needs to
convert a list of database entities to a list of the objects,
IronicObject._from_db_object_list() is used.
Individual object's _from_db_object_list() methods are removed.
Change-Id: Ic9d16b30da0067606804ad6b5997af4bc864ad93
This updates the help string for [neutron]provisioning_network
configuration option to indicate that the value can also be a
network name.
The release note for this new configuration option is also
updated.
This is a follow up to b6a2919b6198c8fb24d6f7e597f79a08f6ffe049.
Change-Id: I5773b20c5578fa4d14f80de9119e442edfe98dd0
This adds virtualpdu with a default pdu configuration to be able to test
snmp drivers in ironic.
Change-Id: I76e519920920dc702ac510ad312ab412960b2edd
Related-Bug: #1597793
This will reduce misconfiguration as if the user forgets to
include its driver in the enabled driver, the stack will fail.
Change-Id: If5275a93432ffcac350e8bffa1ad4a2b126eea56
Partial-bug: #1633567
Adding volume_connectors and volume_targets to the task object
to allow for matching the existing model leveraged by ports and
portgroups which allows for simplified storage_interface use.
Change-Id: Iea1af5b939ba9374feef56ce22ae718eb6c7a672
Partial-Bug: #1559691
This change fixes nits mentioned in reviews of commit 295b35c48f7dcc
* Renaming ironic_api_audit_map.conf.sample file to
api_audit_map.conf.sample
* Doc change --> changing to [oslo_messaging_notifications]/driver
as notification_driver is deprecated
* Renaming path_keyword vendor_passthru in api_audit_map.conf.sample
Change-Id: Ib073598cea1e9acc9788e2db85f814f0295134ef