summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Don't sent disk_over_commit if nova api > 2.24"Zuul2018-07-252-5/+43
|\
| * Don't sent disk_over_commit if nova api > 2.24Artom Lifshitz2018-07-242-5/+43
| | | | | | | | | | | | | | | | | | | | In API microversion 2.25 Nova removed the disk_over_commit parameter to the live migration server action. This patch makes sure that we don't include it in our request if we're running with 2.25 or higher. Story: #2002963 Task: #22966 Change-Id: I1bbdd33be96d82422a05982508e370237c3560f3
* | Merge "Add command to show all service versions"Zuul2018-07-252-0/+145
|\ \
| * | Add command to show all service versionsMonty Taylor2018-07-232-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Knowing what services and what versions of those services exist on a cloud isn't always a spectacular experience. Add a command that will use get_all_version_data from keystoneauth to produce a report of the available services and the version info for each service. Depends-On: https://review.openstack.org/584944 Change-Id: I84751c175d0c5f6d857a5473d2db6d5f1b41f946
* | | Merge "Support --community in openstack image list"Zuul2018-07-253-6/+49
|\ \ \
| * | | Support --community in openstack image listNobuto Murata2018-07-243-6/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "--community" was added to "image create" and "image set" previously, but was missed in "image list". Change-Id: I959fdd7f67ae62c8326659ce52389228152ec019 Story: 2001925 Task: 14453
* | | | Merge "Implement support for project limits"Zuul2018-07-255-0/+880
|\ \ \ \
| * | | | Implement support for project limitsLance Bragstad2018-07-235-0/+880
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit let's users manage limits via the command line. bp unified-limits Change-Id: I7c44bbb60557378b66c5c43a7ba917f40dc2b633
* | | | | Merge "Implement support for registered limits"Zuul2018-07-255-0/+1014
|\ \ \ \ \ | |/ / / /
| * | | | Implement support for registered limitsLance Bragstad2018-07-235-0/+1014
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for users to manage registered limits via the command line. bp unified-limits Depends-On: https://review.openstack.org/#/c/574391/ Change-Id: Id8377363f7a3248b45aeeba21d2acc02684a0305
* | | | | Merge "compute: host: expand kwargs in host_set() call"Zuul2018-07-252-5/+4
|\ \ \ \ \
| * | | | | compute: host: expand kwargs in host_set() callBenoƮt Knecht2018-07-202-5/+4
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `host_set()` expects `status` and `maintenance_mode` as keyword arguments, but in `SetHost.take_action()`, it is called without expanding the keyword arguments. So it's called as ``` host_set(host, {'status': 'enable'}) ``` instead of ``` host_set(host, status='enable') ``` Change-Id: If0b37ac60091161a892bfc694fce31a988f66005 Task: 23023
* | | | | Merge "Support filtering port with IP address substring"Zuul2018-07-252-3/+26
|\ \ \ \ \
| * | | | | Support filtering port with IP address substringHongbin Lu2018-06-292-3/+26
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | Change-Id: I9559f1c0a6db943705bd32aefb60d7ea7054dd1b Related-Bug: #1718605
* | | | | Merge "Fix error with image show when image name is None"Zuul2018-07-242-2/+3
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Fix error with image show when image name is NoneJake Yip2018-07-232-2/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Need to bump osc-lib to 1.10.0 Closes-Bug: #1736696 Depends-On: I2aab5cc1f550848bda2b90ef7ef9a60f07b88996 Change-Id: I7420204f28d36529354e5671bd88587d9b15bb06
* | | | Merge "Do not require port argument when updating floating IP"Zuul2018-07-242-11/+57
|\ \ \ \
| * | | | Do not require port argument when updating floating IPyanpuqing2018-06-132-11/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When setting floating ip other properties, port argument is force to use. The patch modifies the command, when setting floating ip other properties, like tags, no need port argument. Change-Id: I908712c8913f32d3dd5fdfefe7347277d72f66de Story: 1751431 Task: 13865
* | | | | Pass volume snapshot size to volume createMonty Taylor2018-07-232-4/+14
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When creating a volume from a snapshot, the size parameter is required and type is checked. Since we have to pass something and it needs to be a valid data type (None is not acceptable) grab the size from the snapshot object and pass it. Change-Id: Ie23e3d23828919234e40336b5c65b22e140d337c
* | | | Merge "Slow down and retry aggregate create/delete to lessen race"Zuul2018-07-131-0/+18
|\ \ \ \
| * | | | Slow down and retry aggregate create/delete to lessen raceDean Troyer2018-07-061-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I676894c1bfd3156313d88e6457250b9ff226118b Signed-off-by: Dean Troyer <dtroyer@gmail.com>
* | | | | Merge "Skip calls to glance and nova when got no servers"Zuul2018-07-112-2/+21
|\ \ \ \ \
| * | | | | Skip calls to glance and nova when got no serversPavlo Shchelokovskyy2018-07-092-2/+21
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | save (potentially many) HTTP calls to Glance API for image list and a call to Nova API for flavor list when the server list actually returned no servers. Change-Id: I93a56138c50b82fb4dce67a2f788107f71c5f423 Story: #2002039 Task: #19681
* | | | | Merge "Make Profile fallback go bye-bye"Zuul2018-07-101-41/+11
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Make Profile fallback go bye-byeMonty Taylor2018-03-141-41/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's time to move on with life. (dtroyer) This requires sdk >= 0.10.0 (0.9.19 is in global-requirements.txt) and osc-lib >= 1.8.0 (1.8.0 is already in g-r). Once we have sdk bumped make_client() becomes just a pass-through for the plugin interface and existing code compatibility. Change-Id: Ie3d7c442da4257b11140c109e9df69b629336f42
* | | | | Merge "Retry floating IP tests"Zuul2018-07-061-4/+36
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Retry floating IP testsDean Troyer2018-07-061-4/+36
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | test_server_attach_detach_floating_ip() has a test for server add/remove floating IP that seems to be racy, add a retry loop to let neutron and nova do their thing before calling it bad. Change-Id: I999a0d7dae1706d746053bafb7ab4e3b791d0042
* | | | Merge "Adding api_version to FakeApp"Zuul2018-06-291-0/+1
|\ \ \ \
| * | | | Adding api_version to FakeAppTelles Nobrega2018-06-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to use app.api_version['<some_service>'] we need to have the api_version on FakeApp otherwise the test will fail. Patch that will benefit from this: https://review.openstack.org/#/c/572536/ Change-Id: Ibb3c548daf2a62b6c4aefb5e257372dd5c56521e
* | | | | Merge "Display private flavors in server list"Zuul2018-06-291-1/+1
|\ \ \ \ \
| * | | | | Display private flavors in server listnpraveen352018-03-211-1/+1
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the code so that "openstack server list --all" also displays the names of private flavors. Change-Id: I4804fcd905eaf67b1ad9b461084eaf0caa820d2f Closes-Bug: #1742453
* | | | | Merge "Add ability to filter image list by tag"Zuul2018-06-293-7/+44
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Add ability to filter image list by tagAdam Harwell2018-06-283-7/+44
| | | | | | | | | | | | | | | | | | | | Change-Id: I2e222d3e69df9d8d7cd472663caaee31bedd848c
* | | | | Merge "Format port_details field of Floating IP"Zuul2018-06-281-1/+6
|\ \ \ \ \
| * | | | | Format port_details field of Floating IPHongbin Lu2018-04-271-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Depends-On: I31e940d2986278d2fbee6fdfea4ff15f7c07ebaa Change-Id: I115739ea253ce26e075cd3f10e719b13f18afa5b Partial-Bug: #1723026
* | | | | | Merge "Compute: Add description support for flavor"Zuul2018-06-283-4/+161
|\ \ \ \ \ \
| * | | | | | Compute: Add description support for flavortianhui2018-06-203-4/+161
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Fan Zhang <zh.f@outlook.com> Change-Id: I0dc80bee3ba6ff4ec8cc3fc113b6de7807e0bf2a Story: 2002196 Task: 21681
* | | | | | Merge "Network: Add tag support for security group"Zuul2018-06-253-6/+212
|\ \ \ \ \ \
| * | | | | | Network: Add tag support for security groupDongcan Ye2018-06-143-6/+212
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | Change-Id: Icccb23429913724c6a8bd15d4737672b47a5f13a Closes-Bug: #1750983
* | | | | | Merge "compute: limit the service's force down command above 2.10"Zuul2018-06-242-11/+25
|\ \ \ \ \ \
| * | | | | | compute: limit the service's force down command above 2.10He Jie Xu2018-06-192-11/+25
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The force down action is added in Microversion 2.11, we should limit the command only can be executed when the microversion is above 2.10. Change-Id: I0a87e02e71ff025d30181fc17ebcd003a590f110
* | | | | | Merge "Fix subnet host_routes error"Zuul2018-06-242-1/+31
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Fix subnet host_routes errorHuang Cheng2018-06-142-1/+31
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When updating subnet with "no-host-route" option, set host_routes to an empty list as neutron_lib.api.validators expected. Change-Id: I6fe039793d813758429c7a104fd40172b4f8122b Closes-Bug: #1747101
* | | | | Fix the `role implies list` command.Sami MAKKI2018-06-245-15/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code was calling an unexisting function which never existed. The module refers now to the correct `InferenceRuleManager`. It also allows the compatibility with the future python-keystoneclient in which the compatibility method will be removed from the RoleManager. Change-Id: I08f785dc9e840da2e16915683eecfe49189c44b3
* | | | | Fix volume type functional testsDean Troyer2018-06-223-77/+175
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Convert functional VolumeTypeTests to not use class methods for setup. Depends-On: https://review.openstack.org/577147 Change-Id: I855583ad1a50bf5f5046acdb85e977ab9e3c45d2
* | | | Merge "Fix server show for microversion 2.47"Zuul2018-06-122-7/+46
|\ \ \ \
| * | | | Fix server show for microversion 2.47Matt Riedemann2018-06-082-7/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compute API version 2.47 embeds the server's internal flavor in the response. The original flavor id is not preserved since it could have changed if the flavor was deleted and re-created after the server was created, which was the dreaded Horizon "Edit Flavor" issue. So the flavor dict in the server response is a dict of information about the flavor representing the server "right now" excluding the id. The original flavor name is shown though along with the ram/disk/vcpu etc information. The server list command has a similar issue which will be fixed in a follow up change. Change-Id: I1a92999758006d02567c542b6be8902a049899cc Task: 13864 Story: 1751104
* | | | | Merge "Optimize _prep_server_detail to avoid redundant find_resource"Zuul2018-06-122-10/+15
|\ \ \ \ \ | |/ / / /
| * | | | Optimize _prep_server_detail to avoid redundant find_resourceMatt Riedemann2018-06-082-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When showing a server or doing a rebuild, we already have the latest version of the server so _prep_server_detail getting the server again is an unnecessary performance hit. ShowServer is pretty obvious here. For RebuildServer, the compute API actually refreshes the server before returning it in the response, so the client already gets the latest when the rebuild call returns. The only other usage of _prep_server_detail that does require a refresh is CreateServer since the POST /servers response is a minimal version of the server object. This adds a new refresh kwarg, backward compatible by default, to _prep_server_detail but changes ShowServer and RebuildServer to no longer refresh. Change-Id: Ib1c9c424ed1cafc2dfd8be90af8de8a774bdfbf0
* | | | | Merge "Use Server.to_dict() rather than Server._info"Zuul2018-06-121-4/+6
|\ \ \ \ \ | |/ / / /