summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | image: Add 'image task list' commandStephen Finucane2022-09-216-3/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the 'glance task-list' command. $ openstack image task list We also indicate that the 'image task create' command will never be implemented. This is an admin-only API that isn't really intended to be used by humans thus it does not need an OSC command implementation. Change-Id: Id8a943a5443782fc70c0fbf3639f5aa17b9d30af
* | | | | | | | | | | | | | Merge "image: Add 'image task show' commands"Zuul2022-09-306-1/+218
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / | | | | | | | | / / / / / / | |_|_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | image: Add 'image task show' commandslsmman2022-09-216-1/+218
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces and the 'glance task-show' command. For example: $ image task show <TASK_ID> Change-Id: I74cb23e436c373fe238804b903bbeb28f643d5af
* | | | | | | | | | | | Switch to 2023.1 Python3 unit tests and generic template nameOpenStack Release Bot2022-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for antelope. Also, updating the template name to generic one. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Ie3677749177a32507007833717b9bc484ce2c493
* | | | | | | | | | | | Update master for stable/zedOpenStack Release Bot2022-09-232-0/+7
| |_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/zed. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/zed. Sem-Ver: feature Change-Id: Ie570af5ce752d91190ebf6aa3c5ff2329afa36d3
* | | | | | | | | | | Adding missing command mapping in docszeze2022-09-163-3/+3
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nova command: version-list openstack command: versions show --service compute cinder command: version-list openstack command: versions show --service block-storage glance command: member-list openstack command: image member list Change-Id: I3c68dbd47dc92ed190ae9abaa90dfcddef072728
* | | | | | | | | | compute: Add support for microversion 2.93whoami-rajat2022-09-143-0/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add '--reimage-boot-volume' and '--no-reimage-boot-volume parameters' to the rebuild command to allow rebuilding of volume backed instances. Change-Id: I4a6e30b2cf12f32202a2d9ef1ced347e1dd139f3
* | | | | | | | | | compute: Require image when rebuilding a volume-backed serverwhoami-rajat2022-09-142-3/+30
| |_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A volume-backed server will have no image attribute (or rather the image property will be set to the empty string). As such, if you want to try rebuild you will need to specify an image [*]. Enforce this. [*] Before microversion 2.93, this must be the same image. However, we don't touch on that here. This will be addressed later. Change-Id: I6842dabd7acb4e3a78f894e55e616625757eb6a4 Story: 2010297 Task: 46290
* | | | | | | | | Add address-scope to NDP proxy testselajkat2022-09-091-4/+29
| |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related-Bug: #1987410 Change-Id: I61df81381803ca289f295ab8d7a8f495bb169447
* | | | | | | | Merge "Microversion 2.91: Support specifying destination host to unshelve"Zuul2022-09-013-3/+222
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | |
| * | | | | | | Microversion 2.91: Support specifying destination host to unshelveRené Ribaud2022-08-223-3/+222
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a new parameter ``--host`` to ``openstack server unshelve`` command. This can help administrators to specify an ``host`` to unshelve a shelve offloaded server. And add new parameter ``--no-availability-zone`` to unpin a server availability These parameters are available in the 2.91 microversion. Depends-On: https://review.opendev.org/c/openstack/python-novaclient/+/831651 Implements: blueprint unshelve-to-host Change-Id: I7986adc7563f63bcd4b3caf5eb7bc4329b4e1eca
* | | | | | | Merge "Fix documents for replaced configuration name"Zuul2022-08-312-7/+7
|\ \ \ \ \ \ \
| * | | | | | | Fix documents for replaced configuration nameSnow Kim2022-08-052-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 4.0, '--os-url' global option is no longer supported. And this option had been replaced to '--os-endpoint' - Refer Change-Id: I1b9fbb96e447889a41b705324725a2ffc8ecfd9f - Refer Docs: doc/source/cli/backwards-incompatible.rs I fixed in documents as below - OPTIONS: '--os-url' to '--os-endpoint' - ENVIRONMENT VARIABLES: 'OS_URL' to 'OS_ENDPOINT' - and relevant sentence Change-Id: Ibb0cddf34375df941678ee07a005d81399ec7195
* | | | | | | | Add router ndp proxy commandsYang JianFeng2022-08-269-0/+1042
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Depends-on: https://review.opendev.org/749036 Change-Id: I77e12cc2dfe4000bd5ae6511878c6591f52d9791 Related-Bug: #1877301
* | | | | | | Merge "Migrate server_groups to the new API"6.0.0Zuul2022-08-094-278/+229
|\ \ \ \ \ \ \
| * | | | | | | Migrate server_groups to the new APIViolet Kurtz2022-08-024-278/+229
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved the server_groups to the new API. Change-Id: Ied7bd6f56e277f0c5efcd5ba028765f9be65050f
* | | | | | | Update the Nova CLI Mapping GuideYoonsoo Lim2022-07-311-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update missing command in Mapping Guide. List of updated command [Nova CLI / OSC] instance-action-list / server event list Change-Id: I1436a6c1bdd881890e015cf0f1829c38378b36fa
* | | | | | Merge "Drop support for Python 3.6, 3.7"Zuul2022-07-273-9/+7
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Drop support for Python 3.6, 3.7likui2022-07-043-9/+7
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3.6 and Python 3.7 support has been dropped since Zed [1]. This necessitates changes our jobs to build and publish docker images since those currently use Python 3.6. We now use Python 3.9. [1] https://governance.openstack.org/tc/reference/runtimes/zed.html Change-Id: I228b7ff6691a025f1ba9b7d9449f294868942151 Co-authored-by: Stephen Finucane <stephenfin@redhat.com>
* | | | | Merge "Add support for CRUD operations for QoS minimum packet rate rule"Zuul2022-07-205-12/+436
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Add support for CRUD operations for QoS minimum packet rate rulePrzemyslaw Szczerbik2022-07-015-12/+436
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes-Bug: #1922237 Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/810364 See-Also: https://review.opendev.org/785236 Change-Id: Ie7e1eb0575fd37121d5097ecbc318d0769ab3db0
* | | | | pre-commit: Allow unsafe YAMLStephen Finucane2022-07-041-0/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're using tags in '.zuul.yaml', which requires use of the unsafe parser [1]. [1] https://stackoverflow.com/a/45967047 Change-Id: Ib97480f6fcaba7406ffe284e1935744346684b8b Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | Merge "Stop testing lower-constraints"Zuul2022-07-014-104/+4
|\ \ \ \
| * | | | Stop testing lower-constraintslikui2022-05-144-104/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-October/018445.html Change-Id: I45e9a81d451c64cdd51f9b606d94161742bacdb7
* | | | image: Split image creation depending on serviceStephen Finucane2022-06-301-50/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'image create' operation is actually one of two operations: it can be either an image service (glance) operation if the '--volume' argument is *not* passed or a block storage (cinder) operation if it is. Make this clearer and add a log warning users about options that are supported by the former but not the latter. Change-Id: Id153c951a7d18403568bf67e13d5e0a4827428d4 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | image: Make better use of argparseStephen Finucane2022-06-302-149/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify some logic by using a common 'dest' for mutually exclusive options. Change-Id: Ie5f3600672953f40be52de51e84717c8912ddaf8 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | image: Trivial style changesStephen Finucane2022-06-301-191/+321
| |/ / |/| | | | | | | | | | | Change-Id: I35b7b8a80609916eb47357af4398789788d66382 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | Fix: create image from volume commandwhoami-rajat2022-06-303-3/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the command ``openstack image create --volume`` calls cinderclient to upload the volume to image service (glance) but OSC passes ``visibility`` and ``protected`` fields which are only available in microversion 3.1 or greater. This generates an error if the user is using volume microversion < 3.1 and wants to create an image from volume. This patch fixes that by only passing ``visibility`` and ``protected`` fields when the volume microversion is 3.1 or greater and fail otherwise i.e. the following 3 cases: 1) visibility/protected argument + mv >= 3.1 = pass 2) visibility/protected argument + mv < 3.1 = fail 3) not visibility/protected argument + any mv = pass Story: 2010060 Task: 45511 Change-Id: I568a0ea0af8f7f82b16d49a6a1bb0391b99c50dc
* | | Merge "Skip test_quota_network_set_with_force func test"Zuul2022-06-281-0/+1
|\ \ \
| * | | Skip test_quota_network_set_with_force func testDr. Jens Harbott2022-06-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test was added in [0] and it causes a lot of failures, since setting the network quota to 1 will result in quota errors for any other test that is trying to create a network in parallel. We can only run this test in a serial tempest task that would need to be created for such a scenario. Related-Story: 2010110 Change-Id: I6015c181ecabff26bdb1b0c11b0e33ad39e6f083
* | | | Merge "volume: Correct output of 'volume attachment create'"Zuul2022-06-273-8/+24
|\ \ \ \
| * | | | volume: Correct output of 'volume attachment create'Stephen Finucane2022-05-163-8/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When adding these, we missed that the underlying cinder library call actually returns a dictionary and not a Resource-based object. This requires slightly different handling. Fix this. Change-Id: Ie065fe4198ae1238830cb619220e856390d4cb6e Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | Don't show tenant_id in network objectsDr. Jens Harbott2022-06-2719-21/+24
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch [0] dropped mapping the tenant_id attribute to project_id. However, the Neutron API still returns the tenant_id attribute in addition to the project_id and so we still need to discard it from the output. [0] I5f62f2a76592eaaaed6703624e959df41a6ecc8f Signed-off-by: Dr. Jens Harbott <harbott@osism.tech> Change-Id: Iba1e003bf587802f28928cb44d160b3b3fb1f840
* | | | Merge "Allow users to list all images"Zuul2022-06-202-0/+41
|\ \ \ \
| * | | | Allow users to list all imagesCyril Roelandt2022-06-072-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a "--all" option to "openstack image list", which allows the user to list all of the images. Story: 2010071 Change-Id: I56a2e4846d0380d07803305fb830d1a43dfd71b3
* | | | | Merge "Refactor "volume backup restore" command"Zuul2022-06-205-26/+173
|\ \ \ \ \
| * | | | | Refactor "volume backup restore" commandHuanxuan Ao2022-03-105-26/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the positional argument "volume" optional and add a "--force" option (volume v2 only) to the "volume backup restore" command. Closes-Bug: #1597189 Change-Id: If944e10158bd18e8331be63e96187a23e23095d7
* | | | | | Merge "Add more filter option of columns for server list -c COLUMN"Zuul2022-06-203-0/+51
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Add more filter option of columns for server list -c COLUMNJIHOJU2022-04-193-0/+51
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to improve the convenient of use, columns corresponding to the "--long" option has been added so that it can be used in the filter. Currently filterable columns include the following: 'ID', 'Name', 'Status', 'Networks', 'Image', 'Flavor'. Story: 2009150 Task: 43113 Change-Id: I6760ca5da0e3707d1d746ae5eeec7d9162020d15
* | | | | Merge "Changed minversion in tox to 3.18.0"Zuul2022-06-011-3/+3
|\ \ \ \ \
| * | | | | Changed minversion in tox to 3.18.0wu.shiming2021-06-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch bumps min version of tox to 3.18.0 in order to replace tox's whitelist_externals by allowlist_externals option: https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: Ibb77fa2afad3f09e95f0dba243d3a096daedd787
* | | | | | Merge "Migrate osc-tox-py3N-tips to Python 3.8"Zuul2022-05-252-4/+5
|\ \ \ \ \ \
| * | | | | | Migrate osc-tox-py3N-tips to Python 3.8Takashi Kajinami2022-05-242-4/+5
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-novaclient 18.0.0 removed support for Python 3.6 and 3.7 and can't be installed in Python 3.6. This change migrates the osc-tox-py3N-tips from Python 3.6 to Python 3.8 as Python 3.8 is the minimum version currently supported. This also adds Python 3.9 to supported runtime list because it has been tested since stable/yoga. NOTE: The osc-tox-py36-tips job is used by cliff, so the subsequent patch for the cliff repo should be merged timely. Change-Id: Id7a8f3ca5b704102aa18eb6bf98ae9ada005d013
* | | | | | Add 'Host Status' to 'server list --long' with >= v2.16melanie witt2022-05-163-0/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the 'Host Status' field is shown only for 'server show' but not for 'server list'. The host_status can be helpful for users who are having issues with servers that show a status of ACTIVE, as it can show a hint about the compute host status when nova policy is configured to allow it. Story: 2009689 Task: 44003 Change-Id: I6209cf52044218b7b32ab2fa5712574f12ba2f5f
* | | | | | Merge "Allow to filter multiple tags for image list"Zuul2022-05-164-5/+19
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Allow to filter multiple tags for image listDmitriy Rabotyagov2022-05-164-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently in case of passing `--tag` several times, only last one will be picked up for the filtering. In the meanwhile Glance allow option to be repeated multiple times to filter based on the multiple tags. Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/789827 Change-Id: I7379d0b0014f0e3d13b02ee5ec6b642a7a5aa7d1
* | | | | | Merge "Fix typos"Zuul2022-05-1611-18/+18
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Fix typosCyril Roelandt2021-10-2611-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Idd502c8df21da79ff3b9339870f38378f5337879
* | | | | | Merge "Refactor network fakes to sdk properties PART 4"Zuul2022-05-1317-434/+414
|\ \ \ \ \ \
| * | | | | | Refactor network fakes to sdk properties PART 4Nurmatov Mamatisa2022-04-2917-434/+414
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Included resources: port network_agent network_flavor_profile network_rbac Change-Id: I2e71a3c0fefb56ddcc75865c95746550e2710aa3