Added ReplicateVolumeTask in retype flow, which will check and
apply/remove replication feature on volume based on new type.
Change-Id: Id53b9cbdc90fd18290747cd6ed5dd6f4673294dd
Closes-Bug: #1680313
Current code retries three times for deactivation to complete,
waiting one second between retries. On some heavily loaded
systems, and apparently the gate, this is not enough time for
the operation to complete.
This attempts to work around those slower systems by increasing
our retries to 5 and adding a backoff of 2 seconds to give it
more time.
Change-Id: I4f40a1984fe828c8ff965033f7e25b1d7516ab1e
Closes-bug: #1687044
Refactor 'update_group' method to make it
clean and simple.
Depends-On: 3df673a888d83b0375401b7e83a6760e8c9cc850
Change-Id: If3ab25ea739e839fb16bed7fbe8a9dc86bb9cf65
Added volume type encryption sections to volumes v2 types and
added related parameters to parameters file.
Appropriate sample files added.
Had to add for v2 to several headings to pass tox/gates
Change-Id: I7a35551c4ebd345ce2d6c42217015b29c324d96c
Closes-Bug: #1679736
This patch enhances the GPFS driver to support the
use case when cinder service is running inside Linux
container hosted on Nova-Compute node (This kind of an
environment is deployed by OpenStack Juju Charm).
With this change, driver would talk to GPFS client
on Nova-Compute nodes over ssh.
Change-Id: Ib3235999d1b34502cdcc8efc359cfc6f5df0412a
Some database backends (for example PostgreSQL) do not automatically
create an index on a foreign key. As a result database queries are slow.
Adding the missing indexes and a migration that will only add indexes if
they were not already there.
In total, 26 foreign keys were identified as missing indexes. 2 of them
are already covered by UniqueConstraints, for the rest, new indexes have
been created.
Closes-Bug: #1666547
Change-Id: I1437c3a1aa13142ee7a7e3e7bf9ff867b9d72652
After image cloning the NFS client cache needs to be refreshed.
This can be accomplished by touching the directory hosting the
cached image file.
See also: https://bugs.launchpad.net/nova/+bug/1617299
Co-Authored-By: Sebastian Schee <sebastian.schee@sap.com>
Co-Authored-By: Goutham Pacha Ravi <gouthampravi@gmail.com>
Closes-bug: #1679716
Change-Id: If392f41f65978721668b53cfab94393f074d24e9
This supports following functionality:
* Create consistent group using GVG APIs
* Delete consistent group using GVG APIs
* Create consistent group snapshot using GVG APIs
* Delete consistent group snapshot using GVG APIs
* Update (add/remove) volume from a group using GVG APIs
* Create group from a source using GVG APIs, where source can be a
group or a snapshot of a group
Change-Id: I00cc28edec612f401002da5773d11917700db2ab
Implements: blueprint add-hpe3par-cg-capability-to-gvg
Add attachment API related Docs, please note we
use 'instance_uuid' in the request and 'instance' in
the response to represent the same thing 'server_id'.
DocImpact
Change-Id: I8bd5a9061af2b47fd227e8cf2f48f80f271bde14
If there are more than one masking view on the same compute node
with different portgroups, then code did not always pick the
correct masking view to extract the port group from. This can
happen when a system is pre-zoned FC.
Change-Id: I6787f9415d97ce5988984f3aeac05c02c5217aac
Closes-Bug: #1682176