-
Notifications
You must be signed in to change notification settings - Fork 173
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
Improve VCH vSphere API target check #3479
Comments
User statement: The reason we need this feature is actually to insure PortLayer starts without problems. One of the most obscure issues was an access to vSphere API that could fail with very unclear description. However, we can get this feature a little further by having a separate channel to return any error that may happen on ApiCheck, PortLayer, docker-persona and vic-admin sides to vic-machine. Details: For this purpose one of the components that starts first(vic-admin?) should open a temporary backchannel(tcp-connection) that will send important messages from VCH to vic-machine to keep user informed what is going on at that moment. Channel should be authenticated using some randomly generated credentials during VCH deployment. Adding a separate service just for the purpose of diagnostics looks like an overkill that may significantly increase the size of the produced ISO image, increase overall complexity and make product less stable. Acceptance criteria:
|
Currently we're using VM guestinfo for this communication |
Besides of vSphere API status check, we also need to check if VCH services are successfully initialized. And then add mark into guestinfo, which will be used by vic-machine create/ls/inspect for status check, to provide more valuable error message |
#1160 should be considered in this issue as well |
Copied from #1160, which is closed for dependency to this issue If the VCH appliance cannot connect to the target, but vic-machine can, then we need a useful error. It should direct the user at the --management-network option as it's likely that either: |
Add a service on the VCH to check VCH-vSphere connection
Set the status check in vic-init
Discuss more with Emma and George
The text was updated successfully, but these errors were encountered: