-
Notifications
You must be signed in to change notification settings - Fork 14
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
Unable to restart guest OS using vSphere #21
Comments
The error indicates that vSphere is not receiving communications from vmtoolsd. Could you check if the logs of the vmtoolsd (or post them here) show anything weird? |
Just this:
Pod:
|
Hmm that's not much. Could you add these env vars to your container spec, and inspect your logs again? According to
|
We are using vSphere CPI, idk if it matters |
I'm seeing the same with I'll try to find out what's going on here. |
Reboot works only after poweron; subsequent requests throw a java exception on the esx host, with this error in the UI: "message": "Cannot complete operation because VMware Tools is not running in this virtual machine.\nFailed to reset the virtual machine: Cannot execute scripts.",
"faultMessage": [
{
"_type": "com.vmware.vim.binding.impl.vmodl.LocalizableMessageImpl",
"key": "msg.vigor.reset.fail",
"arg": [
{
"_type": "com.vmware.vim.binding.impl.vmodl.KeyAnyValueImpl",
"key": "1",
"value": "msg.foundryErrMsgId.VIX_E_POWEROP_SCRIPTS_NOT_AVAILABLE"
}
],
"message": "Failed to reset the virtual machine: Cannot execute scripts."
}
] I'll continue to try to figure out what's going on, but don't expect a fix very soon. If you're automating the reboots i suggest you try a shutdown followed by a powerup for now. Here's the full response in the vSphere UI: stacktrace.json |
Using latest release..
First reboot works well, but when vm starts and I want to restart it again it fails with:
"Cannot complete operation because VMware Tools is not running in this virtual machine. Failed to reset the virtual machine: Cannot execute scripts."
Pod is running without any error log.
The text was updated successfully, but these errors were encountered: