Commit Graph

1002 Commits

Author SHA1 Message Date
Elod Illes 0faaf5e192 [stable-only] Remove periodic-stable-jobs template
Periodic stable jobs are failing for a long time since the project is
not actively maintained. This patch removes the periodic-stable-jobs
template to free up CI resource.

Conflicts:
  .zuul.yaml

Change-Id: Ib896b24e71e81107c5c104923b3bdec37e069613
(cherry picked from commit 1da3fcd72d)
(cherry picked from commit 02447d4291)
(cherry picked from commit 18ec580b40)
2022-06-24 21:28:34 +02:00
OpenDev Sysadmins e40f0e815c 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:42:07 +00:00
Ian Wienand 37855cba48 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: I1c84bbd0ca3e94ed422a2f1edeb4329d289362f3
2019-03-24 20:34:47 +00:00
Doug Hellmann f172fbdd50 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Iab50d568631404650981e37e1173a84e5d1a4164
Story: #2002586
Task: #24324
2018-08-22 10:50:52 -04:00
Eric Fried 220a7cdc68 Sanitize the config drive UUID
When cloud-init processes an instance to determine
if it is first boot or not, it compares the config
drive UUID with the VM UUID.  This change makes those
values the same now for a given VM / config drive pair.

Closes-Bug: #1770696
Change-Id: I128a0bc886b020d67241c67a874cf8d06e791b57
(cherry picked from commit 5d438733eb)
2018-05-11 12:42:36 -04:00
Eric Fried eb252a14ac Fix boot volume connectivity type discovery
Per the referenced bug, there was a code path whereby the boot volume
connectivity type could be unset, resulting in an exception.  In fixing
this, I discovered that we were looking for `driver_volume_type` in the
wrong place: it should be in connection_info and we were looking for it
under connection_info['data'].  I preserved the bogus code path in case
it's actually somehow legit, but added a path to the correct location.

We had no direct test for this stuff, so I added that too.

(cherry picked from commit af31c9f977)
Change-Id: I78e55b3d8096d4013afd0abe1e42c32dc9697871
Closes-Bug: #1769648
2018-05-11 14:49:03 +00:00
Eric Fried 49330fcf28 Stringify instance UUID
oslo.versionedobjects merged a patch [1] resulting in the referenced
bug. A second patch [2] was merged that was supposed to fix the issue
If coerce's value arg is a unicode string, then the method will return
unicode [3]. Subsequent checks for isinstance(str) [4] will fail and a
TypeError will be raised trying to handle the uuid as an int in the
else block. This change ensures that the uuid is an instance of str so
that it is handled properly. This problem was fixed in pypowervm 1.1.15
[5] and the minimum version was bumped for master. However, we can't
backport the pypowervm requirements bump to the stable branches so we
have to fix it here.

[1] https://review.openstack.org/#/c/559815/
[2] https://review.openstack.org/#/c/561674/
[3] https://review.openstack.org/#/c/561674/2/oslo_versionedobjects/fields.py@367
[4] https://github.com/powervm/pypowervm/blob/1.1.10/pypowervm/utils/uuid.py#L50-L56
[5] https://github.com/powervm/pypowervm/commit/d55b4c84

Related-Bug: #1766692
Change-Id: Ic3b11b071a055177bbcfb0555e2a391ba419d191
2018-05-09 20:00:11 -05:00
Matthew Edmonds e62fae699d update translations for queens
Update translations for the Queens release.

Change-Id: I0622d237a53114929d56cfb46bbb7d60887099d6
2018-04-18 17:43:06 -04:00
prashkre a70603af84 Handle exceptions properly with iscsi discovery
It fixes issues around exception handling when iscsi discovery
fails.

Change-Id: I875a41d3eb8d64851da8d1586f53c4f71436b9d0
Closes-bug: #1764682
(cherry picked from commit ec454b725d)
2018-04-17 15:33:06 +00:00
Chhavi Agarwal ecfb3068e7 Use vios_uuids to process required vioses for iSCSI
Proposed changes are to improve the performance by processing
the (dis)connect volume only for active VIOS. This is a
follow-on to [1].

[1] c614c3a9a7
Change-Id: I55b77678fd727b9cacf8993b08caeacf67691b35
(cherry picked from commit 7cda551277)
2018-04-11 18:30:03 +00:00
Matthew Edmonds 06b1d95cbe Pass user context to virt driver when detaching volume
A recent nova commit [1] changed the contract for the virt driver
detach_volume method, adding context. This updates the out-of-tree
driver accordingly.

[1] d2941bfd165055348dd584b630d4e631ef05e328

Change-Id: Idd9391570431c1a4b42894751f4e7b53f0c2595a
(cherry picked from commit 4387c0cf6a)
2018-03-21 22:11:48 +00:00
Matthew Edmonds 3cb455fb31 tox needs to pull from stable/queens
Updates the tox.ini to pull from nova's stable/queens branch
instead of master. This should have been done when we first
branched queens here, but was missed.

