summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated from global requirements3.14.0OpenStack Proposal Bot2018-01-241-1/+1
| | | | Change-Id: I7b712b41e633f7e3dc40749b5a55706cb32fecee
* Fix use of new openstacksdk connectionMonty Taylor2018-01-231-0/+1
| | | | | | | We store the created conn on the instance, but we never pull it back off if there is already one present. Change-Id: I2d890dd206d4ddf67fa42d798e6fd2c652799785
* Rework Network client config for new SDK ConnectionDean Troyer2018-01-221-19/+26
| | | | | | | | network.client.make_client() has always put a copy of it's SDK Connection directly into ClientManager, the new-style Connection create will move into osc-lib ClientManager, do it here too until then. Change-Id: I1edfd19c9e73320768fb9640931fafe857c980b4
* Merge "Updated from global requirements"Zuul2018-01-221-1/+1
|\
| * Updated from global requirementsOpenStack Proposal Bot2018-01-191-1/+1
| | | | | | | | Change-Id: I72c81c299759b883e316b450716d1528bdb06308
* | Merge "Replace assert with condition"Zuul2018-01-221-3/+1
|\ \
| * | Replace assert with conditionPavlo Shchelokovskyy2018-01-221-3/+1
| | | | | | | | | | | | | | | | | | | | | a piece of code in image client has some business logic behind assert, which can be lost when running python in optimized mode (-O). Change-Id: I2179970df495e1215d691915c51cebe5cb4541a7
* | | Merge "Check that Glance returns image data before processing it"Zuul2018-01-223-0/+64
|\ \ \ | |/ / |/| |
| * | Check that Glance returns image data before processing itMike Fedosin2018-01-053-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now if Glance v2 cannot find image data it returns an empty response with 204 status code, instead of raising an error. Glance client handles this situation and wraps the response with a RequestIdProxy object, whose 'wrapped' attribute is None. But when openstack client tries to parse this object using glanceclient's save_image util function, it fails with "NoneType object is not iterable" message, for the object doesn't contain any data. This patch adds additional check to prevent such behaviour and raises SystemExit exception if no data was returned from the server. Glance v1 is not affected, because it raises an error if can't find an image data. Change-Id: I016a60462ba586f9fa7585c2cfafffd7be38de7b Closes-Bug: #1741223
* | | Corrected spelling mistakeDavid Rabel2018-01-191-1/+1
| |/ |/| | | | | | | | | in quotas -> in quotes Change-Id: I3adb1ccd8f3a9c495f0b9cf688aee5c4c1e63507
* | Merge "Fix indentation in authentication.rst"Zuul2018-01-181-6/+6
|\ \
| * | Fix indentation in authentication.rstDavid Rabel2018-01-171-6/+6
| | | | | | | | | | | | | | | | | | Fix indentation in doc/source/cli/authentication.rst Change-Id: I7d408e9d27a384903680303219f2578be0e2937e
* | | Merge "Updated from global requirements"Zuul2018-01-181-1/+1
|\ \ \
| * | | Updated from global requirementsOpenStack Proposal Bot2018-01-181-1/+1
| |/ / | | | | | | | | | Change-Id: Ic5715c21e19d92c8f3d85091bfa41c28bb271c42
* | | Merge "Partially Revert "Update new documentation PTI jobs""Zuul2018-01-181-2/+1
|\ \ \
| * | | Partially Revert "Update new documentation PTI jobs"Doug Hellmann2018-01-171-2/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The zuul job figures out whether to run "setup.py build_sphinx" or "build-sphinx" based on whether the project is relying on pbr's ability to auto-generate API reference docs. Because we are relying on that, we want local builds to use "setup.py build_sphinx". This reverts commit 42e0037cd055d81d9452f046c347f8e469d27350. Change-Id: Ia01188110fa9c3ccaf3d794fa3a511a6780e683e
* | | Merge "Use Zuul v3 fetch-subunit-output"Zuul2018-01-181-2/+1
|\ \ \ | |/ / |/| |
| * | Use Zuul v3 fetch-subunit-outputAndreas Jaeger2018-01-161-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | We have consolidated the fetch output roles into one fetch-subunit-output, replace useage of old roles with new one. Depends-On: I0cdfc66ee8b046affeb0b071fef38c21cb7a4948 Change-Id: Iae2892d9b4cd870a11579434edc9ee66bd16798c
* | | Updated from global requirementsOpenStack Proposal Bot2018-01-161-1/+1
|/ / | | | | | | Change-Id: I72311597c1b62d985282cef5e219c16cd6745b42
* | Updated from global requirementsOpenStack Proposal Bot2018-01-151-1/+1
| | | | | | | | Change-Id: I90df2e58bb83239f5b041982844516eb34cb5656
* | Merge "Add floating IP qos_policy actions"Zuul2018-01-115-3/+201
|\ \
| * | Add floating IP qos_policy actionsLIU Yulong2018-01-115-3/+201
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now we can associate a qos policy to the floating IP, and dissociate it. The commands are: $ openstack floating ip create --qos-policy ... $ openstack floating ip set --qos-policy ... $ openstack floating ip set --no-qos-policy ... $ openstack floating ip unset --qos-policy These commands are based on the neutron change: I4efe9e49d268dffeb3df4de4ea1780152218633b Partially-Implements blueprint: floating-ip-rate-limit Change-Id: I932b32f78cc5a2b53926feaec1a0b392cf7e8b57
* | Updated from global requirementsOpenStack Proposal Bot2018-01-092-1/+4
| | | | | | | | Change-Id: Ic85eb65f3f143fdfbf2b6fa71d7cdd6961b24c76
* | Allow ports filtering with device_idHongbin Lu2018-01-034-1/+35
|/ | | | | | | | | | Right now, if a neutron port is owned by a container powered by Kuryr, there is no way to list and filter those ports because OSC assumed a neutron port is owned by either a server or router. This patch adds support for that by introducing an option '--device-id' to the 'port list' command. Change-Id: Ib1fd27e8d843a99fb02ccabd8a12a24ac27cec9c
* Merge "Update new documentation PTI jobs"Zuul2018-01-033-5/+15
|\
| * Update new documentation PTI jobsGuoqiang Ding2017-12-283-5/+15
| | | | | | | | | | | | | | | | | | | | For compliance with the Project Testing Interface as described in [1]. For more detailed information, please refer to [2]. [1] https://governance.openstack.org/tc/reference/project-testing-interface.html [2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I7e8c47dead1e019e8705db3ff7559dd39b1d90d9
* | Merge "Allow port list to shown undefined attributes"Zuul2017-12-312-2/+14
|\ \
| * | Allow port list to shown undefined attributesAkihiro Motoki2017-11-242-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At now, OSC command implementation extracts resource attributes based on a predefined column list, so if a user specifies an unknown attribute not defined in the column lists, such attribute will be ignored. In case of 'port list', the neutron port defines many attributes and it is not a good idea to show all attributes even in the long mode from the perspective of user experience. This commit consumes osc_lib.utils.calculate_headers_and_attrs() function to show undefined port attributes if requested in -c option. Closes-Bug: #1707848 Depends-On: I6c6bc3c6e3c769c96869fd76b9d9c1661280850e Change-Id: I130a6aed41d80603698b6cab0c9a1d1dc59df743
* | | flavor: clarify --swap descriptionChen Hanxiao2017-12-282-2/+2
| |/ |/| | | | | | | | | | | | | | | | | --swap will add a additional storage device, which not affect the original swap partition/device. This patch will clarify this misleading description. Change-Id: Ic079c069985d39cc969b97876901007a81883f57 Signed-off-by: Chen Hanxiao <chenhx@certusnet.com.cn>
* | Merge "Switch to use stestr directly"Zuul2017-12-273-13/+17
|\ \
| * | Switch to use stestr directlyMasayuki Igawa2017-12-273-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | This commit makes to use stestr instead of ostestr directly. ostestr>1.0.0 has started to use stestr instead of testrepository. So there is no reason to use ostestr anymore. Change-Id: I6327d50c9f6dd19f1de24b9b51532104fb3e916e
* | | Merge "Updated from global requirements"Zuul2017-12-271-4/+4
|\ \ \
| * | | Updated from global requirementsOpenStack Proposal Bot2017-12-231-4/+4
| |/ / | | | | | | | | | Change-Id: Ieb1a29ba275784f67f0d943fab5f3b59cd9fc28e
* | | Fix func tests: Ensure to pass OS_CLOUD envvarAkihiro Motoki2017-12-271-0/+2
|/ / | | | | | | | | | | | | | | | | Our functional tests depend on OS_CLOUD (or other OS_* envvars) to retrieve authentication information. Functional test failure is caused by the lack of OS_CLOUD envvar. This commit updates the job playbook to pass OS_CLOUD. Change-Id: I903ce599082cc923f02e26a2058bbfa7eb9bb2d6
* | Merge "Send 'changes-since' instead of 'changes_since' query parameter"3.13.0Zuul2017-12-133-8/+14
|\ \
| * | Send 'changes-since' instead of 'changes_since' query parameterDaniel Speichert2017-12-113-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per API reference, only 'changes-since' is accepted and the variant with underscore is ignored, making the CLI functionality broken. [dtroyer] added release note and fixed unit tests. Change-Id: I0c596531a8af03da17d5ce39d75b12e941403aa5 Closes-Bug: 1732216
* | | Merge "Add support for endpoing filter commands"Zuul2017-12-138-18/+426
|\ \ \
| * | | Add support for endpoing filter commandsJose Castro Leon2017-11-218-18/+426
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Implements the commands that allow to link and endpoint to a project for endpoint filter management. Implements: blueprint keystone-endpoint-filter Change-Id: Iecf61495664fb8413d35ef69f07ea929d190d002
* | | Merge "Fix credentials in create, update and list."Zuul2017-12-114-23/+13
|\ \ \
| * | | Fix credentials in create, update and list.yangweiwei2017-11-174-23/+13
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now, keystone has supported serverl auth method, like 'totp'. Before we use this method, we should create the credential first. And we need create it with type 'totp'. But now we cannot create credential with this method. Also, I think the type should not have constrains. We can create any type in keystone project. So, we should do these actions too. The type would be more which We cannot control. Change-Id: Ie0482da3133fb515e4bb8e45f8c54f509589cc5e Closes-bug: #1731848
* | | Fix SDK Connection creation alternative to ProfileDean Troyer2017-12-073-8/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | Do a dummy import to determine which SDK is installed (Pre/post merge). This solves the DevStack error "Cloud defaults was not found" in -tips jobs. Depends-On: Ia111f127fbdceac2afe20fd9d1fe032145cdd72c Change-Id: I60c2d418dd5a393eee2cc2a5c2fdebfffdabf2d3
* | | Merge "Remove a bunch of things we promised to remove in 2H 2017"Zuul2017-12-049-249/+1
|\ \ \
| * | | Remove a bunch of things we promised to remove in 2H 2017Dean Troyer2017-11-309-249/+1
| | | | | | | | | | | | | | | | Change-Id: I060559fe13e354fe87551cd9dd82774bddb54640
* | | | Remove -U from pip installAndreas Jaeger2017-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'pip install -U' ugrades specified packages, this is not necessary since we use constraints, remove the parameter '-U' from the line. With tools/tox_install.sh - which a previous change of mine removed - the -U was not harmful, but with the current set up, it might cause upgrades, so remove it. Change-Id: I9f818d4b78e7540498a1501be14cd63ac3e891b3
* | | | Merge "openstack subnet create fails when tags is None"Zuul2017-12-022-2/+8
|\ \ \ \
| * | | | openstack subnet create fails when tags is NoneCarlos Konstanski2017-12-012-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In network/v2/_tag.py lines 105 and 110: obj.tags can be None, in which case set(obj.tags) throws a NoneType exception. Change-Id: I1e965ec947844cbf84676fab27a2261fc0c0ea49 Closes-Bug: #1735836
* | | | | Avoid tox_install.sh for constraints supportMonty Taylor2017-12-012-66/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not need tox_install.sh, pip can handle constraints itself and install the project correctly. Thus update tox.ini and remove the now obsolete tools/tox_install.sh file. This follows https://review.openstack.org/#/c/508061 to remove tools/tox_install.sh. Change-Id: Ie7c06ead39c8597ec9326f223625d1fa0d5208d1
* | | | | Make py27 and py35 versions and template of unit-tips jobsMonty Taylor2017-12-011-12/+57
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make py27 and py35 versions of the tips job, and a project-template to hold them so it's easy for other projects to use both (or more, we ever add them) The base tox job knows how to install siblings based on required-projects, which makes it easy to piggyback on them. Remove the irrelevant-files sections, as these are specified in the base openstack-tox jobs. Using the unit-tips or functional-tips tox env is no longer neccessary. For the gate it's actually important to not do the sibling processing by hand in tox as the base tox job version of the logic does all the right things to deal with constraints and whatnot. Leave them for local developer convenience. Leave the osc-tox-unit-tips job for now, since there are some other repos using it. Once we switch them to the template, we can remove the job. Change-Id: I599b18218c10cb08e508cca3b3bbc9c88b8f809c
* | | | Add cliff and keystoneauth to tips jobsMonty Taylor2017-12-012-0/+8
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Both of these can severely break openstackclient. Add them to the required-projects list of the tips jobs. We should then add at least osc-tox-unit-tips but maybe also osc-functional-devstack-tips to both cliff and keystoneauth so that it's symmetrical. Change-Id: Ie0f3e9d7e221c9cdd3c5d726148f456246186ff4
* | | Release note cleanupDean Troyer2017-11-292-0/+13
| | | | | | | | | | | | Change-Id: Iea05a9b696a225b41bb5bf0c52498969e32acf66