Commit Graph

166 Commits

Author SHA1 Message Date
OpenDev Sysadmins 546ceca9cf 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:43 +00:00
Zuul 91ef910c4a Merge "Migrate jobs in-tree" into stable/queens 2019-03-25 12:19:00 +00:00
Dmitry Tantsur ed586327c4 Migrate jobs in-tree
Change-Id: Ia444e385ffd4f774c408d5173b9f2d147cb723ca
(cherry picked from commit c5fbcf02c4)
2019-03-25 12:00:05 +01:00
Ian Wienand 453e828b59 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: Ifa46e011c9057470da9e865f70a9d2118205aa90
2019-03-24 20:33:55 +00:00
karmab 1e8936bbaf reboot stopped vms in ovirt
When using ovirt driver,
make sure reboot starts stopped vms

Closes-Bug: #1752575
Story: 1752575

Change-Id: I851935a042c3e69e7e4ce72d6338ce2f77baa566
Signed-off-by: karmab <karimboumedhel@gmail.com>
(cherry picked from commit cd648ffd8e)
2018-04-20 12:04:37 +00:00
Zuul 3e9fd49e29 Merge "Convert ovirt url to a str" into stable/queens 2018-04-19 08:11:23 +00:00
Zuul 27827c49cb Merge "Prepare stable/queens" into stable/queens 2018-04-18 10:49:23 +00:00
Derek Higgins e8ef7942d5 Convert ovirt url to a str
Older versions if pyculr.Curl.setopt don't accept unicode
string values.

Change-Id: I4fca91228435a1a652b98db69aa2a92ffbaa47e7
Closes-Bug: #1761724
(cherry picked from commit b7a5234057)
2018-04-18 08:48:39 +00:00
Derek Higgins 8eb7cc8d70 Ensure pep8 is present before trying to proceed
All evidence appears to be that pep8 is disappearing
for some unknown reason.

Also fix pep8 w503 warning, this started to break the
pep8 CI job lately.

Change-Id: I8bf22c4944d272ed31a3281fa6ef4ca087a13ae9
2018-04-18 11:48:35 +03:00
Dmitry Tantsur 46bbfe7f17 Prepare stable/queens
Change-Id: I49d309621f7f96be8b1d226cffb7bcf2f0764f5c
2018-03-13 11:38:22 +01:00
Julia Kreger 76308ee3b2 Fix ovirt property error logging
Change-Id: I9bbbc76854e30ccaac8674b737cde237729c7c1f
(cherry picked from commit 2ccc0475ba)
2018-03-13 10:07:14 +00:00
Zuul de59d74109 Merge "Handle 'timeout' parameter in power methods" 2018-02-16 14:45:14 +00:00
Zuul e8dbc2c5f7 Merge "Replace curly quotes with straight quotes" 2018-02-16 11:42:03 +00:00
Zuul 26c8ff9ebd Merge "Updated from global requirements" 2018-02-16 11:41:55 +00:00
Ruby Loo e7d1bf3206 Handle 'timeout' parameter in power methods
The PowerInterface methods set_power_state() and reboot() were enhanced
to take a 'timeout' parameter [1].

In the Queens release [2] , the conductor assumes that all PowerInterfaces
can support this timeout parameter. This patch changes the PowerInterfaces
so that they accept a 'timeout' parameter for reboot() and set_power_state().
The PowerInterfaces log a warning if the parameter is specified when it isn't
supported.

[1] f15d5b9a37260b3876f9dadeb030412e6e1053b2
[2] 9e87cebc12102cbb3ae47366836dcd7c3e439828

Change-Id: I0904958f1a7f981204ba41bfbdc0083182c5622e
2018-02-07 18:26:08 -05:00
James E. Blair 940a4bbe9d 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: Iae39fc4feb54006ee1d10ba6afca105f84d6b042
2018-01-27 13:36:48 -08:00
melissaml 3b87b4ef06 Replace curly quotes with straight quotes
Curly quotes usually input from Chinese input method.
When read from english context, it makes some confusion.