Change-Id: Ifdc23f94a8448e12252ce73a436fcf4049d4f7b3
2018-03-21 18:04:20 -04:00
Zuul 2999bff2d0 Merge "Update UPPER_CONSTRAINTS_FILE for stable/queens" into stable/queens 2018-02-14 23:06:00 +00:00
Matthew Edmonds d86e4257b5 add iSCSI to support matrix
iSCSI support was added in Queens, but the support matrix was not
updated.

Change-Id: I3f2cc6e50bbbc4eb2a5ec488b94b75545f8896e2
Closes-Bug: #1749543
(cherry picked from commit 18eca19d66)
2018-02-14 15:02:48 -05:00
esberglu 1c22282f3b Update UPPER_CONSTRAINTS_FILE for stable/queens
Update the stable/queens tox.ini to use the queens upper-constraints.
This should not be merged until the queens branch is merged for the
requirements repo.

Change-Id: I5595cbca125c690c9fcf01ea17c66f4631f3b3a2
2018-02-12 09:47:18 -06:00
esberglu 19bc05852a Update .gitreview for stable/queens
Change-Id: I669dd76f25d525ef32c5d6c8087da57db24d4ff2
2018-02-12 09:45:12 -06:00
Matthew Edmonds a4e0721c6b Trim the fat from InstanceInfo
Nova removed several fields from InstanceInfo that were not being
used [1]. This copies our corresponding in-tree driver changes to
the out-of-tree driver.

[1] 5db9389c01b0cb6eeacf57c22550876ffcd1a87c

Closes-Bug: #1695924
Change-Id: I865d9177329294f555dfda14f2ffd85bd022db56
2018-02-02 15:19:24 -05:00
Zuul 38bf784642 Merge "Add missing capabilities" 2018-01-31 23:10:21 +00:00
esberglu 535990d270 Add missing capabilities
The updates the powervm driver capabilities to include all capabilites
from nova [1].

[1] https://github.com/openstack/nova/blob/5251f18d8/nova/virt/driver.py#L124-L134

Change-Id: If6fd7d22963162f9d1558b97f8d2fe3da948fe48
2018-01-31 20:25:13 +00:00
Zuul b0d43a9684 Merge "Update the SEA local.conf" 2018-01-31 17:22:39 +00:00
esberglu 8b1d543501 Update the SEA local.conf
This updates the SEA local.conf to a known working version for master.
It renames the file to clarify the difference between the OVS and SEA
conf files.

Change-Id: Iffb250388b083a6391a5407597fa03e9f2c4acd6
2018-01-31 10:08:02 -06:00
Zuul ac79cd00b5 Merge "Mock sleep in UT" 2018-01-30 00:32:19 +00:00
esberglu ad1967a70e Mock sleep in UT
The test_create_disk_from_image test hits a code path that calls
time.sleep. However time.sleep is not mocked in the test. This reduces
the test runtime by mocking the sleep call.

Change-Id: I8c8ac89f5da955b7ac2459839c11283ff04fa283
2018-01-29 16:49:14 -06:00
esberglu 17e8070fd1 LOG.warning on unplug_vifs InstanceNotFound
This changes the LOG level from exception to warning on an
InstanceNotFound exception during unplug_vifs. Since no action is being
taken on this exception the warning level is more appropriate.

Change-Id: I8778e3aa80089445fb51431db9a2feeb9db0399b
2018-01-29 10:16:41 -06:00
Matthew Edmonds b676299541 Update support matrix to match nova
Nova has made some changes to the support matrix wording, added and
removed some sections, indicated cli commands that were previously
missing, etc. This attempts to update ours to match.

Change-Id: I3853cb4e511df25a512dfe16ddd9e6abf30552fb
2018-01-26 11:59:25 -05:00
Matthew Edmonds a1cbe7c08b fix copyright dates
Found some copyrights that were not updated the last time the
file was changed. Updating copyright dates to reflect the most
recent change.

Change-Id: Ib6f545db10b77cc7a0b2295a21e824b63974bda5
2018-01-25 13:57:59 -05:00
Taylor Jakobson e23b43bac5 Add the ability to extend npiv volumes
The compute host does not need to do anything for the client to
see the extended size.

Depends-on: I0f6f80df6ad0d87dcccc560509c4e31992e4c0ec
Change-Id: I94aa12d422fe6c38a3ab8f7e37489738c956fb6f
2018-01-24 16:01:00 -06:00
Zuul 37bd8a3e7a Merge "Updated from global requirements" 2018-01-23 23:18:57 +00:00
esberglu 16c0068f12 Autospeccing: NVRAM
This continues the effort to autospec throughout the project. It covers
the NVRAM tests. This will help catch errors in argument lists, object
attributes, and other possible issues.

Change-Id: I01361bf3deb8e34d2e1841794d721c4d95d565fe
2018-01-18 21:11:36 +00:00
esberglu fd179c33cc Autospeccing: Tasks
This adds autospeccing throughout the tasks tests. This will help catch
errors in argument lists, object attributes, and other possible issues.
This is the first of a series of patches for autospeccing throughout
the project.

