Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.
Change-Id: Idba76cc145aaf7636b68ece14598ef67b811275c
Remove remaining reference to gettextutils and remove the module,
as it no longer exists in oslo-incubator. Also remove timeutils
for the same reason, it's not referenced by any remaining code.
Closes-Bug: #1380629
Change-Id: Ie3ad3fe73fd5e73dd6ede0c375eb2077d95bda3f
Convert the encode/decode functions from oslo-incubator to use
oslo.utils encodeutils, as the incubator functions are now
deprecated.
Also syncs oslo-incubator to 62394a3 to purge usage of strutils
from the openstack/common modules.
Note includes oslo fix https://review.openstack.org/#/c/133290/
which we need or the python3 tests won't pass.
Change-Id: I630fe3f3ce14ae745a8417bfe6552acd31341c9c
Partial-Bug: #1380629
Remove references to the now-removed oslo-incubator jsonutils,
which has been deprecated and replaced with oslo.serialization
Change-Id: I2483f5e1036471a9aae4e3185bf4b2f24afa99ea
PartialBug: 1380629
This adds new methods to manage snapshot restoration.
blueprint stack-snapshot
Co-Authored-By: ala.rezmerita@cloudwatt.com
Change-Id: I917c5d89f586110c0614e05e134bebde27d4db55
This adds the various commands corresponding to the new snasphot
methods.
blueprint stack-snapshot
Co-Authored-By: ala.rezmerita@cloudwatt.com
Change-Id: I8803c54c5cd76700f1591c8d28650bf60a2f5167
Added `patch` method that uses mock.patch (similar to `patchobject`)
- NOTE: this shadows `testtools.TestCase.patch` method that uses
simple monkey-patching in favor of mock-based patching,
relevant comment added in the code.
Also oslotest dependency is added.
Change-Id: Ie4d25bc53decb308398eded350c81a90a257b254
Related-Bug: #1384511
If the endpoint is passed in, make sure keystone uses it instead of
looking up the endpoint in the auth plugin.
Change-Id: I1c1c21d9533cd78f2dbfac91dcf0c6e9702b7c88
Closes-Bug: #1379933
flake8 has support for cyclomatic complexity (Mccabe) currently our
worst offender has a complexity of 18 (25 is considered very bad). So
set our max-complexity to 20 so we keep our complexity in a great shape.
https://github.com/flintwork/mccabe
Change-Id: I682f3c192e46bd50236b10a337f0b129c4b02eb8
The standalone auth_password middleware expects 'X-Auth-Url' header
in the request. The recent version of heatclient doesn't pass the
required header which is retrieved from the option '--os-auth-url',
though we explicitly specify it in the commandline. Let's pass the
argument 'auth_url' and get heatclient working in standalone mode.
Change-Id: I3e67f4699c61c3ce5c42f25e3c8b137f8ba8a2e3
Closes-bug: #1380658
For resources like ResourceGroup, the output parameters are not
validated during stack creation. When a stack has an output parameter
which accesses an incorrect attribute of a resource, the output-show
command returns the string 'null'.
This fix instead returns an error indicating the incorrect attribute
being accessed.
Change-Id: I51eea4738bfefb35644a384ec6d4e9176c8f2e26
Closes-bug: #1368041
It seems all do_*() functions need an "args" parameter.
Although it's deprecated, it should still work.
Change-Id: Id4f392b275ca231bdea584a0d68ec177c5ebeaaa
Closes-bug: #1373219
Change I30a2b223d7dd19a717ed989b419b1e6cb2ac143b
introduced 'existing' keyword to stack-udpate command that became effectively
required argument to stack.update method of the client's Python API,
breaking backward compatibility.
Change-Id: Icda3313805c29ab36773a4edc8c9f8c874b71ca3
Closes-Bug: #1371167