Commit Graph

173 Commits

Author SHA1 Message Date
Monty Taylor 355f7090a6 Remove zuul v2 and jjb content
It's migrated, it can be removed now.

Depends-On: I6a89752d74ed7424267c3af3937ad01fb4bb8f86
Change-Id: Id67d0149b645bd23e460cef65719541f76f0967b
2017-10-24 08:50:05 +02:00
Monty Taylor b4fd783219
Remove unmatched single quotes from jenkins jobs
The v3 migration script can handle these just fine - but if we go ahead
and remove them the output can be predominantely shell rather than
script.

Change-Id: I440851a0149e1cc7f8c5c6e8a4e3e0b94088ee82
2017-09-20 09:27:26 -05:00
Julia Kreger bc100acfba Extend ironic timeouts
Ironic has been seeing [0] sporatic timeout failures where jobs
are timing out due to slow nodes where devstack is occassionally
taking upwards of 45 minutes to complete installation.

As such, we are extending the timeouts for our CI jobs in
order to reduce the number of timeouts and wasted resources
due to rechecks.

[0] http://logs.openstack.org/04/480904/9/check/gate-tempest-dsvm-ironic-ipa-wholedisk-bios-agent_ipmitool-tinyipa-ubuntu-xenial/7a790dd/console.html#_2017-08-07_15_09_57_236406

Change-Id: I2ccc9e86333d3e0a957c69ec73c00938c26f3942
2017-09-06 15:24:38 +00:00
Ramamani Yeleswarapu 02afd30dd5 Enable TLS in ironic gate jobs except grenade
This enables TLS in ironic gate jobs excluding the grenade jobs.

Here are the test patches for reference:
https://review.openstack.org/#/c/492664/
https://review.openstack.org/#/c/469837/

Change-Id: I9d1534cb63b6b26931212bb293278dd96c7ea809
2017-08-29 17:29:25 -07:00
Jenkins 0aac1b5759 Merge "Add an experimental job to test ironic boot from volume" 2017-07-25 18:19:23 +00:00
Hironori Shiina 3918eeb8ad Add an experimental job to test ironic boot from volume
A new job to configure and test ironic boot from volume to ironic
experimental job pipeline. This fix enables cinder services and run
a test for boot-from-volume as an experimental job.

Co-Authored-By: Derek Higgins <derekh@redhat.com>
Co-Authored-By: John L. Villalovos <john.l.villalovos@intel.com>
Change-Id: I3336492b45908ad5bf32657f9046bccbbb4dd642
2017-07-25 10:57:12 -07:00
Andreas Jaeger 4e5b851ff8 Use local_conf for heat and ironic
Use local_conf stanza where possible.

Also indent one job-template properly (use 4 spaces).

Change-Id: Ia25103505d276df53235096e7b9d196719bf8d5f
2017-07-15 19:17:51 +02:00
John L. Villalovos 6059f995ef ironic: Add DEVSTACK_GATE_IRONIC_INSPECTOR=1 for inspector jobs
Add DEVSTACK_GATE_IRONIC_INSPECTOR=1 for inspector jobs so that we can
use this variable in devstack-gate/test-matrix.py so that the
inspector services get enabled.

Change-Id: I8f5319d3decadb384aed186f3616c3c6f4fa4fe4
2017-07-12 11:12:10 -07:00
Pavlo Shchelokovskyy 2df080e27f Remove *_ssh drivers from all ironic jobs
as `*_ssh` drivers are about to be removed, use their `*_ipmitool`
counterparts everywhere.

Change-Id: I74e26943862018b2beecc0b53ba1fb0183a6adf1
Partial-Bug: #1570301
2017-07-06 11:15:13 +03:00
Pavlo Shchelokovskyy 331297230d Remove tempest-dsvm-ironic-pxe_ssh-{node} job
This job is not actually used anywhere anymore.

Change-Id: Id263d64b3ee5cb568720332bbc11a804f0a4e3e4
Partial-Bug: #1570301
2017-07-06 11:04:01 +03:00
Andreas Jaeger b0239e9055 Remove mitaka specific cases in jobs
Remove special treatment for mitaka in jobs where the repo has now
the stable/mitaka branch retired.