Change-Id: I93719a3c9569e59f9b7443b7407f4c2ab026a919
2018-01-18 15:10:39 -06:00
esberglu 258fa979dc Remove unsupported nova-networking
Nova-network is not supported by the driver. This removes the nova-net
case and reference from the network task.

Change-Id: I8081bec98871d4207d5a6b57ff942f4c8288308f
2018-01-18 12:53:02 -06:00
OpenStack Proposal Bot c53a9473cb Updated from global requirements
Change-Id: I374b5d2430bdd1798ee573ab641c7ba776be0f7e
2018-01-18 03:12:27 +00:00
OpenStack Proposal Bot 2f7d2bf8a1 Updated from global requirements
Change-Id: Id5c0216df653aadde60a0245f40a7be1ebd4d16f
2018-01-16 12:34:36 +00:00
esberglu 13c06b8c40 Cleanup unit conversions
This converts proc_units and proc_units_available to float on
definition rather than converting on every usage.

Change-Id: I72ee526f78e3e26c51b59f86b4c0f5848d39d483
2018-01-15 14:11:33 -06:00
Zuul 6bd1f08e7f Merge "Add all-in-one local.conf with OVS networking" 2018-01-12 20:49:00 +00:00
Zuul a7ff73de7c Merge "cleanup private bdm methods" 2018-01-09 16:38:34 +00:00
Matthew Edmonds 9c6a089d66 cleanup private bdm methods
Some private methods related to block device mappings had
unnecessary arguments or used kwargs where the value is always
passed so a kwarg isn't needed. Since they are private methods,
there is no compatibility issue with changing them, which should
improve readability/usability. This effects that cleanup.

Change-Id: I74104d16ef76496426a9f10a10250d355d757f1a
2018-01-09 09:31:09 -05:00
OpenStack Proposal Bot 3477a8feb5 Updated from global requirements
Change-Id: Ic9cbda96bde15767d88e1d811697e00a6eab8d81
2018-01-09 02:23:19 +00:00
esberglu 35dbd2084e Add all-in-one local.conf with OVS networking
This adds an example local.conf for an all-in-one devstack using Open
vSwitch networking.

Change-Id: I597d45d88c68942377d412b2bd47142fe23f754c
2017-12-28 21:48:38 +00:00
OpenStack Proposal Bot 8ebe2869bc Updated from global requirements
Change-Id: I061e31a6006f6dd552bdbdd6dce9047706ba4a4b
2017-12-19 01:31:28 +00:00
Andreas Jaeger ce0d45daf4 Avoid tox_install.sh for constraints support
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.

This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.

Change-Id: I05b7525dc0c39e703e1e8fa091d77c87d338673b
2017-12-02 17:03:14 +00:00
OpenStack Proposal Bot 07eb280a5b Updated from global requirements
Change-Id: I9f1fbc9513e97d70d3ae5c3a5187304aa44dd2d9
2017-11-29 09:08:33 +00:00
OpenStack Proposal Bot f2de4441e3 Updated from global requirements
Change-Id: I743cdbed85c4597419db4d3c78acd4a130f571e3
2017-11-16 11:16:39 +00:00
Zuul d0155cb0dc Merge "ISCSI volume attachment fixes" 2017-11-15 17:27:24 +00:00
Zuul f70daaef1c Merge "Add resize attached volume support for iSCSI" 2017-11-15 17:27:24 +00:00
Zuul 090e4068c0 Merge "Add extend volume support for fileio" 2017-11-15 17:27:23 +00:00
Taylor Jakobson 9d14c18c3b Add resize attached volume support for iSCSI
Add support for volumes attached with iSCSI to be
extended.
Change-Id: I5197ec2b2d83f221787983c60b62482c417338e9
Depends-on: I0f6f80df6ad0d87dcccc560509c4e31992e4c0ec
2017-11-14 14:32:04 -06:00
Taylor Jakobson ec374ded96 Add extend volume support for fileio
When cinder resizes a volume, it sends an event to nova. This event
calls into the compute driver's "extend_volume" method. Calling the
pypowervm rescan_vstor is all that is needed for our driver.

Only kernel backstores are currently supported by the rescan_vstor
method.

Not all vios are guaranteed to have the storage mapped. Log an error
if the virtual disk was not found, but throw an error if no virtual
disks were found on any of the vios.

Switching the backstore from USER_QCOW to FILE_IO enables this change.
This adds support to extend size of a volume while it is attached to
a client VM.

Change-Id: I0f6f80df6ad0d87dcccc560509c4e31992e4c0ec
2017-11-14 13:21:09 -06:00
Taylor Jakobson 1eaad7fbd4 ISCSI volume attachment fixes
This change:
 - adds support for multiple volume attachments based on LUN ID
 - handles the new exceptions raised by pypowervm during iSCSI
   discovery (and logout)
 - improves iSCSI attach unit tests
 - add additional parameters to discovery and remove calls
 - add support for multipath
 - add support for RR

Change-Id: If9f3b581bcde57f9ce84b9a2cbe0bb2f9ecaa68c
2017-11-14 12:46:58 -06:00
Zuul 07e9f8f1ce Merge "Replace TestCase with NoDBTestCase" 2017-11-13 22:42:48 +00:00