FakeConfiguration is used in VMAX tests. Without a valueset for
max_oversubscription_ratio, this results in test failures with the
error:
"TypeError: float() argument must be a string or a number, not 'NoneType'"
This adds a default value for this config option in the fake config.
Change-Id: Ia0b9772823fe9d093cfafe3ee241aad5b21fc3fd
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Since we have a CLI reference and specific doc subtree the
cinder-manage docs should live there. This moves the cinder-manage
page from man/ to cli/ and adds a redirect link.
Change-Id: If99416e8a382d2a6571412742276dccc591d180c
Rename file to path because most of these functions in the
file have to do with filesystem paths and the like.
Change-Id: I709d8f8722c6a477e50d0ee7fd9a368a16fe9cca
Signed-off-by: Chuck Short <chucks@redhat.com>
Initially the issue was fixed here If74d23b9413209ee8db3c58fc71d215abeb580b2,
but due to code changes, the same issue was repeated and fixed here,
Ia43a6f2df7fd4066a0ed26450b26a1456d4cecfa.
Addressing the comment on the latest fix, adding test case.
Change-Id: I03d6214abf050e5f9a2cc5fa0772150bbbf8520e
Related-Bug: #1645207
The data type of QuotaUsage.deleted is boolean, here assigned an
integer to a boolean. Not good to assume 0 is the same as False.
Similar sentence such as 'VolumeTypeProjects.deleted == 0' is correct
because the type of VolumeTypeProjects.deleted is integer.
Change-Id: Ia3f62c93dc2621474907906aeda0ddf1469d5c8f
Signed-off-by: Liang Fang <liang.a.fang@intel.com>
The Veritas HyperScale Driver 3rd Pary CI hasn't
reported in 153 days. This does not meet the requirements
for Cinder's 3rd Party CI requirements.
As a result the driver is being marked unsupported in the
Stein release and should be removed in the 'T' release if
the problems are not resolved.
Change-Id: I4e20cdc555e9fb53dbc831f4464ccf80d9f01e7b
The legacy job legacy-tempest-dsvm-neutron-pg-full is now named
tempest-pg-full - using the new tempest and Zuul v3 frameworks.
Change experimental job to use new job.
Change-Id: I6110790aec1f532c930753f5955f2976db6703fb
Depends-On: https://review.openstack.org/609530
The ITRI DISCO driver was marked unsupported in
the Rocky release. It hasn't reported on a patch in
74 days and hasn't successfully executed CI in 231 days.
This falls well outside our CI requirements and therefore
the driver is being removed.
Change-Id: Iab4288983e8e13a3b9d59b30887d1934a2eb66c8
If backup_share is not set, a TypeError is raised from
os-brick, because this code is run before the config options
are validated.
Don't try to initialize the path if this is not set.
Closes-Bug: #1797227
Change-Id: I96e104f0e0da0257c48bbaffc2b436f670ccdb76
When backend database is postgresql, "cinder-manage db purge" will throw
an exception. The root cause is that "deleted" column in table
quality_of_service_specs is of type boolean, but it is compared with an
integer. In mysql, there's no such issue because boolean in mysql is
tinyint(1).
Some logs:
DBAPIError exception wrapped from (psycopg2.ProgrammingError) operator
does not exist: boolean = integer
Closes-Bug: #1797048
Change-Id: I05b0edef4cc56518e99622599f01dbd6280a7f1b
Signed-off-by: Liang Fang <liang.a.fang@intel.com>
The variable used inside the try block is also used in the except
block for logging volume id which errors out to
UnboundLocalError: local variable 'add_vol_ref' referenced before
assignment.
This patch addresses the issue by using the volume id from the
for loop.
Change-Id: Ia43a6f2df7fd4066a0ed26450b26a1456d4cecfa
Related-Bug: #1645207
oslo.messaging deprecated the rpc_backend option long ago, but it was
still being used in cinder unit test configuration fixtures. oslo.messaging
9.0.0 finally removed that option, so now the tests are failing.
This change replaces use of rpc_backend with the corresponding
transport_url option that as recommended at:
https://docs.openstack.org/oslo.messaging/latest/configuration/conffixture.html
It also removes a redundant setUp() override.
Change-Id: I7cc823e96da1fd38ba28650b72a358e792d7c892
Closes-Bug: #1796759
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')
Change-Id: I8ce3c403904ea1c6990f88d52c1c1a068aaed75a
As Felipe commented in I7ef9b3ea989d65dbd6dfa291ab4752664ed5f935,
extra_specs and qos_specs_id are only populated following policy
authorization: e1d8ec8b26/cinder/api/v2/views/types.py (L31)
So this is to make them optional.
Change-Id: I6f5103b7333b80b9651c279053dbdecd4574c18b