[liberty][mitaka] Netapp: incorrect share usage during create volume from image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
NetApp dataontap NFS driver both in Liberty and Mitaka is affected
Detailed bug description:
when user creates bunch of VMs using 'Boot from volume (creates a new volume)' Horizon shows that volumes have been created on different NFS shares (have been distributed almost evenly between different shares). Actually almost all volumes have been created on one of the configured shares.
So there are 2 issues in this case:
- cinder doesn't distribute volumes between back-end shares
- os-vol-
> for vol_id in $(cinder list --tenant 237abf0b66c84a8
27 str:netapp@
33 str:netapp@
30 str:netapp@
I expect 30 volumes on 172.18.
> mount | grep vol_cin
172.18.
172.18.
172.18.
172.18.
> for mp in $(mount | grep vol_cin | cut -f3 -d ' '); do echo "$mp $(ls $mp/volume* | wc -l)"; done
/var/lib/
/var/lib/
/var/lib/
/var/lib/
Steps to reproduce:
spawn VMs using 'Boot from volume (creates a new volume)' or create volume from image, check os-vol-
description: | updated |
description: | updated |
Changed in cinder: | |
status: | New → Fix Released |
Reviewed: https:/ /review. openstack. org/352924 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=a5b0c7b36c0 f62b3ca76f5f7e4 bde5b00a5aa1db
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit a5b0c7b36c0f62b 3ca76f5f7e4bde5 b00a5aa1db
Author: Ivan Kolodyazhny <email address hidden>
Date: Tue Aug 9 17:07:08 2016 +0300
Fix _is_share_ clone_compatibl e for NetApp NFS storage
_is_ share_clone_ compatible doesn't compare filtered NFS share
and volume host assigned by Scheduler. This patch fixes it.
Data ONTAP driver is refactored in Newton so we don't need this
fix in master.
Closes-Bug: #1611367 6275c0ddd0dc2f8 272b425d39b
Change-Id: I1b18282be47438