[Openstack] unrescue VM instance

Balazs Varhegyi varh1ibalazs at gmail.com
Tue Mar 15 12:06:36 UTC 2016


Thank you Tomas for the reply,
Yes, I want to bring it back to normal state so it would run without 
this rescue mode.
When I execute "nova rescue" and VM gets into RESCUED then 
/var/lib/nova/instances/{uuid}/console.log is filled,
but when I do "nova unrescue" and VM is in ACTIVE state this log is 
empty (I can see the process of the VM in the core machine).
I wanted to use "virtsh console instance-xxxx" as described here: 
http://www.jaredlog.com/?p=1484 to get a console to the machine but hit 
this error:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/807091?comments=all

Balazs

On 15/03/16 13:20, Tomas Vondra wrote:
> Balazs Varhegyi <varh1ibalazs at ...> writes:
>
>> Hi guys,
>> I have an openstack instance that run out of storage on core machine and
>> the instance got paused.
>> I cleared up the core machine so it has more disk now but when I start
>> the machine I can't ssh in.
>> In rescue mode I'm able to ssh in but I want to unrescue the machine to
>> be able to use it again without creating a new instance and migrate
>> everything from this failed instance manually.
>> I enabled virtlib debug log but nothing interesting came up (or at least
>> I didn't notice), the only thing that indicates an error is:
>> "Domain id=53 name='instance-00000281'
>> uuid=f2715c2c-6d4e-5cf1-7606-f5552a59cb56 is tainted: host-cpu"
>> "nova list" shows the machine has the correct IP set but I'm not able to
>> ping it on private IP nor via floating IP.
>> I tracked the network configuration from libvirt.xml and it seems it's
>> configured correctly to connect to the internal bridge: "br-int" on Open
>> VSwitch.
>>
>> do you have any idea what should I try to unrescue the machine to and
>> get it into active state?
>>
>> Regards,
>> Balazs Varhegyi
>>
>>
> Hi!
> What does the log and console show when the VM is in normal state?
> The rescue mode is not a magical solution to all problem. It just runs a
> clean OS and attaches your broken one as a secondary disk. YOU have to do
> the magic to rescue it.
> Tomas
>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160315/ff5aaea7/attachment.html>


More information about the Openstack mailing list