Commit Graph

78 Commits

Author SHA1 Message Date
Riccardo Pittau d738df5aa0 Add df logs to metal3 integration job
Change-Id: Ic785cbc8d21e346ce4ddac13cd8d525d588c4682
2024-01-09 17:29:00 +01:00
Julia Kreger 3f77091c63 Enable OVN CI
Adds basic testing for PXE/iPXE boot secenarios where the OVN
DHCP service is used instead of dnsmasq.

Also adds a release note and documentation to cover the details
and caveats of using ovn as we have discovered through this process.

Change-Id: I28cd20a7f271220d8ca335895ca9e302452fd069
2023-10-03 14:24:34 +00:00
Riccardo Pittau 5268c50a78 Run metal3 integration with ironic-image from source
The metal3 integration job now builds the ironic container image
using the ironic code in the tested patch and run
metal3-dev-env with it.

Change-Id: I0f339ad6931264875b32e11dff79c02a252d04b1
2023-04-06 15:29:42 +00:00
Riccardo Pittau d0448ea200 Use main branch of metal3-dev-env to run metal3 integration job
Set libvirt domain to qemu for compatibility with openstack CI infra

Change-Id: Icf6dfa9603ec35c0b0527ac5358252cbb4842e6d
2023-03-21 11:06:57 +00:00
Dmitry Tantsur a6d87a608c Add a non-voting metal3 CI job
We'll use only one node as we're limited in resources but that
should suffice for a basic test.

Change-Id: I8e845d46ba0e13027aa1e628b0ad45eb24f9b387
2023-03-06 12:16:27 +01:00
Julia Kreger 8c95131d81 CI: Save routing table information for troubleshooting
Presently, we don't save the state of the routing table,
which means troubleshooting the ipv6 job failures is difficult
because we just have no way of knowing what is truly going on
with the traffic flow.

Possibly, we may be encountering a case where router
advertisements are overrriding route table entries, and
the only way to know is to see the final state of the table.

Change-Id: Ib15cd21e47e3b884bae2cb956f9113e73034391b
2022-07-20 11:02:39 -07:00
Ian Wienand 22b4f74690 ci-workarounds/get_extra_logging.yaml : avoid grep failure
If this grep doesn't match, the task returns a failure and it causes
the job to abort with POST_FAILURE.  I think more info is generally
helpful and you can always grep "netstat" on the file manually; thus
remove the grep to avoid suprious failure.

