NFS not finding shares to use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Joshua Harlow |
Bug Description
It appears there is a problem with NFS share calculation.
Some outputs from the corresponding section.
10.88.175.
total_size = 105689645056.0 _find_share /usr/lib/
total_available = 97756643328.0 _find_share /usr/lib/
total_allocated = 4096.0 _find_share /usr/lib/
used = 0.0750594036322 _find_share /usr/lib/
oversub_ratio 1.0
used_ratio 0.95
Requested 5368709120
Error that occurs.
2013-06-11 23:46:52.200 31656 DEBUG cinder.
It appears the logic around the following is incorrect.
(total_allocated * oversub_ratio) < requested_
if oversub_ratio >= 1.0:
# NOTE(morganfain
# we need to calculate the apparent available space instead
# of just using the _actual_ available space.
if (total_allocated * oversub_ratio) < requested_
continue
I am not quite sure how 'total_allocated' is connected to the apparent available space. Thats probably not right.
Changed in cinder: | |
milestone: | none → havana-2 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | havana-2 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/32664
Review: https:/