The ones for ironic-python-agent itself are defined in devstack.
This changes adds similar variables for ironic-python-agent-builder
and migrates the ironic-python-agent ones here to avoid confusion.
Change-Id: Ic7eef9c8741ec2900401556f4053a4749b652d7c
mdns AND IPv6 Neighbour Discovery Protocol use multicast packets
and the macvtap interface drops these packets by default.
Since there is no way to tell libvirt to make this better,
lets at least use the hook to make the macvtap interface
change such that multicast packets will pass.
With this, iPXE should work... and mdns should be testable in CI.
Change-Id: I397d211675fd7668b8fd19e989d740d6bad2c70e
Fixes the grub2 based devstack logic and adds a grub2 CI job
such that the ironic team can safely clean-up some of the PXE
code without fear of breaking the grub2 scenario.
Story: 2003936
Task: 27724
Change-Id: Ieb395bf35e2689741a243c11b56d08a237b200bc
If enabled, rabbit is required for all ironic services, so it makes
no sense to only configure it when API is enabled. This seems to
break multinode grenade, since `is_service_enabled ir-api` returns
false on the subnode. Try to configure the RPC backend in all cases
when IRONIC_RPC_TRANSPORT is "oslo" (not JSON RPC).
Also move the automated_clean option to the conductor where it belongs.
Change-Id: I6e046c6b6e1e4c0ca7bfd5fb9ce5892c0298fb78
devstack may be run as some other non-root user, and the service
will fail to start if there is no stack user available.
Change-Id: Ib1cfa6a1b0859a1e2680055ce0394053db1c307e
Signed-off-by: michaeltchapman <woppin@gmail.com>
Pyghmi was moved from openstack namespace to the x
namespace. As such the devstack plugin needs to match
up otherwise devstack fails in CI to clone as cloning
is blocked if not in the projects list... Which it is,
as x/pyghmi.
Change-Id: I87bdf65dd2dac189642d0af6def2d0ed155f3c00
The PUBLIC_BRIDGE parameter, for most multinode zuul jobs
defaults to br-infra in cases where native zuul configuration
is used.
However, this is not true for legacy jobs still using devstack-gate.
When jobs are invoked with devstack-gate, the bridge must be set
to match the devstack-gate scripting as zuul *does not* setup the
vxlan bridge for us. Devstack-gate does so.
Change-Id: I37bff3c4d930ada483690d0dea17cb9a64d51fd2
Moves the config files of virtualpdu, virtualbmc and sushy-tools
emulators under $IRONIC_CONF_DIR (defaulting to /etc/ironic)
to have the configs in post-mortem dumps.
Depends-On: https://review.openstack.org/#/c/651202/
Change-Id: Iea895c157a199d257b751b41a127849d43ad139f
This patch brings two somewhat related changes:
1. Older versions of VirtualBMC worked without any server keeping
state on the filesystem. The contemporary version is build around
client-server model. To preserve backward compatibility, the
`vbmc` client would invoke `vbmcd` behind the scenes if the daemon
is not running.
This change inhibits this automatic `vbmcd` start behaviour because
devstack invokes `vbmcd` explicitly through systemd.
2. This patch makes Devstack messing with VirtualBMC only if it is
determined that IPMI deployment is required. Otherwise (e.g.
Redfish deployment is planned) Devstack will not attempt to
start/stop IPMI emulation.
Change-Id: Id9a2ed71a997fb13523a77563d6e941904675f97
Run IPMI, SNMP and Redfish emulators in devstack as user
`stack` as opposed to `root`. The intention is to
avoid accidental privilege escalation.
By way of this change, emulators management harness
reworked and unified.
Change-Id: I1fa2bb39e5fbedefb828fba72ef00f534db78076
To be able to UEFI boot via Redfish emulator, the latter
needs to be aware of the libvirt UEFI firmware blobs.
Change-Id: I3978c73564e2e955f390815ce5a20b58862cc495
In ubuntu bionic, the UEFI provided in the ovmf package version
0~20180205.c0d9813c-2, EFI v2.70 by EDK II, seems broken and
causes kernel panic.
To be able to boot using uefi, we download and install the old
working version 2.60 from the multiverse repository.
Story: 2004604
Task: 28500
Change-Id: I1a5b4a6544621316f71203282f7418d2001ad357
Because vbmcd is now managed by systemd, making vbmcd logging
to its standard streams makes all logs in one place.
Change-Id: I1f7e5665816bd3045aa1b4760a28e610ebbb5766
When devstack is configured to use Py3, install and run gunicorn3
to make sure sushy-tools emulator is running under Py3.
Change-Id: If38ef523a8616084f8f715fe247d8a3c8142bf62
Besides managing vbmcd from systemd, this patch fixes a bug
in vbmcd handling.
The bug was that devstack runs ironic plugin under user `stack`, but
preserving superuser environment by means of `su -p`. That makes
`vbmcd` expanding tilda into `/root`, attempting to write into that
directory and failing miserably.
On top of that, all this happens when `vbmc` tries to invoke `vbmcd`
under the hood to preserve backward compatibility of the `vbmc`
behaviour before `vbmcd` was introduced.
This patch:
* adds systemd unit file for vbmcd
* invokes `vbmcd` explicitly before everything else and
* does that before becoming root and `stack` again
The `vbmc` tool can still run in a broken environment
for as long as it does not depend on the config file.
Change-Id: I6670ea50d126065d0472e558943890d4f9313083
Provides a facility to minimize the power state changes of
a baremetal node to save critical time during deployment
operations.
Story: #2004965
Task: #29408
Depends-On: https://review.openstack.org/636778
Change-Id: I7ebbaddb33b38c87246c10165339ac4bac0ac6fc
Updating filter for supported ubuntu distributions in the
list of packages that need to be installed.
Change-Id: I92110a6185f2401e97b6376c50afdfe479cb5def
This patch adds the option to configure the python interpreter
that is used when deploying machines using the ansible deploy
interface.
Also set the default interpreter for tinyipa image with
ansible deploy interface to /usr/bin/python3 on devstack
and marks ironic-standalone job as voting again.
Change-Id: I8eb58fb00980c9e8946e3b3ef77611a9f5212668
Story: #2005159
Task: #29877
Pip will install libvirt-python later in the process and with pip >= 10
it will fail to remove the system version.
Change-Id: I33be5426ce8ff2301d28096af11a1023b8048a15
Needed-By: https://review.openstack.org/#/c/561597
The patch sets the available_nodes config option in tempest.conf
that is consumed by the ironic multitenancy tests.
Needed-By: https://review.openstack.org/639098
Change-Id: Id8087375088180174247370d129f78cc06b1d49e
Adds a check for compatibility of the object versions (in the DB)
with the release of ironic. This check is used by the
'ironic-status upgrade check' command.
The ironic-status command is added to devstack and grenade (when
upgrading).
Change-Id: I2043dc01856106d50356637db327a2817db90366
Story: 2004990
Task: 29459
On CentOS 7 following the documentatition to set up ironic
in devstack I keep getting permission error because for some
reason the $HOME is root's home.
[Errno 13] Permission denied: '/root/.vbmc'
The permission issue causes various error's when trying to
re-stack and unstack.
Also, kill all vbmc processes after cleanup-nodes.
Change-Id: I92683dc9345825671310e199d0a6e36bdc462ed0
Using AMQP-based RPC can be an overkill in case of ironic, especially
when used standalone. This change allows using a built-in JSON RPC
implementation instead.
This implementation does not currently support the object indirection
API, which does not seem to be used anywhere anyway.
The standalone and API test jobs are changed to use JSON RPC.
Story: #2004874
Task: #29141
Change-Id: I7cc95935d6bdae43fab5dfbd544c8e6d65fcc38d