Change-Id: I189a0a8be25cb12e946d8ac58667b287f9698064
2021-07-29 16:39:19 +10:00
Julia Kreger d44b3b6fec CI: Collect a snapshot of network connections
A recent magnum bug (https://storyboard.openstack.org/#!/story/2008494)
when running with uwsgi has yielded an interesting question if Ironic
is orphaning rpc clients or not. Ironic's code is slightly different
but also very similar, and similar bugs have been observed in the past
where the python garbage collection never cleans up the old connection
objects and effectively orphans the connection.

So we should likely at least try to collect some of the information
so we can determine if this is the case in our CI jobs. Hence this
change and attempt to collect that data after running CI.

Change-Id: I4e80c56449c0b3d07b160ae6c933a7a16c63c5c5
2021-01-12 13:50:14 -08:00
Iury Gregory Melo Ferreira 1f0174bb41 Native zuulv3 grenade multinode multitenant
Based on the native 'grenade-multinode' job

Change-Id: I4d0a23c371bc42c5bf18e79ea7920bd77b066154
2020-09-16 23:33:42 +02:00
Riccardo Pittau df5bb921b8 Collect tftpd info from journald
This patch adds a post run playbook that collects info about the
tftpd daemon from journald to be available at the end of the
CI process.

Change-Id: I1dd11a8804b976e3abc42a43102c1b52fbe03f5a
2020-05-19 09:23:32 +02:00
Iury Gregory Melo Ferreira 90777c1277 Native zuulv3 grenade job for ironic
Based on the native 'grenade' job

Change-Id: Ia51b32a6499b5e1d37197e6d21556344a85d3b5e
2020-05-04 13:59:23 +02:00
Julia Kreger 1bb5e80ae4 Add ironic-python-agent-builder to grenade projects and use netboot
It appears that grenade now requires ironic-python-agent-builder
to be in the projects list in order for clone operations to take
place.

Also switch to netboot as the default boot option is local now.

Change-Id: Ibf66351137d9f4221c9c191b4d9a4b2272f0f516
2020-04-29 13:42:57 +02:00
Julia Kreger deca07de3c Signal agent token is required
The agent needs to be able to understand
if the agent token is supported and is a
mandatory feature of the ironic deployment
as that can alter some of the behavior of
the agent itself.

Also adds documentation on the subject for
administrators.

Story: 2007025
Task: 37821

Change-Id: Ic635e0ed6d378d6a34a4a82e66ca647eee33bc26
2020-03-20 17:26:51 +00:00
Julia Kreger d0d221361d Tell the multinode subnode and grenade to use /opt
It was changed on the primary node, but not the subnode
of the standard mutlinode job, and not updated on our
grenade job.

Changes subnode and grenade configuration to use it.

Change-Id: I8f67e3e3423e72944d22d65b788af5792ee900f9
2019-12-17 06:10:35 -08:00
Iury Gregory Melo Ferreira 2c6722199f Switch legacy jobs to Py3
Our legacy jobs were running on py2.7, let's switch to py3
before dropping py2.7

Change-Id: I60a7e8ae62543304cff87eeb3c7006444899a2d2
2019-11-13 13:44:50 +01:00
Dmitry Tantsur 3dfce5f2de CI: stop using pyghmi from git master
It's just a library we consume, there is no reason to use its
git head. Currently 1.4.0 is breaking us.

Story: #2006301
Task: #36014
Change-Id: Ib1b1e32bc60d7ec271098dcd17086f79518c09df
2019-07-29 17:52:49 +02:00
Julia Kreger bda02c43fb Direct bridge to be setup
The multinode jobs are failing because the br-infra bridge
is not being setup. It is not being setup because somewhere
in the infra, the multi-node-bridge role is never established
as a requirement. Realistically, only ironic does this, but
we need to ensure it is present.

Change-Id: Ia1dcc68d7e75a931e01829ce23da36c978a70765
2019-04-23 16:47:24 +00:00
OpenDev Sysadmins d0e6c6cb10 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:40:53 +00:00
Ian Wienand 228dfe308a Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ie1be8a026e88eba235bce29fe0504e35e03afe8e
2019-03-24 20:33:50 +00:00
Derek Higgins d6c9d6caed Replace use of Q_USE_PROVIDERNET_FOR_PUBLIC
This is being removed from devstack in
I23e1b98bd2839b79226b55700ee404a8fda83f83

Change-Id: I81b8cc348900837b876216065d7a2bf4a3665b8b
2019-01-18 13:26:03 +00:00
Zuul 5e0496ceb3 Merge "Change multinode jobs to default to local boot" 2018-12-06 15:45:41 +00:00
Zuul b2c78d74cd Merge "Slim down grenade jobs" 2018-12-06 15:35:38 +00:00
Julia Kreger 2f991522e7 Change multinode jobs to default to local boot
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
2018-12-05 10:21:38 -08:00
Julia Kreger 74ea2bdf5a Slim down grenade jobs
As we can't extend our grenade job timeout past 3 hours,
and we have some fairly log running jobs, that essentially
means we need to find time that is not absolutely necessary
in the entire test run in order to reduce load.

Disabling cleaning for the grenade tests as well as
setting a regex for the basic server ops as opposed to
basic network ops which can take as much as 3x the amount
of time that the basic test takes.

Change-Id: Ib795e6dc3ad1f484f79bee81a5bcfdb8c3434fa1
2018-11-29 10:52:06 -08:00
Derek Higgins c67b46e350 Switch ironic-tempest-...-tinyipa-multinode to zuulv3
And rename to ironic-tempest-dsvm-ipa-wholedisk-direct-tinyipa-multinode

Change-Id: I6ab7bfa0343e0c8df5814d26e62864f3c66cf7b1
2018-11-19 16:30:45 +00:00
Matt Riedemann a77abba198 Revert "Add openstack/placement as a required project for ironic-grenade*"
This reverts commit e1272cb19b.

This is handled generically now with this change and its dependency:

  https://review.openstack.org/#/c/606853/

Change-Id: I8fff93c920bc39202fa12cbff612005cf1339865
2018-10-24 08:47:51 -04:00
Zuul d2c9bba6f9 Merge "Switch ironic-tempest-dsvm-functional-python3 to zuulv3" 2018-10-04 17:02:02 +00:00
Zuul f60de6433e Merge "Switch ironic-tempest-dsvm-functional-python2 to zuulv3" 2018-10-01 15:20:52 +00:00
Matt Riedemann e1272cb19b Add openstack/placement as a required project for ironic-grenade*
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
2018-09-30 11:48:17 -04:00
Derek Higgins f34799b3fa Switch ironic-tempest-dsvm-functional-python3 to zuulv3
Change-Id: Ib9d79e4b9ce770b1eb7e572dffe704e4f3568611
2018-09-25 10:54:09 +01:00
Derek Higgins 86e9c7e0f9 Switch ironic-tempest-dsvm-functional-python2 to zuulv3
Change-Id: I01fadd61b0469512f512026c81f5ce782a3c6dd5
2018-09-25 10:54:05 +01:00
Derek Higgins e63360caf2 Remove ironic experimental jobs
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
2018-09-24 12:12:52 +01:00
Derek Higgins 9a01311944 Switch ironic-tempest-dsvm-ironic-inspector too zuulv3
Change-Id: I666407340eae5396069697ef026b66c43dc54ec9
2018-08-10 13:02:37 +01:00
Derek Higgins e1ab512274 Switch ironic-tempest-dsvm-bfv too zuulv3
Change-Id: I6a70780f77a4c6a806b81deea600ac4b551a1bd2
2018-08-10 13:02:37 +01:00
Derek Higgins 253ce25ef2 Switch ironic-tempest-dsvm-ipa-partition-pxe_ipmitool-tinyipa-python3
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
2018-07-31 09:20:35 +01:00
Derek Higgins 90f7a89016 Switch ironic-tempest-dsvm-ipa-partition-uefi-pxe_ipmitool-tinyipa
Switch ironic-tempest-dsvm-ipa-partition-uefi-pxe_ipmitool-tinyipa
to zuulv3 native

Change-Id: I5235edb4e0e98d255fa4787493c96ffcf7c8b33a
2018-07-26 10:35:41 +01:00
Derek Higgins 7ea0ff45bd Switch ironic-tempest-dsvm-ipa-wholedisk-bios-pxe_snmp-tinyipa
Switch ironic-tempest-dsvm-ipa-wholedisk-bios-pxe_snmp-tinyipa
to zuulv3 native.

Change-Id: I0daef9b62cedc5de50d5b51d6ae79046160750d1
2018-07-26 10:35:30 +01:00
Derek Higgins d11700c3e9 Switch ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa
Switch ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa to zuulv3 native

Change-Id: I343c05727dbd1fd06f3a2c2beb1b7d6fe8d218bf
2018-07-26 10:35:20 +01:00
Derek Higgins 0b87e6140b Switch ironic-tempest-dsvm-pxe_ipmitool-postgres
Switch ironic-tempest-dsvm-pxe_ipmitool-postgres to zuulv3 native

Change-Id: I618f11871258b9052eea725325656a05b2cb7478
2018-07-26 10:35:01 +01:00
Dao Cong Tien dd4a4d4111 Update CI jobs for rescue mode
Sets rescue interface to 'agent' for testing rescue mode in most jobs.
The rescue mode is tested in test_baremetal_server_ops.

Also adds support for the new config option in ironic tempest plugin
default_rescue_interface.

Story: #1526449
Depends-On: I6b62724711ddbe17b59dad30283e544272d9c1f3
Change-Id: Ica26aa96978d22a681d69e7e1e4acd72182a4981
2018-07-12 16:13:02 -07:00
Derek Higgins b61ebd4015 Switch ironic-tempest-dsvm-ipa-partition-redfish-tinyipa
Switch ironic-tempest-dsvm-ipa-partition-redfish-tinyipa
to zuulv3 native

Change-Id: I3f993e7e872b4b57556413c94502ce7df235b0e2
2018-06-29 15:56:38 +01:00
Derek Higgins f8163fab38 Switch ironic-dsvm-standalone to zuulv3 native
Move ironic-dsvm-standalone away from using the legacy
format converted fromt the project-config repository.

Also enables 3 more tempest jobs(BaremetalAgentIpmitool*)
that were being skipped as agent_ipmitool wasn't configured.

Change-Id: Ic01bf1849620c6d095f130e445c92888548d00c5
2018-06-29 15:56:35 +01:00
Dmitry Tantsur 1a07137118 Remove the ipmitool classic drivers
This change removes pxe_ipmitool and agent_ipmitool. Some tests
and documentation bits are removed, since we no longer have any
classic drivers to provide examples.

The Inspector.create_if_enabled method is no longer used and was
removed. The [inspector]enabled option will be deprecated in
a follow-up.

IRONIC_ENABLED_DRIVERS is removed from devstack to prevent
devstack-gate from injecting the removed drivers into it.
A temporary migration from queens is updated to disable all
classic drivers. It will be removed when the enabled_drivers
option is completely removed.

Change-Id: Iab247e3b3336f90446ef0687edb340cf8282a925
2018-06-27 13:08:42 +02:00
Zuul f55a39989d Merge "Consolidate the setting of ironic-extra-vars" 2018-06-13 11:13:54 +00:00
Zuul 0fdd8c3195 Merge "Remove dulicate uses for zuul-cloner" 2018-06-13 10:59:02 +00:00
Zuul 30a9872cf6 Merge "Remove the "fake" and "fake_soft_power" classic drivers" 2018-06-09 00:53:27 +00:00
Derek Higgins 500ca21046 Consolidate the setting of ironic-extra-vars
Only use a single shell task to set ironic-extra-vars in each playbook. In
the old project config directory these sections had names like
"ironic-deploy-with-IPA", "ironic-ipxe-disabled" ... but the names have been
lost so keeping them seperate make no sense.

Change-Id: I06176a1cb4a213670b04c5a0e7d8d4a1f3ee94e7
2018-06-07 11:32:29 +01:00
Derek Higgins a64e119d1f Remove dulicate uses for zuul-cloner
No need to have this code duplicated in each job.

Change-Id: I5dae53962c0ab6ff1e4fa8c6d800abd12b293940
2018-06-07 10:23:02 +01:00
Dmitry Tantsur d95197628c Remove the "fake" and "fake_soft_power" classic drivers
The grenade configuration is updated to disable the fake driver.

Change-Id: Ica2b466a1a22ca2e5d1362377692cc39ef53ce2c
2018-06-06 16:15:49 +02:00
Dmitry Tantsur 2e7b2bad5b Stop using pxe_ipmitool in grenade
Change-Id: I1673d0adf1128ef65aac7c89fa9b321449156217
2018-06-05 15:37:22 +02:00