Change-Id: I3e99e14394469b1c16afe943dc69df5631f73186
2018-01-26 00:44:20 +08:00
OpenStack Proposal Bot 501633611c Updated from global requirements
Change-Id: I2b7c737471582eca967b5f153a0d6ca9a3b92bbf
I55a3172bfe23573c1e2f449c5268b0bd2f8d2460
2018-01-17 20:35:48 +00:00
OpenStack Proposal Bot d723e3375b Updated from global requirements
Change-Id: I55a3172bfe23573c1e2f449c5268b0bd2f8d2460
2018-01-16 12:29:43 +00:00
Zuul ae60c0b0a7 Merge "Updated from global requirements" 2018-01-16 12:06:04 +00:00
OpenStack Proposal Bot e1226bec6a Updated from global requirements
Change-Id: If15eff9be168c1cb0f897a6167c0929ecb72a09d
2018-01-16 04:08:34 +00:00
Pavlo Shchelokovskyy 725b85484f Remove Ansible-deploy interface
it is now part of ironic itself, and version in ironic-staging-drivers
conflicts with version in ironic, blocking ironic-conductor from
starting when ironic-staging-drivers is installed.

Change-Id: I917b7399b3249143ba6cf75f61d96a1c64f94e7d
2017-12-18 14:55:35 +02:00
Dmitry Tantsur e3cb506e2e Correct branches published as part of release notes
Remove Mitaka, it was published from master anyway. Add pike and ocata.
Remove references to versions, they're anyway outdated.

Change-Id: I7ea04a42b43030b7378ac9d06cb1325d98bca78b
2017-11-28 15:16:26 +01:00
Pavlo Shchelokovskyy 45bc919c45 Add reno for ovirt driver
Change-Id: I90bef73cb4652c48e01851de91e0de33af74b9bf
2017-11-27 16:54:20 +00:00
Zuul 5c3dc1dded Merge "Ovirt support" 2017-11-27 11:30:49 +00:00
Zuul 2f29913008 Merge "Updated from global requirements" 2017-11-17 10:12:07 +00:00
deepakmourya 33d6560992 Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see 
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting 
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html

Change-Id: I5148aaf965a36443d8ed03d2ac87b5c286b56261
2017-11-17 03:45:48 +00:00
OpenStack Proposal Bot d88a17a3e3 Updated from global requirements
Change-Id: I6f14161452c648183abbb2f176f67e8184a7d2f0
2017-11-16 11:05:55 +00:00
karimb 9a0935129d Ovirt support
This patch introduces new type of power and management drivers for ovirt vms.

Change-Id: Iebf31db70dfd800d47399c69d7b2255467a87a1d
Closes-Bug: #1564841
2017-11-15 12:20:04 +01:00
OpenStack Proposal Bot d3b4be9216 Updated from global requirements
Change-Id: Ibd7e139c64d74d64da29bd737f71418e79cd2a52
2017-11-12 17:28:12 +00:00
Pavlo Shchelokovskyy 14763cc9c4 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
2017-11-08 19:00:52 +02:00
Zuul f43415c8fd Merge "[ansible] Fix grub install for Ansible 2.4" 2017-11-01 03:41:48 +00:00
Pavlo Shchelokovskyy 25ad8e6926 [ansible] Fix grub install for Ansible 2.4
this is a followup to Id2bfd1ed552ed566b14f6ac5b222c011ff918bee

while adapting playbooks for Ansible 2.4 compatibility,
this place was missed, and playbooks tried to install grub
to a wrong device.

This patch re-uses the "ironic_root_device" fact set during discovery
as grub install target.

Change-Id: Ibfd885b4702ff86c802a8d184ebb406aae9262b5
2017-10-18 06:15:14 +00:00
Pavlo Shchelokovskyy 0e21965a8f Do not monkey-patch in ansible unit tests
some unit tests for ansible deploy interface were using
dumb monkeypatch instead of proper mocking.

Change-Id: I317e1b8e9f0ec4cb792ee09ce592cbd83f956b75
2017-10-14 13:40:44 +03:00
Jenkins c1f3560a38 Merge "[ansible] fix wwn facts and root device hints" 2017-09-27 05:46:56 +00:00
Jenkins 3c4f3ccf17 Merge "[ansible] fixes for Anible 2.4 compat" 2017-09-26 19:16:54 +00:00
Jenkins e6260ee33e Merge "Deprecate classic drivers" 2017-09-26 13:21:44 +00:00
Jenkins 9748f9b83e Merge "Improve `cover` tox env" 2017-09-26 13:09:06 +00:00
Pavlo Shchelokovskyy 6392125993 [ansible] fix wwn facts and root device hints
Apparently only checking that pyudev is importable is not enough,
as it can fail later if udev itself is not available on the system

Also bring the (empty) default between these two to be empty dict,
and fix logging invocations in WWN fact collecting module.

