Need to scSaveInstanceInfo() after volume detach

Bug #683750 reported by iain MacDonnell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
Invalid
Undecided
Unassigned
2.0
Confirmed
Undecided
Unassigned

Bug Description

When a volume is attached to an instance, scSaveInstanceInfo() is called to update the stored instance data, but when a volume is detached, this saved data is not updated. If a volume is attached then detached, then the NC is restarted, subsequent attempts to attach the same volume will fail because the NC thinks it's already there. Symptom error:

[Wed Dec 1 08:38:47 2010][030863][EUCAFATAL ] ERROR: Failed to save the volume record, aborting volume attachment
[Wed Dec 1 08:38:47 2010][030863][EUCAERROR ] ERROR: doAttachVolume() failed error=1

I believe there needs to be a scSaveInstanceInfo() call after free_volume() in doDetachVolume()

Revision history for this message
iain MacDonnell (dseven) wrote :
Changed in eucalyptus:
assignee: nobody → Dmitrii Zagorodnov (dmitrii)
Changed in eucalyptus:
status: New → Confirmed
Changed in eucalyptus:
milestone: none → 2.0.4
Changed in eucalyptus:
milestone: 2.0.4 → none
assignee: Dmitrii Zagorodnov (dmitrii) → nobody
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.