Huawei driver reports reduplicate storage pool informations

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

Bug Description

Huawei driver tried to support both thin and thick filesystem in one storagepool.
It reports one storagepool twice with the capabilitie "thin_provisioning" true and false.
But the scheduler can not manage two pools with the same name, only the last one can be scheduled(who's "thin_provisioning" is false).
This will cause the operation of create "thin share" always fail.
There are two plans to solve this problem:
1.one storagepool support both thin and thick, add a prefix to the pool name before report to the scheduler.
2.one storagepool can only support thin or thick. If users want to create both, they can add different pools in the config file.
Plan1 may be not compatible with the scheduler.

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/220799

Changed in manila:
assignee: nobody → zhaohua (zhaohua-zhao)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

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

commit b980e254ae9e0f9c56c40213848d15135b185c9c
Author: zhaohua <email address hidden>
Date: Sun Sep 6 17:20:56 2015 +0800

    Huawei driver: fix reports reduplicate pools

    Huawei driver tried to support both thin and thick filesystem
    in one storagepool. But it's not compatible with the scheduler.
    So, change the logic of Huawei driver to support only thin or
    thick in one storagepool.

    Change-Id: I6da6f2d46787bb2f1fe94bd86a4703094182059d
    Closes-Bug: #1491272

Changed in manila:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in manila:
milestone: none → liberty-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in manila:
milestone: liberty-rc1 → 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.