summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | tests: Rename 'FakeType' -> 'FakeVolumeType'Stephen Finucane2021-06-038-84/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are more types than just volume types. Change-Id: I6af66f966a221437ff79fabcb0b81fd38586fe67 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | | Merge "volume: Add missing 'volume backup *' options"Zuul2021-06-184-54/+337
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | volume: Add missing 'volume backup *' optionsStephen Finucane2021-06-034-54/+337
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a couple of missing options to each command: volume backup create --no-incremental --property --availability-zone volume backup set --property Most of these are version dependent so we add the relevant version checks as part of this work. While we're here, we also make the formatting a little easier on the eye in places. Change-Id: I328d5c981cb32b2ee9a4b1bd43aa36b22347ff63 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | | Merge "volume: Add 'volume message *' commands"Zuul2021-06-188-3/+579
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | volume: Add 'volume message *' commandsStephen Finucane2021-06-038-3/+579
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch implements the necessary commands to utilize the Messages API introduced in Cinder API version 3.3. Version 3.5 built upon this by implementing pagination support for these commands which is present in this patch as well. volume message get volume message list volume message delete Change-Id: I64aa0b4a8d4468baa8c63e5e30ee31de68df999d
* | | | | | | | Merge "volume: Add 'volume attachment *' commands"Zuul2021-06-188-9/+1259
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | / / / / / / | |/ / / / / / |/| | | | | |
| * | | | | | volume: Add 'volume attachment *' commandsStephen Finucane2021-06-038-9/+1259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These mirror the 'cinder attachment-*' commands, with arguments copied across essentially verbatim. The only significant departure is the replacement of "tenant" terminology with "project". volume attachment create volume attachment delete volume attachment list volume attachment complete volume attachment set volume attachment show Full support for filtering is deferred for now since that's a more complicated change that requires additional commands be added first. TODOs are included to this effect. Change-Id: If47c2b56fe65ee2cee07c000d6ae3688d5ef3b42 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "volume: Allow more versions"Zuul2021-06-171-5/+50
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | volume: Allow more versionsStephen Finucane2021-06-031-5/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy the API version checks from the 'openstackclient.compute.client' module. These will only be necessary until we migrate everything to SDK but it's very helpful until then. Change-Id: I2d9c68db5bf891ffa25fd5a7fc9e8953e44b73ab Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "compute: Better help text for 'openstack server set --state'"Zuul2021-06-161-1/+6
|\ \ \ \ \ \ \
| * | | | | | | compute: Better help text for 'openstack server set --state'Stephen Finucane2021-06-161-1/+6
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manually changing the server state is a potentially dangerous operation that should only be done under limited circumstances. It's also an admin-only operation by default. Highlight both points. Change-Id: Ifd8aec94937764202131ba8caf6b507caa76d7e9 Signed-off-by: Stephen Finucane <sfinucan@redhat.com> Story: 2008549 Task: 41672
* | | | | | | Merge "docs: Update neutronclient comparison doc"Zuul2021-06-161-8/+26
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | docs: Update neutronclient comparison docStephen Finucane2021-06-031-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done manually by looking at the help text for the 'neutron' client (version 7.1.1) and identifying gaps. Change-Id: Ib029b2c236f79a0ca6f64834f069db2be4332ea8 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "docs: Update glanceclient comparison doc"Zuul2021-06-161-0/+36
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | docs: Update glanceclient comparison docStephen Finucane2021-06-031-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done manually by looking at the help text for the 'glance' client (version 3.1.1) and identifying gaps. Change-Id: Ic46bbdef7182e5f707cd5083868886ce60c7eb47 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "docs: Update novaclient comparison doc"Zuul2021-06-161-26/+11
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | docs: Update novaclient comparison docStephen Finucane2021-06-031-26/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done manually by looking at the help text for the 'nova' client (version 17.0.0) and identifying gaps. Change-Id: I23a4947a13d5e576c5aa66902686df60379ffda0 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | 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
|\ \ \ \ \