Change-Id: I1af11cf22c145bb96e93485460cca277287c88ca
2017-07-05 18:09:44 +02:00
Ramamani Yeleswarapu 0204bd9ef4 Run 'enable_plugin' in project-config for inspector's grenade jobs
IRONIC_DISABLE_DEVSTACK_PLUGIN was added some time back to grenade jobs
in project-config to disable devstack plugin because the grenade code in
ironic-inspector already enabled it.

This patch enables devstack plugin in project-config by removing
IRONIC_DISABLE_DEVSTACK_PLUGIN.

To prevent the gate from breaking due to devstack plugin being enabled
twice, a change was made to inspector's devstack/upgrade/settings that
performs a check to see if the ironic-inspector devstack plugin has already
been enabled and does the following:
  * If it has already been enabled it will not enable it again.
  * If it has not yet been enabled it will enable it.

This change was made to master, stable/ocata, and stable/newton branches of
ironic-inspector. All changes have landed.
https://review.openstack.org/#/c/474344/
https://review.openstack.org/#/c/476725/
https://review.openstack.org/#/c/478221/

Once this patch merges, we will propose a follow-up patch to
inspector's devstack/upgrade/settings which removes all the additonal logic and
enabling of the ironic-inspector devstack plugin.

Change-Id: If0ea2aa14fb2e6d0ee8dfcabb4c071afac2fe25a
2017-06-29 12:37:59 -07:00
Jenkins 96ab71498f Merge "disable swift for py3 enablement in ironic" 2017-06-01 07:56:10 +00:00
Dmitry Tantsur 5f020fb127 Build IPA ramdisk from source in ironic-lib jobs
ironic-lib is an important part of the ramdisk, so we need to rebuild
the ramdisk to test a change.

Change-Id: I81a0cc58530e33e5032f5a09a182bb87cef1b984
2017-05-31 09:56:31 +02:00
Nisha Agarwal cd0762f0a0 disable swift for py3 enablement in ironic
This patch disables swift services while bringing up stack
as s-proxy service fails to come up in py3.5 environment.
As of now it is being done only in experimental gate.

Change-Id: Ie44c1f0285783f1f36a9f56debd39b7976de690d
2017-05-24 22:27:56 -07:00
Lucas Alvares Gomes 03bd90bef8 Add sushy from source job
This patch is adding a non-voting job in the Sushy's gate testing the
changes against Ironic to make sure we won't break it.

Change-Id: Ic6315532101a2f21e4661f777fa9aece716db66d
2017-05-05 14:39:34 +01:00
Lucas Alvares Gomes 624b7f828a Add experimental redfish dsvm job for ironic
Related-Bug: #1526477
Change-Id: I0010f55ff2029e471a576e84ec051ead58c14b89
2017-05-03 12:21:54 +01:00
Andreas Jaeger 12109c64b1 ironic: Cleanup PROJECTS and DEVSTACK_PROJECT_FROM_GIT
DEVSTACK_PROJECT_FROM_GIT adds to PROJECTS, so no need to add an extra
version of repos to PROJECTS list, remove extra assignments.

Change-Id: Ia0a7bb1c41816e89d85aa4799b05ac579c87a9fa
2017-05-02 08:07:46 +02:00
Félix Bouliane 710f1aa3d0 Add ironic-pxe-snmp gate to virtualpdu
This prepare the terrain for integration of a new devstack plugin that
might break ironic.

Change-Id: I61c0f4d120974981c4655ab4be7309c0d76d21c8
2017-04-14 15:24:50 -04:00
Vasyl Saienko 30c96563d9 Increase concurrency for ironic jobs to 4
Nova has fixed issue with rescheduling [0] and it was backported to
Ocata [1].

This updates concurrency to 4 for the following jobs. The timing
benefits may be found in temp patch [2]

  * ironic-standalone: previous concurrency 2, approx exec 37-45min
                       current concurrency 4, approx 28-35min
  * ironic-multinode: previous concurrency 2, approx exec 81-83min
                      current concurrency 4, approx exec 59-80min
  * ironic-grenade-multinode: previous concurrency 1, approx exec
                              120-150min
                              current concurrency 4, approx exec
                              85-110min

[0] https://bugs.launchpad.net/nova/+bug/1671648
[1] https://review.openstack.org/#/c/446262/
[2] https://review.openstack.org/#/c/413499/

Change-Id: Ibda036f4542a84e26033adbc7268dbd2d37c20f5
2017-03-27 12:36:04 +00:00
Jenkins 8b0aae4490 Merge "Remove experimental ironic grenade multitenant single node job" 2017-03-15 09:51:20 +00:00
Jenkins 1965ba50e5 Merge "Run 'enable_plugin' in project-config for grenade jobs" 2017-03-14 15:54:29 +00:00
Varun Gadiraju 933523ce2a Run 'enable_plugin' in project-config for grenade jobs
IRONIC_DISABLE_DEVSTACK_PLUGIN was added some time back to grenade jobs
in project-config to disable devstack plugin because the grenade code in
Ironic already enabled it.

Unfortunately, subnode local_conf doesn't get updated when
'enable_plugin' is in the grenade settings file. We need to move
enablement of devstack plugin back to project-config to fix this issue,
which is accomplished by this patch.

To prevent the gate from breaking due to devstack plugin being enabled
twice, a change was made to devstack/upgrade/settings that
performs a check to see if the ironic devstack plugin has already been
enabled and does the following:
  * If it has already been enabled it will not enable it again.
  * If it has not yet been enabled it will enable it.

This change was made to master, stable/ocata, and stable/newton branches.
All changes have landed.
https://review.openstack.org/#/c/444335/
https://review.openstack.org/#/c/444944/
https://review.openstack.org/#/c/444950/

Once this patch merges, we will propose a follow-up patch to
devstack/upgrade/settings that removes all the additonal logic and
enabling of the ironic devstack plugin.

Change-Id: Idb9c556e7d2553c9f13e07077676fd7505bfb19c
2017-03-14 05:40:10 +00:00
Vasyl Saienko 50d14283b3 Remove experimental ironic grenade multitenant single node job
Remove experimental ironic grenade multitenant single node job in
favor of ironic grenade multitenant multinode job.

Change-Id: I87535b3908b80ff1a284fcdc270bc69fe2eee9e2
2017-03-10 20:53:24 +00:00
Vasyl Saienko eab17d1bfe Run ironic-api under Apache in ironic-standalone
Whith this patch ironic-api on ironic-standalone job is launched
under apache.

Change-Id: I6b3b936365b0ed6fda5dc7a1e8828e6cd1575951
2017-03-10 11:14:47 +00:00
Jenkins 1f2a05faaf Merge "Add pxe_snmp driver to list of enabled drivers" 2017-03-01 14:59:31 +00:00
Vladyslav Drok e4ed6e8ce7 Add pxe_snmp driver to list of enabled drivers
It is now validated in ironic that the driver that will be used
for deployment is in the list of enabled drivers. pxe_snmp is not
in this list by default.

Change-Id: I9b8f55c67b5a9bdee062b0821ba091ff6dff1b3b
2017-02-27 17:31:39 +02:00
Jenkins bf0bbfa4d6 Merge "Fix experimental job in ironic-staging-drivers" 2017-02-26 23:45:49 +00:00
Jenkins a21a24af94 Merge "Add grenade-ironic-multinode-multitenant experimental job" 2017-02-26 23:19:42 +00:00
Jenkins 3bbed9c086 Merge "Switch ironic python3 job to pxe_ipmitool driver" 2017-02-26 23:10:43 +00:00
Jenkins 14ff0019df Merge "ironic: Put initial GRENADE_PLUGINRC in ironic-vars-early" 2017-02-26 22:59:55 +00:00
Vasyl Saienko 9e85aa7ed3 Add grenade-ironic-multinode-multitenant experimental job
This patch adds an experimental grenade multinode multitenant job.

Change-Id: I0005e029198a4c65cfe1f764789fb5823b51b702
2017-02-24 22:03:41 +00:00
Jim Rollenhagen 59a463c3ac Switch ironic python3 job to pxe_ipmitool driver
agent_ipmitool depends on swift, which doesn't work on Python 3
yet. Switch the ironic python 3 job to pxe_ipmitool, which does
not need swift.

Change-Id: Ifa673729d19846e9b29718f1faff9df3c49bfa94
2017-02-22 10:05:08 -05:00
Pavlo Shchelokovskyy d55f08434b Fix experimental job in ironic-staging-drivers
the 'ironic-tempest-plugin' builder actually requires 'concurency' var
that was missing from the original commit.

Change-Id: I34c87b89c1d6f7b07cd79c595e2f904b5a77a33d
2017-02-21 16:17:36 -05:00
Pavlo Shchelokovskyy 9128dc669f Add experimental job for ironic's ansible-deploy
Ansible-deploy driver in ironic-staging-drivers is an alternative
implementation of baremetal deploy logic and does not depend on any
specific hardware, thus it can be tested in DevStack on gates.

This patch adds an experimental on-demand job for ironic-staging-drivers
project to test pxe_ipmitool_ansible ironic driver.
During devstack run the job will:
- setup devstack with ironic and agent_ipmitool driver for nodes and
  whole disk image as target user image in tepmest configuration
- rebuild a prebuilt tinyipa-based ironic deploy ramdisk from tarballs.o.o
  to be compatible with ansible-deploy driver and upload it to glance
  - ssh keys for new deploy ramdisk are created on the fly
  - the original image is not re-downloaded but fetched from glance
    as it is already present there
  - minimal interactions with Tiny Core Linux repos,
    only 2 packages are downloaded
- switch all ironic nodes' driver to pxe_ipmitool_ansible
  - set other driver info fields as required
- run standard ironic tempest tests including actual node deployment

Change-Id: If2bcecb6c4bc9271c8ccff1f5c2bbf6938a98f0c
Depends-On: Ief19ccb2711aed03ad0c4f4feee73edaa5c554c9
Related-Bug: #1526308
2017-02-14 13:32:04 +02:00
Jenkins 63467847fd Merge "Set deploy driver to fake for ironicclient functional job" 2017-02-09 12:20:37 +00:00
Vladyslav Drok 5adfd60b2c Set deploy driver to fake for ironicclient functional job
A new check was introduced in ironic devstack plugin ensuring
IRONIC_DEPLOY_DRIVER is in
${IRONIC_ENABLED_DRIVERS},${IRONIC_ENABLED_HARDWARE_TYPES} list.
By default it is pxe_ssh, explicitly set it to fake for client job.

Change-Id: Id84f51f81063d12c0af9e5396edc7a6ebfc0c1c8
2017-02-09 13:25:41 +02:00
John L. Villalovos 0dc86c9c29 ironic: Put initial GRENADE_PLUGINRC in ironic-vars-early
Put the initial GRENADE_PLUGINRC in ironic-vars-early so that way we
don't need to be as careful with ordering when creating a job.

For example this will allow the following to work:
    builders:
      - ...
      - ironic-grenade-multitenant
      - ironic-grenade
      - ...

Change-Id: Icb8e2c53b576db1dfe190157449e3783c2dff020
2017-02-08 13:45:06 -08:00
Vasyl Saienko ba989a9f65 Enable ngs upgrade for ironic-multitenant job
NGS - networking-generic-switch should be upgraded with Neutron in grenade
job. This patch adds networking-generic-switch plugin to GRENADE_PLUGINRC.

Change-Id: Ie621ee3d7b9f5bf2cd5b1ac342a6ba20d3a1137e
2017-02-07 14:49:20 +02:00
Vasyl Saienko 07e809e013 Update DEVSTACK_GATE_* vars for ironic-standalone
Update the following devstack-gate variables to pick correct values

  DEVSTACK_GATE_VIRT_DRIVER=ironic
  DEVSTACK_GATE_IRONIC_DRIVER=agent_ipmitool

