summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Cluster Upgrade"2.7.0Jenkins2016-12-105-0/+39
|\
| * Cluster UpgradeMorgan Jones2016-11-095-0/+39
| | | | | | | | | | | | | | | | | | Implements the Clusters.upgrade python API and corresponding shell command. Implements blueprint: bp/cluster-upgrade Change-Id: Iedb08c99bf8eb2a0b0d09e3c1ebd11965fdfff90
* | Updated from global requirementsOpenStack Proposal Bot2016-12-051-2/+2
| | | | | | | | Change-Id: Ib8dbac98372eea8f12a4bb002853c74420f6da2f
* | Merge "Use lowercase project name for doc"Jenkins2016-12-031-3/+3
|\ \
| * | Use lowercase project name for docjiansong2016-11-291-3/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | Projectname according to the relevant provisions of the new document style should use lowercase, Service should be used service name instead of project name[1]. [1]:http://docs.openstack.org/contributor-guide/writing-style/openstack-components.html Change-Id: I385aa21b141528f7766f54cd7f067fb67eb8478e Depends-On: I386efb2d5c147417af7ea25704405977c9b6bbcd Depends-On: I5c1714b7839b2736c50f2daa2f4506c4006815a1
* | Merge "Added limit/marker support for config group lists"Jenkins2016-11-214-16/+40
|\ \
| * | Added limit/marker support for config group listsDuk Loi2016-11-024-16/+40
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Added support in the CLI for limit and marker to the configuration-list and configuration-instances command. Changed the python API to use the _pagination function instead of _list. Modified the unit tests to test this change. Change-Id: I46d8258eab81d1510707244547e31cd5707a22ce Closes-Bug: bug/1638352
* | Merge "Multi-Region Support"Jenkins2016-11-184-6/+29
|\ \
| * | Multi-Region SupportMorgan Jones2016-11-174-6/+29
| |/ | | | | | | | | | | | | | | | | | | | | This is an initial attempt at supporting multiple regions. It should handle the mechanics of deploying an instance/volume to a remote region. Additional changes may be required to allow the guest agent on the instance to connect back to the originating region. Co-Authored-By: Doug Shelley <doug@tesora.com> Depends-On: I386efb2d5c147417af7ea25704405977c9b6bbcd Change-Id: Ib0b35100c0780dc07c60d20622554ba77c4bc850
* | Get python-troveclient to use upper-constraints.txtAmrith Kumar2016-11-162-1/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In review[1] which passed just fine in check some days ago failed in gate today. This is because the current tox environment uses requests v2.12.1 which appears to not work and is beyond the value in upper-constraints.txt. As observed in [2] we need upper-constraints.txt in python-troveclient. But since python-troveclient is itself listed in upper-constraints.txt you can't just stick it in tox.ini and expect good things to happen. I'm adding a co-author to this change based on [2]. [1] https://review.openstack.org/#/c/382493/ [2] https://review.openstack.org/#/c/398339/ Co-Authored-By: jiansong <jian.song@easystack.cn> Change-Id: I386efb2d5c147417af7ea25704405977c9b6bbcd
* | Updated from global requirements2.6.0OpenStack Proposal Bot2016-11-152-3/+3
| | | | | | | | Change-Id: I3a33bbeda3086a4e5dd6e79dfc80e50052743c97
* | move old apiclient code out of openstack/commonSteve Martinelli2016-11-1019-204/+24
|/ | | | | | | | | | | | | | | | | | | | | | | As part of the first community-wide goal [1], teams were asked to remove the openstack/common package of their projects if one existed. This was a byproduct of the old oslo-incubator form of syncing common functionality. The package, apiclient, was moved to a top level location and cliutils was moved to the common module. There are no oslo specific libraries, the recommended solution is to move it in tree and maintain it there. Specifically in this patch, I also rearranged some of the imports to make them match up with the hacking guidelines while I was re-ordering them for the refactor anyway. Lastly, the apiclient/fake_client.py was deleted since it was not used. [1] http://governance.openstack.org/goals/ocata/remove-incubated-oslo-code.html Change-Id: Ib7b691240b819c9c91b100ca47ffaba75b281c78
* Updated from global requirementsOpenStack Proposal Bot2016-11-022-2/+2
| | | | Change-Id: I1e354412fa15c6f0b8a97b6ec092b9d03002cf47
* Merge "Avoid use xx=[] for parameter in function"Jenkins2016-11-013-6/+10
|\
| * Avoid use xx=[] for parameter in functionjiansong2016-10-193-6/+10
| | | | | | | | | | | | | | | | | | | | | | Use xx = [] for the parameter for function, this parameter will only be initialized at the first call, this is should be avoided. Better choice is to set the initial value to None, then the initialization time use xx= xx or [] more information:http://effbot.org/zone/default-values.htm Change-Id: Icbade7dd4c7d231ae65fd4f8de673b484bab721c
* | Merge "Add i18n to v1/shell.py"Jenkins2016-11-012-383/+424
|\ \ | |/ |/|
| * Add i18n to v1/shell.pyTrevor McCasland2016-10-182-383/+424
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Help, print, and exception messages will now all be translated. I did not find any logging messages. Motivation for this change: 1. A patch for shell.py recently added i18n, we should be consistent with the additions from v1. 2. I noticed a patch on v1/shell.py that had reviewers suggesting to use i18n, instead of applying it to one message lets do it for the whole file. Change-Id: Ifd1bf25020c5f180a074165e2634a105bcbd4ed8
* | Merge "Enable release notes translation"Jenkins2016-10-171-0/+3
|\ \
| * | Enable release notes translationAndreas Jaeger2016-10-061-0/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | Releasenote translation publishing is being prepared. 'locale_dirs' needs to be defined in conf.py to generate translated version of the release notes. Note that this repository might not get translated release notes - or no translations at all - but we add the entry here nevertheless to prepare for it. Change-Id: I6af6b4e92f0953f673ea1a5c0f2162662cb14584
* | Updated from global requirementsOpenStack Proposal Bot2016-10-151-1/+1
| | | | | | | | Change-Id: I8a265234e918b612bc55f11384135599590dc011
* | Updated from global requirementsOpenStack Proposal Bot2016-10-141-1/+1
|/ | | | Change-Id: I9528beab8f113b198bb1c2377625299033dbb253
* Merge "Avoid use xx=[] for parameter initial value"Jenkins2016-10-051-1/+3
|\
| * Avoid use xx=[] for parameter initial valuejiansong2016-09-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | Use xx = [] for the parameter initial value, this parameter will only be initialized at the first call, this is should be avoided. Better choice is to set the initial value to None, then the initialization time use xx= xx or [] more information:http://effbot.org/zone/default-values.htm Change-Id: Ia89b9741731c07d8bf08691a1c6544742625cad6
* | Merge "Replace assertTrue(a in b) with assertIn(a, b)"Jenkins2016-10-041-2/+2
|\ \
| * | Replace assertTrue(a in b) with assertIn(a, b)Anh Tran2016-10-031-2/+2
| |/ | | | | | | Change-Id: Ic2338f549a660ddd0af70e2a1918fe6b29b2d0a2
* | Merge "Throw correct error on creation of size 0"Jenkins2016-10-042-1/+9
|\ \
| * | Throw correct error on creation of size 0Trevor McCasland2016-09-302-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When trying to create an instance of size 0 an error is thrown stating that the size was not specified, this is not correct because I did specify it. The problem is that args.size evaluates to False because size is 0. This patch checks for size being zero instead and throws the correct error message. Change-Id: If00e83ccd919429dcfac7621dbbd9daa49f8b416
* | | Merge "Add tests to fake"Jenkins2016-10-041-0/+8
|\ \ \
| * | | Add tests to fakejiansong2016-09-291-0/+8
| | |/ | |/| | | | | | | | | | | | | | | | | | | I see us at the time of testing flavor without the "m1.medium" and "eph.rd-smaller", I think we can add these two get test, to ensure that the complete test. Change-Id: Idc119e51b8dab5efb0da5dea3d0238430585e413
* | | Merge "Using assertIsNotNone() instead of assertNotEqual(None)"Jenkins2016-10-041-4/+4
|\ \ \
| * | | Using assertIsNotNone() instead of assertNotEqual(None)Cao Xuan Hoang2016-10-031-4/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following OpenStack Style Guidelines[1]: [H203] Unit test assertions tend to give better messages for more specific assertions. As a result, assertIsNotNone(...) is preferred over assertNotEqual(None, ...) and assertIsNot(None, ...) [1] http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises Change-Id: Ie2631ce6d5f1756fe520850be0e0d304f41ba760
* | | Updated from global requirementsOpenStack Proposal Bot2016-09-302-4/+4
|/ / | | | | | | Change-Id: I1fd7e0ae5333438e619f8201b0573bb4cfb0c9de
* | Merge "Add a new command in the readme"Jenkins2016-09-291-203/+231
|\ \ | |/ |/|
| * Add a new command in the readmejiansong2016-09-281-203/+231
| | | | | | | | | | | | | | | | | | With https://review.openstack.org/#/c/343927/ merge, We have two new commands are reset-status and the force-delete, but the existing readme and there is not have this two commands,Look this readme shows that some out of date, so need to be updated Change-Id: Idde08fd0ae2e42dab209d38bc0225683c5fa1922
* | Merge "Use i18n for shell.py"Jenkins2016-09-282-50/+61
|\ \
| * | Use i18n for shell.pyjiansong2016-09-232-50/+61
| | | | | | | | | | | | | | | | | | | | | | | | Help msg and output should support,This can be beneficial to the string type Partial-Bug: #1379001 Change-Id: I7d12aead49f5771f0762533ce9f53e477367101c
* | | Merge "Delete unnessary as e"Jenkins2016-09-281-1/+1
|\ \ \
| * | | Delete unnessary as ejiansong2016-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | It seems that this as e is not used,so we can delete it Change-Id: Ia1ff3854943478d502ebae1daf3af84f43c6cd79
* | | | Merge "Add fixtures to test-requirements"Jenkins2016-09-281-0/+1
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add fixtures to test-requirementsTony Xu2016-09-221-0/+1
| | |/ | |/| | | | | | | | | | | | | This module is be used Change-Id: I0ce94d99425741b040a9f5a59cfb09329eb0a831
* | | Merge "Display flavor-ephemeral in trove flavor-list command"Jenkins2016-09-232-1/+6
|\ \ \ | |_|/ |/| |
| * | Display flavor-ephemeral in trove flavor-list commandjiansong2016-09-112-1/+6
| |/ | | | | | | | | | | | | | | | | | | This commit adds ephemeral column to flavor-list Depends-On:I537bc2f3578e1e99b22f701f70ab8d96fec8908e Closes-Bug:1617980 Change-Id: Ie322378215aa933b16ea2fd8ae0762f0b4bd0ace
* | Merge "Use strutils.to_slug() instead of utils.slugify()"Jenkins2016-09-224-42/+4
|\ \ | |/ |/|
| * Use strutils.to_slug() instead of utils.slugify()Christian Berendt2016-09-064-42/+4
| | | | | | | | | | | | | | | | | | | | Oslo provides a function, to_slug() in strutils that is substantially similar to slugify() provided in utils by python-troveclient. Remove slugify() and use to_slug() instead. Change-Id: I97bc7cfc2c0e7d14e7617037bff431cdc1eee50f Closes-Bug: #1266127 Author: Christian Berendt <berendt@b1-systems.de>
* | Update reno for stable/newtonDoug Hellmann2016-09-072-2/+8
|/ | | | | | | | | | In order to support automatically updating the release notes when we create stable branches, we want the pages to be in a standard order. This patch updates the order to be reverse chronological, so the most recent notes appear at the top. Change-Id: Id5b7f4216a9a55249601827896703a6c87991eba Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Implement scheduled backups2.5.0Morgan Jones2016-08-255-0/+390
| | | | | | | | Implements Trove client APIs to implement scheduled backups via Mistral workflow. Change-Id: I012eb88359e063adbb86979a8fbd2e2a1e83f816 Implements: blueprint scheduled-backups
* Expose Quota.update APIMorgan Jones2016-08-254-2/+28
| | | | | | | | | | | | There exists a method in the management API to change the quota for a given resource. This change exposes that API via a new "trove quota-update" command. Also, adds v1.Quotas to the python client. Note that this command requires admin privileges. Partial implements: blueprint bp/quota-management Change-Id: I6ca1a87fbc46781f83bc9b7bd33745783b8aaab1
* Merge "Add --incremental flag to backup-create"Jenkins2016-08-255-9/+36
|\
| * Add --incremental flag to backup-createAli Adil2016-08-255-9/+36
| | | | | | | | | | | | | | | | | | | | Added --incremental flag to backup-create and set the default value to False. When the flag is passed it will create a backup based on the last good known full/incremental backup. If there is no previous backup a full backup will be created. Change-Id: I96498180890b8b1692b1bac3b19988532f6eb077 Partial-Bug: #1607429
* | Add support for module ordering on applyPeter Stachowski2016-08-256-23/+99
|/ | | | | | | | | | | | Client side of being able to specify 'priority' modules plus a way to rank the order in which modules are applied. Two new attributes 'priority_apply' and 'apply_order' have been added to the python API and are supported in the CLI by means of the module-create and module-update commands. Partially Implements: blueprint module-management-ordering Change-Id: I2b871c7d1eab634174396bd0905329f3a66755f6