VNX driver: consistent_group_snapshot_enabled is missing from pool stats

Bug #1681305 reported by Xing Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Xing Yang

Bug Description

I have 'consistent_group_snapshot_enabled' set to '<is> True' in the group type specs and volume type extra specs as follows:

cinder --os-volume-api-version 3.14 group-type-show vnx_group_type
+-------------+---------------------------------------------------------------------------------------------+
| Property | Value |
+-------------+---------------------------------------------------------------------------------------------+
| description | None |
| group_specs | {'volume_backend_name': 'multiple_pools', 'consistent_group_snapshot_enabled': '<is> True'} |
| id | c9550beb-7be2-4eba-9f13-24deea966747 |
| is_public | True |
| name | vnx_group_type |
+-------------+---------------------------------------------------------------------------------------------+

cinder type-show vnx_vol_type
+---------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+---------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| description | None |
| extra_specs | {'volume_backend_name': 'multiple_pools', 'provisioning:type': 'thin', 'consistent_group_snapshot_enabled': '<is> True', 'thin_provisioning_support': '<is> True'} |
| id | 34835fa9-7ce6-4dc8-af2e-a9f17348ba25 |
| is_public | True |
| name | vnx_vol_type |
| os-volume-type-access:is_public | True |
| qos_specs_id | None |
+---------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Create group and create volume failed because the scheduler could not find a host. This is because 'consistent_group_snapshot_enabled = True' is in the stats for the backend but it is not in the stats at the pool level and this driver supports multiple pools.

After adding 'consistent_group_snapshot_enabled = True' to the pool stats reporting, create group and create volume worked.

Xing Yang (xing-yang)
Changed in cinder:
assignee: nobody → Xing Yang (xing-yang)
status: New → In Progress
importance: Undecided → Medium
Xing Yang (xing-yang)
Changed in cinder:
milestone: none → pike-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/455115
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=eb1d7b50ddf3791a93f2495370a111b3eee93ec2
Submitter: Jenkins
Branch: master

commit eb1d7b50ddf3791a93f2495370a111b3eee93ec2
Author: xing-yang <email address hidden>
Date: Sun Apr 9 14:55:21 2017 -0400

    VNX: add missing group snapshot pool stats

    Create group/volume failed when 'consistent_group_snapshot_enabled'
    is set to '<is> True' in the group type specs and volume type extra
    specs. This is because 'consistent_group_snapshot_enabled = True'
    is in the stats for the backend but it is not in the stats at the
    pool level.

    In this patch, 'consistent_group_snapshot_enabled = True' is added
    to the pool stats reporting to fix this problem.

    Note: This patch should be backported to Ocata.
    'consistencygroup_support=True' and consistencygroup driver
    interfaces are not removed in this patch because this patch should
    be backported. There will be a followup patch to remove
    consistencygroup driver interface implementation from this driver.

    Change-Id: I330fc93247a2509d961acfda978c3881391e01f2
    Closes-Bug: #1681305

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 11.0.0.0b2

This issue was fixed in the openstack/cinder 11.0.0.0b2 development milestone.

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.