reschedule error after creating an instance from a remote volume failed

Bug #1355634 reported by HenryShen
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
zhangtralon

Bug Description

 boot an instance via a remote volume created by a specified image ,when the spwan process failed for some reasons , the reschedule process disabled to recreate the instance.
 to simulate the spwan process failed, an exception was raised just before the function self.driver.spwan() called by _build_and_run_instance function() in compute/manager.py file.
 then excute "nova boot --flavor 1 --block-device id=my_image_id,source=image,dest=volume,bus=virtio,shutdown=removed,device=/dev/vda,bootindex=0,size=1 --nic net-id=my_net_id",created instance failed.
 cinder list showed that the state of the remote volume is in-use.
   It seemed that the reschedule process failed cause the volume wasn't freed.

Tags: volumes
HenryShen (shenhui2)
Changed in nova:
assignee: nobody → HenryShen (shenhui2)
Changed in nova:
assignee: HenryShen (shenhui2) → zhangtralon (zhangchunlong1)
Tracy Jones (tjones-i)
tags: added: volumes
Changed in nova:
status: New → 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.