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
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: I517cd40e6a1f029e60c51fcf1988486b1c37a012
to prevent breakages due to new Ansible versions, cap the installed
version to the latest known to work (2.3.x)
Change-Id: Id899837cf6a6a4fd476f01892a683d04213e0ca5
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)
Use default upper constraints in tox as of stable/ocata,
and use stable/pike as default branch for git review.
Change-Id: I537a731df702273d0184b02fa7532eaff8a167ba
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
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
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
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
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
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
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
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
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
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
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
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
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
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