The RC_DIR does not existed (and it never existed, it was SRC_DIR)
Change that to TOP_DIR which is what we use commonly in other
sections.
Change-Id: I4a400fd434a20938cd38c0bb876da21fec7473a1
Runs the BaremetalSingleTenant tempest test, which provisions
two nodes, with slaac addressing, all provisioning traffic e.g.
iPXE, ironic api traffic and iscsi happens over IPv6 on the
provisioning network. Nodes are then deployed onto a IPv6
tenant network, where tempest verifies connections between them
with ssh (again over IPv6).
Co-authored-by: Derek Higgins <derekh@redhat.com>
Depends-On: https://review.opendev.org/722663
Change-Id: Id928df1cbd1131427ab6a911856f48f18e67f7cf
The devstack plugin was updated to configure basic ops before
ironic starts, so that we can put links to deploy images
in the ironic.conf.
Change-Id: I305fc3712b1ac0cf2fe64569729e236c7b614bb4
Story: #2006175
Task: #35699
This patch updates the old links existing in ironic code as comments.
Change-Id: I75f68b042448cc01d55fdcfec86b42ecacd8fdd3
Co-Authored-By: Chason Chan <chen.xing@99cloud.net>
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
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
This patch adds devstack: setup_vxlan_network() function.
With multinode topology br_ironic_vxlan dridge is created by devstack-gate
that provides VXLAN connectivity between VMs on primary and subnode.
Related-Bug: #1622653
Change-Id: I7461a8eaab138ea6ec1deb276cab00d20ce3c9f0
This patch update devstack: configure_provision_network() function to work
with multinode case:
* Ignore creating a new provision_network on subnode, just get an uuid for
existed provision network.
* Update IRONIC_PROVISION_ALLOCATION_POOL default value to left first 10 IPs
for internal usage, exclude them from Neutron.
* Add IRONIC_PROVISION_SUBNET_SUBNODE_IP variable, by default is 10.0.5.2.
The IP address from provisioning network that is assigned to subnode.
Related-Bug: #1622653
Change-Id: I6c3ed6901ce5c5c94b6ad63a01d2875979a38ad5
Increase the verbosity of devstack/lib/ironic by enabling xtrace for
when sourcing devstack/lib/ironic. This information is useful to be able
to see what variables are set to along with other information. This
will increase the devstack log size by about 1%.
Also print which stage the ironic devstack plugin is being called for.
Change-Id: Ibd2530720f21c0b0c03af5c7ed2a6d7aa68eda65
Currently when setting up Ironic with multi-tenancy support,
the DevStack plugin by default still sets the cleaning network
to the default private network of the demo project,
which is not exactly correct.
Change the DevStack plugin so that the cleaning network
is the same as provisioning network if IRONIC_CLEAN_NET_NAME is not set:
- In case of multi-tenancy support enabled, use the created separate
provisioning network
- w/o multi-tenancy support use the default private network.
If the IRONIC_CLEAN_NET_NAME is provided, use that.
Change-Id: I9db8f5e3000f05d27a3fa8fc94cfdafe34a6f48a
New phase 'test-config' has been introduced by [0].
'test-config' is called at the end of devstack used to configure
tempest or any other test environments.
This patch uses new phase to configure tempest if it is enabled.
Reference:
[0] https://review.openstack.org/#/c/311797/
Change-Id: I8a6a3aeee89c1c08bfa5e630b1cdd8f8a5fa2007
After the recent change, we started calling create_bridge_and_vms
no matter if it was requested by setting IRONIC_BAREMETAL_BASIC_OPS
to True or not. This breaks the ironicclient functional job that
does not need any vms created.
Change-Id: Iabd2794fc0aad2ca752e04d87d53f641f26e9ffb
Closes-bug: #1605194
This change allows to configure ironic provision network by setting
IRONIC_PROVISION_NETWORK_NAME variable. In this case additional
interface $OVS_PHYSICAL_BRIDGE.$IRONIC_PROVISION_SEGMENTATION_ID
will be configured with IRONIC_PROVISION_SUBNET_GATEWAY ip address.
Additional configuration parameters are:
IRONIC_PROVISION_PROVIDER_NETWORK_TYPE
IRONIC_PROVISION_SEGMENTATION_ID
IRONIC_PROVISION_ALLOCATION_POOL
IRONIC_PROVISION_SUBNET_GATEWAY
IRONIC_PROVISION_SUBNET_PREFIX
Change-Id: I619f2fb92aafe7348b0a47eaaaad1790df5ae5c7
Partial-bug: #1526403
stop_ironic is called during upgrade process and it should not
clean any Ironic files, as they will be used after upgrade.
This patch moves cleaning ironic http configuration and qemu
hooks to cleanup_ironic function.
Co-Authored-By: Vladyslav Drok <vdrok@mirantis.com>
Change-Id: I45f2d23eb1e182a87fb41a79a3a7b7527948bf35
After Ironic is moved to devstack plugin the tempest is always
executed before ironic devstack plugin. Unfortunatly there is no quick
way to change order.
This change introduce new function ironic_configure_tempest that is
called from Ironic's devstack plugin. It updated flavor_ref and
flavor_ref_alt compute tempest options.
Change-Id: I85a77dd2193bac0ea4bd4fc1985c82d9f598b06b
These are defined in lib/ironic, so use them there instead of plugin.sh
to make the plugin a bit cleaner.
Change-Id: I0d536ad7ba9b4ff4473a973ea13100e924ee9ce5
This adds the actual devstack plugin, with a signal to devstack that the
plugin is in use, and devstack should not run the ironic code in the
devstack tree.
Note that this is not yet configured to run in the gate.
Change-Id: I147ea059f75720132dd82ff9e7cd3bfdff7fa584