The backend_url option can sometimes contain secrets.
For example when redis coordination backend is used and authentication
is enabled in redis, the plain redis password is put as an URL element.
[coordination]
backend_url=redis://:password@127.0.0.1:6379
Change-Id: I30e796a81fe0bb58023b98ffd10f7db269518ac5
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I3fff56eaeb17da1d231bdbf9e7809e7d41bc6963
oslo.config automatically replaces - in option names by _. Because of
this behavior now we get the following warning always if
the [service_credentials] region_name parameter is set.
Deprecated: Option "region_name" from group "service_credentials" is
deprecated. Use option "region_name" from group "service_credentials".
Change-Id: I2a8d09aaef4621d3f99d1d7025db9b357c44398e
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:
1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.
2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.
Also replace policy.json to policy.yaml ref from doc and tests.
[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
Change-Id: Id369108f00acb6977bf24f48ff77b45a69b2908f
Tmfapi639 belongs to resource transform, BaseAlarmTransformerTest was
created for testing alarm transformers.
Update tmfapi639 to inherit the base class BaseTransformerTest.
Change-Id: I15c10d33464427a414a0c2ac2b7c076878ec0515
Replace the following items with Python 3 style code.
- six.text_type
- six.b
- six.u
Like Any(str, six.text_type), currently only keep Any(str).
Change-Id: I735e8a8a670659123e533091916fd3bbedabb95e
With python 3.x, classes can use the metaclass= logic
to not require usage of the six library.
Subsequent patches will replace other six usages.
Change-Id: I02b6fbbdc70b228e1734c6085ae4e06a484a556e
Replace the following items with Python 3 style code.
- six.move.CPickle
- six.PY2
- six.string_types
Subsequent patches will replace other six usages.
Change-Id: I1530d441384e18d7955302c2752211f149a370f7
Remove six.moves Replace the following items with Python 3 style code.
- six.moves.StringIO
- six.moves.reduce
- six.moves.urllib
- six.moves.http_client
- six.moves.queue
Subsequent patches will replace other six usages.
Change-Id: I48fa1dc87a99780975c0ae570ab70b5db3eca37a
Cetus is a based on openstack solution of k8s on openstack, and it can be
operated through kesytone to automatically create multiple instances, and
automatically deploy multiple k8s clusters on instances. Cetus Datasource
include Cetus entities(cetus.cluster, cetus.pod).
Implements: blueprint add-cetus-datasource
Change-Id: I2057c901c8e28e1d61c506dcd8790d404817aaa8
In actual usage scenarios, the expired alarm data should be deleted,
so it is agreed to enable this function for the alarm data source.
Implements: blueprint add-delete-outdate-alarm
Change-Id: I9fd1bcb0c9dec3f24c554154360dfd8a743f9fca
In actual usage scenarios, the expired alarm data should be deleted,
so it is agreed to enable this function for the alarm data source.
Implements: blueprint add-delete-outdate-alarm
Change-Id: I30a0ffe7f4313a88ce5b2d76a13e3e6c188690d7
In actual usage scenarios, the expired alarm data should be deleted,
so it is agreed to enable this function for the alarm data source.
Implements: blueprint add-delete-outdate-alarm
Change-Id: I6c34f94961c07b7def4b62787b43d962cbb5a6e1
I originally wanted to add version and region to
all drivers, but I found that some drivers do not
have a version parameter, so I can only add it
after testing.
Change-Id: I675e3378fef903381e1dfe9bb55b096035a035db
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I4b70b6adbfef1f431bf367e3ee1e385604e38f9a
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Openstack clients also contain nova cinder neutron heat trove in vitrage, So
unifiedly added this configuration item to them.
Change-Id: I1e0a6fd92d4788e13857511bb2a2fe6fe125fbeb
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Update local hacking checks for new flake8.
Remove hacking and friends from lower-constraints, they are not needed
to be installed at run-time.
Change-Id: I7b114906ddf173752d1a94dd8243ea2d37204256
Uniform region opt format, and I only add region opt to nova_client.
In many regions I find the error which should call region one, but
call region second, it is confused.
Change-Id: I642668d970f276a14692898acc628357aeaa4493