Change-Id: I137990280e90c9ca2687b38d98f6c5343e26e8d0
2017-09-26 08:54:21 +00:00
Pavlo Shchelokovskyy 0719dafc2f [ansible] fixes for Anible 2.4 compat
- fix callback plugin (add a new public methdod)
- ansible_devices fact now contains many more devices
  (at least with tinyipa ramdisk and virtual HW),
  so by default we now attempt to use only devices that
  have non-empty 'host' attribute, and thus are
  real block devices on some controller
  (not memory-mapped files, loop devices etc)

  + during provisioning, the default target for image
    when root device hints are absent will be the first such device
  + during cleaning, only such devices will be attempted to
    be cleaned

Change-Id: Id2bfd1ed552ed566b14f6ac5b222c011ff918bee
Closes-Bug: #1718361
2017-09-26 08:53:08 +00:00
Pavlo Shchelokovskyy 7cbb03074d Deprecate classic drivers
this patch deprecates classic drivers defined by ironic_staging_drivers
package in favor of hardware types.
A proper warning is shown on classic drivers init.
DevStack plugin no longer enables any classic driver from staging
drivers, and only hardware types are tested.

Change-Id: Ic53b71c94287804f3c66f5e9a6249f605c234211
2017-09-26 08:49:33 +00:00
Pavlo Shchelokovskyy fff783fed1 Move Ansible-deploy testing to hw types
when switching nodes to use ansible-deploy,
use the `staging-ipmi-ansible` hw type with `staging-ansible`
deploy interface instead of the classic `pxe_ipmitool_ansible` driver.

This change is backward compatible with the job definition in
project-config which must remain the same until the stable/pike and
older branches are supported.

Also, change our ansible callback plugin settings only when testing
ansible-deploy interface.

Change-Id: Iba5eb5a5aace982561d4e11042a14c2de0dd8b98
2017-09-26 08:49:33 +00:00
Pavlo Shchelokovskyy 0ed6fd2a30 Improve `cover` tox env
Reuse `setenv` settings from parent `testenv` env

This is a followup to I3aefd97312bb9e5985e601dd192913247046d6e4

Change-Id: I4960a737a68ee146447cb6e4a5c6fe5b36a6dfc1
2017-09-26 08:46:59 +00:00
Jenkins 52b1bc11d6 Merge "[ansible] configure SSL validation" 2017-09-26 08:36:07 +00:00
Jenkins de2992c95b Merge "Add stestr-specific files" 2017-09-25 13:48:51 +00:00
Pavlo Shchelokovskyy 0cdc53948f [ansible] configure SSL validation
This patch adds a number of configration options and playbook variables
that govern SSL validation and authentication when accessing the image
store to download the image and configdrive from the deploy ramdisk.

Most of them are not yet used in the default set of playbooks provided
with the driver
(for example some of them require yet unreleased Ansible 2.4),
however they can be used by custom playbooks, for example to upload
and enable those custom CA bundle and cert files to the ramdisk at
deploy time.

This patch also sets DevStack to disable validation of image store SSL
certificate by ansible deploy interface (similar to how IPA is currently
confugured).

This patch also caps Anisble < 2.4, since our custom callback plugin
has troubles with the newest Ansible 2.4 version (to be fixed later).

Change-Id: Id40f1067361cc32e98973c70fc5cd3d4242308d0
Closes-Bug: #1717858
2017-09-25 10:48:24 +00:00
OpenStack Proposal Bot 659b5c3df7 Updated from global requirements
Change-Id: I224debfa61403324e31f24aa77477c86d382ac96
2017-09-23 05:57:57 +00:00
Pavlo Shchelokovskyy b4a0a06b66 Add stestr-specific files
os-testr>=1.0 uses stestr as test runner instead of testrepository.

This patch adds appropriate config and git ignore options for stestr.

Change-Id: I3aefd97312bb9e5985e601dd192913247046d6e4
2017-09-22 11:45:29 +00:00
Jenkins 7a8f69187a Merge "Updated from global requirements" 2017-09-09 21:59:18 +00:00
Yuriy Zveryanskyy c1d9f44dbd Add hardware types
Classic drivers will be deprecated, add hardware types for
staging drivers. "staging-" prefix used for entrypoints.

The DevStack plugin is amended to enable all hardware types and
interfaces registered by the ironic-staging-driver package
to test that they do not break ironic-conductor start when enabled
For this a new script is added to read entrypoints registered by a Python
package.
As previousely, by default `iboot` drivers are not enabled
as they require a client library not available on PyPI.

Change-Id: I26541adc9b99f7a436be0e3f8ef31c0ff64ff5d4
2017-08-31 11:34:40 +00:00