summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | 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>
* | | | | | | Merge "compute: Deprecate 'server create --file'"Zuul2021-03-042-1/+18
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | compute: Deprecate 'server create --file'Stephen Finucane2021-01-222-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The parameter isn't actually deprecated, since we need to support older API microversion, however, we now emit an error if someone attempts to boot a server with the wrong microversion. This would happen server-side anyway since this parameter was removed entirely in API microversion 2.57. Change-Id: I73864ccbf5bf181fecf505ca168c1a35a8b0af3a Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "compute: Stop silently ignore --(no-)disk-overcommit"Zuul2021-03-043-1/+57
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | compute: Stop silently ignore --(no-)disk-overcommitStephen Finucane2021-01-223-1/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These options are not supported from Nova API microversion 2.25 and above. This can be a source of confusion. Start warning, with an eye on erroring out in the future. Change-Id: I53f27eb3e3c1a84d0d77a1672c008d0e8bb8536f Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "compute: Auto-configure shared/block live migration"Zuul2021-03-043-48/+90
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | compute: Auto-configure shared/block live migrationStephen Finucane2021-01-223-48/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API microversion 2.25 introduced the 'block_migration=auto' value for the os-migrateLive server action. This is a sensible default that we should use, allowing users to avoid stating one of the '--block-migration' or '--shared-migration' parameters explicitly. While we're here, we take the opportunity to fix up some formatting in the function, which is really rather messy. Change-Id: Ieedc77d6dc3d4a3cd93b29672faa97dd4e8c1185 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "compute: Add 'server create --block-device' option"Zuul2021-03-043-1/+383
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | compute: Add 'server create --block-device' optionStephen Finucane2021-01-223-1/+383
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One of the last big gaps with novaclient. As noted in the release note, the current '--block-device-mapping' format is based on the old BDM v1 format, even though it actually results in BDM v2-style requests to the server. It's time to replace that. Change-Id: If4eba38ccfb208ee186b90a0eec95e5fe6cf8415 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "compute: Remove references to optional extensions"Zuul2021-03-041-1/+1
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | compute: Remove references to optional extensionsStephen Finucane2021-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is no longer a thing in nova. Change-Id: I2413b826385792a4f33ff70e75621b48de65c799 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "compute: Add missing 'server create' options"Zuul2021-03-043-14/+335
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | compute: Add missing 'server create' optionsStephen Finucane2021-01-213-14/+335
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some volume-related options, namely '--snapshot', '--swap', and '--ephemeral'. All are shortcuts to avoid having to use '--block-device-mapping'. Change-Id: I450e429ade46a7103740150c90e3ba9f2894e1a5 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "compute: Improve 'server create --block-device-mapping' option parsing"Zuul2021-03-042-86/+153
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | compute: Improve 'server create --block-device-mapping' option parsingStephen Finucane2021-01-212-86/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once again, custom actions to the rescue. Change-Id: I6b4f80882dbbeb6a2a7e877f63becae7211b7f9a Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "compute: Rename 'server migrate (confirm|revert)'"Zuul2021-03-044-4/+198
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | compute: Rename 'server migrate (confirm|revert)'Stephen Finucane2021-01-214-4/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're confirming or reverting a server migration, not a server migrate. We've a number of 'server migration *' commands now so it makes sense to move them under here. Change-Id: Ib95bb36511dad1aafe75f0c88d10ded382e4fa5c Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "compute: Add 'server migration show' command"Zuul2021-03-045-1/+242
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | compute: Add 'server migration show' commandStephen Finucane2021-01-215-1/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the 'server-migration-show' command provided by novaclient. Change-Id: I413310b481cc13b70853eb579417f6e6fad10d98 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "Rename FakeServerMigration to FakeMigration"Zuul2021-03-042-12/+12
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Rename FakeServerMigration to FakeMigrationStephen Finucane2021-01-212-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Server migrations are (confusingly) a different thing returned by a different API. Change-Id: Ib6b7c8f9cc3d1521a993616f832d41651dc46f73 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>