The reschedule, that happens in multinode jobs quite often, does not
work with multicell setup. Don't use multicell setup for our Ironic
jobs.
Increase the http timeout for clients in order to work around neutron
issue.
Change-Id: I2bbdac5cd431e72517cb1c72bb925660ec8e868b
Multi-node grenade jobs will fail if we upgrade nova as the minimum
required API for nova to communicate with ironic was upgraded.
Our goal for multi-node grenade is to test rolling upgrades. The
scenario we envision for rolling upgrades to be done is:
1) Upgrade ironic-conductor services one by one. This means old
ironic-api services communicating with new and old
ironic-conductor services. This is what the multi-node grenade job
tests.
2) Upgrade ironic-api services.
3) Upgrade nova
In this upgrade procedure we should not be running updated nova with
old ironic-api services. This patch fixes that.
Closes-Bug: #1706418
Change-Id: I85c607ae7d031e4cabcb505915aca7e88df166aa
Added a condition to not to use deploy iso when boot interface
'ilo-virtual-media' is not enabled.
Change-Id: I97e20f4723967ee14de0d41d6b99149f12f4d2f1
The IPMI commands fail for virtualbmc. This is a workaround
fix to enforce virtualbmc to be installed in python2 as
pyghmi is not ready for python3.5 yet.
Related-Bug: 1696736
Change-Id: Ie4ca923ef0b8363d2f016ebc5be4b2512d3b9a1a
Enable being able to set the interfaces for a node that is in the
provision state 'available'.
Change-Id: I428dd5905e6ab90c2c0b7867ba487482171b9496
Closes-Bug: #1704913
This patch set nomulitcell flag when starting nova-compute because
multi-cell rabbit setup is not necessary in Grenade. This nomulticell
flag will be introduced with I08d7da843d18b426dda8a8a231039d950a4c0ce5.
Closes-Bug: 1700548
Change-Id: Ib55f6359751052d41b46e31ec8e15f46e33c1193
This is needed to fix the CI broken by glance switching to running
under wsgi, and thus breaking our assumption that glance is accessible
by host:port only.
The options glance_host, glance_port and glance_protocol were
deprecated. Standalone deployments should use glance_api_servers
instead.
Also removes two unused utility functions.
Change-Id: I54dc04ab084aeb7208c9dd9940c6434c029bf41c
Partial-Bug: #1699542
This patch adds an IRONIC_DEFAULT_BOOT_OPTION variable to our devstack
plugin (defaulting to 'netboot').
This will allow for easier setup of a DevStack environment to test local
boot with partition images.
Change-Id: I97986e4627c6c5a014cc1507f655ea824f8ea7c8
remove support for specifying client auth in keystone_authtoken config section.
This was deprecated about a year ago and now can safely be removed.
Also, fill the [cinder] section with auth options in devstack.
Change-Id: I0c45d12d80eff45e643af29cded178644071c9fe
This commit adds new parameters 'IRONIC_ENABLED_BOOT_INTERFACES',
'IRONIC_ENABLED_DEPLOY_INTERFACES', 'IRONIC_ENABLED_POWER_INTERFACES',
'IRONIC_ENABLED_CONSOLE_INTERFACES', 'IRONIC_ENABLED_INSPECT_INTERFACES',
'IRONIC_ENABLED_RAID_INTERFACES', 'IRONIC_ENABLED_VENDOR_INTERFACES',
'IRONIC_ENABLED_NETWORK_INTERFACES, 'IRONIC_ENABLED_STORAGE_INTERFACES'
and 'IRONIC_ENABLED_MANAGEMENT_INTERFACES' for running CI with hardware
types.
Change-Id: Ic99e551fab87cb5cea2177f5d8c82703fc2df080
In real world hardware node will have more than 1 NIC, this patch
increase default NIC count to 2 which will allow to test more
realistic scenarios.
Change-Id: I01a45127643e415382ff0897c6b2fb363c7a96fd
It also removes a comma (",") from an error message.
Depends-On: Ie77b220f630babd325e8d31cdc60ddea680c81a1
Change-Id: I3dc1b4df602912516ffdcef0f8bfd0d0750d7698
This patch is extending DevStack to support deploying nodes with the new
`redfish` hardware type.
Closes-Bug: #1526477
Change-Id: I260c3033b3eed996bc4d258f29bb36828d32a950
Ironic upgrade process has pre-requirement that ironic-conductors
should be upgraded before ironic-api. Grenade is launched on primary
node, where we have ir-api and ir-cond runnning. Do not start ir-api
on primary node after upgrade to avoid situation when we have new ir-api
(primary) and old ir-cond (subnode) as it is not allowed by upgrade
procedure. Instead redirect all requests destinied to ir-api on primary
node to subnode.
Depends-On: I026121121059768aa74389add7eee6e63fdb214d
Change-Id: I9e496353a1d3d6547e4881f96fb187e488cff83f
Devstack currently plugs the simulated baremetal VMs into OVS using the
libvirt bridge driver, this caused a problem because libvirt unplugs the
VM from the network when it is turned off. To fix this an extra bridge
was added between the VM and OVS to allow the OVS port to persist even
when the VM was turned off. This patch replaces how the devstack
simulated baremetal VMs are plugged into OVS with a manually created tap
interface, this removes the need for an extra bridge, because manually
created tap interfaces aren't unplugged when the VM is turned off.
Allow to connect several interfaces to a node by setting
IRONIC_VM_INTERFACE_COUNT devstack variable.
Change-Id: I7d0249efc55edb4f3a69aaa5b101dd80df2a563f
Co-Authored-By: Vasyl Saienko <vsaienko@mirantis.com>
This makes our logging setup compatible with USE_SYSTEMD, see gerrit
change I6af6d1857effaf662a9d72bd394864934eacbe70 for details.
Change-Id: I929bebde0ba50a6b9d5e6e0ab7e077b2c02a7849
Recently infra team added UCA repositories and start installing libvirt
from it Ia4434541c71f050fe1ffb54f4c4c1e302391d00b
This patch ensures that libvirt-bin is installed later during stack.sh
phase when new repos are added.
Change-Id: Iab7bb24d0aa89cdbef40b2e60331976325a31cab
Currently, VirtualPDU uses 'libvirtd' group, which errors since this
group is not used anymore on ubuntu because we now use the same group
that debian uses 'libvirt'.
This commit change the used group to 'libvirt'. This is the right group
and it's allowed to do changes on virsh.
I would rather use LIBVIRT_GROUP however a bug in the selection logic
sets it to 'libvirtd' group as soon as it exists, even if both exists.
Change-Id: Iddb61356b8a92184ca60a078ea9d929e5b51e629
The long-standing goal in OpenStack is to stop using custom ports for
services and only use subpaths like /identity or /compute. This change
enables the /baremetal subpath in our devstack plugin.
Closes-Bug: #1513005
Change-Id: Iaac8764394a13c4851d2ebbf3b91a380ba2aa49f
The OneView drivers deprecated support for pre-allocation model
in Newton cycle (6.1.0), making the dynamic allocation the default
model[0]. This patch removes code pertaining to pre-allocation
feature from OneView drivers. The dunamic allocation feature should
be used instead.
[0] https://specs.openstack.org/openstack/ironic-specs/specs/not-implemented/oneview-drivers-dynamic-allocation.html
Change-Id: I7789ffc0ebc6e42f58b184c0781fb3b122c00323
Closes-Bug: 1681509
For unclear reason we set group ownership for tftp and http directories
to libvirt. This patch fixes that and use STACK_USER group there.
Also Recently [0] infra start installing libvirt from UCA
repository. The groups change with newer libvirt. Older Ubuntu used
'libvirtd', but now uses libvirt like Debian.
Update our local check that is needed for ironic standalone installation.
[0] c9a9e415b9a955525a407b78650f93e9193c8117
Change-Id: I2e4633a258e5f8a6bd442797dd4cfbf4894c798b
Deploy kernel and ramdisk are not required for deployment when deploy iso
is intended to be used for provisioning. This fix bypass uploading of
deploy ramdisk/kernel to glance when deploy iso is given.
Change-Id: I201b899abb1beb18454b6e2ac563c652201867a1
For ilo drivers, IRONIC_DEPLOY_DRIVER check need to be change.
It was integer comparison supposed to be string comparison.
Closes-Bug:1679944
Change-Id: I3ad04ff36ebe0b4ab3f4a2050f91044dc32a2631
This reverts commit 4ec88c9b8acb1229c30bb39cb5b92bb3131da6d2.
The commit changed the port creation logic with the change
of the variable creation/handling such that the ports are only
created in devstack scenarios, thus breaking third party CI
running on baremetal.
Change-Id: I6cd163e7cbe2b075f91f16d6a7965b674ce8e2a4