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
Ironic is needed to have libvirtd perms to manage VMs. When nova is
enabled all needed perms are granted in nova devstack plugin.
This patch ensures that stack user is added to libvirt group when nova
is not enabled.
Change-Id: If65002d775c9ff001f5a8e27ed1f6af1f8b4cf40
We are going to test both wholedisk and partition cases in single setup.
Download both partition and wholedisk images.
Change-Id: Ib6ee953e1a5f35ca80ed2b8196cfe668f413bf29
The logic of setting DEFAULT_IMAGE_NAME was moved to ironic
devstack plugin but original variable DEFAULT_IMAGE_NAME is
not set, while it is used by grenade.
This patch fixes setting DEFAULT_IMAGE_NAME in ironic devstack
plugin.
Change-Id: I245ca8acba14b550efe355e8a3afc8c81cdc4a23
In addition to the normal bare-metal console logs that devstack
generates, create a "no ansi" version of the log that will be easier to
view/parse when viewing the logfiles.
Change-Id: Ic321db38f694d82362a6b1be91f891a06fb18c11
Created a new Python module ironic.drivers.ipmi to contain all
supported IPMI-related drivers (both new and old).
Backward compatible aliases are left at old locations.
Change-Id: I526b8505d08b25b668af76d3fcd8f2feab31e420
Partial-Bug: #1524745
*_SSH driver is going to be deprecated, this patch change default
enabled driver list to fake,pxe_ipmool,agent_ipmitool
Change-Id: I5508ab8c11b3bbcee543f4e4d3587f5dd5ae430a
This patch is fixing the cleanup_nodes.sh script to take in account
undefining nodes with NVRAM set (UEFI mode). The --nvram option is now
being passed to the "virsh undefine" command, this will undefine nodes
with (and without) NVRAM set.
Change-Id: Idbc2d0d1765cad969e68544109bd44963cadc06c
Closes-Bug: #1659335
Inspector relying on this variables for devstack deploy
optimization, it uses same Ironic images for introspection,
as result there is no need to download images twice.
Change-Id: Idf5f61eb922480af2220d6e12c7668b0c756d813
Nested KVM has many benefits, but when it doesn't work it fails jobs.
This change defaults Ironic to using QEMU emulation, if someone wants
their local devstack to autodetect, they should set
IRONIC_VM_ENGINE="auto", or force KVM by setting
IRONIC_KVM_ENGINE="kvm".
Change-Id: I0367561ead972679250fc48d0f21b2c208e77e60
This should prove that the loading and registration of hardware types
works properly in CI.
Change-Id: I6cd50fd94fe1a6ca5304f907a662fcc7c52d8fd8
Partial-Bug: #1524745
This patch is adding support for DevStack to configure nodes and
environment (Ubuntu and Fedora) to deploy nodes in UEFI mode.
A new configuration called IRONIC_BOOT_MODE was added to DevStack and
supports two values: "bios" and "uefi". Defaults to "bios".
Partial-Bug: #1625616
Change-Id: I4e9247c6a91c707db08247a8ac04b1f146cd3714
we need to make sure before we bring up vlan interface on
"configure_ironic_provision_network:723" that OVS_PHYSICAL_BRIDGE is up.
otherwise we can fail (RTNETLINK answers: Network is down)
This issue discover on a unique configurations I run different biridges
for external network (PUBLIC_BRIDGE) and internal bridge
(OVS_PHYSICAL_BRIDGE) so devstack don't seem to bring up ovs bridge.
Change-Id: I80f29075cff47c96ac70c13717dcf13475065f83
This patch introduce new devstack variables to set min and max Ironic
API version to allow skip tempest tests.
TEMPEST_BAREMETAL_MIN_MICROVERSION
TEMPEST_BAREMETAL_MAX_MICROVERSION
Update release documentation.
Related-Bug: #1655888
Change-Id: Id6d36280f622549a2877aab99c11e4008af67fe7
This patch is moving the logic setting the default images from DevStack
into the Ironic tree. A TODO was left inline pointing out we can
refactor the logic there after we get this merged and the devstack code
removed.
Change-Id: Id828b41dc44113ce1cd094ce5fc245989699d4ff
Now all configuration are present in Ironic tempest plugin
and those are going to be removed from tempest in
Id518a6d87d0949737cd1c50cb6a83149b85e5f85
Currently devstack set those in tempest configuration, but it
will be good to move those to ironic devstack plugin.
If826321ebc0c20ea372d206d49383f3826c9b547 removes the same from
devstack.
Few are not moved as nobody use those or already deleted-
driver_enabled
deploy_img_dir
node_uuid
Change-Id: I73c649625d106fc7f068e12e21eaacba8f43cbbb
This reverts commit be6f34c3388365f93c84671f07af7a1cffb6efd8
Now that the openstack/nova commit
3c217acb9c55d647ca362320d697e80d7cfa5ceb has landed. The issue is now
fixed and we can revert this change.
Change-Id: I6729706b13d49a277a2f037ea7ef00211d4a4ca9
Related-Bug: #1651678
currently running bashate as part of pep8 check produces a warning
E043 - Arithmetic compound has inconsistent return semantics
This patch fixes that place.
Change-Id: Iae010d22740498ae78d45fcaa4e541c68b0a8b76
Configure some tempest settings depending on if running multitenant vs
flat-network.
Add setting of [compute]/fixed_network_name for the flat-network case,
as this is required to run tempest "smoke" test.
Starting with the Newton release, multitenancy is available with
Ironic. This patch sets tempest auth.create_isolated_networks=False and
network.shared_physical_network=True only when Ironic is deployed for
a flat-network.
Partial-Bug: #1646640
Change-Id: I9807014b739b7364502d403e7ce72763f5ea698a
Starting with Idede322190d57491d4f7e18090aa8c29b5b87353 base and target
releases has the same tempest config file. This patch drops setting
fixed_network_name in target tempest.conf workaround.
Change-Id: I661ace60bf9b4817f73aaccda9c18e24adfc4e56
This patch is making the $IRONIC_IMAGE_NAME less dependent on the full
name of the image in DevStack. We will need different images for the
UEFI work and this would break it so, let's make it a bit more smart.
Change-Id: Iac8668e9470bc151c10ea145d4394ba7ff7041d8
Got "libvirt.libvirtError" error when using "/usr/bin/qemu-kvm" on CentOS7.2.
CentOS 7.2 uses "/usr/libexec/qemu-kvm", this patch fixes it.
Change-Id: Icf2951701fddfac8e2f0641f6f555adb8a3c185b
Closes-Bug: #1649449
Prior to this patch, setting the CONF.debug to True in the ironic.conf
doesn't enable the debug logs in IPA. The user had to also append
"ipa-debug=1" to the CONF.pxe.pxe_append_params configuration option.
This patch is changing this behavior by making the CONF.debug option
reflect on the IPA logs as well. As I understand, IPA is just an
extension of the Ironic code that runs in-band on the node allowing
Ironic to access the local hardware. This way, in order to enable debug
as a whole the user only needs to set one configuration option.
The code in this patch checks if CONF.debug is set to True and also
check if "ipa-debug" is not explicit set in CONF.pxe.pxe_append_params
configuration - to not overwrite the user configuration - and only then
will append "ipa-debug=1" to it.
The "ipa-debug=1" kernel parameter was also removed from the devstack
lib because CONF.debug is always set to True there.
Change-Id: I675fb11248d3789d45cf5905b7c15368f026b345
Closes-Bug: #1649561
This is unwanted in tempest's plugin, bring it here instead.
Also add skip checks for our tests to skip the tests if ironic is not
enabled. This allows the plugin to be installed in a tempest
environment, without breaking if ironic isn't present.
Last, drop 'baremetal' from the test.services decorators used, as it is
no longer in tempest's service list, and we use the skip check mentioned
above instead.
Change-Id: I0b7e32dfad2ed63f9dd4d7cad130da39bc869a8a
Depends-On: Idede322190d57491d4f7e18090aa8c29b5b87353
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
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