summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | Updated from global requirementsOpenStack Proposal Bot2017-01-252-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7b0e46de18f10cde110e1957c12210bc3271e7f9
* | | | | | | | Merge "Use image client for images instead of compute"Jenkins2017-01-252-21/+22
|\ \ \ \ \ \ \ \
| * | | | | | | | Use image client for images instead of computeArtom Lifshitz2017-01-242-21/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the deprecation of the Nova proxy APIs in microversion 2.36 [1], any operation that uses a microversion higher than 2.36 and works with images will fail because the /images endpoint will return 404. This patch updates openstackclient to query images using the image client in places where previously the compute client was used. [1] http://docs.openstack.org/developer/nova/api_microversion_history.html#id33 Change-Id: Ia66e44e530799ce6531922dcf6a84e38528c8725 Closes-bug: 1630161
* | | | | | | | | Merge "Functional tests debug support"Jenkins2017-01-241-1/+4
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | |
| * | | | | | | | Functional tests debug supportRui Chen2017-01-221-1/+4
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass OS_* options into tox debug venv in order to debug functional tests in local, and install ipdb to make code-debug more convenient. Change-Id: Ib926948f2b9a52921cf7487fe16ef716481e3ceb
* | | | | | | | Merge "Fix OSC networking commands help errors"Jenkins2017-01-243-2/+38
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix OSC networking commands help errorsRui Chen2017-01-223-2/+38
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSC networking commands need to authenticate to get service catalog, then decide to show nova-network or neutron command help message. Fake token and fake auth_type in prepare_to_run_command() casue os-cloud-config use AdminToken auth plugin, but pass all the auth information (include: username, password and so on) to it, that casue the class initialization error. Pop the fake token and url, then try to load auth plugin again to fix the issue. Change-Id: I8b140f0b0a60681fc2a35a013bb0c84ff8cb9589 Closes-Bug: #1650026
* | | | | | | | Merge "Update container format choices"Jenkins2017-01-243-12/+24
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | Update container format choicesBrian Rosmaita2017-01-233-12/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The choices for valid container formats is out of date in the image v1 and v2 help text. This patch adds 'ova' and 'docker' and does some minor refactoring to align the container_format option with the disk_format option. Change-Id: Icdea5fab801abd651baf45cf96c920c7df79f11b Closes-bug: #1658138
* | | | | | | | Merge "Functional tests - port"Jenkins2017-01-241-23/+141
|\ \ \ \ \ \ \ \
| * | | | | | | | Functional tests - portDean Troyer2017-01-051-23/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rework functional tests to remove resource create/delete from setupClass() and teardownClass() methods. * Add tests for more command options Change-Id: Ic77df94fe5980e60c6a67cbf061b9a9dc601518f
* | | | | | | | | Merge "Handle 403 error on creating trust"Jenkins2017-01-242-4/+14
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Handle 403 error on creating trustHongbin Lu2017-01-242-4/+14
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, creating trust requires permission to list roles, but non-admin users don't have permission to do that by default. This commit adds exception handling on listing roles, and continue to create trust if server returns 403. Closes-Bug: #1658582 Change-Id: I4f016b76cb46ae07ef65ed54780881bbcd6210d3
* | | | | | | | | Merge "SDK refactor: Prepare security group commands"Jenkins2017-01-242-23/+14
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | SDK refactor: Prepare security group commandsAbhishek Raut2017-01-232-23/+14
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "security group" commands for the SDK refactor. Change-Id: If9918fad2474f9b4d68424f2806f0de61fd58b2e Partially-Implements: blueprint network-command-sdk-support
* | | | | | | | | Merge "Update devref about "--no-property""Jenkins2017-01-231-11/+15
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Update devref about "--no-property"Rui Chen2017-01-221-11/+15
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the example about "--no-property" and "--property" to make help message order more reasonable, that help make users aware of the processing order, and update the help details when both "--no-property" and "--property" appear in the same command. Change-Id: I998cdaf2f8c881dce219581ff328a639e8e358ee Implements: blueprint allow-overwrite-set-options
* | | | | | | | Merge "TrivialFix in helpMessage for readability"Jenkins2017-01-232-2/+3
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | TrivialFix in helpMessage for readabilityzhiyong.dai2016-11-232-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic5fae89455470585f1bd79539f99a9c04e0c68a0
* | | | | | | | Merge "Fix port command for SDK >0.9.10"Jenkins2017-01-211-1/+5
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix port command for SDK >0.9.10jiahui.qiang2017-01-091-1/+5
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The port functional test can not be passed in my local environment. When 'dns_assignment' is None, the port create, show command will fail because parameter for 'utils.format_list_of_dicts' can not be None. Change-Id: Iebf16fb7ca681660c2b9ee7839a0629f38c6a38a
* | | | | | | | Merge "Error in the return of command 'volume qos create'"Jenkins2017-01-214-17/+31
|\ \ \ \ \ \ \ \
| * | | | | | | | Error in the return of command 'volume qos create'jiahui.qiang2017-01-174-17/+31
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixed a 'volume qos create' display mistake in argument of 'specs'[1]. For command such as: $ openstack volume qos create hello [1]https://bugs.launchpad.net/python-openstackclient/+bug/1656767 Closes-bug:#1656767 Change-Id: Ia9fce833d318d9b52b97c12cfb89e2d3c5465fbe
* | | | | | | | Error in the return of command server show, createjiahui.qiang2017-01-171-0/+14
| |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The raw output in the command 'openstack server create'(also in show) is used in display table directily. the item like os-extended-volumes:volumes_attached and security_groups needs to convert. the worry output: os-extended-volumes:volumes_attached | [{u'id': u'c3525de9-1cbf-4ac8-8b7a-ca295c46633b'}] security_groups | [{u'name': u'default'}] Change-Id: Id9db251c315f989e1dc5b1b6231ab328014213e3
* | | | | | | Merge "Functional test for volume snapshot"Jenkins2017-01-191-41/+198
|\ \ \ \ \ \ \
| * | | | | | | Functional test for volume snapshotjiahui.qiang2017-01-171-41/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor functional tests in volume snapshot. Change-Id: I2fcc468096b3a26c83b8af1e379a62c80eb9c63e
* | | | | | | | Merge "Fix functional test for creating subnet"Jenkins2017-01-181-13/+26
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix functional test for creating subnetHuanxuan Ao2017-01-181-13/+26
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subnet create failed by some bad random subnet range, so retry it with new random range when the test failed. Change-Id: If528ff419b51dd5c5232f81d4b26abae542bd820
* | | | | | | | Merge "Fill the missing colon"Jenkins2017-01-181-1/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | Fill the missing colonzhiyong.dai2016-11-221-1/+1
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fills the missing colon in ip-availability.rst Change-Id: Icc7c8cc04fdfeb00051392f560bedcde62cfcee7
* | | | | | | | Merge "Add plugin adoption for trove"Jenkins2017-01-184-1/+9
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Add plugin adoption for troveTrevor McCasland2017-01-174-1/+9
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With I308a6c6f3f5ce7dbb814ec0fd8ecb1734a2f137f merged in the python-troveclient project, trove can now say it has adopted the plugin. What commands that actually get implemented for this cycle, is to be determined. Another patch adding more commands to the docs will be proposed later when they get merged. Change-Id: If2c2545dd5d1510cc6eece698e34ad0f8c1b970f
* | | | | | | Merge "Fix quota set command error for SDK > 0.9.10"Jenkins2017-01-174-36/+78
|\ \ \ \ \ \ \
| * | | | | | | Fix quota set command error for SDK > 0.9.10Huanxuan Ao2017-01-154-36/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A bug in OpenStack SDK 0.9.11 and 0.9.12 that causes quota set command to fail. This can be removed when the proposed SDK fix (https://review.openstack.org/#/c/419911/) is released and in the minimum SDK version in global requirements. Closes-Bug: #1655445 Change-Id: I63132f5f762f0120282f8b92e72512763063e3c6
* | | | | | | | Merge "functional test for volume"Jenkins2017-01-171-101/+204
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | functional test for volumejiahui.qiang2017-01-091-101/+204
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rework functional tests to remove resource create/delete from setupClass() and teardownClass() methods. Add test for more command options Change-Id: I2b6ad1fce26f04c11ed43f8d73515fde4a7d09af
* | | | | | | Merge "Update functional test for aggregate."Jenkins2017-01-171-3/+43
|\ \ \ \ \ \ \
| * | | | | | | Update functional test for aggregate.zhiyong.dai2017-01-161-3/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the following functional tests : option: "--no-property" command: "aggregate set --zone", "aggregate add host", "aggregate remove host". Change-Id: Ia9c31facb5f0f5b92b8df950fd4021b8ecc924c5
* | | | | | | | Updated from global requirementsOpenStack Proposal Bot2017-01-161-1/+1
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | Change-Id: Ic8eef0aa955d747ae7edf19761f8d682cf95d63f
* | | | | | | Release 3.7.0 cleanup3.7.0Dean Troyer2017-01-153-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I75d9e2473461e316086cfad8c886c6b7d22ecd5e
* | | | | | | Merge "SDK refactor: Prepare network agent commands"Jenkins2017-01-153-4/+24
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | SDK refactor: Prepare network agent commandsHuanxuan Ao2017-01-153-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "network agent" commands for the SDK refactor. Partially-Implements: blueprint network-command-sdk-support Closes-bug: #1656542 Change-Id: I6745f5ffb04b009487e6cb36d1807dce9b248b4c
* | | | | | | Updated from global requirementsOpenStack Proposal Bot2017-01-151-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | Change-Id: Idb49f1e126d1dab070894e2fc70c78b9984f988a
* | | | | | Merge "Fix quota show --default command"Jenkins2017-01-153-4/+41
|\ \ \ \ \ \
| * | | | | | Fix quota show --default commandDean Troyer2017-01-143-4/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Work around a bug in OpenStack SDK 0.9.11 and 0.9.12 that causes quota show --default to fail. This can be removed when the proposed SDK fix (https://review.openstack.org/420301) is reelased and in the minimum SDK version in global requirements. quota set --network is still broken, I can't fix it at the moment... Closes-bug: 1656572 Change-Id: Ice77e14782c33e672176afbab36bba95b73d7a11
* | | | | | | unskip port testSteve Martinelli2017-01-141-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | seems like we fixed this one when fixing other tests but never unskipped it. Change-Id: Id1a3d11b581b6f72ad62a8699899b6163c3870bb
* | | | | | | Merge "Use git+file urls instead of directories"Jenkins2017-01-142-7/+9
|\ \ \ \ \ \ \
| * | | | | | | Use git+file urls instead of directoriesMonty Taylor2017-01-142-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The /opt/stack/new directories are owned by the wrong user, so python setup.py egg_info fails because it can't create the egg_info dir. Changing the invocation to use git+file:// urls solves the problem. Additionally, make a correction to test collection. Change-Id: I39da0b26417dce1a72b15dedc02d10284329307f
* | | | | | | | Merge "Fix network functional tests for sdk 0.9.12"Jenkins2017-01-141-104/+125
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix network functional tests for sdk 0.9.12Steve Martinelli2017-01-141-104/+125
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it seems the SDK returns "is_default", but doesn't actually set it based on --default or --is-default I already had these functioanl tests mostly converted to JSON, so I dumped that in here too to make the is_default stuff cleaner. Change-Id: I47ca62f57c73aa7fa984ca54742fc86b6bb837c4