Reviewed: https://review.openstack.org/372871 Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=f20ab15beb264b907f8c20f1c259d2b768458331 Submitter: Jenkins Branch: master
commit f20ab15beb264b907f8c20f1c259d2b768458331 Author: zengyingzhe <email address hidden> Date: Tue Sep 20 11:49:47 2016 +0800
Fix huawei driver cannot delete qos while status is idle
Currently, there are 3 statuses for qos: - 'active', 'inactivated' and 'idle'
If qos status is 'idle', the qos deletion will fail because huawei driver doesn't deactivate it before deleting.
This change fixes this bug by deactivating qos first if qos status is not 'inactivated'.
Change-Id: I40f937c22d77d8e07fba176bdc09ca461f01733a Closes-Bug: #1625424
Reviewed: https:/ /review. openstack. org/372871 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=f20ab15beb2 64b907f8c20f1c2 59d2b768458331
Committed: https:/
Submitter: Jenkins
Branch: master
commit f20ab15beb264b9 07f8c20f1c259d2 b768458331
Author: zengyingzhe <email address hidden>
Date: Tue Sep 20 11:49:47 2016 +0800
Fix huawei driver cannot delete qos while status is idle
Currently, there are 3 statuses for qos:
- 'active', 'inactivated' and 'idle'
If qos status is 'idle', the qos deletion will fail because
huawei driver doesn't deactivate it before deleting.
This change fixes this bug by deactivating qos first if qos
status is not 'inactivated'.
Change-Id: I40f937c22d77d8 e07fba176bdc09c a461f01733a
Closes-Bug: #1625424