Failed to add new rhev-h in rhev-m management console

Latest response

At the RHEV-M management console, tried to add new rhev-h (version 4.3) to the cluster. However, it failed to add and showed the following error message:

"Cannot add Host. Failed creating an SSH session with the host. Verify that the host is reachable (IP address, routable address etc.) and authentication parameters are correct (Username/Password, public-key etc.)"

br/Raymond

Responses

Please provide us more info, we are not clairvoyant. Did you login into the host to verify IP and authentication parameters? Did you login into the RHVM and ssh into the rhev-h using the same authentication parameters? When either of these steps failed, what messages were issued?

yes, I can login or SSH the RHEV host with "root" credentials via CLI console from any hosts. At RHVM, I login "admin" as following the user guide. While creating the new host that should be added to this cluster, where asked to input "root" credentials for host connection. Then, the error message showed up "Cannot add Host. Failed creating an SSH session with the host. Verify that the host is reachable (IP address, routable address etc.) and authentication parameters are correct (Username/Password, public-key etc.)“.

uploaded the captured picture for screenshot

Please ssh into the rhvm (not as user admin via the web-interface) and issue the ssh command with root credentials to access the rhev-h. What message do you see? Does the logging on the rhev-h indicate the cause (/var/log/messages, /var/log/secure)?

