Post

3 followers Follow
0
Avatar

Adding vCenter execution expired

Error message "execution expired" when try to get vCenter Cluster.
Same IP subnet with vCenter.
Closed local firewall in vCenter.
vSphere verison: 5.5

Connecting vCenter from vonecloud appliance

# time openssl s_client -connect vcenterv5p5.uat.loc:443
CONNECTED(00000003)
140716701837216:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:184:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 247 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---

real    2m0.039s
user    0m0.009s
sys     0m0.003s

 

Gary Lau

Please sign in to leave a comment.

5 comments

0
Avatar

Still failed, here is the output

# onevcenter hosts --vuser administrator@vsphere.local --vpass xxxxx --vcenter 172.18.99.101

Connecting to vCenter: 172.18.99.101...    Error: execution expired/
["/usr/share/ruby/net/http.rb:921:in `connect'", "/usr/share/ruby/net/http.rb:921:in `block in connect'", "/usr/share/ruby/net/http.rb:921:in `connect'", "/usr/share/ruby/net/http.rb:862:in `do_start'", "/usr/share/ruby/net/http.rb:857:in `start'", "/usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/trivial_soap.rb:56:in `restart_http'", "/usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/trivial_soap.rb:20:in `initialize'", "/usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/connection.rb:31:in `initialize'", "/usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/vim.rb:43:in `new'", "/usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/vim.rb:43:in `connect'", "/usr/lib/one/ruby/vcenter_driver/vi_client.rb:11:in `initialize'", "/usr/lib/one/ruby/vcenter_driver/importer.rb:120:in `new'", "/usr/lib/one/ruby/vcenter_driver/importer.rb:120:in `import_clusters'", "/usr/bin/onevcenter:113:in `block (2 levels) in <main>'", "/usr/lib/one/ruby/cli/command_parser.rb:449:in `call'", "/usr/lib/one/ruby/cli/command_parser.rb:449:in `run'", "/usr/lib/one/ruby/cli/command_parser.rb:76:in `initialize'", "/usr/bin/onevcenter:57:in `new'", "/usr/bin/onevcenter:57:in `<main>'"]

Gary Lau 0 votes
Comment actions Permalink
0
Avatar

It seems that u have networking issues.

You need to find out if your opennebula frondend reach vcenter, check if vcenter ports setup are OK, one way to perform this could be using telnet: $ telnet 172.18.99.101 9443  for example.

This article shows the required ports between vcenter resources: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2051575 

 

 

Sergio Semedi Barranco 0 votes
Comment actions Permalink
0
Avatar

here is the output of telnet from frontend to vcenter.I think the connection is OK, but seems be slow. Self-signed certificate is being in use, do you think it is a problem?

 

# time telnet 172.18.99.101 9443
Trying 172.18.99.101...
Connected to 172.18.99.101.
Escape character is '^]'.

Connection closed by foreign host.

real    1m0.017s
user    0m0.001s
sys     0m0.000s

Gary Lau 0 votes
Comment actions Permalink
0
Avatar

Im afraid that your vcenter server is not able to answer your requests.

Make sure that u dont have any firewall blocking your network, i would recommend you to use vcenter with vmware utilities directly (like vsphere CLI maybe they have tools to audit your server but i dont know) and see the results before using vOnecloud.

Good Luck!

 

Sergio Semedi Barranco 0 votes
Comment actions Permalink