Commit Graph

86 Commits

Author SHA1 Message Date
OpenDev Sysadmins 343e1ba364 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:51:42 +00:00
Ian Wienand 45e7ed7c03 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: I3b2b65d0680496fec8a4bf6768fd2775cbc214b0
2019-03-24 20:33:55 +00:00
James E. Blair b31a95b9ef Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I517cd40e6a1f029e60c51fcf1988486b1c37a012
2018-01-27 13:56:53 -08:00
Pavlo Shchelokovskyy d5bd360bc6 Use ironic-tempest-plugin for ansible-deploy job
tempest plugin in ironic tree is about to be removed

Change-Id: I6283db5203b28bbb7a8194cbee02c343d4d00a3d
2017-12-19 09:20:31 +00:00
Zuul 14e71494a3 Merge "Cap Ansible version" into stable/ocata 2017-12-04 17:24:33 +00:00
Pavlo Shchelokovskyy c0c36533ed Cap Ansible version
to prevent breakages due to new Ansible versions, cap the installed
version to the latest known to work (2.3.x)

Change-Id: Id899837cf6a6a4fd476f01892a683d04213e0ca5
2017-11-09 16:05:44 +02:00
Pavlo Shchelokovskyy 84eb4fbf28 Migrate Zuul3 jobs in tree
some places (apart from job names) were changed compared to what's
in openstack-zuul-jobs currently, mostly added/changed irrelevant-files,
and refactored to have a base dummy job to define common things.

Change-Id: Iff64438857e0947db1154645f6e2e964b38593c6
(cherry picked from commit 14763cc9c4)
2017-11-09 12:46:21 +02:00
Pavlo Shchelokovskyy dff9cdfc33 Pin ironic and constraints to stable/ocata
Use default upper constraints in tox as of stable/ocata,
and use stable/pike as default branch for git review.

Change-Id: I537a731df702273d0184b02fa7532eaff8a167ba
2017-08-31 09:18:28 +00:00
Pavlo Shchelokovskyy e4537236d2 Fix unit tests for stable/ocata
install ironic from stable/ocata branch for unit tests

Change-Id: I7a2039705c054c6d3d5c5a24013bdbab9c9f5917
2017-06-23 12:41:17 +03:00
OpenStack Proposal Bot 65ef553934 Updated from global requirements
Change-Id: I591df50eaf66a7fec9ecbe83f462ce0e741462c8
2017-05-15 23:31:16 +00:00
OpenStack Proposal Bot 2cb3648467 Updated from global requirements
Change-Id: I6b6958965c073b566c6e3e413caf26c36c1a931e
2017-03-09 18:14:40 +00:00
Pavlo Shchelokovskyy 961240213b Enable testing of particular staging driver
Allow switching the ironic nodes in DevStack to one of staging drivers.
This will enable running standard ironic tests against this driver
on a gate job.

Currently only pxe_ipmitool_ansible driver is handled,
as it can in priciple be tested on gates with virtual HW.

Change-Id: Ief19ccb2711aed03ad0c4f4feee73edaa5c554c9
2017-02-13 17:44:23 +00:00
Pavlo Shchelokovskyy afb682bf54 Re-use tinyipa image for ansbile-deploy
It is possible to rebuild the pre-built tinyipa image available
at tarballs.openstack.org to make it usable with ansible-deploy driver.

The rebuild is rather fast, and only downloads 2 packages from TC mirrors
(SSH server and dependencies).

Change-Id: Ie39ce67dc93e7d53bf75937c7defacafad5fbfcf
Related-Bug: #1526308
2017-02-13 16:39:34 +00:00
Jenkins d0b8994d51 Merge "Remove py34 env from tox" 2017-02-13 12:39:10 +00:00
Jenkins ff540ca131 Merge "Removes unnecessary utf-8 encoding" 2017-02-13 12:39:01 +00:00
Zhenguo Niu e594bc52a9 Remove py34 env from tox
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from ubuntu Trusty to Xenial, where only python 3.5 is
available. There's no need to continue to keep it.

Change-Id: Iad33f7e1781432e17104d165aba377b7a6a40b1c
2017-02-09 11:11:30 +08:00
OpenStack Proposal Bot d641357ba1 Updated from global requirements
Change-Id: I82fb2a57e18883d55bee7e1d7e95bd367bc513c5
2017-01-24 12:10:25 +00:00
Jenkins cf29fd0515 Merge "Overrides get_supported_power_states() for WOL Power" 2017-01-24 11:44:34 +00:00
Naohiro Tamura 6e1f825bd2 Overrides get_supported_power_states() for WOL Power
This patch overrides the default implementation of
get_supported_power_states() in the base power I/F for WOL Power.
The get_supported_power_states() is newly introduced in the base power
I/F to support SOFT_REBOOT and SOFT_POWER_OFF functions.

Change-Id: I4b46ebbbe8a976c382adb9e062c32d8670a15670
Partial-Bug: #1526226
Depends-On: I1c9bbd1f11f6a8565607c874b3c99aa10eeb62a5
2017-01-17 11:09:46 +09:00
M V P Nitesh c55f6ebea8 Removes unnecessary utf-8 encoding
Change-Id: I02509b6adbe77b83202d45ffdb2f9842eb56253c
2017-01-11 19:44:36 +05:30
Jenkins aa31cbe8c8 Merge "Fix issue with /etc/hosts in ansible element" 2017-01-11 13:26:31 +00:00
Jenkins a8edd3de65 Merge "Remove duplicated 'md5'" 2017-01-11 11:13:35 +00:00
OpenStack Proposal Bot 953d9e9a06 Updated from global requirements
Change-Id: I00b1ecb6158f2c89fd0aac3dbaa499e604ba7d95
2017-01-11 10:27:49 +00:00
Jenkins 9c453ded6f Merge "Fix the 'cover' tox env" 2017-01-11 10:20:55 +00:00
Andrey Shestakov cba800da55 Remove duplicated 'md5'
Hash algorithm should be specified by user in image_checkusm parameter.
If not specified, 'md5' sets by default in deploy.py. Additional 'md5:'
is duplicated in playbook, which causes fail with error:
"md5:md5 checksums are not supported"

Change-Id: I693023cd8e226a5e8ba84c3672dfe6f5a65b9f8a
2017-01-05 13:37:20 +02:00
Pavlo Shchelokovskyy c3f02d1d2f [ansible] fix some places for Ansible 2.2
Changes include:

- callback plugin - fixed for Ansible 2.2

  Apparently now `eventlet.monkey_patch()` breaks Ansible,
  and since it is implicitly executed on any import from ironic package,
  it breaks the callback plugin and the whole ansible-deploy driver
  when using Ansible 2.2.
  Instead, just copy-paste those several lines of code explicitly
  into callback plugin module or use them from ironic_staging_drivers
  code.

- ansible.cfg - add interprocess polling interval option.

  Increasing it should decrease CPU load generated by each
  ansible-playbook invocation and improve ironic-conductor performance
  for parallel deployment of nodes with ansible-deploy driver

- in-memory inventory playbook - changed add_host module args to
  correspond to Ansible 2.x

Change-Id: I365a82cd3592a7669599fe84674ca4abab8f576f
Closes-Bug: #1652326
2016-12-23 16:52:18 +02:00
Andrey Shestakov 841c18e7eb Fix issue with /etc/hosts in ansible element
Ansible require valid hostname in /etc/hosts file.
This file does not exists in ubuntu-minimal Xenial, which causes build fail.

This change ensures that /etc/hosts file exists and has required content.

This change requires dib > 1.25.2 (or current master branch).

Also, move openssh-server from package-installs to element-deps,
as there is a separate element for that.

Change-Id: I5ff78cf6591ef2228a3695d91d8b2c2095fc28b3
2016-12-20 13:27:43 +02:00
Pavlo Shchelokovskyy b20420ea4e Fix AMT unit tests
AMT drivers recently were removed from ironic,
but some unit tests for AMT driver in ironic-staging-drivers still try
to use AMT-specific exceptions from ironic package instead of from
ironic-staging-drivers.

This patch changes affected places to use those exceptions from
ironic_staging_drivers.common module.

Change-Id: I7982cd8043a0508df6e26b8ef75738b7d3a82ee7
Closes-Bug: #1651069
2016-12-19 11:22:50 +02:00
Jenkins e70eb23225 Merge "Use upper constraints it tox envs" 2016-12-15 10:57:30 +00:00
OpenStack Proposal Bot 248b89e026 Updated from global requirements
Change-Id: Ib05c819d2bfb36eedbe9173c990c2ab54b49652d
2016-12-15 01:25:18 +00:00
Pavlo Shchelokovskyy 7b3e177723 Fix the 'cover' tox env
currently tox env for code coverage does not measure anything
as it tries to measure the coverage of 'ironic-staging-drivers' package,
while the actual package name is 'ironic_staging_drivers'.

This patch:
- erases current coverage data first
- fixes project name expected by 'coverage'
- adds coverage reporting in the end of 'tox -ecover' run
- omits tests file from both coverage and report
- adds 'cover' to .gitignore (auto-generated as part of coverage report)

Change-Id: I0044e3dd399934be706a06fd921972632efcceea
2016-12-14 20:09:43 +00:00
Jenkins c97f1924ee Merge "Add py35 to default tox targets" 2016-12-13 15:55:01 +00:00
Pavlo Shchelokovskyy b287acfbd4 Use upper constraints it tox envs
Currently unit tests are broken due to upstream kombu/amqp changes.

Change-Id: Id71e2060139bf7de45f838bc87513dbfab04f21f
Related-Bug: #1638263
2016-12-09 16:11:03 +02:00
Pavlo Shchelokovskyy a4c2924b6a Add py35 to default tox targets
Ubuntu Xenial comes with Python 3.5 out-of-the-box,
and both ironic and ironic-staging-drivers are already gating against
py35 unit tests.

Change-Id: Ie1728d90b9eada194ae65aca15be5238edfa4ebc
2016-12-06 14:22:29 +02:00
Pavlo Shchelokovskyy fd7a07f981 Remove agent vendor passthru from drivers
Agent lookup/heartbeat as vendor passthru interface is deprecated and
is being removed from Ironic.

This patch updates all the drivers in ironic-staging-drivers to not rely
in this functionality.

Change-Id: Idfcfdff6a8657d6e6f09b8fe85ebaa0251969955
Related-Bug: #1640533
2016-12-06 12:21:19 +00:00
Vladyslav Drok 9de213f26f Change cleaning methods to use network interface
As part of the commit a9a1293312ca67c5e5dbb258146832516a41e939
to ironic, prepare_cleaning_ports and tear_down_cleaning_ports
methods from deploy_utils module were removed. This change
replaces their usage with network interface's add_cleaning_network
and remove_cleaning_network methods.

Closes-Bug: #1644874
Change-Id: I139c6284f93a63fbd5a02eef18610c7df236d2db
2016-11-25 19:49:25 +02:00
Jenkins 897c5d3005 Merge "Add DIB element for ansible-deploy driver ramdisk" 2016-11-16 13:16:13 +00:00
Jenkins 2963fa750d Merge "Add documentation for ansible-deploy driver" 2016-11-10 10:12:03 +00:00
Pavlo Shchelokovskyy 209e6a4da6 Add documentation for ansible-deploy driver
Change-Id: Ieb61ccda30cc31434ffe3a0ec7d1a85ca0f7988f
Related-Bug: #1526308
2016-11-09 14:49:25 +00:00
Pavlo Shchelokovskyy 6aae875ed4 Add DIB element for ansible-deploy driver ramdisk
Based on:
- `ironic-agent` element and uses IPA for lookup/heartbeats
- `devuser` element to set user name, permissions and SSH keys.

Additionally:
- ensures OpenSSH is installed and configured properly
- correctly sets hostname to avoid some Ansible problems with elevation
- overrides DIB_DEV_USER_PWDLESS_SUDO to always be "yes"

Ironic callback functionality requires Ironic API >= 1.22.

Change-Id: I3f6c3baf0197d27f2d423f52611666ca186cd0a4
Related-Bug: #1526308
2016-11-08 12:31:06 +02:00
Jenkins a634d43e8c Merge "Don't log success cleaning if ansible fails" 2016-11-04 12:31:08 +00:00
Jenkins 6dec9ea6c7 Merge "Enable release notes translation" 2016-11-04 12:19:34 +00:00
Anton Arefiev 52dac91217 Don't log success cleaning if ansible fails
If ansible fails cleaning, it's log "Ansible completed cleaning ...",
the reason - missing 'else' statement.

Change-Id: I418012daeb7377b3dad983bb17e06317b623bb22
2016-10-20 16:23:50 +03:00
Jenkins 6718d638eb Merge "Add docs for Intel NM vendor passthru driver" 2016-10-10 11:10:38 +00:00
Pavlo Shchelokovskyy c82b63c423 Add docs for Intel NM vendor passthru driver
Change-Id: I917176d90ba4aacb73a18eff46863716ff8a14e8
2016-10-10 13:40:28 +03:00
Andreas Jaeger cfb90b9a00 Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.

Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.

Change-Id: I260e6d906e9bfac28523bb3a93d4d598f8a3d169
2016-10-06 20:27:58 +02:00
Jenkins b0b3dccc9a Merge "Cleanup tox.ini: Remove obsolete constraints" 2016-10-03 12:44:03 +00:00
Jenkins 9337381ca7 Merge "Add Ansible-deploy driver" 2016-09-27 13:06:32 +00:00
Pavlo Shchelokovskyy 21df4aec85 [Docs] give example of dev libvirt pkg name
as examples, point to appropriate names for Ubuntu and Fedora.

Change-Id: Icaa81a250220d2a26bdcc02886c25247fcf91884
2016-09-19 21:33:36 +03:00
Jenkins 7bfbfcf5fa Merge "Add docs for libvirt driver" 2016-09-19 17:48:10 +00:00