[Openstack] [CINDER] Scheduler Support for pools issue, not picking free pools
Dilip Sunkum Manjunath
Dilip.SunkumManjunath at toshiba-tsip.com
Tue Feb 2 01:49:28 UTC 2016
Hi all,
Use Case :
Step 1
? I have multiple backend pools,
? Updated the get_volume_stats() method to hold the pools information returned from storage API's
Sample log :
[{'pool_name': '0', 'total_capacity_gb': 838, 'QoS_support': False, 'thick_provisioning_support': True, 'reserved_percentage': 1, 'consistencygroup_support': False, 'thin_provisioning_support': True, 'free_capacity_gb': 83.79999999999995}, {'pool_name': '1', 'total_capacity_gb': 1126, 'QoS_support': False, 'thick_provisioning_support': True, 'reserved_percentage': 1, 'consistencygroup_support': False, 'thin_provisioning_support': True, 'free_capacity_gb': 67.56000000000017}]
Step 2
* In Create volume method am reading the pool information as storage api need pool info(on which pool in need to create)
* Like pool_id = volume_utils.extract_host(volume['host'], level='pool') by making use of below import
from cinder.volume import utils as volume_utils
Problem am facing is:
The scheduler is not always picking the free pool which has space, it returns the pool which don't have space.
I came to know when I printed the volume['host'] and above pool id.
Is there anything else I must do? Please suggest.
Thanks
Dilip
The information contained in this e-mail message and in any
attachments/annexure/appendices is confidential to the
recipient and may contain privileged information.
If you are not the intended recipient, please notify the
sender and delete the message along with any
attachments/annexure/appendices. You should not disclose,
copy or otherwise use the information contained in the
message or any annexure. Any views expressed in this e-mail
are those of the individual sender except where the sender
specifically states them to be the views of
Toshiba Software India Pvt. Ltd. (TSIP),Bangalore.
Although this transmission and any attachments are believed to be
free of any virus or other defect that might affect any computer
system into which it is received and opened, it is the responsibility
of the recipient to ensure that it is virus free and no responsibility
is accepted by Toshiba Embedded Software India Pvt. Ltd, for any loss or
damage arising in any way from its use.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160202/da5eccd9/attachment.html>
More information about the Openstack
mailing list