Current, users can config default datastore registry for managers not by
verions. This make you can flexible when have some experimental
datastore.
With this patch, users with the administrator role can configure the
datastore registry external for each datastore version using a command,
without editing configuration files.
Story: #2010860
Task: #48536
Change-Id: I7ee47dd1bb6e52991f0e0028a01e81252a1718c3
This PR replaces a request parameter name "net-id" with "network_id"
creating a cluster. When creating a cluster, Clusters API internally
calls Instaces API to create a instance. A request parameter name to
create instances has changed[1] but python-troveclient still uses
old parameter name when creating a cluster.
The original problem is instance creation error when creating a
instance that belongs to a cluster. Troves's Instances API has
changed a parameter name from "net-id" to "network_id", but Clusters
API and python-troveclient still uses the "net-id" parameter name.
We need to fix it.
[1]: 5354172407
Task: 44925
Story: 2009958
Change-Id: Ia3d1d6f451296eba34f2389da184c41a7ee9e84e
This PR makes troveclient to handle API response in new data schema.
Trove API response data schema has changed by the commit[1].
Original problem is that python-troveclient can't parse a API response
data in new data schema, resulting in an error.
[1]: 429c39890e
Task: 44986
Story: 2009979
Change-Id: I2e446c68c3b82c11d13f6bace54273c109e02069
When troveclient is used as a plugin for osc, it does not respect
provided endpoint type or cert via osc. This might result in
CERTIFICATE_VERIFY_FAILED error with osc, but not with trove shell.
Change-Id: I3d34774e87fcf0fe8efb024d4e6ff80a4e3f49c6
This feature needs to bump python-troveclient major version as it
introduced an incompatible change for backup creation CLI.
Change-Id: I6fe94ccb552e2c0020150494ccc2ba6361184229
The abstract base classes previously defined in 'collections' were moved
to 'collections.abc' in 3.3. The aliases will be removed in 3.10.
Preempt this change now with a simple find-replace:
$ ag -l 'collections.($TYPES)' | \
xargs sed -i 's/\(collections\)\.\($TYPES\)/\1.abc.\2/g'
Where $TYPES is the list of moved ABCs from [1].
[1] https://docs.python.org/3/library/collections.abc.html
Credit for this commit message to Stephen Finucane <stephenfin@redhat.com>
Change-Id: I782f2449832398cf2cfb886f561635de3d8ac18d
If using formatters it will raise a error that local variable
'data' referenced before assignment
story: 2008472
task: 41511
Change-Id: I6c66139b54a203bd8af01e8534e4d7ce7735e02d
- Support "--datastore-version-number" for creating configuration
- Support "--datastore-version-number" for creating instance
- Support "--version-number" for creating datastore version
- Support "--version-name" for updating datastore version
- Support showing version number for datastore version, instance and
configuration
Story: 2008358
Task: 41264
Change-Id: Ie84b4506736a82a214b0416f7e451d565552f651
The imp module is deprecated[1] since version 3.4, use importlib to
instead
[1]: https://docs.python.org/3/library/imp.html
Change-Id: Ifb44be3b0a0c35dd99d0230e9c371dfcb97f6fdd
* Added "public" and "allowed_cidrs" fields for getting instance.
* Added '--is-public/--is-private' and '--allowed-cidr' for updating.
Change-Id: Ifc919667e83573bd6c3b7aff205fe08e82667457
When creating replicas, flavor is not needed. Replica has the same
server settings as the primary.
Change-Id: Ia9b43a464763234b84ba163d8c773b21f53f4ee7