There are a lot of DeprecationWarning message emited when running
under python 3.6 due mostly to non-raw strings being used for
regex expressions.
DeprecationWarning: invalid escape sequence \
These had previously been ignored, but starting with python 3.6,
and the commit for issue 27364, these are now considered deprecated
and will no longer be supported going forward. Per the discussion
on that issue, these strings should really be raw strings any way:
https://bugs.python.org/issue27364#msg272696
Change-Id: If6ff206e4bbcf10ab52d2895f606dafad2936ddb
Newer versions of this library have been out for awhile now
and appear to be working well. This raises the minimum version
for rtslib_fb to a recent version that does not require the
conditional import due to the namespace change from rtslib to
rtslib_fb.
Depends-on: https://review.openstack.org/575530
Change-Id: I10f48833c2a61b7b2c6b300d4f8291a357f7e600
Use of contextlib.closing causes pylint to not recognize the
type and causes "no memeber" errors. Since this is a locally
defined class that can simply be made into a context manager,
this removes the use of contextlib and handles it directly in
code.
Change-Id: I2b284b1ba51f848c183c3895948131de9e89d300
The default process concurrency for pylint is 1. Since our gate
images used to run the job have 8 cores, this results in slower
job execution with many cores sitting idle. To speed things up,
this sets the process count to match the number of cores available.
Change-Id: If4ba3333a1cb3b8bb6b4797f9149f412d32047ef
Issue: After group failover, subsequent operations
like attach & detach volume, which are part of that
failed over group points to primary backend instead
of secondary.
This patch fixes the above issue by setting up the
appropriate backend in case of subsequent operation
on volume, which are part of group which is failed
over.
Change-Id: I679b11317c91ad28cefdf995a8d6849dc71bc1c5
Closes-Bug: #1773069
This patch solves the problem of too slow initialization of
cinder-volume service.
Previously lsvdisk() was called separately for each 'in-use' volume
in order to check if the volume exists on the storage.
Now lsvdisk() is called once per pool.
Change-Id: Ia84afc12a30ea7b714b287844e81ba02ce4b0f3d
Closes-Bug: #1749687
Now cinder had some Versioned Objects which names do not
match their ORM counterparts. In method: get_model_for_versioned_object,
we handles those exceptions.
This patch fix this issue to keep the names match.
Change-Id: Icf709d87be99df95e5b52204032b730cd790096c
Closes-Bug: #1493112
'cinder_dell_emc_config_file' was deprecated in Queens. We are now
removing all reference to it and all XML parsing. Now we rely solely
on the config tags in cinder.conf.
Closes-Bug: #1768273
Change-Id: If6f7c58f445dd813df7161cc6cd6dd84484e8a7e
Deleting a snapshot which is the source of multiple volumes fails with
the error: "The number of source and target devices must be equal". This
patch rectifies the issue by unlinking source and target volumes
individually where a single volume is a source of multiple targets.
Change-Id: I4b0c171051622f62aba1238c3b84d8a2c8bad6dc
Closes-bug: 1768047
'Optimized' is being reported as a service level option for VMAX
All-Flash arrays, in the get_pools output, and it can be assigned as
the default pool if there is no service level assigned to a volume type.
This can cause errors, as Optimized is not a recognized service level on
All Flash arrays. This patch rectifies the issue.
Change-Id: I9365ae3b923eeb92ac00023b7040e934b6e2df57
Closes-bug: 1766633
This is part of the effort to consolidate and eliminate duplicate
configuration tags. san_rest_port will be deprecated in this
release and replaced by san_api_port in the next.
Change-Id: I5051e39c3bf45a3a4903e94c1597a142321a77e4
Closes-Bug: #1758010
Data reduction pool is a new style pool on Storwize/SVC storage.
Thin provisioned/compressed vdisk copies created in a data_reduction
pool are quite different from regular pool.
This patch adds thin-provision and compressed volumes support on
data reduction pool.
Change-Id: Icb09cbacc3cfe63017d17847799c0904e06cf8a7
Implements: blueprint svc-drpool-support