| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Change-Id: If118728bc99423ddbbc6dd5c3c4a4ec3f6aea1a0
|
| |
|
|
| |
Change-Id: Ifdaa25d124a7d72c5a0682cd72acab3fe2005f96
|
| |
|
|
| |
Change-Id: Iba826a2f2c45c376ab11a68ad56b501110b640b6
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit a5234f0a07230e0d8195687e033adfe4cc0ad522
The change broke trove on stable/liberty since it's a backward
incompatible change.
To avoid capping python-troveclient<2.1.0 in
stable/liberty global-requirements, we have to revert this
change, blacklist the 2.1.0 version in g-r master and
stable/liberty, and then release 2.2.0.
And the slave_of code can't be removed until the last
supported stable branch that uses it is end of life, which
is liberty-eol. For now we keep the slave_of argument in
the instance.create method, but emit a deprecation warning
if it's specified, and we never pass it to the trove API
for the create or edit operations since the API removed
slave_of in 0c94a5bae0aacff7fde9a9742b7d526096e51767.
Change-Id: I9b3ec6c101a89f30e61fc683808506c404e5474f
Partial-Bug: #1538506
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Now passing in the tenant_name as part of the os_options
and getting all the options from the Trove client instead
of the environment.
Change-Id: I19155463505500d1ca9a22ee9a58c80ff0c23ac2
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds support in the python API and Trove CLI
for module maintenance commands. These commands include:
- module-list
- module-show
- module-create
- module-update
- module-delete
Partially Implements: blueprint module-management
Change-Id: I54d37025275dee4731ad49ebbd21612c4464e4c4
|
| |\ \ \
| |_|/
|/| | |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| | |
Using the OS_ENDPOINT_TYPE environment variable if it exists,
otherwise falling back to the TROVE_ENDPOINT_TYPE environment
variable.
Change-Id: I74f108a32877a5f80bd65961ca965f9f686379d2
Closes-Bug: #1541515
|
| | |
| |
| |
| | |
Change-Id: Ibdde14aa5ac237b460a8fc3734af69c529bb0de7
|
| |/
|
|
| |
Change-Id: Ia407c1a1b885aa8632b54787da8d125a6dd582c0
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we test log related code, we still print the tested log message
into stderr, which is not quite useful for developers, we should
mock those message. Package fixtures.FakeLogger already provides an
option to mock specified logger, so let's use it.
Note: this patch also changes an unnecessary object attribute to local
varible.
Change-Id: I4bc5beaa4eba149f12c58f072fe66163aed8c0c8
Closes-Bug: #1500236
|
| | |
| |
| |
| | |
Change-Id: I7f521aae5575a16856de40b4c1c16ef2002a5ade
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Implements log file retrieval from the guest agent. The contents
of the log file are pushed up to a swift container as a series of
objects that represent a subset of the lines in the log.
The following trove CLI commands are implemented:
trove log-list <instance> : lists log files available on guest
trove log-enable <instance> <log> : enables writing to log file
trove log-disable <instance> <log>: disables writing to log file
trove log-publish <instance> <log>: publishes updates to swift container
trove log-discard <instance> <log>: discards published logs
trove log-tail <instance> <log> : displays last lines of log
trove log-save <instance> <log> : saves the entire log to a file
Change-Id: Ic15c455747b9f1966d83d7034c9b748ca5e2cce9
Co-Authored-By: Morgan Jones <morgan@tesora.com>
Co-Authored-By: Alex Tomic <atomic@tesora.com>
Co-Authored-By: Peter Stachowski <peter@tesora.com>
|
| |\ \ |
|
| | | |
| | |
| | |
| | | |
Change-Id: I0fa56501666064fe865b51b0d79c7a0449da6fff
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Once we add debug testenv, we can use "tox -e debug" to debug test cases
when tox is running. Then tox will use oslotest which really debug our
test cases.
Only we should do is insert pdb into code.It's easy to use.
The same in trove:
https://review.openstack.org/#/c/265524/
usage link:
http://docs.openstack.org/developer/oslotest/features.html
Change-Id: I93709451af9a14fc9c71e1c3306a1a025aee8b44
|
| | |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
The "OpenStack CLI guide" link with a nonexistent target.
This patch fixes it.
Change-Id: I326eb532d177b611fa09f92221d435a9efb6df76
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
argparse was external in python 2.6 but not anymore, remove it from
requirements.
This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.
Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The controller (apischema and instance controller) have long
understood that slave_of is going away and has supported
replica_of. Getting rid of the slave_of in the client is now one part
of this final 'cleansing'. Look for a corresponding commit on the
controller side which will clean up the rest of it. That commit is
I87c8a14c06fa5df60ea3ed6b09412dc32fafcec7 and the URL for that review
is https://review.openstack.org/#/c/245845/
Change-Id: I9b905716b704ea9ec9332b48b05c49cccbd04c8b
Partial-Bug: #1461196
Depends-On: I87c8a14c06fa5df60ea3ed6b09412dc32fafcec7
|
| |\ \ \ \
| |_|/ /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add api entry points for root-disable to the Trove client.
Added unit tests.
Change-Id: I27831eb361c2b219a9623f152b9def73a2865d67
Partially implements: blueprint root-disable
DocImpact: added new root-disable CLI command
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Everything in this file is automatically generated by pbr. There
appears to be no good reason to keep it around.
Change-Id: I2d99777bb017e9754457a3722af483d8bd5cd024
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The oslo.utils reflection module/code handles more variations
of where a class name may come from (on python 2 and python 3)
so its usage allows getting more accurate class names so we might
as well use it.
Change-Id: I7b130d6acb183a06a4efe648ee2c3fbd2905cdd5
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
To solve the problem of "db type could
not be determined" on py34 we have to run first the py34 env to, then,
run py27. This patch puts py34 first on the tox.ini list of envs to
avoid this problem to happen.
Change-Id: I90be329de961a0a63607d04b5c7cc88d033f05ec
Closes-bug: #1489059
|
| |\ \ \ \ \ \ |
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Some of tests use different method of assertTrue(isinstance(A, B)),
The correct way is to use assertIsInstance(A,B) provided by testtools
Closes-bug: #1268480
Change-Id: I718b86e83b93a4e778710b9de895f2796a9b6d61
|
| |\ \ \ \ \ \ |
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Replace assertEqual(None, *) with assertIsNone in tests
Change-Id: I678dd165fe4f24dee84b801eafc80ea27f68610c
|
| |\ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: I09876b1126abdfea03e1133e10c16e9274e6987a
|
| |\ \ \ \ \ \ \
| | |_|/ / / /
| |/| | | | | |
|
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We don't sync from oslo-incubator, so don't need this
file any more.
Change-Id: Ie4346cbfb79cc4d4b8d48d70ef2dd2706dba7e89
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.
Change-Id: Idd271edb45dafed10aad255267ff0b9722cabe2d
Closes-bug: #1280522
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
"Python 3.3 support is being dropped since OpenStack Liberty."
written in following URL.
https://wiki.openstack.org/wiki/Python3
And already the infra team and the oslo team are dropping py33
support from their projects.
Since we rely on oslo for a lot of our work, and depend on infra
for our CI, we should drop py33 support too.
Change-Id: I37a08fc005ec78031e582721a5e472348ee5324c
Closes-Bug: #1526170
|
| |/ / / / /
| | | | |
| | | | |
| | | | | |
Change-Id: Icc1be9e4741aef06018d848d0cd38deec91ad7c4
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
As of Mitaka, the infra team won't have the resources available to
reasonably test py26, also the oslo team is dropping py26 support
from their libraries. since we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.
Closes-Bug: 1519510
Change-Id: Ifc92fdb0823a032d9b9f744494276a702a16e8b7
|
| | |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Set help parameter in troveclient/shell.py inside version agruments,
default first letter was lowercase and period missing.
Closes-Bug:1525550
Change-Id: Ia11f4fd5462487064a743697ebd95a46dd72b8e7
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change the instance availability-zone to availability_zone.
Closes-Bug: #1520749
Change-Id: I319cf2d631147a953c11d374dd19a413e6e6635f
|