Unshelve instance can't find the image error message is not updated to the instance fault table
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Brin Zhang | ||
Ocata |
Fix Committed
|
Medium
|
Brin Zhang | ||
Pike |
Fix Committed
|
Medium
|
Brin Zhang | ||
Queens |
Fix Released
|
Medium
|
Brin Zhang |
Bug Description
When deleting the image of an instance of the SHELVED_OFFLOADED state and then executing the unshelve instance operation, the unshelve instance fails, but there is no corresponding error message in the fault table of the target instance.
You can reproduce the bug by following the steps below:
1.Create an instance in your environment, named "instance01", then do "Shelve Instance";
2.The first step, if executed successfully, will generate an image named "instance01-
3.Return to the instance list, find the target instance, and then do "Unshelve instance". The status of this instance will be set to Error, but there is no error message in the instance fault table.
I think that I have seen an error in the instance, but I don’t know why it is wrong. This is unfriendly.
description: | updated |
Changed in nova: | |
assignee: | nobody → Brin Zhang (zhangbailin) |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | Brin Zhang (zhangbailin) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Brin Zhang (zhangbailin) |
Reviewed: https:/ /review. openstack. org/579747 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b26df4fa6cd 78a9b60de79750d 4e9a58980d13ca
Committed: https:/
Submitter: Zuul
Branch: master
commit b26df4fa6cd78a9 b60de79750d4e9a 58980d13ca
Author: zhangbailin <email address hidden>
Date: Tue Jul 3 11:08:04 2018 +0800
Add unshelve instance error info to fault table
When the image of the SHELVED_OFFLOADED instance is deleted, the unshelve
instance will report an error, but the fault info not added into instance
fault table.
Closes-bug: #1779826
Change-Id: I365fcc148b2795 9acad1d3c4f8bb4 5c1ed790318