Change-Id: Ie3068ea1e7219630b51ba9d896fcfab1703fb692
2017-02-02 20:29:27 +02:00
Vasyl Saienko 17c5302da3 Add missing parameters to ironic-standalone job
agent_* drivers require that swift temupurls are enabled.
This patch adds missing variables to local.conf:

  SWIFT_ENABLE_TEMPURLS=True
  SWIFT_TEMPURL_KEY=secretkey

Change-Id: I7ce1a439dee6680e4cb52535502de3416a5d7d86
2017-02-02 16:10:28 +02:00
Jenkins 3628ec1776 Merge "Add non-voting UEFI job for ironic" 2017-02-02 11:29:15 +00:00
Lucas Alvares Gomes e559aa6f5d Add non-voting UEFI job for ironic
The DevStack Ironic plugin now supports setting up nodes to boot in UEFI
mode. This patch is adding a non-voting job for Ironic to test it.

Change-Id: I2d3a5035afdff088758efba1b3c3930185ffae04
2017-02-01 14:07:05 +00:00
Vasyl Saienko 76d1f22679 Update experimental ironic-standalone job
* Add q-agt to enabled services
 * set deploy driver to agent_ipmitool: to configure devstack with
   tempurl support. pxe_ipmitool will work also.
 * disable automated cleaning: as tests for manual cleaning are
   added in initial commit.

Change-Id: Ia819bde912ff2997ae79eddee06f408202ff7d23
2017-02-01 10:20:49 +00:00
Vasyl Saienko 0ec0d07e42 Increase tempest concurrency on ironic-{multinode|standalone}
Increase tempest concurrency to 2.

Change-Id: I7ab993ec32f4d1c69b42f3221c0bffece3bef0c0
2017-01-30 10:46:45 +00:00
Vasyl Saienko b684f9bb8b Replace ironic-multitest job by ironic-standalone
Approach proposed in multitest job won't go, as it is take much time
near 5 min to unstack/stack ironic component. Also it is to complex to
save logs/configs after each test run.

This patch replaces ironic-multitest job with ironic without nova
installation.

Ironic standalone tempest tests will be launched in this job.
The work on standalone tests is started
Ic04b0f134e20d9937a610a14d7c4128f45738eeb

Change-Id: I8c49ebed09fce76873642ab6d71e228e8c174288
2017-01-24 20:26:42 +00:00
Jim Rollenhagen 648317cbcb Add experimental job to test nova custom resource classes
This configures an ironic CI job to run in the experimental queue for
nova and ironic. This job will cause ironic/nova to use the new
resource_class field and thus new resource tracking and scheduling for
baremetal instances.

Change-Id: I2316839d2e77ed824f97ecaeb5302c9a08aec9fc
Partial-Bug: #1647813
2017-01-23 10:10:52 -05:00
Jenkins e4e67ccab1 Merge "ironic: agent_* jobs require a partition type of wholedisk" 2017-01-23 10:15:23 +00:00
John L. Villalovos babfce595d ironic: grenade.*multitenant job use agent_ssh
Use the 'agent_ssh' deploy driver. This also requires using the
wholedisk image-type.

The multitenant tests do not currently work with 'pxe_ssh'. Switch to
using 'agent_ssh', like the current multitenant gate job.

Change-Id: I8e20bf7447068560736f6599ff16bb1e40d81208
2017-01-19 18:44:35 -08:00
John L. Villalovos 8b840fb69d ironic: agent_* jobs require a partition type of wholedisk
Update the
tempest-dsvm-ironic-ipa-partition-agent_ipmitool-tinyipa-python3 job
to use a 'wholedisk' partition type as that is required for agent_*
drivers.

Also remove quotes from agent_ipmitool to match the rest of the file.

Change-Id: Ic83f59e1cd159cf5e62ea069b7fb5f6431eb32fa
2017-01-19 16:11:52 -08:00