-
Notifications
You must be signed in to change notification settings - Fork 904
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
a verbose/trace mode for the govc
CLI that says what action, request, and response is being done
#1124
Comments
We experienced this with another issue when trying to create a folder with |
Agreed. We need to make I like the idea of a new It also sounds like there's also an issue with the progress package and/or import.ova command, it should have errored out in this case. |
cc: @kcboyle |
@dougm Is this being actively worked on? If not we are happy to do the work and submit a PR? |
@kcboyle haven't had a chance myself and don't think anyone else is working on it. That would be great if you can work on it and submit a PR! |
+1 - govc is very blackboxy and difficult to debug. |
#1648 might be useful, but likely too verbose in many cases. |
This flag piggy backs the '-debug' flag, writing formatted SOAP and REST traffic to stderr. Fixes vmware#1124
This flag piggy backs the '-debug' flag, writing formatted SOAP and REST traffic to stderr. Fixes vmware#1124
This flag piggy backs the '-debug' flag, writing formatted SOAP and REST traffic to stderr. Fixes vmware#1124
This flag piggy backs the '-debug' flag, writing formatted SOAP and REST traffic to stderr. Fixes vmware#1124
This flag piggy backs the '-debug' flag, writing formatted SOAP and REST traffic to stderr. Fixes vmware#1124
This flag piggy backs the '-debug' flag, writing formatted SOAP and REST traffic to stderr. Fixes vmware#1124
The '-trace' flag piggy backs the '-debug' flag, writing formatted SOAP and REST traffic to stderr. The '-verbose' flag logs request/response in a more compact format. Fixes vmware#1124
The '-trace' flag piggy backs the '-debug' flag, writing formatted SOAP and REST traffic to stderr. The '-verbose' flag logs request/response in a more compact format. Fixes vmware#1124
The '-trace' flag piggy backs the '-debug' flag, writing formatted SOAP and REST traffic to stderr. The '-verbose' flag logs request/response in a more compact format. Fixes vmware#1124
We were using the cli for
import.ova
and had it sit there with a blank screen. We discovered that it was user error, as the VM name and VM folder had been specified inversely.It took us a whole morning to find that out though.
The CLI provided no feedback that something was wrong besides it not exiting and obviously in some waiting state.
In our steps to debug, we used the
--debug
flag. It provided no immediate feedback to stdout/stderr of what the CLI was doing. We did eventually find that the hundreds of xml files in a directory.From a user perspective, we assumed that
--debug
was similar to--verbose
(iecurl --verbose http://google.com
). Where it would give an indication of what action the CLI was trying to do. An action is something that the CLI is performing on your behalf -- interacting with a third party CLI, retrying in N seconds, etc.This would be extremely useful for future debugging.
In our use case with
import.ova
, a verbose option turned on with our error might look like:The text was updated successfully, but these errors were encountered: