EMC VNX driver report ZERO capacity of a pool

Bug #1464136 reported by jay.xu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Undecided
jay.xu

Bug Description

EMC VNX driver will report ZERO capacity if it is a thin pool or system-defined pool. The error in manila.log are as follow:

scheduler.log

2015-06-10 21:37:58.087 28692 WARNING manila.context [-] Arguments dropped when creating context: {u'user': u'16d588c3d03d49708b4cfc2fe559fc2a', u'tenant': u'544888e58b9744a6aa50799b14814ede'}
2015-06-10 21:37:58.090 28692 WARNING manila.scheduler.host_manager [req-c1edbc92-cdf0-4184-b210-b9625b2580bb None] service is down or disabled.
2015-06-10 21:37:58.091 28692 WARNING manila.scheduler.host_manager [req-c1edbc92-cdf0-4184-b210-b9625b2580bb None] service is down or disabled.
2015-06-10 21:37:58.091 28692 DEBUG manila.openstack.common.scheduler.base_filter [req-c1edbc92-cdf0-4184-b210-b9625b2580bb None] Starting with 1 host(s) get_filtered_objects /usr/lib/python2.7/site-packages/manila/openstack/common/scheduler/base_filter.py:77
2015-06-10 21:37:58.092 28692 DEBUG manila.openstack.common.scheduler.base_filter [req-c1edbc92-cdf0-4184-b210-b9625b2580bb None] Filter AvailabilityZoneFilter returned 1 host(s) get_filtered_objects /usr/lib/python2.7/site-packages/manila/openstack/common/scheduler/base_filter.py:94
2015-06-10 21:37:58.092 28692 WARNING manila.scheduler.filters.capacity_filter [req-c1edbc92-cdf0-4184-b210-b9625b2580bb None] Insufficient free space for volume creation (requested / avail): 1/0.0
2015-06-10 21:37:58.092 28692 INFO manila.openstack.common.scheduler.base_filter [req-c1edbc92-cdf0-4184-b210-b9625b2580bb None] Filter CapacityFilter returned 0 host(s)
2015-06-10 21:37:58.092 28692 WARNING manila.scheduler.manager [req-c1edbc92-cdf0-4184-b210-b9625b2580bb None] Failed to schedule_create_share: No valid host was found. .
====================================================================================================

And periodically the below errors are shown.

share.log

2015-06-10 21:41:23.772 25203 DEBUG manila.manager [-] Running periodic task ShareManager._publish_service_capabilities periodic_tasks /usr/lib/python2.7/site-packages/manila/manager.py:152
2015-06-10 21:41:23.772 25203 DEBUG manila.manager [-] Notifying Schedulers of capabilities ... _publish_service_capabilities /usr/lib/python2.7/site-packages/manila/manager.py:204
2015-06-10 21:41:23.775 25203 DEBUG manila.manager [-] Running periodic task ShareManager._report_driver_status periodic_tasks /usr/lib/python2.7/site-packages/manila/manager.py:152
2015-06-10 21:41:23.775 25203 INFO manila.share.manager [-] Updating share status
2015-06-10 21:41:23.775 25203 DEBUG manila.share.drivers.emc.driver [-] Updating share stats. _update_share_stats /usr/lib/python2.7/site-packages/manila/share/drivers/emc/driver.py:142
2015-06-10 21:41:23.776 25203 DEBUG manila.share.drivers.emc.plugins.vnx.utils [-] Entering VNXStorageConnection.update_share_stats inner /usr/lib/python2.7/site-packages/manila/share/drivers/emc/plugins/vnx/utils.py:48
2015-06-10 21:41:23.776 25203 DEBUG manila.share.drivers.emc.plugins.vnx.utils [-] Entering VNXStorageConnection._get_available_pool_by_name inner /usr/lib/python2.7/site-packages/manila/share/drivers/emc/plugins/vnx/utils.py:48
2015-06-10 21:41:23.776 25203 DEBUG manila.share.drivers.emc.plugins.vnx.utils [-] Entering XMLAPIHelper.list_storage_pool inner /usr/lib/python2.7/site-packages/manila/share/drivers/emc/plugins/vnx/utils.py:48
2015-06-10 21:41:23.776 25203 DEBUG manila.share.drivers.emc.plugins.vnx.utils [-] Entering XMLAPIHelper.send_request inner /usr/lib/python2.7/site-packages/manila/share/drivers/emc/plugins/vnx/utils.py:48
2015-06-10 21:41:23.777 25203 DEBUG manila.share.drivers.emc.plugins.vnx.helper [-]
REQ: curl -i -X POST -H "Content-type: application/x-www-form-urlencoded" -d '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><RequestPacket xmlns="http://www.emc.com/schemas/celerra/xml_api"><Request><Query><StoragePoolQueryParams/></Query></Request></RequestPacket>' https://192.168.0.200/servlets/CelerraManagementServices
_http_log_req /usr/lib/python2.7/site-packages/manila/share/drivers/emc/plugins/vnx/helper.py:77
\nContent-Type: text/xml;charset=UTF-893CFFCCC8F1EF19C296emc.plugins.vnx.helper [-] RESP: [200] Date: Wed, 10 Jun 2015 12:40:02 GMT
RESP BODY: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ResponsePacket xmlns="http://www.emc.com/schemas/celerra/xml_api">
    <Response>
        <QueryStatus maxSeverity="ok"/>
        <StoragePool movers="" memberVolumes="" storageSystems="" name="clarata_archive" description="CLARiiON RAID5 on S-ATA" mayContainSlicesDefault="true" diskType="clata" size="0" usedSize="0" autoSize="7505919" virtualProvisioning="false" isHomogeneous="true" dataServicePolicies="" templatePool="10" stripeCount="2" stripeSize="256" pool="10">
            <SystemStoragePoolData dynamic="true" greedy="true" potentialAdditionalSize="7505919" isBackendPool="false"/>
        </StoragePool>
    </Response>
</ResponsePacket>

_http_log_resp /usr/lib/python2.7/site-packages/manila/share/drivers/emc/plugins/vnx/helper.py:107
2015-06-10 21:41:25.493 25203 DEBUG manila.share.drivers.emc.plugins.vnx.utils [-] Exiting XMLAPIHelper.send_request. Spent 1.716756 sec. Return (u'ok', {'info': [{'messageCode': None, 'message': None, 'description': None, 'taskId': None, 'diagnostics': None}]}, [(u'QueryStatus', {u'maxSeverity': u'ok'}), (u'StoragePool', {u'autoSize': u'7505919', u'description': u'CLARiiON RAID5 on S-ATA', u'name': u'clarata_archive', 'isBackendPool': u'false', u'movers': u'', u'memberVolumes': u'', u'usedSize': u'0', u'isHomogeneous': u'true', u'diskType': u'clata', u'stripeSize': u'256', u'templatePool': u'10', 'greedy': u'true', u'virtualProvisioning': u'false', u'dataServicePolicies': u'', u'mayContainSlicesDefault': u'true', u'stripeCount': u'2', u'storageSystems': u'', u'pool': u'10', u'size': u'0'})]) inner /usr/lib/python2.7/site-packages/manila/share/drivers/emc/plugins/vnx/utils.py:58
2015-06-10 21:41:25.494 25203 DEBUG manila.share.drivers.emc.plugins.vnx.utils [-] Exiting XMLAPIHelper.list_storage_pool. Spent 1.717361 sec. Return (u'ok', [{'autoSize': u'7505919', 'greedy': u'true', 'dataServicePolicies': u'', 'virtualProvisioning': u'false', 'diskType': u'clata', 'id': u'10', 'name': u'clarata_archive', 'isBackendPool': u'false', 'total_size': u'0', 'movers_id': [], 'used_size': u'0'}]) inner /usr/lib/python2.7/site-packages/manila/share/drivers/emc/plugins/vnx/utils.py:58
2015-06-10 21:41:25.494 25203 DEBUG manila.share.drivers.emc.plugins.vnx.utils [-] Exiting VNXStorageConnection._get_available_pool_by_name. Spent 1.717862 sec. Return {'autoSize': u'7505919', 'greedy': u'true', 'dataServicePolicies': u'', 'virtualProvisioning': u'false', 'diskType': u'clata', 'id': u'10', 'name': u'clarata_archive', 'isBackendPool': u'false', 'total_size': u'0', 'movers_id': [], 'used_size': u'0'} inner /usr/lib/python2.7/site-packages/manila/share/drivers/emc/plugins/vnx/utils.py:58
2015-06-10 21:41:25.494 25203 DEBUG manila.share.drivers.emc.plugins.vnx.utils [-] Exiting VNXStorageConnection.update_share_stats. Spent 1.718341 sec. Return None inner /usr/lib/python2.7/site-packages/manila/share/drivers/emc/plugins/vnx/utils.py:58
====================================================================================================

Tags: vnx emc manila
jay.xu (jay.xu)
Changed in manila:
assignee: nobody → jay.xu (jay-xu)
status: New → In Progress
tags: added: emc manila vnx
Changed in manila:
assignee: jay.xu (jay-xu) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.openstack.org/190533

Changed in manila:
assignee: nobody → jay.xu (jay-xu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/190533
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=d32c1e5c7086cfa9e611c3e14b2f780d8e94e051
Submitter: Jenkins
Branch: master

commit d32c1e5c7086cfa9e611c3e14b2f780d8e94e051
Author: Jay Xu <email address hidden>
Date: Wed Jun 10 22:41:09 2015 -0400

    EMC VNX: Fix the total capacity for dynamic Pool

    For the pools that are not dynamic, the total capacity of the pool returns
    as total size of all members of the pool; For the pools that are dynamic,
    it returns the potential, maximum total size, in other words the total size
    of all members plus the space available for the pool extension.

    Change-Id: Ie093a9ebcda7ca77906efe3786ee585b836c6a52
    Closes-bug: 1464136

Changed in manila:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in manila:
milestone: none → liberty-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in manila:
milestone: liberty-2 → 1.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.