-
Notifications
You must be signed in to change notification settings - Fork 920
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
govc vm.ls kills VIC appliance VM #934
Comments
The code assumes |
Do you know what causes the |
I think if files have been removed in between requests. I'm going to write a test to reproduce before fixing. |
Ping me on Slack if you need more info. You may have to build off of my branch to reproduce. |
The ListFiles handler assumed the 'offset' param was always valid. It could be invalid if client-side logic is wrong or directory contents have shrunk in between calls. Either way, we reply with '0' remaining files in this case as open-vm-tools does. Fixes vmware#934
The ListFiles handler assumed the 'offset' param was always valid. It could be invalid if client-side logic is wrong or directory contents have shrunk in between calls. Either way, we reply with '0' remaining files in this case as open-vm-tools does. Fixes #934
So I've hit a really bizarre issue in
govc
/govmomi
.Steps to reproduce:
Install a VIC VCH on ESXi with
vic-machine
in the standard way, then, after updating your environment to pointdocker
at your VCH:docker create --name foo busybox
cat some-archive.tar.gz | docker cp - foo:/
govc vm.ls $VCH_NAME /tmp
govc
will hang. The VCH will stop responding.govc vm.ip
will hang.govc vm.info
will show the endpoint VM as powered on, with no IP address. Prior to callinggovc vm.ls
, everything works normally in the VCH.I was also able to procure a stack trace from the toolbox code in
vic-init
:The text was updated successfully, but these errors were encountered: