summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | Merge "docs: Update cinderclient comparison doc"Zuul2021-06-161-104/+146
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | / / / / / / | |/ / / / / / |/| | | | | |
| * | | | | | docs: Update cinderclient comparison docStephen Finucane2021-06-031-104/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done manually by looking at the help text for the 'cinder' client (version 7.0.0) and identifying gaps. Change-Id: Ib16c7e9dfa47a93d8b077f0e3e5bbd5bf8984ec3 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Add support for Neutron's L3 conntrack helper resourceSlawek Kaplonski2021-06-078-0/+814
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Neutron has got CRUD API for L3 conntrack helper since some time. This patch adds support for it in the OSC. OpenStack SDK supports that since [1] This patch also bumps minimum OpenStack SDK version to the 0.56.0 as that version introduced support for the Neutron's L3 conntrack helper. [1] https://review.opendev.org/c/openstack/openstacksdk/+/782870 Change-Id: I55604182ae50b6ad70c8bc1f7efad8859f191269
* | | | | | Merge "compute: Update 'server resize --revert', '--confirm' help"Zuul2021-06-021-2/+10
|\ \ \ \ \ \
| * | | | | | compute: Update 'server resize --revert', '--confirm' helpStephen Finucane2021-05-201-2/+10
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the help strings for these two arguments to indicate their deprecated nature. This was previously flagged via a deprecation warning but users would only see that if they were to run the command. Change-Id: I31a5e27ac8bd2625a6073b54a51bf3e8d6126c8c Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | Merge "setup.cfg: Replace dashes with underscores"Zuul2021-06-021-4/+4
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | setup.cfg: Replace dashes with underscoresYuehuiLei2021-05-311-4/+4
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. Get ahead of the issue by replacing the dashes with underscores. Without this, we see 'UserWarning' messages like the following on new enough versions of setuptools: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: I7e43e43bc5a24f49aa7b225502e5d0176fef3783
* | | | | Merge "Allow to send extra attributes in Neutron related commands"Zuul2021-05-2626-49/+486
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Allow to send extra attributes in Neutron related commandsSlawek Kaplonski2021-05-2626-49/+486
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To deprecate and drop support for neutronclient CLI and use only OSC we need feature parity between OSC and neutronclient. Last missing piece here is possibility to send in POST/PUT requests unknown parameters to the Neutron server. This patch adds such possibility to the OSC. Change-Id: Iba09297c2be9fb9fa0be1b3dc65755277b79230e
* | | | Merge "Set ML2/OVS backend explicitly in the devstack jobs"Zuul2021-05-261-0/+17
|\ \ \ \
| * | | | Set ML2/OVS backend explicitly in the devstack jobsSlawek Kaplonski2021-05-131-0/+17
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Neutron team recently switched default backend used in Neutron by Devstack to OVN. With that backend some tests, like e.g. related to DHCP or L3 agents aren't working fine. So to have still the same test coverage as we had before, let's explicitly set ML2/OVS as a Neutron's backend in those CI jobs. Change-Id: Idf6466a59c6cf96be2f1d53e696f0564584fa233
* | | | Add check for cinderclient.v2 supportBrian Rosmaita2021-05-201-1/+5
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Block Storage API v2 support is being removed from the cinderclient during the Xena development cycle [0], so add a check to determine whether the available cinderclient has v2 support. [0] https://wiki.openstack.org/wiki/CinderXenaPTGSummary#Removing_the_Block_Storage_API_v2 Change-Id: Id54da1704d94526071f500c36a6e38d6d84aa7b8
* | | Merge "requirements: Drop os-testr"Zuul2021-04-141-1/+0
|\ \ \
| * | | requirements: Drop os-testrzhangbailin2021-04-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | os-testr has been decrepated [1], it's not necessary in a world with stestr. [1]https://opendev.org/openstack/os-testr/src/branch/master/README.rst Change-Id: Id2382f2c559ea7f4d4a629d137f07f0ce8841abc
* | | | Merge "Add support for token caching"Zuul2021-04-091-4/+6
|\ \ \ \ | |/ / / |/| | |
| * | | Add support for token cachingArtem Goncharov2020-12-051-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SDK starts caching token in keyring (when available and configured). A small change is required in OSC not to reject this state. Overall this helps avoiding reauthentication upon next openstack call. If token is not valid anymore automatically reauthentication is done. Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/735352 Depends-On: https://review.opendev.org/c/openstack/osc-lib/+/765650 Change-Id: I47261a32bd3b106a589974d3de5bf2a6ebd57263
* | | | Merge "volume: Re-add accidentally deleted test"Zuul2021-04-061-0/+742
|\ \ \ \
| * | | | volume: Re-add accidentally deleted testStephen Finucane2021-03-191-0/+742
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is essentially a partial revert of change I94aa7a9824e44f9585ffb45e5e7637b9588539b4, which removed some deprecated commands like 'openstack snapshot *' in favour of 'openstack volume snapshot *'. Unfortunately the latter appeared to have no test coverage and were relying on tests for the former to validate behavior. Re-add the tests removed back then. Change-Id: Ib2cd975221034c8997d272d43cfb18acefc319fe Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | Merge "hacking: Remove references to encoding"Zuul2021-04-061-47/+1
|\ \ \ \ \
| * | | | | hacking: Remove references to encodingStephen Finucane2021-04-011-47/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is no longer an issue in our new Python 3-only world. Change-Id: I25c31a0b7f76a253499d9713ba48fd7ba7168450 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | Merge "Add pre-commit"Zuul2021-04-012-13/+69
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Add pre-commitStephen Finucane2021-03-112-13/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is helpful to automate code style checks at runtime. We include documentation on how to run this as well as a general overview of style guidelines in OSC. Change-Id: I2dc5a0f760ce53269ae25677560b2611cc6bfd91 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | Merge "Add Python3 xena unit tests"Zuul2021-04-011-1/+1
|\ \ \ \ \ \
| * | | | | | Add Python3 xena unit testsOpenStack Release Bot2021-03-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for xena. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I2415ec61c3580fcd43ee7d8f2a90b698ac156593
* | | | | | | Merge "Update master for stable/wallaby"Zuul2021-04-012-0/+7
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Update master for stable/wallabyOpenStack Release Bot2021-03-202-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/wallaby. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/wallaby. Sem-Ver: feature Change-Id: I848e21bf2d2ea1a1a132525070e5f20d7ff8478d
* | | | | | | Merge "Implements hide image"Zuul2021-04-013-0/+103
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Implements hide imageValery Tschopp2021-03-253-0/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | openstack image set [--hidden|--unhidden] IMAGE openstack image list --hidden Task: 41734 Story: 2008581 Change-Id: Ie84f10c0f7aa2e7b7f78bfadc70132a10673866e
* | | | | | | Merge "network: Add support for vnic-type vdpa"Zuul2021-03-312-5/+13
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | network: Add support for vnic-type vdpaSean Mooney2021-03-192-5/+13
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend 'port create' to support vinc-type vdpa as introduced by neutron in [1]. [1] https://review.opendev.org/c/openstack/neutron/+/760047 Change-Id: I635c5269f4e8fc55f234c98e85fced87b39fce81
* | | | | | Merge "Hides prefix_length column in subnet show output"Zuul2021-03-201-1/+1
|\ \ \ \ \ \
| * | | | | | Hides prefix_length column in subnet show outputJames Denton2021-03-191-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the openstacksdk is patched to properly support defining prefix lengths when creating subnets, the resulting subnet show output reveals a prefix_length column with a value of 'none'. This patch hides the prefix_length column. Change-Id: I59dfb0b1585ed624f9d82b3557df2ff5ff9d1b3e Partial-Bug: 1754062 Depends-On: https://review.openstack.org/#/c/550558/
* | | | | | Merge "network: Make 'network qos rule create --type' option required"Zuul2021-03-201-3/+1
|\ \ \ \ \ \
| * | | | | | network: Make 'network qos rule create --type' option requiredStephen Finucane2021-03-191-3/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we create a network qos rule we need specify the type so that we can call the corresponding API. It's not possible to use the command without the type so mark it as required. This was already being done but inline. Change-Id: I559f884bac198d2c69e800620aef66b200473418 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | Merge "Remove unnecessary test"Zuul2021-03-201-30/+0
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Remove unnecessary testStephen Finucane2020-11-061-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As noted, we're simply testing the default behavior of Python 3 in this test. Remove it, now that this is the only version(s) of Python 3 we have to worry about. Change-Id: I5f07343df8334457d907086033d5685f59c0bf0e Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | Merge "project cleanup"5.5.0Zuul2021-03-186-0/+343
|\ \ \ \ \ \
| * | | | | | project cleanupArtem Goncharov2021-02-026-0/+343
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New implementation of the project cleanup based on the sdk.project_cleanup. It is implemented as an additional OSC operation and will ideally obsolete the `openstack project purge` giving flexibility to extend services support, parallelization, filters, etc. Change-Id: Ie08877f182379f73e5ec5ad4daaf84b3092c829c
* | | | | | Update the file paths mentioned in README.rstTakashi Kajinami2021-03-151-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes the outdated file paths, which were renamed by commit 9599ffe65d9dcd4b3aa780d346eccd1e760890bf . Change-Id: I9ec4c49711a2fde24f5527086e495c86af9ef1ce
* | | | | | compute: Remove 'file://' prefix from '--block-device'Stephen Finucane2021-03-112-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are a couple of other (networking-related) options which accept paths, none of which insist on a URI-style path. Let's just drop this bit of complexity before we release the feature. Change-Id: Ia7f781d82f3f4695b49b55a39abbb6e582cd879c Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | Merge "compute: Add support for loading BDMs from files"Zuul2021-03-112-10/+153
|\ \ \ \ \ \
| * | | | | | compute: Add support for loading BDMs from filesStephen Finucane2021-03-052-10/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The syntax of the '--block-device' parameter is complex and easily screwed up. Allow users to load a block device config from a file. For example: $ openstack server create ... --block-device file:///tmp/bdm.json ... This should alleviate the pain that is BDMv2 somewhat. No functional tests are provided since we already have tests for the CSV style of passing parameters and the unit tests show that the net result is the same. Change-Id: I3e3299bbdbbb343863b4c14fb4d9196ff3e1698d Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "compute: Add functional tests for --block-device"Zuul2021-03-113-53/+169
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | / / | |_|_|_|/ / |/| | | | |
| * | | | | compute: Add functional tests for --block-deviceStephen Finucane2021-03-053-53/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This mostly reuses the existing tests for '--block-device-mapping', which can hopefully be removed at some point in the future. This highlights two issues with the implementation of this option. Firstly, the 'boot_index' parameter is not required so don't mandate it. Secondly, and more significantly, we were defaulting the destination type for the 'image' source type to 'local'. Nova only allows you to attach a single image to local mapping [1], which means this default would only make sense if you were expecting users to use the '--block-device' option exclusively and omit the '--image' option. This is the *less common* case so this is a bad default. Default instead to a destination type of 'volume' like everything else, and require users specifying '--block-device' alone to pass 'destination_type=local' explicitly. [1] https://github.com/openstack/nova/blob/c8a6f8d2e/nova/block_device.py#L193-L206 Change-Id: I1718be965f57c3bbdb8a14f3cfac967dd4c55b4d Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | Merge "network: Add missing subnet unset --gateway <subnet-id>"Zuul2021-03-063-0/+15
|\ \ \ \ \ \
| * | | | | | network: Add missing subnet unset --gateway <subnet-id>Bharat Kunwar2021-03-053-0/+15
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Story: 2008695 Task: 42003 Change-Id: I9486a09531b11f27a9ff0d68fd4ad8c68a65cccf
* | | | | | Merge "Add reno for change Ic3c555226a220efd9b0f27edffccf6c4c95c2747"Zuul2021-03-061-0/+6
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Add reno for change Ic3c555226a220efd9b0f27edffccf6c4c95c2747Stephen Finucane2021-01-111-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change Ic3c555226a220efd9b0f27edffccf6c4c95c2747 introduced some validation for the 'openstack server group create --policy' command. Call this out in the release notes. Change-Id: I7e00851a03470364db00f0f114fc724b0f686b72 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | Merge "compute: Remove deprecated 'server migrate --live' option"Zuul2021-03-043-219/+67
|\ \ \ \ \ \
| * | | | | | compute: Remove deprecated 'server migrate --live' optionStephen Finucane2021-01-223-219/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's been long enough. Time to remove this. Change-Id: I37ef09eca0db9286544a4b0bb33f845311baa9b2 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>