This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Failed to install ETCD from 2019.08.0030

HI,

I have tried to install CDF 2019.08 on RHEL 7.2, but encounter below issue:

2019-07-15T17:55:39 03:00 INFO : Configure and start the ETCD database ................................ [ FAILED ]
2019-07-15T17:57:55 03:00 FATAL : Failed to start ETCD database. Refer to /tmp/install.20190715175529.log file for detail information. If need, please contact system administrator or Micro Focus support.

Further checking the install log I can see:

2019-07-16T09:11:59.999086191 03:00 DEBUG exit_code: 0
2019-07-16T09:12:00.00521755 03:00 DEBUG exec_cmd # /opt/kubernetes/bin/etcdctl --cacert=/opt/kubernetes/ssl/ca.crt --cert /opt/kubernetes/ssl/server.crt --key /opt/kubernetes/ssl/server.k
ey --endpoints https://Hostname :4001 get / --prefix --keys-only=true
2019-07-16T09:12:00.00521755 03:00 DEBUG exit_code: 2

Manually running the command:

[root@Hostname etcd]# /opt/kubernetes/bin/etcdctl --cacert=/opt/kubernetes/ssl/ca.crt --cert /opt/kubernetes/ssl/server.crt --key /opt/kubernetes/ssl/server.key --endpoints https://Hostname :4001 get / --prefix --keys-only=true
Error: dial tcp 15.119.191.194:4001: getsockopt: connection refused

Checking for any process listening, I could not see etcd and port 4001:

etcd 58052 etcd 5u IPv4 302287 0t0 TCP localhost:2380 (LISTEN)
etcd 58052 etcd 6u IPv4 302288 0t0 TCP localhost:2379 (LISTEN)

 

It looks try to reach hostname:4001 port for certs, but same refused.

Firewall is disabled.

Thanks,

Yavor

 

Parents Reply
  • 0 in reply to 

    Hi,

    Well I have modified /etc/hosts file and commented out the IP6. Added there FQDN of the server and IP. 127.0.0.1 and localhost there as well.

    nslookup to the FQDN is resolving correct.

    Thanks,

    Yavor

Children