[Openstack] unrescue VM instance

Balazs Varhegyi varh1ibalazs at gmail.com
Tue Mar 15 12:13:19 UTC 2016


Hi Steve,

Thanks for the suggestion,
I already managed to clear up some space in rescue mode (VM instance has
2,1T disk with 1T free space) and core machine has an extra 270G free
disk too.

Balazs

On 15/03/16 13:56, Stephen Davies wrote:
> Hi Balazs,
>
> Have you tried connecting to the image via NBD (network block device).
>
> 1) Mount the image.
> 2) Repair/free some space.
> 3) Start the instance.
>
> http://blog.vmsplice.net/2011/02/how-to-access-virtual-machine-image.html
>
>
> Steve
>
>
>
>
> On 15/03/16 11: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
>







More information about the Openstack mailing list