Bug 2268601
| Summary: | [OSP17.1] Trying to set a default volume-type for a project gets you "ERROR: You are not authorized to perform this operation. (HTTP 403)" | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | ggrimaux |
| Component: | openstack-cinder | Assignee: | Rajat Dhasmana <rdhasman> |
| Status: | CLOSED ERRATA | QA Contact: | Yosi Ben Shimon <ybenshim> |
| Severity: | medium | Docs Contact: | Andy Stillman <astillma> |
| Priority: | medium | ||
| Version: | 17.1 (Wallaby) | CC: | aruffin, brian.rosmaita, dhill, dhruv, jveiraca, mariel, mlaniel, rdhasman |
| Target Milestone: | z4 | Keywords: | Triaged, ZStream |
| Target Release: | 17.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-cinder-18.2.2-17.1.20240802150750.f6b44fc.el9ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-11-21 09:39:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
ggrimaux
2024-03-08 15:49:10 UTC
Tested on: Red Hat Enterprise Linux release 9.2 (Plow) Red Hat OpenStack Platform release 17.1.4 (Wallaby) openstack-cinder-18.2.2-17.1.20240916200757.f6b44fc.el9ost.noarch The default volume type in cinder.conf: default_volume_type=tripleo * Used overcloudrc - created a new volume type and a project. - assigned the volume type to be the default for the project - list default volume types for the project - unset the default volume type (overcloud) [stack@undercloud-0 ~]$ cinder type-create --is-public True test-vol-type (overcloud) [stack@undercloud-0 ~]$ openstack project create test-project (overcloud) [stack@undercloud-0 ~]$ cinder --os-volume-api-version 3.62 default-type-set test-vol-type <project-id> (overcloud) [stack@undercloud-0 ~]$ cinder --os-volume-api-version 3.62 default-type-list --project <project-id> +----------------+--------------------------------------+ | Property | Value | +----------------+--------------------------------------+ | project_id | 18e1a34103bd4095aad97b7bb732c37f | | volume_type_id | fb8b6398-89b4-4e66-8667-22348aa5bf3b | +----------------+--------------------------------------+ (overcloud) [stack@undercloud-0 ~]$ cinder --os-volume-api-version 3.62 default-type-unset <project-id> Default volume type for project 18e1a34103bd4095aad97b7bb732c37f has been unset successfully. (overcloud) [stack@undercloud-0 ~]$ cinder --os-volume-api-version 3.62 default-type-list --project 18e1a34103bd4095aad97b7bb732c37f ERROR: Default type for project 18e1a34103bd4095aad97b7bb732c37f not found. (HTTP 404) (Request-ID: req-ac56afba-69f4-4c90-bd08-e4592bfffd88) Moving to VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (RHOSP 17.1.4 bug fix and enhancement advisory), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2024:9974 |