Commit Graph

761 Commits

Author SHA1 Message Date
Tony Breeds 713bc14a61 Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: I0b3d757594242dd8a2be4733f70720c1e20e0934
2017-09-12 16:13:13 -06:00
Jenkins 555ba5ed69 Merge "Update the trove docs to follow the docs theme" 2017-07-18 21:38:55 +00:00
Jenkins 5391033cb0 Merge "turn on warning-is-error for documentation builds" 2017-07-18 19:02:04 +00:00
Jenkins 348822b8a5 Merge "Add cli to docs" 2017-07-16 14:23:38 +00:00
Jenkins 2f2b145a75 Merge "rearrange docs into new standard layout" 2017-07-16 14:14:27 +00:00
OpenStack Proposal Bot e450fdb689 Updated from global requirements
Change-Id: I46fead1abc28215113351c1b888ff00c92981be8
2017-07-14 13:07:54 +00:00
Tovin Seven a0fbb97d1f Correct help in --profile argument
HMAC key of OSprofiler can be configure in config files of Trove
not in api-paste.ini (configs in paste are deprecated).

Change-Id: I4904e5d0104e1cac12cc1f3e6dc38b6ef8372982
2017-07-14 08:23:18 +07:00
Trevor McCasland b9a20edf92 Update the trove docs to follow the docs theme
We were using the old theme on trove docs.

We should update to new theme, it includes the new logo as well!

You can see the difference in the themes here,

new, https://docs.openstack.org/admin-guide/
old, https://docs.openstack.org/developer/python-troveclient/

Change-Id: If5ff925d258f7b4008aff32b1677d7806395b5c9
2017-07-13 10:59:55 -05:00
Doug Hellmann e8d306fa2a turn on warning-is-error for documentation builds
Fix a bunch of formatting issues with docstrings to allow us to turn on
the flag that treats warnings as errors to avoid mal-formed
documentation in the future.

Change-Id: Ic6fb73031e37314c49c41e4621dfd92b9c3f59d5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-13 10:39:32 -05:00
Trevor McCasland 5ff9b6183e Add cli to docs
As part of phase 1, the cli reference should be moved to the local
repositories. "This content will move the project-specific client
documentation trees under doc/source/cli."[1]

I deleted the old reference and auto-generated the cli using the
tool here[2]

[1]http://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html#what-is-happening-to-each-guide
[2]https://docs.openstack.org/contributor-guide/doc-tools/cli-reference.html

Change-Id: Ie1d5f2629021d738b8247c5335bce433ba5c4a05
2017-07-13 10:36:38 -05:00
Doug Hellmann 0d5c899edb rearrange docs into new standard layout
Also replaces inline reference guide generation with pbr's feature for
doing the same thing.

Refer to
https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html
for details.

Change-Id: I0fac75bfe66a1ea30973c2128c054aa2e43c8f8b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-29 17:00:28 -04:00
Jenkins 8aaa4e81aa Merge "Add related_to help message for instance help" 2017-06-15 04:30:55 +00:00
Jenkins b1dff0e093 Merge "Add datastore-list to OSC" 2017-06-11 23:05:08 +00:00
Jenkins 2aefbc59c7 Merge "Add database-list to OSC" 2017-06-11 19:25:45 +00:00
Jenkins c8c083db38 Merge "Add list to OSC" 2017-06-11 18:41:41 +00:00
Jenkins a5b7be4bed Merge "Add user-list to OSC" 2017-06-11 18:41:36 +00:00
Jenkins df5399a4c4 Merge "Add limit-list to OSC" 2017-06-11 18:41:30 +00:00
Jenkins 0b740d0656 Merge "Add configuration-list to OSC" 2017-06-11 18:41:25 +00:00
Jenkins 9256b08774 Merge "Add cluster-list to OSC" 2017-06-11 13:54:38 +00:00
Jenkins 5c381d6030 Merge "Updated from global requirements" 2017-06-11 05:11:37 +00:00
Trevor McCasland 8b945cf5eb Add datastore-list to OSC
This change adds database support to the python-openstackclient
project for the datastore-list command.

The trove command datastore-list is now:
    openstack datastore list

Change-Id: I4804e6deae350f05abdb66a6d8813e5581f2b22c
Partially-Implements: trove-support-in-python-openstackclient
2017-06-11 02:00:56 +00:00
Trevor McCasland 29bdd7f5cb Add database-list to OSC
This change adds database support to the python-openstackclient
project for the database-list command.

The trove command database-list is now:
    openstack database list

To confirm the databases list command I had to create an instance
and specify a database name like how it shows in the user-guide[1]
on step 2.

[1] http://docs.openstack.org/user-guide/create-db.html

Change-Id: I4f4682eff1addc3fc837f5468939ddd96572e238
Partially-Implements: trove-support-in-python-openstackclient
2017-06-11 02:00:05 +00:00
Trevor McCasland 09b5f9fa5e Add list to OSC
This change adds database support to the python-openstackclient
project for the list command.

The trove command list is now:
    openstack database instance list

Partially-Implements: blueprint trove-support-in-python-openstackclient
Change-Id: Ic5328827dbf6d1f47db62f0bb2e65e164a0b2b6b
2017-06-11 01:59:35 +00:00
Trevor McCasland a7b10e3a76 Add user-list to OSC
This change adds database support to the python-openstackclient
project for the user-list command.

The trove command user-list is now:
    openstack database user list

Note: Only looking up an instance by ID works. I think it has
something to do with not using osc-lib.find_resource because we
use our own find_resource in the client manager's list call.

Change-Id: If8a4b97b91c661e400dfcac0fa4922ed359ce32a
Partially-Implements: trove-support-in-python-openstackclient
2017-06-10 21:55:19 -04:00
Trevor McCasland 6626ef7bbb Add limit-list to OSC
This change adds database support to the python-openstackclient
project for the limit-list command.

The trove command limit-list is now:
    openstack database limit list

Change-Id: I534d30022cbfef4ae596077f604e2a305dbe3146
Partially-Implements: trove-support-in-python-openstackclient
2017-06-10 21:51:14 -04:00
Trevor McCasland 1abc33cedc Add configuration-list to OSC
This change adds database support to the python-openstackclient
project for the configuraiton-list command.

The trove command configuration-list is now:
    openstack database configuration list

Change-Id: I3a85260c15b8d1b4a37a806db2cb5ff3c433537b
Partially-Implements: trove-support-in-python-openstackclient
2017-06-10 21:40:07 -04:00
Jenkins 3ef2b4212f Merge "Update reset-status docstring" 2017-06-11 01:34:25 +00:00
Trevor McCasland 052d85eca4 Add cluster-list to OSC
This change adds database support to the python-openstackclient
project for the cluster-list command.

The trove command cluster-list is now:
    openstack database cluster list

Change-Id: I06b398190930db459ef8739685548263499f0d3c
Partially-Implements: trove-support-in-python-openstackclient
2017-06-10 21:30:59 -04:00
Jenkins e6afe7f717 Merge "Handle log message interpolation by the logger" 2017-06-10 23:13:16 +00:00
OpenStack Proposal Bot 2ce6814b5f Updated from global requirements
Change-Id: Id35444edc3284d4cf296067c73db2ef232763cfb
2017-06-10 21:49:22 +00:00
Jenkins fe73e9c782 Merge "Add backup-list to OSC" 2017-06-10 13:47:03 +00:00
jiansong 7d00721475 Add related_to help message for instance help
We have been change the mongodb cluster scaling related changes
in the Liberty version[1], as mongodb cluster grow the necessary
variables,we should displayed in the help message to expose it,
rather than hide it. So made this change.

[1]:https://specs.openstack.org/openstack/trove-specs/specs/liberty/cluster-scaling.html#cluster-grow

Change-Id: I45f5702f7645aa7855f8140bcd5ec83e2c76eeae
2017-06-05 02:11:10 +00:00
OpenStack Proposal Bot 70da3725f4 Updated from global requirements
Depends-On: I2f2a12207581a94fb8561a6d65a3a79b4a29b063

Change-Id: I9eb71eab2b58b84ee60507d6d473cda883129fa3
2017-05-26 20:25:25 +00:00
OpenStack Proposal Bot b738d74738 Updated from global requirements
Change-Id: I6e79ad39b6f5e3a34ca290b82afbcb211829fdd2
2017-05-06 16:10:17 +00:00
Petr Malik e923fb1fc2 Enable user/db operations on clusters
Accept cluster ids in user and database API and
route the requests on the single instance interface.

Implements blueprint: datastore-specific-api-extensions
Change-Id: I9cfa048cdee7c9eb18787957fb69e14e05dd4128
2017-04-18 16:20:11 +00:00
OpenStack Proposal Bot d3bb6c3229 Updated from global requirements
Change-Id: I4c67622963d3650a1fa6e39212b8bfce7198c3b1
2017-04-12 04:22:20 +00:00
Jenkins 53f3ac1378 Merge "Client changes for datastore-version volume-types" 2017-04-11 07:12:44 +00:00
Jenkins fbc9b5bdd4 Merge "update setup.cfg for classifier python 3.5" 2017-04-07 16:50:57 +00:00
Amrith Kumar e83b65f53d update setup.cfg for classifier python 3.5
This change is part of trove's python 3.5 goal for the pike release.

