On Wednesday 23 February 2011 21:53:25 Perry Myers wrote:
>> If a guest boots in the cloud but no network is there to
connect to
>> it, does it really exist?
>
> Yes it does and it consumes valubale CPU and memory.
> The question what happens in such a case.
Very simple answer... if you spin up a guest in a cloud, and it doesn't
get a network interface/ip address, you wait a bit (configurable) and
then you shoot it violently in the head. A guest in the cloud with no
network is not worth keeping around :)
This is correct , but this is the easy part.
Now the management stack needs to:
1 - notify the user - that actually tried to bring up this VM
2 - may be try to run it somewhere else ? depends on QOS
3 - enable the administrator to understand the reason for failure
In addition what do you do when a VM looses network for some reason ? (things
happen...) Do you also shoot it?
What about the case a VM has several nics and only some of them got network ?