Bug about thin or thick type in huawei driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Undecided
|
zhaohua |
Bug Description
In the desigin of huawei driver, there are 3 ways to decide which type of share to create(Thin or Thick):
1.If "capabilities:
2.If "thin_provision" is not present in the share_type, the config value of "AllocType" in the config file will be used(thin share will be created if "AllocType=Thin", thick share will be created if "AllocType=Thick")
3.If two of aboves are not present, then thick share will be created by default.
But, now there is a bug in the code that makes the second and third ways not effective.
The code add a default value to the share_type(which is "thin_provision
Fix proposed to branch: master /review. openstack. org/276977
Review: https:/