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
The ironic-standalone job is failing because the most recent IPA
image has only python3 and ansible uses python 2 as default
interpreter, resulting in a /usr/bin/python not found error.
Marking ironic-standalone non voting and removing it from the
gate until we can run ansible with python3 on remote machines.
Change-Id: I56768d7c8a577f267172de02d77e2cc2ead785ad
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
This is a follow-up from I96a96a9d6f23f02f9f49c962f183e8c5ca78e048
Removing the duplicated jobs after we have the patches for other
repositories merged.
Also we have refactor the jobs so we can use ironic-base in other
repositories jobs to avoid unnecessary code duplication
Depends-On: https://review.openstack.org/#/c/629494/
Change-Id: Icd4a486f176c8d7dbd78426c39097c169f27c0ae
According to [1] the dsvm should be removed from zuulv3 jobs
[1] https://docs.openstack.org/infra/manual/drivers.html#naming-with-zuul-v3
Duplicate jobs to avoid break the gate in other projects like:
- ironic-tempest-plugin, ironic-inspector, nova, neutron, devstack
Change-Id: I96a96a9d6f23f02f9f49c962f183e8c5ca78e048
This supports ext4 partitions with metadata_csum(as created
by ubuntu bionic by default).
Also Using it with the e1000 virt driver cirros sees the nics.
This allows us to remove 2 of the special cases we had inserted
when the CI jobs were switched to bionic.
Change-Id: I68165110dd57ed314cbc29430f84ff5092065d38
Story: #2004604
Task: #28570
Task: #28499
The version if qemu-ipxe on bionic doesn't attempt
to network boot when using virtio-net.
Change-Id: I335a2a0a8a82bb43a06202f96e629aa72d10cfac
Story: #2004604
Task: #28498
Switch back from bionic to xenial while we sort
out the various priblems in CI
Change-Id: Ie7341654077273f0dd3a682449c3c61fcffee5c8
Story: #2004604
Task: #28497
When validations occur, we raise an exception internally
which can lead to confusing and misleading log messages
when whole disk images are utilized with the standing
default of network booting on neutron.
We've long discussed changing it, so why not start.
Change-Id: I68bb1b9bf8c14ba686eb1c9d2755badf84481f91
On slower nodes, sometimes Ironic can take up to ten
minutes for the deployment to complete. The downside is
that the tempest build timout is set to ten minutes.
In order to reduce the number of erronious failures
and rechecks, extending the timer to 12 minutes which
should provide enough time for the deployment to complete
to tempest's satistfaction.
Change-Id: Ie883d641d0951cb148e8cfb812b9607fa77ddb4b
We don't need to test cleaning with some of the integration tests
where ultimately we are only testing a slightly different scenario
with an unrelated code path.
Change-Id: Ic7825a12763c07956e812fe509c455989868590d
We already broke openstacksdk CI with our changes once, and now we
broke it again with an ironic-inspector change. Let us add a job
to add coverage for bifrost and openstacksdk code paths.
Start non-voting since our CI is already a bit unstable.
Change-Id: I1277b52067efbfcc4119b60678f356397a82166c
Depends-On: https://review.openstack.org/618726
This now appears to need more then the bios jobs. A recent
update to one of the components of the tiny IPA image appears
to have increased the requirements.
Change-Id: Ia38ab45d0b1d7f7c57a2be71cf290de02ab86e6f
Story: 2004355
Task: 27954
As Nova's CI jobs can call the ironic-tempest-dsvm-bfv job,
it seemed to only make sense to keep that job name and have it
leverage the ipxe boot interface instead.
The newer named job, ironic-tempest-dsvm-ipxe-bfv only exists
in the ironic repository according to codesearch.openstack.org.
This removes one un-necessary check in the ironic check gate.
Change-Id: I55bd2e7e5fa5d10ca6ed3093ebabf7dc3be07fb9
This reverts commit e1272cb19b2d8d5fc660f3f81de72058c1b96e13.
This is handled generically now with this change and its dependency:
https://review.openstack.org/#/c/606853/
Change-Id: I8fff93c920bc39202fa12cbff612005cf1339865
A long time ago, in a galaxy not so far away,
the ironic comunity reached consensus that we
should refactor the PXE interface such that we
had separate PXE and iPXE interfaces.
In looking at what it would take for something like
a standalone deployment to have multiarchitecture
support in their environment, it seems even more
urgent and necessary that we begin to make this
delineation. This is because while some ARM iPXE
support exists, the binary is not a commonly
shipped artifiact, so operators are largely
only left with grubaa64.efi as their bootloader.
A similar issue exists with ppc64le deployments
where they must disable iPXE, as the ppc64le
hardware expects reading a syslinux compatible
file, similarlly no iPXE loader exists.
To start this effort, we need to promote iPXE
functionality to a dedicated interface,
and remove the necessity of setting the
[pxe]ipxe_enabled setting.
Next steps, beyond this patch, would be to
begin to tease out the common private method
code in the underlying PXE interface that both
the iPXE and PXE interfaces use, and appropriately
relocate and refactor that code as necesary.
During this process, we can create an [ipxe]
configuration section, and migrate settings.
Finally, once the deprecation cycle is complete,
we will be able to remove the ipxe logic with-in
the PXE interface.
Change-Id: I392616417c48986e84e50a3ddc7567344bfe3571
Story: #1628069
Task: #10516
In order to get openstack/placement installed as part of the
ironic grenade jobs, we have to list it as a required project.
Needed by https://review.openstack.org/604454/
Change-Id: I3922ef15ef8b4517f653a37ca137ba30c8ca5643
These have existed since the jobs were migrated into
this repository (almost a year). They don't currently
work and I don't think they are being worked on, so
remove them to avoind trying to port them to zuulv3
native jobs.
Change-Id: Ied056b91d78b5644ac5d87020325b65af1d86ff4
Small cleanups:
* Use openstack-tox-cover template, this runs the cover job
in the check queue only. Remove individual cover jobs.
* Use openstack-lower-constraints-jobs template, remove individual
jobs.
* Sort list of templates
Change-Id: I36081bfcc9e4cd393110c3fb6027048d57f925ad
This template is only used on older branches and should not have been
imported, remove it again. It should stay in project-config.
Change-Id: Icdaa0f7102074be97e73d4361387084ec4bf5ae1
Currently direct deploy only works if temp urls are enabled or if a
HTTP image URL is given. This patch enables Ironic to serve images
directly from the conductor's HTTP server to the agent so that we can
enable agent deploy with out temp urls.
This also has the added benefit for standalone that the conductors will
cache the HTTP URL images and serve them into the provisioning network
meaning the provisioning network has no need for connectivity to the
outside world.
Story: #1598852
Task: #24639
Co-Authored-By: Kaifeng Wang <kaifeng.w@gmail.com>
Change-Id: Iae6798616f29d876b274d9e0b44a1eb0f24e1747
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Ie32ae736784a1f2617cbe4a31f8131d2f5e34a60
Story: #2002586
Task: #24302
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I66427df9182973328fa13b29dd580b67814baf8b
Story: #2002586
Task: #24302
Switch ironic-tempest-dsvm-ipa-partition-pxe_ipmitool-tinyipa-python3
to zuulv3 native.
Also ensure phygmi and virtualbmc are always installed with python2
as pyghmi is still not compatible with python3.
Depends-On: I413ea7ec5db3316f985c38900aa46b8cdfd5d138
Change-Id: I11ad26c354bcbc2a0ed8e2bc78c9403dbcf85326
These lists are not merged with their parent, so need to
be complete. The list for the legacy standalone job was
slightly different to the others.
Change-Id: I15ada31e78697f6f4403fef09d5d261fd9fd337f
The new CI DSVM wrappers with zuul lack passing
a BUILD_TIMEOUT, thus the default value of 196
seconds is taking effect in devstack.
Explicitly setting to 600 should improve CI reliability.
Change-Id: If39f33d4f5e8e649729ecc9e5be33f9529d7b488