Do this via PC console
[C:\Users\michael>
C:\Users\michael>ssh -l admin 172.16.10.31
The authenticity of host '172.16.10.31 (172.16.10.31)' can't be established.
ECDSA key fingerprint is SHA256:Fexy0Qmzmx43kAB/a1e6Ngch+Am94GXsM0R4fQSi8lU.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '172.16.10.31' (ECDSA) to the list of known hosts.
admin@172.16.10.31's password:
Permission denied, please try again.
admin@172.16.10.31's password:

C:\Users\michael>ssh -l root 172.16.10.31
root@172.16.10.31's password:
Last login: Tue Jul 23 14:08:01 2019 from 1021.hkmaxta.com
[root@engine1031 ~]#
[root@engine1031 ~]#
[root@engine1031 ~]# ssh -l root 172.16.10.22
root@172.16.10.22's password:
Last login: Tue Jul 23 14:08:32 2019 from engine1031.hkmaxta.com

  node status: OK
  See `nodectl check` for more information

Admin Console: https://172.16.10.22:9090/

[root@1022 ~]#

=========================================
It was normal for SSH access from RHVM CLI to RHEV-host.

I attached the /var/log/messages from rhev-h in the following:
===================================
[root@1022 log]# 
[root@1022 log]# tail -50 messages
Jul 23 13:55:29 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:28 - connecting: proton+amqps://subscription.rhsm.redhat.com:5647
Jul 23 13:55:29 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.proton.connection:87 - open: URL: amqps://subscription.rhsm.redhat.com:5647|SSL: ca: /etc/rhsm/ca/redhat-uep.pem|key: None|certificate: /etc/pki/consumer/bundle.pem|host-validation: None
Jul 23 13:55:49 1022 goferd: [ERROR][worker-0] gofer.messaging.adapter.connect:33 - connect: proton+amqps://subscription.rhsm.redhat.com:5647, failed: Connection amqps://subscription.rhsm.redhat.com:5647 disconnected: Condition('amqp:resource-limit-exceeded', 'local-idle-timeout expired')
Jul 23 13:55:49 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:35 - retry in 106 seconds
Jul 23 13:57:36 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:28 - connecting: proton+amqps://subscription.rhsm.redhat.com:5647
Jul 23 13:57:36 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.proton.connection:87 - open: URL: amqps://subscription.rhsm.redhat.com:5647|SSL: ca: /etc/rhsm/ca/redhat-uep.pem|key: None|certificate: /etc/pki/consumer/bundle.pem|host-validation: None
Jul 23 13:57:56 1022 goferd: [ERROR][worker-0] gofer.messaging.adapter.connect:33 - connect: proton+amqps://subscription.rhsm.redhat.com:5647, failed: Connection amqps://subscription.rhsm.redhat.com:5647 disconnected: Condition('amqp:resource-limit-exceeded', 'local-idle-timeout expired')
Jul 23 13:57:56 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:35 - retry in 106 seconds
Jul 23 13:59:43 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:28 - connecting: proton+amqps://subscription.rhsm.redhat.com:5647
Jul 23 13:59:43 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.proton.connection:87 - open: URL: amqps://subscription.rhsm.redhat.com:5647|SSL: ca: /etc/rhsm/ca/redhat-uep.pem|key: None|certificate: /etc/pki/consumer/bundle.pem|host-validation: None
Jul 23 14:00:01 1022 systemd: Started Session 12 of user root.
Jul 23 14:00:03 1022 goferd: [ERROR][worker-0] gofer.messaging.adapter.connect:33 - connect: proton+amqps://subscription.rhsm.redhat.com:5647, failed: Connection amqps://subscription.rhsm.redhat.com:5647 disconnected: Condition('amqp:resource-limit-exceeded', 'local-idle-timeout expired')
Jul 23 14:00:03 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:35 - retry in 106 seconds
Jul 23 14:01:01 1022 systemd: Started Session 13 of user root.
Jul 23 14:01:50 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:28 - connecting: proton+amqps://subscription.rhsm.redhat.com:5647
Jul 23 14:01:50 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.proton.connection:87 - open: URL: amqps://subscription.rhsm.redhat.com:5647|SSL: ca: /etc/rhsm/ca/redhat-uep.pem|key: None|certificate: /etc/pki/consumer/bundle.pem|host-validation: None
Jul 23 14:02:10 1022 goferd: [ERROR][worker-0] gofer.messaging.adapter.connect:33 - connect: proton+amqps://subscription.rhsm.redhat.com:5647, failed: Connection amqps://subscription.rhsm.redhat.com:5647 disconnected: Condition('amqp:resource-limit-exceeded', 'local-idle-timeout expired')
Jul 23 14:02:10 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:35 - retry in 106 seconds
Jul 23 14:03:41 1022 dbus[3711]: [system] Activating service name='com.redhat.SubscriptionManager' (using servicehelper)
Jul 23 14:03:42 1022 dbus[3711]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
Jul 23 14:03:57 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:28 - connecting: proton+amqps://subscription.rhsm.redhat.com:5647
Jul 23 14:03:57 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.proton.connection:87 - open: URL: amqps://subscription.rhsm.redhat.com:5647|SSL: ca: /etc/rhsm/ca/redhat-uep.pem|key: None|certificate: /etc/pki/consumer/bundle.pem|host-validation: None
Jul 23 14:04:17 1022 goferd: [ERROR][worker-0] gofer.messaging.adapter.connect:33 - connect: proton+amqps://subscription.rhsm.redhat.com:5647, failed: Connection amqps://subscription.rhsm.redhat.com:5647 disconnected: Condition('amqp:resource-limit-exceeded', 'local-idle-timeout expired')
Jul 23 14:04:17 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:35 - retry in 106 seconds
Jul 23 14:06:04 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:28 - connecting: proton+amqps://subscription.rhsm.redhat.com:5647
Jul 23 14:06:04 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.proton.connection:87 - open: URL: amqps://subscription.rhsm.redhat.com:5647|SSL: ca: /etc/rhsm/ca/redhat-uep.pem|key: None|certificate: /etc/pki/consumer/bundle.pem|host-validation: None
Jul 23 14:06:24 1022 goferd: [ERROR][worker-0] gofer.messaging.adapter.connect:33 - connect: proton+amqps://subscription.rhsm.redhat.com:5647, failed: Connection amqps://subscription.rhsm.redhat.com:5647 disconnected: Condition('amqp:resource-limit-exceeded', 'local-idle-timeout expired')
Jul 23 14:06:24 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:35 - retry in 106 seconds
Jul 23 14:08:12 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:28 - connecting: proton+amqps://subscription.rhsm.redhat.com:5647
Jul 23 14:08:12 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.proton.connection:87 - open: URL: amqps://subscription.rhsm.redhat.com:5647|SSL: ca: /etc/rhsm/ca/redhat-uep.pem|key: None|certificate: /etc/pki/consumer/bundle.pem|host-validation: None
Jul 23 14:08:32 1022 goferd: [ERROR][worker-0] gofer.messaging.adapter.connect:33 - connect: proton+amqps://subscription.rhsm.redhat.com:5647, failed: Connection amqps://subscription.rhsm.redhat.com:5647 disconnected: Condition('amqp:resource-limit-exceeded', 'local-idle-timeout expired')
Jul 23 14:08:32 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:35 - retry in 106 seconds
Jul 23 14:08:32 1022 systemd-logind: New session 14 of user root.
Jul 23 14:08:32 1022 systemd: Started Session 14 of user root.
Jul 23 14:10:01 1022 systemd: Started Session 15 of user root.
Jul 23 14:10:19 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:28 - connecting: proton+amqps://subscription.rhsm.redhat.com:5647
Jul 23 14:10:19 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.proton.connection:87 - open: URL: amqps://subscription.rhsm.redhat.com:5647|SSL: ca: /etc/rhsm/ca/redhat-uep.pem|key: None|certificate: /etc/pki/consumer/bundle.pem|host-validation: None
Jul 23 14:10:36 1022 systemd-logind: Removed session 14.
Jul 23 14:10:39 1022 goferd: [ERROR][worker-0] gofer.messaging.adapter.connect:33 - connect: proton+amqps://subscription.rhsm.redhat.com:5647, failed: Connection amqps://subscription.rhsm.redhat.com:5647 disconnected: Condition('amqp:resource-limit-exceeded', 'local-idle-timeout expired')
Jul 23 14:10:39 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:35 - retry in 106 seconds
Jul 23 14:11:48 1022 systemd-logind: New session 16 of user root.
Jul 23 14:11:48 1022 systemd: Started Session 16 of user root.
Jul 23 14:12:26 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:28 - connecting: proton+amqps://subscription.rhsm.redhat.com:5647
Jul 23 14:12:26 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.proton.connection:87 - open: URL: amqps://subscription.rhsm.redhat.com:5647|SSL: ca: /etc/rhsm/ca/redhat-uep.pem|key: None|certificate: /etc/pki/consumer/bundle.pem|host-validation: None
Jul 23 14:12:46 1022 goferd: [ERROR][worker-0] gofer.messaging.adapter.connect:33 - connect: proton+amqps://subscription.rhsm.redhat.com:5647, failed: Connection amqps://subscription.rhsm.redhat.com:5647 disconnected: Condition('amqp:resource-limit-exceeded', 'local-idle-timeout expired')
Jul 23 14:12:46 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:35 - retry in 106 seconds
Jul 23 14:14:33 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:28 - connecting: proton+amqps://subscription.rhsm.redhat.com:5647
Jul 23 14:14:33 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.proton.connection:87 - open: URL: amqps://subscription.rhsm.redhat.com:5647|SSL: ca: /etc/rhsm/ca/redhat-uep.pem|key: None|certificate: /etc/pki/consumer/bundle.pem|host-validation: None
Jul 23 14:14:53 1022 goferd: [ERROR][worker-0] gofer.messaging.adapter.connect:33 - connect: proton+amqps://subscription.rhsm.redhat.com:5647, failed: Connection amqps://subscription.rhsm.redhat.com:5647 disconnected: Condition('amqp:resource-limit-exceeded', 'local-idle-timeout expired')
Jul 23 14:14:53 1022 goferd: [INFO][worker-0] gofer.messaging.adapter.connect:35 - retry in 106 seconds
[root@1022 log]# 

==============================================

This log from secure

====================================================

[root@1022 log]# tail -50 secure
Jul 23 12:33:36 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1304:7345639 (system bus name :1.463, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:33:36 1022 polkitd[3582]: Registered Authentication Agent for unix-process:1310:7345651 (system bus name :1.464 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 23 12:33:36 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1310:7345651 (system bus name :1.464, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:33:36 1022 polkitd[3582]: Registered Authentication Agent for unix-process:1321:7345664 (system bus name :1.465 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 23 12:33:36 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1321:7345664 (system bus name :1.465, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:33:36 1022 polkitd[3582]: Registered Authentication Agent for unix-process:1327:7345676 (system bus name :1.466 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 23 12:33:36 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1327:7345676 (system bus name :1.466, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:33:36 1022 polkitd[3582]: Registered Authentication Agent for unix-process:1333:7345688 (system bus name :1.467 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 23 12:33:36 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1333:7345688 (system bus name :1.467, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:33:36 1022 polkitd[3582]: Registered Authentication Agent for unix-process:1339:7345701 (system bus name :1.468 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 23 12:33:36 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1339:7345701 (system bus name :1.468, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:33:37 1022 polkitd[3582]: Registered Authentication Agent for unix-process:1345:7345713 (system bus name :1.469 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 23 12:33:37 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1345:7345713 (system bus name :1.469, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:34:34 1022 polkitd[3582]: Registered Authentication Agent for unix-process:1397:7351441 (system bus name :1.470 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 23 12:34:34 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1397:7351441 (system bus name :1.470, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:34:34 1022 cockpit-session: pam_unix(cockpit:session): session closed for user root
Jul 23 12:37:07 1022 polkitd[3715]: Loading rules from directory /etc/polkit-1/rules.d
Jul 23 12:37:07 1022 polkitd[3715]: Loading rules from directory /usr/share/polkit-1/rules.d
Jul 23 12:37:07 1022 polkitd[3715]: Finished loading, compiling and executing 3 rules
Jul 23 12:37:07 1022 polkitd[3715]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Jul 23 12:37:19 1022 sshd[4375]: Server listening on 0.0.0.0 port 22.
Jul 23 12:37:19 1022 sshd[4375]: Server listening on :: port 22.
Jul 23 12:37:32 1022 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 12:37:32 1022 sudo: pam_unix(sudo:session): session closed for user root
Jul 23 12:37:32 1022 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 12:37:32 1022 sudo: pam_unix(sudo:session): session closed for user root
Jul 23 12:37:32 1022 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 12:37:32 1022 sudo: pam_unix(sudo:session): session closed for user root
Jul 23 12:37:32 1022 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 12:37:33 1022 sudo: pam_unix(sudo:session): session closed for user root
Jul 23 12:37:33 1022 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 12:37:33 1022 sudo: pam_unix(sudo:session): session closed for user root
Jul 23 12:37:33 1022 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 12:37:33 1022 sudo: pam_unix(sudo:session): session closed for user root
Jul 23 12:37:33 1022 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 12:37:33 1022 sudo: pam_unix(sudo:session): session closed for user root
Jul 23 13:33:01 1022 cockpit-session: pam_unix(cockpit:session): session opened for user root by (uid=0)
Jul 23 13:33:04 1022 pkexec: pam_unix(polkit-1:session): session opened for user root by (uid=0)
Jul 23 13:33:04 1022 pkexec[20988]: root: Executing command [USER=root] [TTY=unknown] [CWD=/run/user/0] [COMMAND=/usr/bin/cockpit-bridge --privileged]
Jul 23 13:33:17 1022 sshd[22851]: Unable to negotiate with ::1 port 60812: no matching host key type found. Their offer: ssh-dss [preauth]
Jul 23 13:33:17 1022 sshd[22852]: Connection closed by ::1 port 60814 [preauth]
Jul 23 13:33:17 1022 sshd[22853]: Connection closed by ::1 port 60816 [preauth]
Jul 23 13:33:17 1022 sshd[22854]: Connection closed by ::1 port 60818 [preauth]
Jul 23 14:08:32 1022 sshd[23253]: Accepted password for root from 172.16.10.31 port 56564 ssh2
Jul 23 14:08:32 1022 sshd[23253]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jul 23 14:10:36 1022 sshd[23253]: Received disconnect from 172.16.10.31 port 56564:11: disconnected by user
Jul 23 14:10:36 1022 sshd[23253]: Disconnected from 172.16.10.31 port 56564
Jul 23 14:10:36 1022 sshd[23253]: pam_unix(sshd:session): session closed for user root
Jul 23 14:11:48 1022 sshd[23321]: Accepted password for root from 172.16.10.31 port 56624 ssh2
Jul 23 14:11:48 1022 sshd[23321]: pam_unix(sshd:session): session opened for user root by (uid=0)
[root@1022 log]# 

===================================================

You 'd better edit your post to remove data like IP addresses. Furthermore, please embed your logging between two lines containing just "~~~" to preserve the formatting.

For example:

C:\Users\michael>ssh -l root 1.2.10.31 root@1.2.10.31's password: 
Last login: Tue Jul 23 14:08:01 2019 from 1021.company.com 
[root@engine1031 ~]# 
[root@engine1031 ~]# 
[root@engine1031 ~]# ssh -l root 1.2.10.22 root@172.16.10.22's password: 
Last login: Tue Jul 23 14:08:32 2019 from engine1031.company.com
Secure log
[root@1022 log]# tail -50 secure
Jul 23 12:33:36 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1304:7345639 (system bus name :1.463, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:33:36 1022 polkitd[3582]: Registered Authentication Agent for unix-process:1310:7345651 (system bus name :1.464 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 23 12:33:36 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1310:7345651 (system bus name :1.464, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:33:36 1022 polkitd[3582]: Registered Authentication Agent for unix-process:1321:7345664 (system bus name :1.465 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 23 12:33:36 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1321:7345664 (system bus name :1.465, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:33:36 1022 polkitd[3582]: Registered Authentication Agent for unix-process:1327:7345676 (system bus name :1.466 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 23 12:33:36 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1327:7345676 (system bus name :1.466, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:33:36 1022 polkitd[3582]: Registered Authentication Agent for unix-process:1333:7345688 (system bus name :1.467 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 23 12:33:36 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1333:7345688 (system bus name :1.467, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:33:36 1022 polkitd[3582]: Registered Authentication Agent for unix-process:1339:7345701 (system bus name :1.468 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 23 12:33:36 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1339:7345701 (system bus name :1.468, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:33:37 1022 polkitd[3582]: Registered Authentication Agent for unix-process:1345:7345713 (system bus name :1.469 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 23 12:33:37 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1345:7345713 (system bus name :1.469, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:34:34 1022 polkitd[3582]: Registered Authentication Agent for unix-process:1397:7351441 (system bus name :1.470 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jul 23 12:34:34 1022 polkitd[3582]: Unregistered Authentication Agent for unix-process:1397:7351441 (system bus name :1.470, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 23 12:34:34 1022 cockpit-session: pam_unix(cockpit:session): session closed for user root
Jul 23 12:37:07 1022 polkitd[3715]: Loading rules from directory /etc/polkit-1/rules.d
Jul 23 12:37:07 1022 polkitd[3715]: Loading rules from directory /usr/share/polkit-1/rules.d
Jul 23 12:37:07 1022 polkitd[3715]: Finished loading, compiling and executing 3 rules
Jul 23 12:37:07 1022 polkitd[3715]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Jul 23 12:37:19 1022 sshd[4375]: Server listening on 0.0.0.0 port 22.
Jul 23 12:37:19 1022 sshd[4375]: Server listening on :: port 22.
Jul 23 12:37:32 1022 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 12:37:32 1022 sudo: pam_unix(sudo:session): session closed for user root
Jul 23 12:37:32 1022 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 12:37:32 1022 sudo: pam_unix(sudo:session): session closed for user root
Jul 23 12:37:32 1022 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 12:37:32 1022 sudo: pam_unix(sudo:session): session closed for user root
Jul 23 12:37:32 1022 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 12:37:33 1022 sudo: pam_unix(sudo:session): session closed for user root
Jul 23 12:37:33 1022 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 12:37:33 1022 sudo: pam_unix(sudo:session): session closed for user root
Jul 23 12:37:33 1022 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 12:37:33 1022 sudo: pam_unix(sudo:session): session closed for user root
Jul 23 12:37:33 1022 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 23 12:37:33 1022 sudo: pam_unix(sudo:session): session closed for user root
Jul 23 13:33:01 1022 cockpit-session: pam_unix(cockpit:session): session opened for user root by (uid=0)
Jul 23 13:33:04 1022 pkexec: pam_unix(polkit-1:session): session opened for user root by (uid=0)
Jul 23 13:33:04 1022 pkexec[20988]: root: Executing command [USER=root] [TTY=unknown] [CWD=/run/user/0] [COMMAND=/usr/bin/cockpit-bridge --privileged]
Jul 23 13:33:17 1022 sshd[22851]: Unable to negotiate with ::1 port 60812: no matching host key type found. Their offer: ssh-dss [preauth]
Jul 23 13:33:17 1022 sshd[22852]: Connection closed by ::1 port 60814 [preauth]
Jul 23 13:33:17 1022 sshd[22853]: Connection closed by ::1 port 60816 [preauth]
Jul 23 13:33:17 1022 sshd[22854]: Connection closed by ::1 port 60818 [preauth]
Jul 23 14:08:32 1022 sshd[23253]: Accepted password for root from 172.16.10.31 port 56564 ssh2
Jul 23 14:08:32 1022 sshd[23253]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jul 23 14:10:36 1022 sshd[23253]: Received disconnect from 172.16.10.31 port 56564:11: disconnected by user
Jul 23 14:10:36 1022 sshd[23253]: Disconnected from 172.16.10.31 port 56564
Jul 23 14:10:36 1022 sshd[23253]: pam_unix(sshd:session): session closed for user root
Jul 23 14:11:48 1022 sshd[23321]: Accepted password for root from 172.16.10.31 port 56624 ssh2
Jul 23 14:11:48 1022 sshd[23321]: pam_unix(sshd:session): session opened for user root by (uid=0)
[root@1022 log]# 

The above logging shows that you are able to access the new rhev-h from the rhvm via the command-line using the root credentials. Does the file /var/log/ovirt/server.log provide more detail?

server.log from rhvm or rhev-h?

Also, there is no such directory /var/log/ovirt in both nodes.

My bad, directory is /var/log/ovirt-engine (on rhvm).

server.log from RHVM

===========================

[root@engine1031 ovirt-engine]# tail -50 server.log
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.ovirt.engine.core.utils.timer.SchedulerThreadPool' - with 100 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
2019-07-22 16:21:20,475+08 INFO  [org.quartz.impl.StdSchedulerFactory] (ServerService Thread Pool -- 40) Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
2019-07-22 16:21:20,475+08 INFO  [org.quartz.impl.StdSchedulerFactory] (ServerService Thread Pool -- 40) Quartz scheduler version: 2.1.2
2019-07-22 16:21:20,475+08 INFO  [org.quartz.core.QuartzScheduler] (ServerService Thread Pool -- 40) Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
2019-07-22 16:21:20,491+08 INFO  [org.quartz.impl.StdSchedulerFactory] (ServerService Thread Pool -- 40) Using default implementation for ThreadExecutor
2019-07-22 16:21:20,491+08 INFO  [org.quartz.core.QuartzSchedulerThread] (ServerService Thread Pool -- 40) QuartzSchedulerThread Inheriting ContextClassLoader of thread: ServerService Thread Pool -- 40
2019-07-22 16:21:20,491+08 INFO  [org.quartz.core.SchedulerSignalerImpl] (ServerService Thread Pool -- 40) Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2019-07-22 16:21:20,491+08 INFO  [org.quartz.core.QuartzScheduler] (ServerService Thread Pool -- 40) Quartz Scheduler v.2.1.2 created.
2019-07-22 16:21:20,491+08 INFO  [org.quartz.impl.jdbcjobstore.JobStoreCMT] (ServerService Thread Pool -- 40) JDBCJobStore threads will inherit ContextClassLoader of thread: ServerService Thread Pool -- 40
2019-07-22 16:21:20,492+08 INFO  [org.quartz.impl.jdbcjobstore.JobStoreCMT] (ServerService Thread Pool -- 40) Using db table-based data access locking (synchronization).
2019-07-22 16:21:20,493+08 INFO  [org.quartz.impl.jdbcjobstore.JobStoreCMT] (ServerService Thread Pool -- 40) JobStoreCMT initialized.
2019-07-22 16:21:20,494+08 INFO  [org.quartz.core.QuartzScheduler] (ServerService Thread Pool -- 40) Scheduler meta-data: Quartz Scheduler (v2.1.2) 'QuartzOvirtDBScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.ovirt.engine.core.utils.timer.SchedulerThreadPool' - with 50 threads.
  Using job-store 'org.quartz.impl.jdbcjobstore.JobStoreCMT' - which supports persistence. and is not clustered.
2019-07-22 16:21:20,494+08 INFO  [org.quartz.impl.StdSchedulerFactory] (ServerService Thread Pool -- 40) Quartz scheduler 'QuartzOvirtDBScheduler' initialized from an externally provided properties instance.
2019-07-22 16:21:20,494+08 INFO  [org.quartz.impl.StdSchedulerFactory] (ServerService Thread Pool -- 40) Quartz scheduler version: 2.1.2
2019-07-22 16:21:20,610+08 INFO  [org.quartz.impl.jdbcjobstore.JobStoreCMT] (ServerService Thread Pool -- 40) Freed 0 triggers from 'acquired' / 'blocked' state.
2019-07-22 16:21:20,616+08 INFO  [org.quartz.impl.jdbcjobstore.JobStoreCMT] (ServerService Thread Pool -- 40) Recovering 0 jobs that were in-progress at the time of the last shut-down.
2019-07-22 16:21:20,616+08 INFO  [org.quartz.impl.jdbcjobstore.JobStoreCMT] (ServerService Thread Pool -- 40) Recovery complete.
2019-07-22 16:21:20,617+08 INFO  [org.quartz.impl.jdbcjobstore.JobStoreCMT] (ServerService Thread Pool -- 40) Removed 0 'complete' triggers.
2019-07-22 16:21:20,617+08 INFO  [org.quartz.impl.jdbcjobstore.JobStoreCMT] (ServerService Thread Pool -- 40) Removed 0 stale fired job entries.
2019-07-22 16:21:20,682+08 INFO  [org.quartz.core.QuartzScheduler] (ServerService Thread Pool -- 40) Scheduler QuartzOvirtDBScheduler_$_NON_CLUSTERED started.
2019-07-22 16:21:20,695+08 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 40) WFLYCLINF0002: Started timeout-base cache from ovirt-engine container
2019-07-22 16:21:22,083+08 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 25) WFLYSRV0010: Deployed "ovirt-web-ui.war" (runtime-name : "ovirt-web-ui.war")
2019-07-22 16:21:22,084+08 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 25) WFLYSRV0010: Deployed "rhv.ear" (runtime-name : "rhv.ear")
2019-07-22 16:21:22,084+08 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 25) WFLYSRV0010: Deployed "apidoc.war" (runtime-name : "apidoc.war")
2019-07-22 16:21:22,084+08 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 25) WFLYSRV0010: Deployed "restapi.war" (runtime-name : "restapi.war")
2019-07-22 16:21:22,084+08 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 25) WFLYSRV0010: Deployed "engine.ear" (runtime-name : "engine.ear")
2019-07-22 16:21:22,128+08 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
2019-07-22 16:21:22,133+08 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:8706/management
2019-07-22 16:21:22,133+08 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:8706
2019-07-22 16:21:22,133+08 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: JBoss EAP 7.2.1.GA (WildFly Core 6.0.12.Final-redhat-00001) started in 14873ms - Started 1696 of 1928 services (395 services are lazy, passive or on-demand)
2019-07-22 17:21:22,088+08 WARNING [javax.persistence.spi] (EE-ManagedThreadFactory-engineScheduled-Thread-67) javax.persistence.spi::No valid providers found.
2019-07-22 17:21:22,263+08 INFO  [org.apache.commons.httpclient.HttpMethodBase] (EE-ManagedThreadFactory-engine-Thread-484) Response content length is not known
2019-07-22 17:21:22,479+08 INFO  [org.apache.commons.httpclient.HttpMethodBase] (EE-ManagedThreadFactory-engine-Thread-485) Response content length is not known
2019-07-22 17:59:07,053+08 INFO  [org.apache.sshd.common.io.DefaultIoServiceFactoryFactory] (default task-4) No detected/configured IoServiceFactoryFactory using Nio2ServiceFactoryFactory
2019-07-22 17:59:07,064+08 INFO  [org.apache.sshd.client.config.hosts.DefaultConfigFileHostEntryResolver] (default task-4) resolveEffectiveResolver(root@1022.hkmaxta.com:22) loaded 0 entries from /var/lib/ovirt-engine/.ssh/config
2019-07-23 09:16:21,508+08 WARNING [javax.persistence.spi] (default task-3) javax.persistence.spi::No valid providers found.
2019-07-23 13:46:47,028+08 WARNING [javax.persistence.spi] (default task-12) javax.persistence.spi::No valid providers found.
[root@engine1031 ovirt-engine]#

attach engine.log from RHVM

====================

e.bll.utils.ThreadPoolMonitoringService] (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool 'engineScheduled' is using 0 threads out of 100, 100 threads waiting for tasks.
2019-07-23 16:01:20,460+08 INFO  [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService] (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool 'engineThreadMonitoring' is using 1 threads out of 1, 0 threads waiting for tasks.
2019-07-23 16:01:20,460+08 INFO  [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService] (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool 'hostUpdatesChecker' is using 0 threads out of 5, 1 threads waiting for tasks.
2019-07-23 16:03:58,758+08 INFO  [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-23) [ad0ae2a] Lock Acquired to object 'EngineLock:{exclusiveLocks='[986ef022-3326-44c4-820a-addec53d466c=PROVIDER]', sharedLocks=''}'
2019-07-23 16:03:58,766+08 INFO  [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-23) [ad0ae2a] Running command: SyncNetworkProviderCommand internal: true.
2019-07-23 16:03:58,959+08 INFO  [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-17) [] User admin@internal successfully logged in with scopes: ovirt-app-api ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search ovirt-ext=token-info:validate ovirt-ext=token:password-access
2019-07-23 16:03:59,182+08 INFO  [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-23) [ad0ae2a] Lock freed to object 'EngineLock:{exclusiveLocks='[986ef022-3326-44c4-820a-addec53d466c=PROVIDER]', sharedLocks=''}'
2019-07-23 16:08:59,192+08 INFO  [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-52) [445cd92e] Lock Acquired to object 'EngineLock:{exclusiveLocks='[986ef022-3326-44c4-820a-addec53d466c=PROVIDER]', sharedLocks=''}'
2019-07-23 16:08:59,201+08 INFO  [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-52) [445cd92e] Running command: SyncNetworkProviderCommand internal: true.
2019-07-23 16:08:59,409+08 INFO  [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-17) [] User admin@internal successfully logged in with scopes: ovirt-app-api ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search ovirt-ext=token-info:validate ovirt-ext=token:password-access
2019-07-23 16:08:59,808+08 INFO  [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-52) [445cd92e] Lock freed to object 'EngineLock:{exclusiveLocks='[986ef022-3326-44c4-820a-addec53d466c=PROVIDER]', sharedLocks=''}'
2019-07-23 16:11:20,461+08 INFO  [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService] (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool 'default' is using 0 threads out of 1, 5 threads waiting for tasks.
2019-07-23 16:11:20,461+08 INFO  [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService] (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool 'engine' is using 0 threads out of 500, 8 threads waiting for tasks and 0 tasks in queue.
2019-07-23 16:11:20,461+08 INFO  [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService] (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool 'engineScheduled' is using 0 threads out of 100, 100 threads waiting for tasks.
2019-07-23 16:11:20,461+08 INFO  [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService] (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool 'engineThreadMonitoring' is using 1 threads out of 1, 0 threads waiting for tasks.
2019-07-23 16:11:20,461+08 INFO  [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService] (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool 'hostUpdatesChecker' is using 0 threads out of 5, 1 threads waiting for tasks.
2019-07-23 16:13:59,816+08 INFO  [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-37) [7310c1ec] Lock Acquired to object 'EngineLock:{exclusiveLocks='[986ef022-3326-44c4-820a-addec53d466c=PROVIDER]', sharedLocks=''}'
2019-07-23 16:13:59,823+08 INFO  [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-37) [7310c1ec] Running command: SyncNetworkProviderCommand internal: true.
2019-07-23 16:14:00,021+08 INFO  [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-17) [] User admin@internal successfully logged in with scopes: ovirt-app-api ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search ovirt-ext=token-info:validate ovirt-ext=token:password-access
2019-07-23 16:14:00,403+08 INFO  [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-37) [7310c1ec] Lock freed to object 'EngineLock:{exclusiveLocks='[986ef022-3326-44c4-820a-addec53d466c=PROVIDER]', sharedLocks=''}'
2019-07-23 16:14:57,813+08 INFO  [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-12) [] User admin@internal successfully logged in with scopes: ovirt-app-admin ovirt-app-api ovirt-app-portal ovirt-ext=auth:sequence-priority=~ ovirt-ext=revoke:revoke-all ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search ovirt-ext=token-info:validate ovirt-ext=token:password-access
2019-07-23 16:14:57,896+08 INFO  [org.ovirt.engine.core.bll.aaa.CreateUserSessionCommand] (default task-12) [652787a4] Running command: CreateUserSessionCommand internal: false.
2019-07-23 16:14:57,905+08 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-12) [652787a4] EVENT_ID: USER_VDC_LOGIN(30), User admin@internal-authz connecting from '172.19.18.105' using session 'FEPebzbC+RhKyLOVsy4HhGivlrS2j1TuANMZ+pZgfk7lPpqT6bJMi6uPUs0b0a6cpGK/Y8ELJxGxFmWq16208Q==' logged in.
2019-07-23 16:15:29,310+08 ERROR [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-12) [8e5a67bc-7cb0-4256-9092-e0678fa232a3] Failed to establish session with host '1022.hkmaxta.com': null
2019-07-23 16:15:29,310+08 WARN  [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-12) [8e5a67bc-7cb0-4256-9092-e0678fa232a3] Validation of action 'AddVds' failed for user admin@internal-authz. Reasons: VAR__ACTION__ADD,VAR__TYPE__HOST,$server 1022.hkmaxta.com,VDS_CANNOT_CONNECT_TO_SERVER
[root@engine1031 ovirt-engine]# 

My guess was that the ssh connection from the rhvm to the rhv-h was failing. However, you showed that connection is working. As the log files do not indicate a clear cause (to me), I suggest you open a support case, unless some else in this forum has a suggestion.