Dell PowerFlex: Size shown for a volume doesn't match powerflex backend allocation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Low
|
Unassigned | ||
Glance |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Description
When creating a volume, powerflex will round the value of the capacity by a multiple of 8GB leaving inconsistency between cinder which shows the value requested by the user and powerflex which shows the current allocation.
Step to reproduce
Create a volume with a size different from 8GB multiplier
stack@SRA-
/usr/lib/
from cryptography.utils import int_from_bytes
/usr/lib/
from cryptography.utils import int_from_bytes
+------
| Field | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2022-09-
| description | None |
| encrypted | False |
| id | ebcc7949-
| migration_status | None |
| multiattach | False |
| name | test_vol_pflex |
| properties | |
| replication_status | None |
| size | 3 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| type | powerflex |
| updated_at | None |
| user_id | cf67ca76a2924d2
+------
stack@SRA-
/usr/lib/
from cryptography.utils import int_from_bytes
/usr/lib/
from cryptography.utils import int_from_bytes
+------
| ID | Name | Status | Size | Attached to |
+------
| ebcc7949-
| 048a3748-
| 470839d8-
| 620b2198-
| 24e11e0b-
| aadf3632-
| 4c6092bd-
| 80e0751c-
+------
This introduces multiple side effects:
1. Allocation capacity not being monitored correctly
2. Extension of volume withing the same range will fail as the volume is already at that size (Example: volume extenstion from 5 to 7, backend already set to 8)
3. Quota also affected
This bug consolidates other bugs opened for various behavior but still happens because of the same issue:
https:/
https:/
https:/
summary: |
- Size shown for a volume doesn't match powerflex backend allocation + Dell PowerFlex: Size shown for a volume doesn't match powerflex backend + allocation |
tags: | added: drivers |
Changed in cinder: | |
importance: | Undecided → Low |
description: | updated |
In order to consolidate, I think we might consider having one bug opened for all consequences of this misbehavior