Bug 1940153
| Summary: | [OSP13] HP Cinder driver convert_to_base option is forced to true creating unnecessary volume | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | ggrimaux |
| Component: | openstack-cinder | Assignee: | Pablo Caruana <pcaruana> |
| Status: | CLOSED ERRATA | QA Contact: | Tzach Shefi <tshefi> |
| Severity: | high | Docs Contact: | Andy Stillman <astillma> |
| Priority: | high | ||
| Version: | 13.0 (Queens) | CC: | abishop, amcleod, apevec, eharney, fsoppels, gfidente, gregraka, pcaruana, slinaber, spower |
| Target Milestone: | z16 | Keywords: | OtherQA, Triaged, ZStream |
| Target Release: | 13.0 (Queens) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-cinder-12.0.10-22.el7ost | Doc Type: | Bug Fix |
| Doc Text: |
Before this update, when using the Block Storage service (cinder) to create a large number of instances (bootable volumes) from snapshots on HP3Par Storage back end servers, timeouts occurred. An HP variable (`convert_to_base`) was set to true which caused HP3Par to create a thick volume of the original volume. This was an unnecessary and unwanted action.
+
With this update, a newer HP driver (4.0.11) has been backported to RHOSP 13 that includes a new spec:
+
----
hpe3par:convert_to_base=True | False
----
+
* True (default) - The volume is created independently from the snapshot (HOS8 behavior).
* False - The volume is created as a child of snapshot (HOS5 behavior).
+
.Usage
+
You can set this new spec for HPE3Par volumes by using the `cinder type-key` command:
+
----
cinder type-key <volume-type-name-or-ID> set hpe3par:convert_to_base=False | True
----
+
.Example
+
----
$ cinder type-key myVolType set hpe3par:convert_to_base=False
$ cinder create --name v1 --volume-type myVolType 10
$ cinder snapshot-create --name s1 v1
$ cinder snapshot-list
$ cinder create --snapshot-id <snap_id> --volume-type myVolType --name v2 10
----
+
.Notes
If the size of v2 is greater than size of v1, then the volume cannot be grown. In this case, to avoid any error, v2 is converted to a base volume (`convert_to_base=True`).
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-06-16 10:59:46 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
2021-03-17 17:19:12 UTC
@Pablo, can you take this? Exception flag granted 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 (Red Hat OpenStack Platform 13.0 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-2021:2385 |