summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \ \
| * | | Allow os quota list query to filter by projectJose Castro Leon2020-03-122-2/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the os quota list command, project parameter is completely ignored ending up in a request to all projects and then all quotas. This patch enables back the parameter and does a single call to quotas if specified. Change-Id: Ie17c256e2bdc307dcd94ad5be7abdbffa776d369 Story: 2007422 Task: 39043
* | | | Merge "port: add --host to list command"Zuul2020-06-262-0/+22
|\ \ \ \ | |_|/ / |/| | |
| * | | port: add --host to list commandMohammed Naser2020-06-172-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds an option to allow filtering ports bound to a specific host when listing them. Change-Id: I747ed0f8b070074c51789576a158345f670fe733
* | | | Don't display Munch objects in the outputJens Harbott2020-06-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the sdk gives us a resource that contains Munch columns, drop them from the output as they are for programmatic usage only and have no use in a CLI context. Change-Id: Idd7306cd763b5a017a66e410e70e1adb02663c2a
* | | | Revert "Format location columns in network commands"Jens Harbott (frickler)2020-06-1722-119/+28
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6ee7b8d138e07bfc37c5cd887f7afa49cdabb02f. Change-Id: I5f59959ba8a01aba49e29f4cb007397467344e58
* | | | Merge "Remove os-client-config references"Zuul2020-06-115-24/+5
|\ \ \ \
| * | | | Remove os-client-config referencesMonty Taylor2020-06-085-24/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've depended on openstacksdk for config for ages now, clean up after ourselves and stop installing it in tests. Change-Id: I66b3ec2a36bc462d2f1ac151e95ccbdc946076b8
* | | | | Merge "image: autogenerate docs"Zuul2020-06-096-652/+30
|\ \ \ \ \
| * | | | | image: autogenerate docsEric Fried2020-06-086-652/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $namespace = openstack.image.v{1|2} The subcommand documents for $namespace were hardcoded and thus prone to drift over time. This commit removes the hardcoded content and uses the autoprogram-cliff directive to generate them automatically from the subcommand configuration classes. Some reorganization happened here. The `image` subcommand name is shared by image v1 and v2. Previously the hardcoded document had them combined and interleaved. Attempting to preserve this with autoprogram-cliff would have required significant additional infrastructure. However, since most readers care completely about one and not at all about the other, we instead split the v1 and v2 versions of these commands into separate pages. In case links to the old pages exist in the wild, they are preserved, but moved (with redirects) to a hidden directory, and populated simply with links to the new version-specific generated documents. Change-Id: I24dc6dc10671c7f1267c27002542f61f8a3c18ae
* | | | | | Merge "identity: autogenerate docs"Zuul2020-06-0950-2458/+271
|\ \ \ \ \ \ | |/ / / / /
| * | | | | identity: autogenerate docsEric Fried2020-06-0850-2458/+271
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $namespace = openstack.identity.v{2|3} The subcommand documents for $namespace were hardcoded and thus prone to drift over time. This commit removes the hardcoded content and uses the autoprogram-cliff directive to generate them automatically from the subcommand configuration classes. Special things: - Some reorganization happened here. Certain subcommand names, such as `endpoint` and `project`, are shared by identify v2 and v3. Previously the hardcoded documents had them combined and interleaved. Attempting to preserve this with autoprogram-cliff would have required significant additional infrastructure. However, since most readers care completely about one and not at all about the other, we instead split the v2 and v3 versions of these commands into separate pages. In case links to the old pages exist in the wild, they are preserved, but moved (with redirects) to a hidden directory, and populated simply with links to the new version-specific generated documents. - The `federation domain` and `federation project` subcommands were previously absent from the docs. They are added. These are such small commands and they seem related, so they're put into a single document. - Some pages were already being generated but were listing operations individually instead of using wildcards (possibly because they were created before wildcarding was supported by cliff). These are changed to use wildcarding. (We want to do this wherever possible as it is more future-proof in the event that more operations are added to a subcommand later.) - The `service provider` document was incorrectly titled `identity provider`. Fixed. Change-Id: I2030f9fe370038c5908b6eb6bed9692a73fe5067
* | | | | | Merge "Add cliff to libs-from-git for devstack functional tips"Zuul2020-06-091-1/+1
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Add cliff to libs-from-git for devstack functional tipsMonty Taylor2020-06-081-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should also use cliff from git in the tips jobs so that we can see whether changes there break things. Change-Id: Ie3375eb7bafafef7fa8209aa6500d1254e29954e
* | | | | Merge "Make container list --all work"Zuul2020-06-092-36/+36
|\ \ \ \ \
| * | | | | Make container list --all workPete Zaitcev2020-05-162-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The caller in openstackclient/object/v1/object.py passed a keyword argument full_listing, but the eventual callee container_list() expected all_data. So, --all did not work at all. The issue passed undetected because --all did not have a test, so we added a unit test. In addition, exisiting tests were using a test set that did not look like the real container listing, so we changed LIST_CONTAINER_RESP to be realistic. Change-Id: Id0604bcab25892e43c26cd6656b2b2eef5daa69b
* | | | | | Merge "Add OpenStack Client for Manila docs"Zuul2020-06-083-0/+6
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Add OpenStack Client for Manila docsMaari Tamm2020-06-063-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit includes documentation about OSC implementation for Manila. bp openstack-client-support Change-Id: Ic91a81e16e506103c08ef42ed0f8634a2b70e1dd
* | | | | | Merge "Replace assertItemsEqual with assertCountEqual"Zuul2020-06-051-2/+2
|\ \ \ \ \ \
| * | | | | | Replace assertItemsEqual with assertCountEqualAlfredo Moralejo2020-06-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assertItemsEqual was removed from Python's unittest.TestCase in Python 3.3 [1][2]. We have been able to use them since then, because testtools required unittest2, which still included it. With testtools removing Python 2.7 support [3][4], we will lose support for assertItemsEqual, so we should switch to use assertCountEqual. [1] - https://bugs.python.org/issue17866 [2] - https://hg.python.org/cpython/rev/d9921cb6e3cd [3] - testing-cabal/testtools#286 [4] - testing-cabal/testtools#277 Change-Id: I1ad0da8deda3a8cbec384b5a9c88860a526eb48c
* | | | | | | Merge "Switch to newer openstackdocstheme and reno versions"Zuul2020-06-053-20/+12
|\ \ \ \ \ \ \
| * | | | | | | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-203-20/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using these versions will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering problems Update Sphinx version as well. openstackdocstheme renames some variables, so follow the renames before the next release removes them. A couple of variables are also not needed anymore, remove them. Set openstackdocs_auto_name to use 'project' as name. Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. Depends-On: https://review.opendev.org/729744 Change-Id: Id3989cabdbf2204821531b00149aa0f1cb8a4955
* | | | | | | | Merge "Remove congress"Zuul2020-06-056-12/+0
|\ \ \ \ \ \ \ \
| * | | | | | | | Remove congressAndreas Jaeger2020-06-046-12/+0
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Congress and python-congressclient have been retired and also removed from global requirements, thus requirements-check job fails. Remove congress from this repo. Change-Id: Ibf68fee49e69264a1c46b2f456901d2620befe3c
* | | | | | | | Merge "Add py38 package metadata"Zuul2020-06-041-0/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | Add py38 package metadatazhangboye2020-05-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I75ecaed730a2ef870f41812cfbf55c74fdc36b7b
* | | | | | | | | Merge "Add Python3 victoria unit tests"Zuul2020-06-041-1/+1
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Add Python3 victoria unit testsOpenStack Release Bot2020-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for victoria. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I5aa55a9582127ce07efd841b15857c272bebdb9f
* | | | | | | | | Merge "Update master for stable/ussuri"Zuul2020-06-042-0/+7
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | / / / / / / / | |/ / / / / / / |/| | | | | | |
| * | | | | | | Update master for stable/ussuriOpenStack Release Bot2020-04-282-0/+7
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/ussuri. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/ussuri. Change-Id: Ia0c7a6f2d84a7ed08514a64a73a5de577fcfb1d0 Sem-Ver: feature
* | | | | | | Client should parse string to boolean for value 'is_domain'yanpuqing2020-05-293-0/+133
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we use "--property" parameter, client get lists these the value is string type, but the type of the value 'is_domain' should be boolean, so we should judge it and parse it. The patch parse string to boolean for value 'is_domain'. Co-Authored-By: Lance Bragstad <lbragstad@gmail.com> Change-Id: I37c9eb854524bde3a1530bfe2e3a03810fb1a676 Task: 30039 Story: 2005246
* | | | | | Cleanup: remove a useless reference to "object"Pete Zaitcev2020-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The method "object_list" does not have an argument "object", so we were using a built-in class "object" by mistake. Change-Id: I74687659223d31d3c3c119eee5874edff30634fd
* | | | | | Merge "Resolve PEP8"Zuul2020-05-152-2/+1
|\ \ \ \ \ \
| * | | | | | Resolve PEP8Pete Zaitcev2020-05-142-2/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No idea how this happened, but reviews started failing the pep8 gate job. The failures are legitimate, see the commit. I guess the pep8 tests became smarter and found these issues. Change-Id: Id9a0dad644134dafd68eed37fe8f41c583d7a619