226 Commits

Author SHA1 Message Date
wangqi
a1eba0a010 Drop py34 target
We support py35 now.so it is no need to keep
the supoort for py34.

Change-Id: Ic33ec8b9367d2e5b13c6626491cdc60a0d0bfe63
2018-05-21 10:21:20 +00:00
Zuul
09e4707b61 Merge "pep8 ovirt classes, added copyright statement to ovirt files" 2018-05-18 09:14:04 +00:00
Dmitry Tantsur
91601c9704 Stop using mgr_utils.mock_the_extension_manager
It is not needed in most cases, but was blindly cargo-culted everywhere.
It will be removed with the switch to hardware types.

Change-Id: I1de6be6ab8b0c210f457fa0c1cd685c42406b888
2018-05-17 17:56:22 +02:00
Zuul
0e1be8bb81 Merge "reboot stopped vms in ovirt" 2018-04-18 16:19:35 +00:00
Zuul
d850e9f676 Merge "Update the outdated links in README" 2018-04-18 03:58:54 +00:00
Zuul
61daf427e5 Merge "Convert ovirt url to a str" 2018-04-17 11:32:31 +00:00
Derek Higgins
b7a5234057 Convert ovirt url to a str
Older versions if pyculr.Curl.setopt don't accept unicode
string values.

Change-Id: I4fca91228435a1a652b98db69aa2a92ffbaa47e7
Closes-Bug: #1761724
2018-04-17 10:52:12 +01:00
Ilya Etingof
62c7c14f77 pep8 ovirt classes, added copyright statement to ovirt files
Change-Id: Ibc25a574e9f0572d62d86dc0df0cbeef6eb7e93c
2018-04-16 15:06:00 +02:00
karmab
cd648ffd8e 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>
2018-04-16 15:02:40 +02:00
Ilya Etingof
3265d0002b fix pep8 w503 warning
This started to break the pep8 CI job lately.

Change-Id: I8bf22c4944d272ed31a3281fa6ef4ca087a13ae9
2018-04-16 13:47:58 +02:00
lidong
2f4f70a2da Update the outdated links in README
Change-Id: I5540b4336893224ff333401161435ca6db3d9bf4
2018-04-04 08:55:38 +00:00
OpenStack Proposal Bot
d27bcf030e Updated from global requirements
Change-Id: Iadd6c7b17afd620f8a8ddb99e3baa5b5c62e64fd
2018-03-26 08:05:03 +00:00
Doug Hellmann
174a342433 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I4b1ca0a1f067895640f0a71d6dd392d33e3def4e
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-23 10:36:03 +00:00
OpenStack Proposal Bot
c00826da8a Updated from global requirements
Change-Id: I786ec1b06bdf6b5fe870a795754b572ec9b52733
2018-03-15 07:01:20 +00:00
OpenStack Proposal Bot
bf88e051ef Updated from global requirements
Change-Id: I77aca05a5e2ea3e02a5a58cc6ec9733e0267941c
2018-03-14 05:31:31 +00:00
Zuul
7f77cd90b2 Merge "Add Queens to release notes" 2018-03-13 10:43:12 +00:00
Zuul
c88637f5bf Merge "Updated from global requirements" 2018-03-13 10:08:06 +00:00
OpenStack Proposal Bot
41b437e505 Updated from global requirements
Change-Id: I653d619a3fb9950988a5a88e0acf4f04bb3d4c3b
2018-03-13 06:55:20 +00:00
Julia Kreger
2ccc0475ba Fix ovirt property error logging
Change-Id: I9bbbc76854e30ccaac8674b737cde237729c7c1f
2018-03-12 23:09:00 +00:00
OpenStack Proposal Bot
df2c9cb2b0 Updated from global requirements
Change-Id: Ifdb7b248ecba3b771c1677c1efaf43b81456afb6
2018-03-10 13:15:46 +00:00
Dmitry Tantsur
0bdb46379b Add Queens to release notes
Change-Id: Ieb15d3f297f3031035e49ec60bb688e75e6c8141
2018-02-16 16:03:54 +01:00
Zuul
de59d74109 Merge "Handle 'timeout' parameter in power methods" 0.9.0 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
0.8.0
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