This patch removes the redundant tearDown() methods in
order to keep the code clean, In the subclass, tearDown
methods has no benefit from that, the one in superclass
will satisfy that
Change-Id: Id38d2c9de2cde14f897d0e705ec6c086f691bbaf
Some configuration options were accepting both IP addresses
and hostnames. Since there was no specific OSLO opt type to
support this, we were using ``StrOpt``. The change [1] that
added support for ``HostAddressOpt`` type was merged in Ocata
and became available for use with oslo version 3.22.
This patch changes the opt type of configuration options to use
this more relevant opt type - HostAddressOpt.
[1] I77bdb64b7e6e56ce761d76696bc4448a9bd325eb
Change-Id: Ia5df1e10dbe76040b89b989b8914b2a9b77ad856
When making consistency group snapshot, flashcopy in DS8K needs
to freeze the whole LSS which holds volumes. So it will affect
volumes not belonging to the CG if they are in the LSS used by
volumes belonging to CG. In order to dedicate LSS to CG, we need
to allocate volume not belonging to CG in other LSSs.
On the other hand, this change switches to generic volume group
from consistency group at the same time, but generic volume group
driver interfaces are added in another review, please refer to
https://review.openstack.org/#/c/445860.
DocImpact
Depends-On: Id9964f868c2dc14aaee37e4bcbba330fb4575492
Closes-Bug: #1655841
Change-Id: Ic6406a558c035ebb34177f87076adaec55b08f65
tl;dr : without this Ocata and Pike have the same version causing
packaging issues.
https://docs.openstack.org/developer/pbr/#version
Because projects don't push a tag before milestone 1 (pike-1 here),
downstream packages are still building packages by using the version
from Ocata and it causes problems to distros because they can't test
the upgrades from Ocata to Pike.
Bumping the semver will allow us to test packages upgrades.
Note: When your version is X.Y.Z, api-break will bump X, and feature
will bump Y. In this patch, we bump X because this is the way you
bump tags over releases.
Change-Id: I9a82715ab47791d1dcebe0d17ebcad1c60d70654
Sem-Ver: api-break
This patch adds consistency group capability to generic volume
groups in Storwize driver. Re-use the CG implementations if it
is a CG type group. And if the group being created isn't a CG
then we bail out and the generic volume groups will take care of it.
Implements: blueprint storwize-generic-group
Change-Id: I64a7a29fd6620c3c8ea848c84bd564c9a632d307
VNX driver currently doesn't support attaching of failed-over volume,
if user try to do this, a error will pop up like:
VNXAluNotFoundError: Error: storagegroup command failed
This fix address above issue, user can attach/detach any failed-over
volume.
Closes-bug: 1677956
Change-Id: I7802b7c57e438c27e4df225fb03ca4cda84e2620
'verbose' option was removed from the config, so we don't need to set in
in the functional tests.
Change-Id: I11e7f5adb2ee0cca3334764ec08904e8149a2e42
Closes-Bug: #1678094
This patch adds the consistency group capability to generic group in
Huawei driver. Consistency groups will be used as generic groups.
DocImpact:
Implements: blueprint huawei-generic-group
Change-Id: I16937c0ccd9f5a4ffad79f35c49ab32ee6092620
Globally disable verification by monkeypatching the ssl
module in version of Python that enable certificate verification
by default for stdlib http clients.
Change-Id: If672933e581f06ffcd4c8d64921d061f42de23dc
Closes-Bug: #1672288
Since Oslo has introduced the new opt HostAddress opt[1].
This would ensure that an invalid IP does not pass as
a valid hostname and at the same time retains the
rules required to be followed for the validation of
an acceptable hostname.
[1]:https://review.openstack.org/#/c/358045/
Change-Id: I8cb46f6a55cbece5cecce495de76b6ff06459470
quota_allocated_get_all_by_project(). Then in quota_reserve()
pass the session that is fetched for that method so that a new
session does not have to be made. This can avoid DB timeouts
and retries when a lot of concurrent operations are hitting
quota_reserve().
Added session to method mocking in the UT cases and removed a
mocking instance that was dead code since it was already mocked
in the specific tests needed.
Change-Id: I43b5035926eb8b65e7913ac0a8c58e6b9ebb5619
Closes-Bug: #1676574
When Live migrating from one compute node to another the connection
drops and requires the instance to be rebooted. To prevent this
from happening we need to share the storage group and port group
between masking views.
Change-Id: I1483ca38362c5ff1724940c2abf1179e75e02c8e
Closes-Bug: #1676459
Probably the most common format for documenting arguments is reST field
lists [1]. This change updates some docstrings to comply with the field
lists syntax.
[1] http://sphinx-doc.org/domains.html#info-field-lists
Change-Id: I0fe2d2faa7a1abd6d5e84f05e7fdbb13661a94dc