But the pickle is the case where a user initiates a shutdown
inside the VM. What's the expected behavior after it's detected?
Should it respect the shutdown_terminate flag or work more like an OS
API? Right now when a shutdown in a VM is detected, the vm state is
updated to SHUTOFF and
I did some cleanup of stop and power_off in the review here.
I removed the weird shutdown_terminate handling. Honestly I feel like
that is compatibility we don't need. It should be up to the provider whether
a stop_instances counts as a terminate. In my
shutdown, stop, are power_off are synonym in this discussion. They all
mean to stop the VM from running, but keep the disk image and network,
so that the VM could be started back on again.
There are three ways to do it: 1) using EC2 stop-instance API. 2) use
OS API stop-server. 3) inside the VM,
Mail list logo