NetApp+NFS in cluster mode doesn't split volumes between multiple NFS shares
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Unassigned | ||
Icehouse |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If more than one NFS share is defined, all volumes are allocated on the same NFS share until it is not eligible anymore. Then a second NFS share is filled. The code is supposed to split Cinder volumes between the different NFS shares, not fill them one by one.
It is a bug in _find_shares(). If at least one NFS share is eligible, the "size" parameter (size of the requested volume in gigabytes) is replaced with the total size in bytes of the share. Because of that, _find_shares() cannot find more one eligible NFS share.
_find_shares() sorts eligible volumes by available size. Because of this bug, all volumes are allocated in the same NFS share, instead of being splitted on different NFS shares.
tags: | added: drivers |
Changed in cinder: | |
status: | New → Fix Committed |
Changed in cinder: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | kilo-2 → 2015.1.0 |
Fix proposed to branch: stable/icehouse /review. openstack. org/121467
Review: https:/