-
Notifications
You must be signed in to change notification settings - Fork 373
Think about better ways to replace sleeps in vm template #728
Comments
Thanks for opening this @bergwolf |
@sboeuf Thanks for the suggestions. TBH, I don't think it justifies the costs (from security and complexity point of view) to have another serial port connection (which also means another grpc service) just for this. Besides it only solves the first part of the sleep. |
@laijs just mentioned to me that we can use qmp |
Sounds good :) |
Then we can remove the arbitrary sleep waiting for migration completion when creating a tempalte vm. Fixes: kata-containers#728 Signed-off-by: Peng Tao <[email protected]>
Then we can remove the arbitrary sleep waiting for migration completion when creating a tempalte vm. Fixes: kata-containers#728 Signed-off-by: Peng Tao <[email protected]>
Then we can remove the arbitrary sleep waiting for migration completion when creating a tempalte vm. Fixes: kata-containers#728 Signed-off-by: Peng Tao <[email protected]>
Then we can remove the arbitrary sleep waiting for migration completion when creating a tempalte vm. Fixes: kata-containers#728 Signed-off-by: Peng Tao <[email protected]>
Then we can remove the arbitrary sleep waiting for migration completion when creating a tempalte vm. Fixes: kata-containers#728 Signed-off-by: Peng Tao <[email protected]>
Then we can remove the arbitrary sleep waiting for migration completion when creating a tempalte vm. Fixes: kata-containers#728 Signed-off-by: Peng Tao <[email protected]>
Then we can remove the arbitrary sleep waiting for migration completion when creating a tempalte vm. Fixes: kata-containers#728 Signed-off-by: Peng Tao <[email protected]>
Then we can remove the arbitrary sleep waiting for migration completion when creating a tempalte vm. Fixes: kata-containers#728 Signed-off-by: Peng Tao <[email protected]>
Then we can remove the arbitrary sleep waiting for migration completion when creating a tempalte vm. Fixes: kata-containers#728 Signed-off-by: Peng Tao <[email protected]>
build: Update CentOS version for the Dockerfile
Currently as of #684, there are two arbitrary sleeps when we create the template vm to make sure that:
vm.Save()
(which is an asynchronous qmp call) completesIt's better (code) if we can think of better ways to replace these arbitrary sleeps. Not an urgent issue though, since it is not on the regular vm creation code path and only happens once.
/cc @sboeuf
The text was updated successfully, but these errors were encountered: