If we can get some status of VM to judge whether we should add sleep or not, it might be workaround.
But, when I checked the power status and task state, the power status was "Running" and instance.task_state was "None". These statuses are not helpful to judge for adding sleep...
Oops, I posted before finished.
If we can get some status of VM to judge whether we should add sleep or not, it might be workaround.
But, when I checked the power status and task state, the power status was "Running" and instance.task_state was "None". These statuses are not helpful to judge for adding sleep...