summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "bump py37 to py38 in tox.ini"victoria-em5.4.0Zuul2020-10-011-1/+1
|\
| * bump py37 to py38 in tox.iniwangzihao2020-09-181-1/+1
| | | | | | | | | | | | | | in 'victoria' cycle, we should test py38 by default. and remove redundant python env. Change-Id: I6426cc55ee9b6bee96620a8185fbdb39c24a68a8
* | Merge "Remove install unnecessary packages"Zuul2020-10-010-0/+0
|\ \
| * | Remove install unnecessary packageswu.shiming2020-09-141-1/+0
| |/ | | | | | | | | | | | | The docs and releasenotes requirements migrated to doc/requirements.txt we need not install things from requirements.txt. Change-Id: I4403cee833448beb69afaec503519d5a951f7e34
* | Merge "Update developing.rst"Zuul2020-10-011-1/+1
|\ \
| * | Update developing.rstlikui2020-09-081-1/+1
| | | | | | | | | | | | | | | | | | Use unittest.mock instead of mock Change-Id: Ib573e9d217b4f18ef4e7ba3ab581164be423cb26
* | | Merge "Fix --image-property option in 'create server'"Zuul2020-10-013-3/+76
|\ \ \
| * | | Fix --image-property option in 'create server'Myeongchul Chae2020-09-103-3/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a problem that the '-image-property' option, which can be used to create an instance, did not work as intended. I found that there were two problems with this option. First, I cannot select an image as its metadata. The second is that when there are multiple images available, the desired image may not be selected depending on the situation. This patch solves these two problems. I wrote the test case with these two problems considered together. Change-Id: Ib2745d7e067056ff4ca8bfaf6cff492d0dacb73a story: #2007860
* | | | Merge "Add API check for server_groups.create"Zuul2020-09-302-2/+28
|\ \ \ \
| * | | | Add API check for server_groups.createLewis Denny2020-08-262-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The policies field has been replaced with the policy field since Nova API version 2.64[1] This commit adds a check to make sure the correct field is used. [1]https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id59 Change-Id: I06d3211937d822c26070b7f8ad757c365dcbb1bb Story: #2007822 Task: #40101
* | | | | Merge "Add API check for server_groups.list"Zuul2020-09-303-4/+138
|\ \ \ \ \
| * | | | | Add API check for server_groups.listLewis Denny2020-08-213-4/+138
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The policies parameter has been replaced with the policy parameter since Nova API version 2.64[1] This commit adds a check to make sure the correct parameter is used. [1]https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id59 Change-Id: Ia37beb7790884d6d15bec45074f446e64af1a2aa Story: #2008041 Task: #40703
* | | | | Merge "Show words indicating booted from volume for server image"Zuul2020-09-303-8/+35
|\ \ \ \ \
| * | | | | Show words indicating booted from volume for server imagemelanie witt2020-08-273-8/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For a server booted from a volume, nova API does not store an image_id and instead returns an empty string. Currently, openstackclient similarly shows an empty string for Image Name and Image ID for servers booted from volumes. To aid CLI users in understanding the meaning of no image_id, we can display the string "N/A (booted from volume)" in the image field if the server was booted from a volume. Change-Id: I9c62cf6fe23b2e934dcbf5ebbf706b2705d2e424
* | | | | | Merge "Remove install unnecessary packages"Zuul2020-09-301-1/+0
|\ \ \ \ \ \
| * | | | | | Remove install unnecessary packagesmaaoyu2020-09-241-1/+0
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The docs requirements migrated to doc/requirements.txt we need not install things from requirements.txt. Change-Id: I35a367505b2b423c345b05519e4134113cb66648
* | | | | | Merge "Output correct json for security groups in 'openstack server show'"Zuul2020-09-254-21/+42
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Output correct json for security groups in 'openstack server show'jay2020-09-144-21/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes incorrect json output for 'openstack server show -f json'. The security group json output groups all the json as one for e.g. "security_groups": "name='group1'\nname='group2'" The correct output should be "security_groups" : [{"name" : "group1"}, {"name" : "group2"}] properties and volumes_attached fields also has similar issue. Story: 2007755 Change-Id: I1b1cac716329e0530400aff782c08000b21d8e1d
* | | | | | Merge "Support tagging Neutron ports on creation"Zuul2020-09-133-15/+59
|\ \ \ \ \ \
| * | | | | | Support tagging Neutron ports on creationMiguel Lavalle2020-09-043-15/+59
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds support for tagging ports on creation Co-Authored-By: Slawek Kaplonski <skaplons@redhat.com> Change-Id: I3148a568664588eb2f529138f984859570c0fca1 Related-Bug: #1815933
* | | | | | Fix gate due to switch to focalArtem Goncharov2020-09-112-3/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In focal we do not have libffi6. cffi and greenlet versions in lower-contraints are too old. Change-Id: Iab3634039845adb649c7fd69d1812b405a61433c
* | | | | Merge "Add NUMA affinity policy parameter to "port""Zuul2020-09-074-0/+134
|\ \ \ \ \
| * | | | | Add NUMA affinity policy parameter to "port"Rodolfo Alonso Hernandez2020-07-314-0/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added port NUMA affinity policy parameter to "port create", "port set" and "port unset" commands. Change-Id: I48cacab275856af2911829f9b7176bb87fd039b3 Related-Bug: #1886798
* | | | | | Merge "Allow openstack flavor set to update flavor description using name"Zuul2020-09-032-1/+37
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Allow openstack flavor set to update flavor description using nameGabriel Ramirez2020-06-102-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified take_action() method for SetFlavor to use flavor id instead of flavor name when setting description Closes-Bug: #1844708 Story: #2007781 Task: #40019 Change-Id: If6798c89fef4c9feb4ebb460722b891f5655037d
* | | | | | Merge "Bypass user and group verification in RemoveRole"Zuul2020-08-133-32/+285
|\ \ \ \ \ \
| * | | | | | Bypass user and group verification in RemoveRoleLance Bragstad2020-08-123-32/+285
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keystone let's users remove role assignments that reference non-existent users and groups. This is nice when keystone backs to an identity store like LDAP and users or groups are removed. Previously, openstackclient would validate the user and group existed in keystone before sending the request to delete the role assignment. This commit updates the code to bypass that validation so that users can use IDs to forcibly cleanup role assignments. Change-Id: I102b41677736bbe37a82abaa3c5b3e1faf2475d5 Story: 2006635 Task: 36848
* | | | | | | Merge "Add system role assignment tests for users and groups"Zuul2020-08-061-0/+137
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Add system role assignment tests for users and groupsLance Bragstad2020-07-101-0/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I was writing some additional functionality and noticed these tests were missing. This commit adds tests for adding and removing system role assignments for users and groups. Change-Id: I30fdc6ec55e1eb1cfa55f4cbf92c3f001d89865f
* | | | | | | Merge "Fix reverted osc-lib interface change"Zuul2020-08-031-1/+1
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | Fix reverted osc-lib interface changeRoger Luethi2020-07-231-1/+1
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch https://review.opendev.org/#/c/673389/ introduced a regression by changing the osc-lib interface. Two conflicting attempts to fix the regression were launched: 1) Reverting the patch. 2) The patch https://review.opendev.org/683119 changes the exception from the generic CommandError back to a specific Forbidden exception. The patch https://review.opendev.org/683118 catches this exception and passes on, i.e. re-implements the same behavior as before. The first idea was implemented, the initial patch reverted. The second idea was partially implemented. The change in python-openstackclient (683118) was merged. The change in osc-lib was approved but failed to merge because the initial change had been reverted. Now we have again a situation where the exception produced in osc-lib does not match the exception expected by the caller. It is unclear if the osc-lib interface will ever get a rebased version of https://review.opendev.org/683119 merged, so the safest way to address the issue is to also catch the exception that used to be thrown before the inital change and is again thrown after the inital change has been reverted. Change-Id: I2ea2def607ec5be112e42d53a1e660fef0cdd69c
* | | | | | Delete the testcases that arent needed anymoremb711d2020-07-233-32/+0
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The file test_examples.py has never worked since its written and and cli in the example directory are covered by other functional tests for container, flavor and object lists and they have better asserts. So, deleting the file Change-Id: Ib9af40da96e66354fe878e79a80048a58f8dd6fe
* | | | | Fix compatibility issue in 5.35.3.1Felix Yan2020-07-142-1/+10
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The offending entry point object looks like: EntryPoint(name='compute', value='openstackclient.compute.client', group='openstack.cli.base') Story: 2007917 Task: 40323 Change-Id: I0f3cc62e23efdc14203ce6645581d5ba5dbf7fa0
* | | | Merge "Fix uploading an signed image does not work if private signing key is ↵5.3.0Zuul2020-07-082-0/+13
|\ \ \ \ | | | | | | | | | | | | | | | encrypted"
| * | | | Fix uploading an signed image does not work if private signing key is encryptedAlexander Gräb2020-07-072-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia7c84aa7b840bf92aeb7db7246d14119eb727b03 Story: 2007890 Task: 40269
* | | | | Merge "Add a command to trigger entrypoint cache creation"Zuul2020-07-081-0/+3
|\ \ \ \ \
| * | | | | Add a command to trigger entrypoint cache creationMonty Taylor2020-07-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stevedore will cache the entrypoint scan when needed. Since we just installed the things here, do an openstack --help to cause the entrypoints to get scanned at build time and for the cache file to be written into the container image. Change-Id: I73502be6d68c4a38561c9524b4def3c6a6f61ac6
* | | | | | Merge "Expose flag for forcing use of import for images"Zuul2020-07-085-2/+40
|\ \ \ \ \ \
| * | | | | | Expose flag for forcing use of import for imagesMonty Taylor2020-06-305-2/+40
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | openstacksdk added support for using image import as a fallback which is transparently supported here, but also provides an override flag to allow a user to force use of import. Expose that here. Depends-On: https://review.opendev.org/737608 Change-Id: Ied938a8f63f305305a20ace42e9f4c84b0a5c00e
* | | | | | Merge "Make volume backup record commands available in v3"Zuul2020-07-072-0/+8
|\ \ \ \ \ \
| * | | | | | Make volume backup record commands available in v3Radosław Piliszek2020-07-052-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They work just fine in Volume API v3 but they were limited in OSC to v2. Change-Id: I510383f8e0cbf05ec24caa1cad330f12f82a913d Story: 2007896 Task: 40279
* | | | | | | Merge "switch to stevedore for entry points"Zuul2020-07-074-9/+18
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | switch to stevedore for entry pointsDoug Hellmann2020-07-064-9/+18
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Importing pkg_resources scans every installed distribution to find all of the entry points. Stevedore is adding a new caching layer using importlib.metadata, which will not. Switching to the stevedore should eventually speed up load times, especially for command line apps. This change makes the switch now to ensure API compatibility. We were already using stevedore for tests, so this moves the dependency from test-requirements.txt to requirements.txt and raises the minimum version to something more recent. Change-Id: I3e3632783bc745979b6db73e610df8a77ffaceb0 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | | | | Merge "Add '--force; parameter to 'openstack quota set'"Zuul2020-07-064-0/+108
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Add '--force; parameter to 'openstack quota set'hackertron2020-04-144-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compute service allows us to to force set a quota, setting a quota value that is less than the amount of the resource currently consumed. Expose this feature by way of a '--force' boolean parameter. Change-Id: I1d1ac1ac46f49f64794ffc8631e166935537966c
* | | | | | Merge "Remove enabling of glance v1 API"Zuul2020-07-041-2/+0
|\ \ \ \ \ \
| * | | | | | Remove enabling of glance v1 APIGhanshyam Mann2020-07-031-2/+0
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devstack removing the glance v1 api enable option[1] because there is no v1 entry point in glance now[2]. Let's remove ths GLANCE_V1_ENABLED variable setting from zuul job too to avoid any confusion of glance v1 is still available. [1] https://review.opendev.org/#/c/698808/ [2] https://review.opendev.org/#/c/532503/ Change-Id: I6d3a38eee0c75bbc795bad732fe547181d15c677
* | | | | | Merge "Remove translation sections from setup.cfg"Zuul2020-07-043-16/+0
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Remove translation sections from setup.cfgmelissaml2020-06-233-16/+0
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | These translation sections are not needed anymore, Babel can generate translation files without them. Change-Id: Ic5d57186766257e9d37b3588e71f973cddad9be4
* | | | | Merge "Allow os quota list query to filter by project"Zuul2020-06-292-2/+80
|\ \ \ \ \