I installed the vco-cli plugin into the embedded vRO instance of vRA8. The client cannot connect, I presume the port is not exposed by Kubernetes. Has anyone successfully configured this yet or I need to dig into the details?
thanks
Please provide more info about which plug-in version/build number you installed, how did you run it, and the exact errors you got. Also, it could be helpful to check vRO log files for any clues.
I don't think this plug-in got any attention in the last 2-3 years, so it is quite possible it simply doesn't work correctly with vRO 8.x, or even with the latest vRO 7.x releases.
o11nplugin-vcocli-2.0.0-4693774.vmoapp
I connected the usual way (that works with 7.5 fine):
$ c:\vcocli\bin\vcocli --vco vra8.test.local --username myuser --password MyPassword1!
vCO CLI cannot connect.
Consider invalid ip/port or credentials.
I checked and port 8265 is not open. I'm trying to expose it with kubectl at the moment...
I made some progress by adapting https://tsener.me/post/190159181895/vmware-vro-8-snmp-traps-howto-set-the-snmp-trap
kubectl -n prelude expose deployment vco-app --type=NodePort --name=vco-cli --port=8265 --target-port=8265 --protocol=TCP
kubectl -n prelude patch svc vco-cli --type=json -p '[{"op":"replace","path":"/spec/ports/0/nodePort","value":8265}]'
kubectl -n prelude patch svc vco-cli -p '{"spec":{"externalTrafficPolicy":"Local"}}'
iptables -A INPUT -p tcp --dport 8265 -j ACCEPT
Now I can login but the connection drops immediately:
c:\install\vcocli\bin\vcocli --vco vra8.corp.local --username myuser
Enter password: *********
___ ___ ___ _ ___
__ __/ __/ _ \ / __| | |_ _|
\ V / (_| (_) | | (__| |__ | |
\_/ \___\___/ \___|____|___| 2.0.0
Type '?help' for more information
vco :001> System.log("hello")
Error connecting vCO server.
I can see the session to start up but that's all so far...
Somehow the TLS handshake is failing:
Hi Xian,
i see that you are running the plugin on windows. Can you give it a try and run it inside linux box ?
I cannot connect from Linux to neither vRO 7.5 nor vRO 8.0
From Windows, it works fine with vRO 7.5