[Openstack] [CINDER] Scheduler Support for pools issue, not picking free pools

John Griffith john.griffith at solidfire.com
Tue Feb 2 03:31:43 UTC 2016


On Mon, Feb 1, 2016 at 6:49 PM, Dilip Sunkum Manjunath <
Dilip.SunkumManjunath at toshiba-tsip.com> wrote:

> 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 Software India Pvt. Ltd, for any loss or damage arising in any way
> from its use.
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
> ​Sounds like this is in reference to a new driver that you're working on?
Any chance you can share a link to either a patch in gerrit or the code on
Github?

John​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160201/5b6698f1/attachment.html>


More information about the Openstack mailing list