Remove ONE commands

We have created an Ubuntu VM and installed all the necessary tools to be able to run the “one” commands remotely with assistance from OpenNebula. When we run it, I authenticate and get this reply:

root@localhost:~# onedatastore list --user oneadmin --endpoint http://:2633/RPC2
Password:
Failed to open TCP connection to :2633 (No route to host - connect(2) for “” port 2633)

I am able to ping the host with no issue. I had our FW team open that port as well, but in the FW I see “incomplete”…

Any idea where we can look to point us in the right direction? We checked the oned.conf and see the PORT = 2633.

Any help is appreciated.

Hello Matt,

Perhaps you just removed the domain name to post this error in the forums, however it looks like you left out the hostname from the endpoint URL: --endpoint http://:2633/RPC2, and then it also says No route to host - connect(2) for “” port 2633 - so it appears you maybe forgot to put in the hostname.

Can you try with --endpoint http://your.frontend.hostname.tld:2633/RPC2 and let us know if you still see the issue?

If you did delete the domain and it is actually in there, try probing for the port with nc -zv your.frontend.hostname.tld 2633 to see if it is open from the perspective of your machine.

Hey Neal. No, I removed the domain from my post and thought I replaced it with :2633… Guess it didn’t show.

image

Ha, it got removed again. I guess I can’t put fqdn in brackets..

Are you able to see and connect to it successfully with the nc -zv domain port command? It should have output like this:

$ nc -zv 12.34.56.78 2633
Connection to 12.34.56.78 2633 port [tcp/interintelli] succeeded!

Nope, no good. I opened a new ticket with the FW team.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.