container-service-extension icon indicating copy to clipboard operation
container-service-extension copied to clipboard

CSE Check and install fails with Errno -2; no log file output or debug information

Open jlarmstrong opened this issue 4 years ago • 2 comments

python -V Python 3.8.0

cse version CSE, Container Service Extension for VMware vCloud Director, version 2.6.1

VCD 9.7

Example output:

cse check config.yaml --skip-config-decryption Required Python version: >= 3.7.3 Installed Python version: 3.8.0 (default, May 7 2020, 02:49:39) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)] Validating config file 'config.yaml' Connected to AMQP server (192.168.0.10:5671) InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. Connected to vCloud Director (vcd.example.com:443) [Errno -2] Name or service not known

jlarmstrong avatar Aug 07 '20 15:08 jlarmstrong

After pushing all my https traffic through Fiddler and reviewing the responses from VCD I determined that I had a VC Pod that was returning a short name instead of a FQDN or IP which was causing the next API call against the vsphere / pod to fail (it could not resolve the host).

I still think that the error output could be improved or nuanced with a verbosity level.

jlarmstrong avatar Aug 07 '20 18:08 jlarmstrong

Thanks a lot for bringing this to our attention. CSE displays the error message (as is) that is received from the underlying vsphere guest library, so we have little control on what the error message contents are. However, we will look into this and try to improve the messages in future.

Regards Aritra Sen

rocknes avatar Sep 08 '20 22:09 rocknes