| Summary: | Instance resize operation got failed now not able to bring up the instance | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | VIKRANT <vaggarwa> |
| Component: | openstack-nova | Assignee: | Eoghan Glynn <eglynn> |
| Status: | CLOSED NOTABUG | QA Contact: | Prasanth Anbalagan <panbalag> |
| Severity: | urgent | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.0 (Kilo) | CC: | berrange, dasmith, eglynn, kchamart, sbauza, sferdjao, sgordon, srevivo, vromanso |
| Target Milestone: | async | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-09 21:07:05 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
VIKRANT
2016-12-06 06:30:08 UTC
Just a comment, I think there is a confusion between source and destination. As resize renames the instance path only on the source node, we can assume that the initial source is compute-1 and the initial destination is compute-0. That is confirmed by http://pastebin.test.redhat.com/436557 that shows Nova still considering the instance on the source compute as the exception occurred before its state was changed. Consequently, I think that the resize has not really made too much invasive changes, and that we can probably try to resurrect the instance on the source host. For that, I would suggest the following steps : #1 backup /var/lib/nova/instances/5ca9bddc-5230-4c14-8baf-f052e06195f0_resize/ (as it's a pet instance, I want to make sure we can somehow store the data) #2 rename on compute-1 var/lib/nova/instances/5ca9bddc-5230-4c14-8baf-f052e06195f0 to something else (worth keeping the files for possible revert) and rename /var/lib/nova/instances/5ca9bddc-5230-4c14-8baf-f052e06195f0_resize/ to /var/lib/nova/instances/5ca9bddc-5230-4c14-8baf-f052e06195f0/ #3 nova reset-state 5ca9bddc-5230-4c14-8baf-f052e06195f0 #4 nova reboot 5ca9bddc-5230-4c14-8baf-f052e06195f0 Oops, I forgot to mention that the reset-state command has to use the --active flag. WONTFIX/NOTABUG therefore QE Won't automate |