In the virtual mashine:
When I start the command #onegate vm show, I get the following message:
ERROR:
Failed to open TCP connection to 192.168.1.53:5030 (No route to host - connect(2) for β192.168.1.53β port 5030)
192.168.1.53 is IP address where the onegate server is installed.
What is the problem?
context.sh
Context variables generated by OpenNebula
DISK_ID=β1β
ETH0_CONTEXT_FORCE_IPV4=ββ
ETH0_DNS=ββ
ETH0_GATEWAY=ββ
ETH0_GATEWAY6=ββ
ETH0_IP=β192.168.1.208β
ETH0_IP6=ββ
ETH0_IP6_PREFIX_LENGTH=ββ
ETH0_IP6_ULA=ββ
ETH0_MAC=β02:00:c0:a8:01:d0β
ETH0_MASK=ββ
ETH0_MTU=ββ
ETH0_NETWORK=ββ
ETH0_SEARCH_DOMAIN=ββ
ETH0_VLAN_ID=ββ
ETH0_VROUTER_IP=ββ
ETH0_VROUTER_IP6=ββ
ETH0_VROUTER_MANAGEMENT=ββ
NETWORK=βYESβ
ONEGATE_ENDPOINT=βhttp://192.168.1.53:5030β
REPORT_READY=βYESβ
SSH_PUBLIC_KEY=ββ
TARGET=βhdbβ
TOKEN=βYESβ
VMID=β100β
token.txt
nwpOnsn0r91TIAzIUseZ5Q==
ip a
β¦
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 02:00:c0:a8:01:d0 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.211/24 brd 192.168.1.255 scope global ens3
valid_lft forever preferred_lft forever
inet6 fe80::c0ff:fea8:1d0/64 scope link
valid_lft forever preferred_lft forever
ping 192.168.1.53
PING 192.168.1.53 (192.168.1.53) 56(84) bytes of data.
64 bytes from 192.168.1.53: icmp_seq=1 ttl=64 time=1.99 ms
64 bytes from 192.168.1.53: icmp_seq=2 ttl=64 time=0.186 ms
64 bytes from 192.168.1.53: icmp_seq=3 ttl=64 time=0.183 ms
^C
β 192.168.1.53 ping statistics β
3 packets transmitted, 3 received, 0% packet loss, time 2011ms
rtt min/avg/max/mdev = 0.183/0.787/1.992/0.852 ms
ping cisco.net
PING cisco.net (72.163.4.154) 56(84) bytes of data.
64 bytes from redirect.cisco.com (72.163.4.154): icmp_seq=1 ttl=240 time=131 ms
64 bytes from redirect.cisco.com (72.163.4.154): icmp_seq=1 ttl=240 time=131 ms (DUP!)
64 bytes from redirect.cisco.com (72.163.4.154): icmp_seq=2 ttl=240 time=129 ms
64 bytes from redirect.cisco.com (72.163.4.154): icmp_seq=2 ttl=240 time=129 ms (DUP!)
64 bytes from redirect.cisco.com (72.163.4.154): icmp_seq=3 ttl=240 time=128 ms
64 bytes from redirect.cisco.com (72.163.4.154): icmp_seq=3 ttl=240 time=128 ms (DUP!)
^C
β cisco.net ping statistics β
3 packets transmitted, 3 received, +3 duplicates, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 128.291/129.548/131.044/1.180 ms
On the server side:
tail -f /var/log/one/onegate.log
Logfile created on 2018-04-27 09:29:44 +0200 by logger.rb/v1.2.7
There is no records in the log file.
nano /etc/one/onegate-server.conf
β¦
################################################################################
Server Configuration
################################################################################
OpenNebula sever contact information
:one_xmlrpc: http://localhost:2633/RPC2
Server Configuration
:host: 127.0.0.1
:port: 5030
SSL proxy URL that serves the API (set if is being used)
#:ssl_server: https://service.endpoint.fqdn:port/
ip a
β¦
6: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 9c:8e:99:50:a7:5a brd ff:ff:ff:ff:ff:ff
inet 192.168.1.53/24 brd 192.168.1.255 scope global br0
valid_lft forever preferred_lft forever
inet6 fe80::9e8e:99ff:fe50:a75a/64 scope link
valid_lft forever preferred_lft forever