| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
It may confuse that we running dbsync before upgrade project.
Fix dbsync position.
Change-Id: Icaee1fd1f0d4ccbdef2f391b581894c92d80b58e
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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 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
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch moves 'source ..openrc admin admin' after we sourced keystone
variables.
Closes-Bug: #1684797
Change-Id: Ic3477c768373c993087d5c6a90dbd7131b4f9f50
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We enable plugin and services in project-config.
Drop those duplications from devstack/upgrade/settings
Change-Id: I95d83d6b1f2914cbb0373099e128ab462fc3b492
Depends-On: Icdd89453ec3ebecd8375a5f2efd1a0d4bf6b4064
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Change explictly to explicitly
Change-Id: Ia31e3d23677f14f4dedb10f66187ff1e747f4ca1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \ \
| |/ / / |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
Co-Authored-By: Vasyl Saienko <vsaienko@mirantis.com>
Change-Id: Iafd470445d59f0e2009e65ddaf65a6c603a1e1c1
|
|/ /
| |
| |
| | |
Change-Id: Ic1b132e25c13e0171ac1d5edf109a5412d76e56f
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adds two tests that uses direct HTTP link instead of glance:
* pxe_ipmitool + wholedisk on HTTP server
* agent_ipmitool + wholedisk on HTTP server
Change-Id: I8f1a5b0ecb3d53ffdefd7018c1b9700210572ffc
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When installing virtualbmc, take into account the requirements and
constraints from openstack/requirements.
Change-Id: I61a9279ae5ab12fd0415fdfbc5a696250c0bd09d
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In order to have Ironic installed using Python 3 when running under a
Python 3 test job, we need to enable it as a Python 3 package.
The Python 3 job still doesn't pass. But this is needed as part of the
work.
Change-Id: I6a766bbb4250d76d458db8783631e4bd834859f3
|
|\ \ \ \ \ |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When running in a container, the host must already have the modules
inserted in its kernel.
Change-Id: Ic61ad57557be5dd1319db70bfb50c23836874028
|
|\ \ \ \ \
| |/ / / /
|/| | / /
| | |/ /
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This patch adds the following standalone tests:
* agent_ipmitool + wholedisk image + bios
* agent_ipmitool + partitioned image + bios
* pxe_ipmitool + wholedisk image + bios
* pxe_ipmitool + partitioned image + bios
Partial-Bug: #1660606
Change-Id: Ic04b0f134e20d9937a610a14d7c4128f45738eeb
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Missing space before ']' in addressed line and change it to
another better format.
Change-Id: Ib7cfe5990db180dbc347315759fffad002dfa550
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
To support multi-node grenade jobs we need to move enabling of the
ironic devstack plugin out of the ironic grenade settings file
devstack/upgrade/settings. But if we add enabling of the ironic devstack
plugin to project-config it will cause the gate to break as the plugin
will be enabled twice.
This checks to see if the ironic devstack plugin has already been
enabled:
* If it has already been enabled it will not enable it again.
* If it has not yet been enabled it will enable it.
This will allow us to update project-config to enable the ironic
devstack plugin and not break the gate.
After all the changes have landed we will propose a follow-up patch to
remove all this additonal logic and the enabling of the ironic devstack
plugin.
Change-Id: I09ed78ef918eb0359045350e89d42c6df9f3e490
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds handling of running ironic API under Apache as WSGI app to
devstack plugin.
New variable IRONIC_USE_MOD_WSGI (False by default) is added.
Another new variable IRONIC_WSGI_DIR (default is distro specific) is
also added, which specifies location for WSGI scripts.
Change-Id: I9c5ad56e1acd292ff0f9cc9b460125fc420abda5
Closes-Bug: #1513005
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the sentry variable _IRONIC_DEVSTACK_LIB a global variable so
that it will work as expected.
When variables use the 'declare' directive, it is by default a local
variable. While other variables have global scope.
For example:
declare -A AN_ARRAY # local in scope
foo=1 # global in scope
declare -A -g SPAM # global in scope because of -g
This causes errors to occur as some of the variables will be local only
and others will be global.
The issue that can occur is that when sourcing devstack/lib/ironic a
second time the sentry _IRONIC_DEVSTACK_LIB will not be set but all
the other variables from devstack/lib/ironic will already have been
set as they are by default global variables. And the purpose of
_IRONIC_DEVSTACK_LIB is to prevent the file from being sourced twice.
Change-Id: I24b6ebb89f3d950d39b0665346b4c17bf05d0a0b
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Adding a README file to be put into the ironic-bm-logs/ directory that
explains the virtual bare-metal log files.
Change-Id: If4fc6b53273d39c65db0251957795d214440118d
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When running grenade with multitenancy, we are able to boot instances
in the network neutron has created in its upgrade phase, and we don't
have to change that setup.
Change-Id: I1038548ad4f93788fca3e2b7dd8ed93da0ce7702
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We set global variables in Ironic devstack plugin like
DEFAULT_IMAGE_NAME. Ensure that grenade uses them by
sourcing lib/ironic from upgrade/settings.
Set IRONIC_DEPLOY_DRIVER by default to pxe_ipmitool. As we no longer
add IRONIC_DEPLOY_DRIVER to IRONIC_ENABLED_DRIVERS and defaults are
conflicting.
Closes-Bug: #1663371
Change-Id: I462ac792ad7920beff64c15a7c005406fcfa5cce
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently only the default interfaces are supported.
Also fail devstack if the deploy driver is neither in enabled_drivers
not in enabled_hardware_types, as we no longer can easily detect which
list to append it to automagically.
Change-Id: I055497963f05833bf065ab396fff9b628357fc08
Partial-Bug: #1524745
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For multinode setup we enroll IRONIC_VM_COUNT VMs on each of nodes.
As result on subnode we expecting to have 2 * IRONIC_VM_COUNT resources.
Change-Id: I5f939b0e4a8169e27c3b338ed2857efbe7263ecd
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
IRONIC_IPMIINFO_FILE was replaced by IRONIC_HWINFO_FILE in the
Newton release [1].
This removes support for IRONIC_IPMIINFO_FILE.
[1] Commit b61d9c076b4ce69312bc5e5303d58522e40352fe
Change-Id: I2770d1f594449466738a670e28ddedbcc7ba2eb0
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adds a variable IRONIC_USE_RESOURCE_CLASSES, which defaults to False. If
true, it will set a resource_class for each node. This enables the
code path in nova that registers the resource class with the placement
engine and uses it in inventory.
Change-Id: I785264eae0dc8ebe29f58a9e73f33000ae70ebb1
Partial-Bug: #1647813
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
Other RPM based distros such as CentOS doesn't have this package
included.
Change-Id: I3adb867855f71e815d6c2e4c72025ae8c1420ae7
Closes-Bug: #1660610
|