Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

waitForVMToBeDeployReady validation during snapshot restore #71

Open
ghost opened this issue Nov 24, 2016 · 6 comments
Open

waitForVMToBeDeployReady validation during snapshot restore #71

ghost opened this issue Nov 24, 2016 · 6 comments
Labels

Comments

@ghost
Copy link

ghost commented Nov 24, 2016

It looks like that currently your extension where reverting to certain snapshot is waiting for VM to come online to validate whether revert operation completed successfully. You basically use the same waitForVMToBeDeployReady function as in the case of PowerOn operation. This does not work for the scenario when your VM is turned off when snapshot was taken.
I think the code should be checking whether the revert operation has completed successfully, instead of trying to discover that VM on the network. Does PowerCli and/or VMWare API allow you to do that?

@ghost ghost changed the title waitForVMToBeDeployReady validation waitForVMToBeDeployReady validation during snapshot restore Nov 24, 2016
@mvvsubbu
Copy link
Member

You can set wait time for deployment ready state to be zero

image

@mvvsubbu
Copy link
Member

mvvsubbu commented Dec 5, 2016

Did this help? can you confirm?

@mvvsubbu
Copy link
Member

mvvsubbu commented Dec 7, 2016

Any update?

@ghost
Copy link
Author

ghost commented Dec 7, 2016 via email

@mvvsubbu
Copy link
Member

mvvsubbu commented Dec 8, 2016

this timeout is not for revert snapshot operation, it is for waiting deployment readiness of the machine. So even if your snapshot revert takes more time task will wait for that, but it will not wait for deployment readiness.

@derrix060
Copy link

It also worked for me. Please consider close this issue ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants