Resource status doesn't update after restore was finished
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Karbor |
Fix Released
|
Undecided
|
luqitao |
Bug Description
Steps to reproduce:
1.Create a plan use 'OS Infra Provider with volume snapshot plugin':
karbor plan-create 'OS volumes protection plan.' 90d5bfea-
2.Create a checkpoint use the plan:
karbor checkpoint-create 90d5bfea-
3.After the volume snapshot create successfully, restore from it:
karbor restore-create 90d5bfea-
4.Query the result, the resources_status is always be 'creating' even if restore is successfully.
# karbor restore-show 2bfff44f-
+------
| Property | Value |
+------
| checkpoint_id | eb393c9f-
| id | 2bfff44f-
| parameters | { |
| | "OS::Cinder:
| | "restore_
| | "restore_name": null |
| | } |
| | } |
| project_id | 65b4ae220623472
| provider_id | 90d5bfea-
| resources_reason | {} |
| resources_status | {u'OS::
| restore_target | None |
| status | success |
+------
The resources_status should be the same as the volume's status.
Changed in karbor: | |
assignee: | nobody → luqitao (qtlu) |
Fix proposed to branch: master /review. openstack. org/493419
Review: https:/