| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support to the python-openstackclient
project for the promote-to-replica-source command.
The trove command promote-to-replica-source is now:
openstack database instance promote to replica source
Change-Id: I0009b3e1074ddabaed6b02f5578f28cffc995b30
Partially-Implements: blueprint trove-support-in-python-openstackclient
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support to the python-openstackclient
project for the execution-delete command.
The trove command execution-delete is now:
openstack database backup execution delete
Change-Id: I9934a047d48daed53567b59bb51a2eab4d6e37b5
Partially-Implements: blueprint trove-support-in-python-openstackclient
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change adds database support to the python-openstackclient
project for the configuration-default command.
The trove command configuration-default is now:
openstack database configuration default
Change-Id: I9403df629e893bb1c4d75566cffd3d49697a543d
Partially-Implements: blueprint trove-support-in-python-openstackclient
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support to the python-openstackclient
project for the detach-replica command.
The trove command detach-replica is now:
openstack database instance detach replica
Change-Id: Ia6034eccbd3490696270d44d00966c3da94b3999
Partially-Implements: blueprint trove-support-in-python-openstackclient
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support to the python-openstackclient
project for the log-list command.
The trove command log-list is now:
openstack database log list
Change-Id: If048a653df01244882a451e3fddf28a8faac59f6
Partially-Implements: blueprint trove-support-in-python-openstackclient
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support to the python-openstackclient
project for the configuration-instances command.
The trove command configuration-instances is now:
openstack database configuration instances
Change-Id: I4ad52cc8772534c95b708b49d018f4b2e35d6f86
Partially-Implements: blueprint trove-support-in-python-openstackclient
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support to the python-openstackclient
project for the eject-replica-source command.
The trove command eject-replica-source is now:
openstack database instance eject replica source
Change-Id: I674e78e310b2953b28d0829cbe6fda62c00b6ea8
Partially-Implements: blueprint trove-support-in-python-openstackclient
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With PEP 479, the behaviour of StopIteration is changing. Raising it to
stop a generator is considered incorrect and from Python 3.7 this will
cause a RuntimeError. The PEP recommends using the return statement.
More details: https://www.python.org/dev/peps/pep-0479/#examples-of-breakage
Change-Id: If53f0f4c313a699a4036838ab6035fffa931931b
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
There's now a seperate module 'builtins' from python-future(this package
is now installed by stestr, and stestr in required by oslotest-3.6.0),
so under Python 2.x 'builtins' is also imported as a module and
'bultins.open' is mocked instead of '__builtin__.open'. And according to
the Mock document, we should always patch the object where it's looked
up, so only necessary mocking is made in this patch.
Change-Id: I57ea61cefd3b01b19475b0fa7e16f716eaaa14e6
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
This change adds database support to the python-openstackclient
project for the cluster-modules command.
The trove command cluster-modules is now:
openstack database cluster modules
Change-Id: Ib16578de1520163e9b9bc6894a079e8f0fcef37b
Partially-Implements: blueprint trove-support-in-python-openstackclient
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As '_parse_instance_options' is imported into database_clusters, mocking
destination should be the database_clusters module, not the original
troveclient.v1.shell.
The reason this test passed before this patch is, the return value of
'_parse_instance_options' is not checked, i.e. the mock object is also
useless. This patch also checks how troveclient.v1.clusters.create is
called to ensure '_parse_instance_options' is correctly mocked.
Change-Id: I903a3b9565e4044c33401a6abcc47d50a5a2567f
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support to python-openstackclient
project for the cluster-grow and cluster-shrink commands.
The trove command cluster-grow is now:
openstack database cluster grow
The trove command cluster-shrink is now:
openstack database cluster shrink
Change-Id: I449e7f7d841ea266611ff79f8a41f6e730fced3c
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
|
| |/
|
|
|
|
|
|
|
| |
In some part in the code we import objects. In the Openstack style guidelines
they recommend to import only modules. [1]: "Do not import objects, only modules".
[1] https://docs.openstack.org/hacking/0.10.3/
Change-Id: I8dd5396ab604013639a0b626ce3ecd3e3fad12e8
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
WebOb change https://github.com/Pylons/webob/pull/230 changed
the way in which the error response body is formatted such that
it's no longer a nested dict. So we have to handle both the
old convention of an error message key to the response body error
dict and the new way with just the error body dict.
This was reported upstream:
https://github.com/Pylons/webob/issues/235
But given this was apparently implemented as a long-overdue change
in WebOb the behavior is not likely to change.
Change-Id: Id8bfde6277640de48768bbe5a5e4252b97253ed2
Closes-Bug: #1559072
Co-Authored-By: Matt Riedemann <mriedem@us.ibm.com>
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Modify setup.cfg to make command openstack database log enable run
correctlly. class EnableDatabaseInstanceLog should be in database_instances,
not in database_limits. This is a HIGH priority error.
2. Originally, trove log-enable will return a log info when execute successfully.
This change makes OSC log_enable acts like the origin troveclient enable_log.
Change-Id: I68c5ef451c8e6c7fb189d6270bad002da7ffc9a6
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
This change adds database support to the python-openstackclient
project for the 'update' command.
The trove command update is now:
openstack database instance update
Change-Id: I426c892540f82bc19b7b28d7845a2f6699c3f526
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
This change adds database support to the python-openstackclient
project for the restart command
The trove command restart is now:
openstack database instance restart
Change-Id: I24eeb001d27eae39be5c33650e9bc04287053c8c
Partially-Implements: blueprint trove-support-in-python-openstackclient
|
| |
|
|
|
|
|
|
|
|
|
| |
This change adds database support to the python-openstackclient
project for the log-enable command
The trove command log-enable is now:
openstack database log enable
Change-Id: Ia5bb395264946f79673970336e4c1f23857bb77d
Partially-Implements: blueprint trove-support-in-python-openstackclient
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support for the python-openstackclient
project for the force-delete and cluster-force-delete commands.
The trove command force-delete is now:
openstack database instance force delete
The trove command cluster-force-delete is now:
openstack database cluster force delete
Change-Id: I919678ca6b06d3b5762eac1990cc1fbf0e149d7c
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support for the python-openstackclient
project for the quota-show and quota-update commands.
The trove command quota-show is now:
openstack database quota show
The trove command quota-update is now:
openstack database quota update
Change-Id: I989b360fd358004e1a2378bdc3a573450baff2f3
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support to the python-openstackclient
project for the resize-volume command
The trove command resize-volume is now:
openstack database instance resize volume
Change-Id: If2413a605d294db0b0ee9c7aa49fbb1c929ebcd0
Partially-Implements: blueprint trove-support-in-python-openstackclient
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds database support for the python-openstackclient
project for the upgrade and cluster-upgrade commands.
The trove command upgrade is now:
openstack database instance upgrade
The trove command cluster-upgrade is now:
openstack database cluster upgrade
Change-Id: Ic416d476c645fa3c697881fb001d512ed3d25d2b
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support for the python-openstackclient
project for the cluster-instances command.
The trove command cluster-instances is now:
openstack database cluster list instances
Change-Id: Ifcbb0a0374d4b2918ee22b85a0733c8bbbf21497
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support to the python-openstackclient
project for the resize-instance command
The trove command resize-instance is now:
openstack database instance resize flavor
Change-Id: I58f8a6ebf8f715c5cc67ce67a36f87d720056ffe
Partially-Implements: blueprint trove-support-in-python-openstackclient
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| | |
Fix trove cli 'show' instance with integer name error
Change-Id: Ic6a943b4d5980017915dd2c0361636877376c5cb
Closes-bug: #1740015
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support for the python-openstackclient
project for the root-disable command.
The trove command root-disable is now:
openstack database root disable
Change-Id: I51d351174d6bf36948eb7e48de0aa6509c563738
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support for the python-openstackclient
project for the root-show command.
The trove command root-show is now:
openstack database root show
Change-Id: I621f41d0c920306fed5502f30e1de3806b911929
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
This change adds database support for the python-openstackclient
project for the root-enable command.
The trove command root-enable is now:
openstack database root enable
Change-Id: I121dbe09bc10c57358c091e1eb882c816df6d4b2
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support to the python-openstackclient
project for the user-update-attributes command.
The trove command user-update-attributes is now:
openstack database user update attributes
Change-Id: I2acc85809cca4595c03a3d4252643a7806d5d791
Partially-Implements: blueprint trove-support-in-python-openstackclient
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support to the python-openstackclient
project for the configuration-attach/detach command.
The trove command configuration-attach is now:
openstack database configuration attach
The trove command configuration-detach is now:
openstack database configuration detach
Partially-Implements: blueprint trove-support-in-python-openstackclient
Change-Id: I03c71f6828ff7af8f9caf5c6b383e5e875f348c3
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds database support to the python-openstackclient
project for the cluster-reset-status and reset-status command.
The trove command cluster-reset-status is now:
openstack database cluster reset status
The trove command reset-status is now:
openstack database instance reset status
Change-Id: I8945327d244bfd2a9afe7febb7179467a8be9bd0
Partially-Implements: blueprint trove-support-in-python-openstackclient
|
| |\ \
| |/
|/| |
|