Change-Id: I357387113652d15f643d925c6fe070b0d5298262
2017-04-07 08:13:27 -04:00
OpenStack Proposal Bot 2779af756a Updated from global requirements
Change-Id: I1e47988eb6cd2bf156ba2391539ab4ad871cd180
2017-04-07 06:16:56 +00:00
Jenkins edaeaaa9a6 Merge "Update reno for stable/ocata" 2017-03-25 05:27:54 +00:00
Gábor Antal ccceffa7f5 Handle log message interpolation by the logger
According to OpenStack Guideline[1], logged string message should be
interpolated by the logger.

Also, upgraded hacking requirement, to enable H904 check.

[1]: http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-log-messages

Co-Authored-By: jiansong <jian.song@easystack.cn>
Change-Id: I3f020b6bcb1b9bf6d18a3b4f738c13cccd1bbff8
Closes-Bug: #1596829
2017-03-08 10:00:34 -08:00
ricolin 4139774157 [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: I65da7e4a99aa42f0025c1e767d0bad39412fdb33
2017-03-02 20:15:52 +08:00
OpenStack Release Bot b39411ccc0 Update reno for stable/ocata
Change-Id: I9aaf2eed07718e2c745791205b54db15c0d12fa6
2017-02-15 14:26:09 +00:00
OpenStack Proposal Bot 9cb3f4fc70 Updated from global requirements
Change-Id: I4923f20fea8c72c147269506edb274d8a52404e7
2017-01-21 15:57:20 +00:00
OpenStack Proposal Bot 1ac7647c6f Updated from global requirements
Change-Id: Idfdb063db10e270835bc12f0ec751e2a9e6ffa4b
2017-01-17 20:37:53 +00:00
Trevor McCasland 808caecc6d Add backup-list to OSC
This change adds database support to the python-openstackclient
project for the backup-list command.

The trove command backup-list is now:
    openstack database backup list

Change-Id: I9aafb76c5a0d4a49b92a356e8465abf5919ab0ac
Partially-Implements: trove-support-in-python-openstackclient
2017-01-17 11:24:09 -06:00
Ali Adil d2c24f98d4 Update reset-status docstring
Added more information for reset-status docstring.

Change-Id: I4ab194029e5bfbca990984be707f727081bf5907
2017-01-16 11:05:38 -05:00
Trevor McCasland 4eebd56786 Add OpenStackClient plugin and flavor list
This change adds database support to the python-openstackclient
through a plugin and tests.

The support can be demonstrated through the implementation of
the trove command flavor-list which is now:
    openstack database flavor list

Use the -v or --debug flag to see the calls being made to the correct
flavor list function.

ubuntu@ubuntu:~$ openstack database flavor list -v
START with options: [u'database', u'flavor', u'list', u'-v']
command: database flavor list -> troveclient.osc.v1.flavors.ListFlavors
Using auth plugin: password
+-----+-----------+-------+-------+------+-----------+
|  id | name      |   RAM | vCPUs | Disk | ephemeral |
+-----+-----------+-------+-------+------+-----------+
|   1 | m1.tiny   |   512 |     1 |    1 |         0 |
|   2 | m1.small  |  2048 |     1 |   20 |         0 |
|   3 | m1.medium |  4096 |     2 |   40 |         0 |
|   4 | m1.large  |  8192 |     4 |   80 |         0 |
|  42 | m1.nano   |    64 |     1 |    0 |         0 |
| 451 | m1.heat   |   512 |     1 |    0 |         0 |
|   5 | m1.xlarge | 16384 |     8 |  160 |         0 |
|  84 | m1.micro  |   128 |     1 |    0 |         0 |
|  c1 | cirros256 |   256 |     1 |    0 |         0 |
|  d1 | ds512M    |   512 |     1 |    5 |         0 |
|  d2 | ds1G      |  1024 |     1 |   10 |         0 |
|  d3 | ds2G      |  2048 |     2 |   10 |         0 |
|  d4 | ds4G      |  4096 |     4 |   20 |         0 |
+-----+-----------+-------+-------+------+-----------+
END return value: 0

Change-Id: I308a6c6f3f5ce7dbb814ec0fd8ecb1734a2f137f
Partially-Implements: trove-support-in-python-openstackclient
2017-01-11 16:07:45 -06:00
Jenkins e2a2263e19 Merge "Add support for module-reapply command" 2017-01-09 21:39:07 +00:00