Enabling volume_copy_bps_limit make nfs volume copy fail
Bug #1348230 reported by
Tomoki Sekiyama
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Tomoki Sekiyama |
Bug Description
With NFS backend driver, it fails by exception in utils.get_
For instance, when
cinder upload-to-image --disk-format qcow2 vol1 img1
is executed, it fails to upload by an exception
OSError: [Errno 2] No such file or directory: 'nfs-server.
in file "/opt/stack/
As blkio cgroup doesn't support NFS mount, get_blkdev_
Changed in cinder: | |
assignee: | nobody → Tomoki Sekiyama (tsekiyama) |
status: | New → In Progress |
Changed in cinder: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | juno-3 → 2014.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/109137 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=38096b24058 99adc63b7ee5f85 a4d3b2a66991a7
Committed: https:/
Submitter: Jenkins
Branch: master
commit 38096b2405899ad c63b7ee5f85a4d3 b2a66991a7
Author: Tomoki Sekiyama <email address hidden>
Date: Fri Jul 18 22:23:55 2014 -0400
Avoid OSError in get_blkdev_ major_minor with network filesystems
To avoid OSError (File not found) thrown for volumes on network filesystems copy_bps_ limit, this patch adds a check blkdev_ major_minor( ).
during volume copy with CONF.volume_
of whether the specified file is on the local block devices to
get_
It also adds a testcase for get_blkdev_ major_minor with a file on nfs and
fixes it with a regular file.
Change-Id: I0b725bba07ad63 2bfa0c922bfce16 52efe59b033
Closes-Bug: 1348230