Unrescue fails if the configdrive was not detached
Bug #1496794 reported by
Lucian Petrut
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compute-hyperv |
Fix Released
|
Medium
|
Lucian Petrut |
Bug Description
If the rescue operation fails, the instance is attempted to be unrescued. If the original configdrive was not detached during the rescue operation, the unrescue operation will fail as it will attempt to attach an already attached disk.
summary: |
- unrescue fails if the configdrive was not detached + Unrescue fails if the configdrive was not detached |
Changed in compute-hyperv: | |
importance: | Undecided → Medium |
assignee: | nobody → Lucian Petrut (petrutlucian94) |
Changed in compute-hyperv: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/224709 /git.openstack. org/cgit/ stackforge/ compute- hyperv/ commit/ ?id=4f29c9ff11f e505f0b31c12f44 3766b1cdd5c28d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4f29c9ff11fe505 f0b31c12f443766 b1cdd5c28d
Author: Lucian Petrut <email address hidden>
Date: Thu Sep 17 13:59:23 2015 +0300
Fix unrescue operation in case of already mounted configdrive
If the rescue operation fails, the instance is attempted to be
unrescued.
If the original configdrive was not detached during the
rescue operation, the unrescue operation will fail as it
will attempt to attach an already attached disk.
This patch fixes the issue by checking if the configdrive is
already mounted before attempting to reattach it.
Closes-bug: #1496794
Change-Id: I64884dad80d959 4663c97c2afc9bd ac3b26a2310