VMware Cloud Community
TryllZ
Expert
Expert

vCenter Appliance Error / Fatal HTTP Error: TypeError: Failed to fetch

Hi,

This is being deployed in VMware Workstation, works fine in the start and then vCenter becomes inaccessible. DNS has both Forward and Reverse lookup (PTR).

vCenter Appliance Version : VMware-vCenter-Server-Appliance-7.0.2.00200-17958471_OVF10

Workstation Version : 16.1.2 build-17966106

DNS Server IP : 192.168.10.5

vCenter Appliance IP : 192.168.20.5 / FQDN : w-vcsa-sddc.vlab.lab

Any thoughts what is going on I have got the logs from applmgmt (attached), and where the log has DNS entries is added below.

Spoiler

2021-11-06T23:26:55.778 [6524]DEBUG:vmware.appliance.networking.impl:com.vmware.appliance.version1.networking.dns.hostname.set(w-vcsa-sddc.vlab.lab)
2021-11-06T23:26:55.779 [6524]DEBUG:vmware.appliance.networking.impl:newhost: w-vcsa-sddc, newdomain: vlab.lab
2021-11-06T23:26:55.779 [6524]DEBUG:vmware.vherd.base.authorization_local:Verify privileges user (root) privilege ['ModifyConfiguration']
2021-11-06T23:26:55.780 [6524]DEBUG:vmware.appliance.update.update_state:In State._get using state file /etc/applmgmt/appliance/software_update_state.conf
2021-11-06T23:26:55.781 [6524]DEBUG:root:Validated user privileges in localstore or SSO
2021-11-06T23:26:55.782 [6524]DEBUG:vmware.appliance.update.update_state:In State._get using state file /etc/applmgmt/appliance/software_update_state.conf
2021-11-06T23:26:55.783 [6524]DEBUG:vmware.appliance.networking.impl:currhost: w-vcsa-sddc, currdomain: vlab.lab
2021-11-06T23:26:55.797 [6524]DEBUG:root:com.vmware.appliance.version1.access.ssh.set(enable=True)
2021-11-06T23:26:55.829 [6524]DEBUG:vmware.appliance.timesync.impl:com.vmware.appliance.timesync.set(mode=Disabled)
2021-11-06T23:26:55.829 [6524]DEBUG:vmware.appliance.timesync.impl:the current timesync config mode is Disabled
2021-11-06T23:26:55.859 [6524]DEBUG:root:dig: out=b'192.168.20.5\n'
err=b''
code=0
2021-11-06T23:26:55.932 [6524]INFO:vmware.appliance.vapi.auth:Authorization request for service_id: com.vmware.appliance.networking.dns.servers, operation_id: set
2021-11-06T23:26:55.933 [6524]DEBUG:vmware.vherd.base.authorization_local:Verify privileges user (root) privilege ['ModifyConfiguration']
2021-11-06T23:26:55.933 [6524]DEBUG:root:Validated user privileges in localstore or SSO
2021-11-06T23:26:55.933 [6524]DEBUG:vmware.appliance.update.update_state:In State._get using state file /etc/applmgmt/appliance/software_update_state.conf
2021-11-06T23:26:55.935 [6524]DEBUG:vmware.appliance.networking.impl:com.vmware.appliance.version1.networking.dns.servers.set(Structure('DNSServerConfig', dict(mode='static', servers=['192.168.10.5'])))
2021-11-06T23:26:55.935 [6524]DEBUG:vmware.appliance.networking.impl:com.vmware.appliance.version1.networking.dns.servers dnsServers=['192.168.10.5']
2021-11-06T23:26:55.935 [6524]DEBUG:vmware.appliance.networking.impl:com.vmware.appliance.version1.networking.dns.servers dnsServersLine=192.168.10.5
2021-11-06T23:26:55.935 [6524]INFO:vmware.appliance.networking.utils:Running command: ['/opt/vmware/share/vami/vami_ip6_addr', 'eth0']
2021-11-06T23:26:55.972 [6524]INFO:vmware.appliance.networking.utils:output: b''
error: b''
returncode: 0

2021-11-06T23:26:55.972 [6524]INFO:vmware.appliance.networking.utils:Running command: ['/opt/vmware/share/vami/vami_ip_addr', 'eth0']
2021-11-06T23:26:55.987 [6524]INFO:vmware.appliance.networking.utils:output: b'192.168.20.5\n'
error: b''
returncode: 0

2021-11-06T23:26:55.988 [6524]INFO:vmware.appliance.networking.utils:Running command: ['/usr/bin/netmgr', 'dns_servers', '--set', '--mode', 'static', '--servers', '127.0.0.1,192.168.10.5']
2021-11-06T23:26:56.253 [6524]INFO:vmware.appliance.networking.utils:output: b''
error: b''
returncode: 0

2021-11-06T23:26:56.253 [6524]DEBUG:vmware.appliance.networking.impl:set_dns_servers successful.
2021-11-06T23:26:56.312 [6524]INFO:vmware.appliance.vapi.auth:Authorization request for service_id: com.vmware.appliance.networking.interfaces.ipv4, operation_id: set
2021-11-06T23:26:56.312 [6524]DEBUG:vmware.vherd.base.authorization_local:Verify privileges user (root) privilege ['ModifyConfiguration']
2021-11-06T23:26:56.314 [6524]DEBUG:root:Validated user privileges in localstore or SSO
2021-11-06T23:26:56.315 [6524]DEBUG:vmware.appliance.update.update_state:In State._get using state file /etc/applmgmt/appliance/software_update_state.conf
2021-11-06T23:26:56.325 [6524]DEBUG:vmware.appliance.networking.impl:com.vmware.appliance.version1.networking.ipv4.set([Structure('IPv4Config', dict(interface='nic0', mode='static', address='192.168.20.5', prefix=24, defaultGateway='192.168.20.1'))])
2021-11-06T23:26:56.325 [6524]DEBUG:vmware.appliance.networking.impl:com.vmware.appliance.version1.networking.ipv4.list()
2021-11-06T23:26:56.353 [6524]INFO:vmware.appliance.vapi.auth:Authorization request for service_id: com.vmware.appliance.networking.interfaces.ipv6, operation_id: set
2021-11-06T23:26:56.353 [6524]DEBUG:vmware.vherd.base.authorization_local:Verify privileges user (root) privilege ['ModifyConfiguration']
2021-11-06T23:26:56.354 [6524]DEBUG:root:Validated user privileges in localstore or SSO
2021-11-06T23:26:56.354 [6524]DEBUG:vmware.appliance.update.update_state:In State._get using state file /etc/applmgmt/appliance/software_update_state.conf
2021-11-06T23:26:56.358 [6524]DEBUG:vmware.appliance.networking.impl:com.vmware.appliance.version1.networking.ipv6.set([Structure('IPv6Config', dict(interface='nic0', dhcp=False, autoconf=False, addresses=[], defaultGateway=''))])
2021-11-06T23:26:56.576 [6524]INFO:vmware.appliance.networking.impl:_apply_IPv6Config(Structure('IPv6Config', dict(interface='nic0', dhcp=False, autoconf=False, addresses=[], defaultGateway='')))
2021-11-06T23:26:56.579 [6524]INFO:vmware.appliance.networking.utils:Running command: ['/opt/vmware/share/vami/vami_get_network', 'eth0']
2021-11-06T23:26:56.739 [6524]INFO:vmware.appliance.networking.utils:output: b'interface: eth0\nconfig_present: true\nconfig_flags: STATICV4+NONEV6\nconfig_ipv4addr: 192.168.20.5\nconfig_netmask: 255.255.255.0\nconfig_broadcast: 192.168.20.255\nconfig_gatewayv4: 192.168.20.1\nconfig_ipv6addr: \nconfig_prefix: \nconfig_gatewayv6: \nautoipv6: \nactive_ipv4addr: 192.168.20.5\nactive_netmask: 255.255.255.0\nactive_broadcast: 192.168.20.255\nactive_ipv6addr: \nactive_prefix: \nactive_gatewayv4: 192.168.20.1\nactive_gatewayv6: \nhasdhcpv6: 1\nmanaged: Managed Internally\n\n'
error: b''
returncode: 0

2021-11-06T23:26:56.743 [6524]INFO:vmware.appliance.networking.utils:Running command: ['/opt/vmware/share/vami/vami_set_network', 'eth0', 'STATICV4', '192.168.20.5', '255.255.255.0', '192.168.20.1']
2021-11-06T23:27:34.292 [6524]INFO:vmware.appliance.networking.utils:output: b'net.ipv6.conf.eth0.disable_ipv6 = 1\nNetwork parameters successfully changed to requested values\n'
error: b''
returncode: 0

2021-11-06T23:27:34.292 [6524]DEBUG:vmware.appliance.networking.impl:VAMI_SET_NETWORK successful.
2021-11-06T23:27:34.326 [6524]INFO:vmware.appliance.networking.utils:Firstboot has not yet completed.
2021-11-06T23:27:34.327 [6524]INFO:root:Setting the same IP config for nic0.
2021-11-06T23:27:34.327 [6524]INFO:vmware.appliance.networking.impl:_apply_IPv4Config_Photon(Structure('IPv4Config', dict(interface='nic0', mode='static', address='192.168.20.5', prefix=24, defaultGateway='192.168.20.1')))
2021-11-06T23:27:34.327 [6524]INFO:vmware.appliance.networking.utils:Running command: ['/opt/vmware/share/vami/vami_get_network', 'eth0']
2021-11-06T23:27:34.447 [6524]INFO:vmware.appliance.networking.utils:output: b'interface: eth0\nconfig_present: true\nconfig_flags: STATICV4+NONEV6\nconfig_ipv4addr: 192.168.20.5\nconfig_netmask: 255.255.255.0\nconfig_broadcast: 192.168.20.255\nconfig_gatewayv4: 192.168.20.1\nconfig_ipv6addr: \nconfig_prefix: \nconfig_gatewayv6: \nautoipv6: \nactive_ipv4addr: 192.168.20.5\nactive_netmask: 255.255.255.0\nactive_broadcast: 192.168.20.255\nactive_ipv6addr: \nactive_prefix: \nactive_gatewayv4: 192.168.20.1\nactive_gatewayv6: \nhasdhcpv6: 1\nmanaged: Managed Internally\n\n'
error: b''
returncode: 0

2021-11-06T23:27:34.448 [6524]INFO:vmware.appliance.networking.utils:Running command: ['/opt/vmware/share/vami/vami_set_network', 'eth0', 'STATICV4', '192.168.20.5', '255.255.255.0', '192.168.20.1']
2021-11-06T23:28:11.923 [6524]INFO:vmware.appliance.networking.utils:output: b'net.ipv6.conf.eth0.disable_ipv6 = 1\nNetwork parameters successfully changed to requested values\n'
error: b''
returncode: 0

2021-11-06T23:28:11.924 [6524]DEBUG:vmware.appliance.networking.impl:IPv4 VAMI_SET_NETWORK successful.
2021-11-06T23:29:42.245 [6524]INFO:vmware.vherd.transport.ssh_access_collector:[Unit Test] renewed 50 credits to post event
2021-11-06T23:29:42.259 [6524]INFO:vmware.vherd.transport.ssh_access_collector:[Unit Test]Start collecting from sshinfo.log ...
2021-11-06T23:29:42.313 [6524]INFO:vmware.vherd.transport.post_sso_events:File /var/log/audit/sso-events/audit_events.log not detected, Exit.
2021-11-06T23:29:42.313 [6524]INFO:vmware.vherd.transport.post_sso_events:File /var/log/audit/sso-events/operation_events.log not detected, Exit.
2021-11-06T23:29:42.523 [6524]DEBUG:vmware.vherd.transport.authentication:Authentication Server Secret Renewed.
2021-11-06T23:33:02.998 [6524]DEBUG:vmware.vherd.transport.authentication_manager:HTTP METHOD b'POST'
2021-11-06T23:33:03.2 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: RPCPath = system.listMethods
2021-11-06T23:33:03.2 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: using Authorization header
2021-11-06T23:33:03.2 [6524]DEBUG:vmware.vherd.transport.authentication:No cookie in request
2021-11-06T23:33:03.2 [6524]DEBUG:vmware.vherd.transport.authentication:Verifying credentials against Linux PAM of user: root
2021-11-06T23:33:03.151 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2.get b'Login Failures Latest failure From\nroot 0 \n'
b''
0
2021-11-06T23:33:03.151 [6524]DEBUG:vmware.vherd.transport.authentication:User root login tally 0
2021-11-06T23:33:03.161 [6524]DEBUG:vmware.vherd.transport.authentication:Linux credential authentication SUCCESS for user: root
2021-11-06T23:33:03.162 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2 reset flag: --reset
2021-11-06T23:33:03.194 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2.reset b'Login Failures Latest failure From\nroot 0 \n'
b''
0
2021-11-06T23:33:03.202 [6524]DEBUG:vmware.vherd.transport.authentication_manager:HTTP METHOD b'POST'
2021-11-06T23:33:03.203 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: RPCPath = system.methodSignature
2021-11-06T23:33:03.203 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: using Authorization header
2021-11-06T23:33:03.203 [6524]DEBUG:vmware.vherd.transport.authentication:No cookie in request
2021-11-06T23:33:03.203 [6524]DEBUG:vmware.vherd.transport.authentication:Verifying credentials against Linux PAM of user: root
2021-11-06T23:33:03.219 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2.get b'Login Failures Latest failure From\nroot 0 \n'
b''
0
2021-11-06T23:33:03.220 [6524]DEBUG:vmware.vherd.transport.authentication:User root login tally 0
2021-11-06T23:33:03.229 [6524]DEBUG:vmware.vherd.transport.authentication:Linux credential authentication SUCCESS for user: root
2021-11-06T23:33:03.230 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2 reset flag: --reset
2021-11-06T23:33:03.247 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2.reset b'Login Failures Latest failure From\nroot 0 \n'
b''
0
2021-11-06T23:33:03.248 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Looking for function get
2021-11-06T23:33:03.249 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Method Signature = [['struct'], '[{}, {}, {}, [], {"suppressCLI": false, "cliAlias": ""}]', 'Get enabled state of the SSH-based controlled CLI.', '[{"enabled": ["enabled", false, "bool", false]}, {"enabled": ["bool", "SSH-based controlled CLI is enabled."]}, {}, ["enabled"], {"suppressCLI": false, "cliAlias": ""}]']
2021-11-06T23:33:03.253 [6524]DEBUG:vmware.vherd.transport.authentication_manager:HTTP METHOD b'POST'
2021-11-06T23:33:03.254 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: RPCPath = com.vmware.appliance.version1.access.ssh.get
2021-11-06T23:33:03.254 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: using Authorization header
2021-11-06T23:33:03.254 [6524]DEBUG:vmware.vherd.transport.authentication:No cookie in request
2021-11-06T23:33:03.254 [6524]DEBUG:vmware.vherd.transport.authentication:Verifying credentials against Linux PAM of user: root
2021-11-06T23:33:03.271 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2.get b'Login Failures Latest failure From\nroot 0 \n'
b''
0
2021-11-06T23:33:03.271 [6524]DEBUG:vmware.vherd.transport.authentication:User root login tally 0
2021-11-06T23:33:03.280 [6524]DEBUG:vmware.vherd.transport.authentication:Linux credential authentication SUCCESS for user: root
2021-11-06T23:33:03.280 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2 reset flag: --reset
2021-11-06T23:33:03.298 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2.reset b'Login Failures Latest failure From\nroot 0 \n'
b''
0
2021-11-06T23:33:03.299 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Looking for function get
2021-11-06T23:33:03.299 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Function cached
2021-11-06T23:33:03.300 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Adding IUser with role GUEST to function called from external source.
2021-11-06T23:33:03.300 [6524]DEBUG:root:authorization_sso module offline
2021-11-06T23:33:03.301 [6524]DEBUG:vmware.vherd.transport.authorization:Reloading failed modules
2021-11-06T23:33:03.301 [6524]DEBUG:root:Reloading authorization_sso ...
2021-11-06T23:33:03.301 [6524]DEBUG:root:Not reloading authorization_sso for user root
2021-11-06T23:33:03.301 [6524]DEBUG:vmware.vherd.transport.authorization:Checking authorization for user "root" for function "com.vmware.appliance.version1.access.ssh.get" with required role "operator".
2021-11-06T23:33:03.303 [6524]DEBUG:vmware.vherd.base.authorization_local:Verify privileges user (root) privilege ['ViewConfiguration']
2021-11-06T23:33:03.303 [6524]DEBUG:root:Validated user privileges in localstore or SSO
2021-11-06T23:33:03.305 [6524]DEBUG:vmware.vherd.transport.authorization:Authorization success: user "root" allowed function "com.vmware.appliance.version1.access.ssh.get" with required role "operator"
2021-11-06T23:33:03.305 [6524]DEBUG:vmware.vherd.base.authorization_local:Verify privileges user (root) privilege ['ModifyLocalConf']
2021-11-06T23:33:03.305 [6524]DEBUG:root:Validated user privileges in localstore or SSO
2021-11-06T23:33:03.306 [6524]INFO:vmware.vherd.transport.authorization:Setting superAdmin role for user : root
2021-11-06T23:33:03.306 [6524]DEBUG:root:com.vmware.appliance.version1.access.ssh.get()
2021-11-06T23:33:03.328 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Attaching cookie to function.
2021-11-06T23:33:03.329 [6524]DEBUG:vmware.vherd.transport.authentication:Generating Cookie for user "root" with authentication method "LOCAL"
2021-11-06T23:33:04.974 [6524]DEBUG:vmware.vherd.transport.authentication_manager:HTTP METHOD b'POST'
2021-11-06T23:33:04.975 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: RPCPath = system.listMethods
2021-11-06T23:33:04.975 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: Cookie = root:LOCAL:superAdministrator:8382dc19dfa1bfea7adc03b628353bea313f59da59da10d7750a17d726f89014:ff2e1b84b4855dd9fbac42e2cffd670d78dcbe63a22076cfc779c46e4e6ee4c8
2021-11-06T23:33:04.983 [6524]DEBUG:vmware.vherd.transport.authentication_manager:HTTP METHOD b'POST'
2021-11-06T23:33:04.983 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: RPCPath = system.methodSignature
2021-11-06T23:33:04.984 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: Cookie = root:LOCAL:superAdministrator:8382dc19dfa1bfea7adc03b628353bea313f59da59da10d7750a17d726f89014:ff2e1b84b4855dd9fbac42e2cffd670d78dcbe63a22076cfc779c46e4e6ee4c8
2021-11-06T23:33:04.985 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Looking for function get
2021-11-06T23:33:04.985 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Function cached
2021-11-06T23:33:04.988 [6524]DEBUG:vmware.vherd.transport.authentication_manager:HTTP METHOD b'POST'
2021-11-06T23:33:04.989 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: RPCPath = com.vmware.appliance.version1.access.ssh.get
2021-11-06T23:33:04.989 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: Cookie = root:LOCAL:superAdministrator:8382dc19dfa1bfea7adc03b628353bea313f59da59da10d7750a17d726f89014:ff2e1b84b4855dd9fbac42e2cffd670d78dcbe63a22076cfc779c46e4e6ee4c8
2021-11-06T23:33:04.990 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Looking for function get
2021-11-06T23:33:04.990 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Function cached
2021-11-06T23:33:04.990 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Adding IUser with role superAdministrator to function called from external source.
2021-11-06T23:33:04.991 [6524]DEBUG:root:authorization_sso module offline
2021-11-06T23:33:04.991 [6524]DEBUG:vmware.vherd.transport.authorization:Reloading failed modules
2021-11-06T23:33:04.991 [6524]DEBUG:root:Reloading authorization_sso ...
2021-11-06T23:33:04.991 [6524]DEBUG:root:Not reloading authorization_sso for user root
2021-11-06T23:33:04.991 [6524]DEBUG:vmware.vherd.transport.authorization:Checking authorization for user "root" for function "com.vmware.appliance.version1.access.ssh.get" with required role "operator".
2021-11-06T23:33:04.992 [6524]DEBUG:root:Validated user privileges in cache
2021-11-06T23:33:04.992 [6524]DEBUG:vmware.vherd.transport.authorization:Authorization success: user "root" allowed function "com.vmware.appliance.version1.access.ssh.get" with required role "operator"
2021-11-06T23:33:04.993 [6524]DEBUG:root:Validated user privileges in cache
2021-11-06T23:33:04.993 [6524]INFO:vmware.vherd.transport.authorization:Setting superAdmin role for user : root
2021-11-06T23:33:04.993 [6524]DEBUG:root:com.vmware.appliance.version1.access.ssh.get()
2021-11-06T23:33:05.166 [6524]DEBUG:vmware.vherd.transport.authentication_manager:HTTP METHOD b'POST'
2021-11-06T23:33:05.168 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: RPCPath = system.methodSignature
2021-11-06T23:33:05.168 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: Cookie = root:LOCAL:superAdministrator:8382dc19dfa1bfea7adc03b628353bea313f59da59da10d7750a17d726f89014:ff2e1b84b4855dd9fbac42e2cffd670d78dcbe63a22076cfc779c46e4e6ee4c8
2021-11-06T23:33:05.171 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Looking for function get
2021-11-06T23:33:05.171 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Method Signature = [['struct', 'string'], '[{"requiredRole": ["requiredRole", false, "str", false]}, {"requiredRole": ["str", "User role."]}, {}, ["requiredRole"], {"suppressCLI": true, "cliAlias": ""}]', 'This interface returns True if the logged in user has\n the correct required role.', '[{"authorized": ["authorized", false, "bool", false]}, {"authorized": ["bool", "True if the user has the required role"]}, {}, ["authorized"], {"suppressCLI": true, "cliAlias": ""}]']
2021-11-06T23:33:41.58 [6524]DEBUG:vmware.vherd.transport.authentication_manager:HTTP METHOD b'POST'
2021-11-06T23:33:41.60 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: RPCPath = system.listMethods
2021-11-06T23:33:41.60 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: using Authorization header
2021-11-06T23:33:41.61 [6524]DEBUG:vmware.vherd.transport.authentication:No cookie in request
2021-11-06T23:33:41.61 [6524]DEBUG:vmware.vherd.transport.authentication:Verifying credentials against Linux PAM of user: root
2021-11-06T23:33:41.210 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2.get b'Login Failures Latest failure From\nroot 0 \n'
b''
0
2021-11-06T23:33:41.211 [6524]DEBUG:vmware.vherd.transport.authentication:User root login tally 0
2021-11-06T23:33:41.222 [6524]DEBUG:vmware.vherd.transport.authentication:Linux credential authentication SUCCESS for user: root
2021-11-06T23:33:41.222 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2 reset flag: --reset
2021-11-06T23:33:41.241 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2.reset b'Login Failures Latest failure From\nroot 0 \n'
b''
0
2021-11-06T23:33:41.247 [6524]DEBUG:vmware.vherd.transport.authentication_manager:HTTP METHOD b'POST'
2021-11-06T23:33:41.249 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: RPCPath = system.methodSignature
2021-11-06T23:33:41.249 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: using Authorization header
2021-11-06T23:33:41.249 [6524]DEBUG:vmware.vherd.transport.authentication:No cookie in request
2021-11-06T23:33:41.249 [6524]DEBUG:vmware.vherd.transport.authentication:Verifying credentials against Linux PAM of user: root
2021-11-06T23:33:41.266 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2.get b'Login Failures Latest failure From\nroot 0 \n'
b''
0
2021-11-06T23:33:41.266 [6524]DEBUG:vmware.vherd.transport.authentication:User root login tally 0
2021-11-06T23:33:41.275 [6524]DEBUG:vmware.vherd.transport.authentication:Linux credential authentication SUCCESS for user: root
2021-11-06T23:33:41.276 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2 reset flag: --reset
2021-11-06T23:33:41.310 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2.reset b'Login Failures Latest failure From\nroot 0 \n'
b''
0
2021-11-06T23:33:41.311 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Looking for function get
2021-11-06T23:33:41.311 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Function cached
2021-11-06T23:33:41.315 [6524]DEBUG:vmware.vherd.transport.authentication_manager:HTTP METHOD b'POST'
2021-11-06T23:33:41.316 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: RPCPath = com.vmware.appliance.version1.access.ssh.get
2021-11-06T23:33:41.317 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: using Authorization header
2021-11-06T23:33:41.317 [6524]DEBUG:vmware.vherd.transport.authentication:No cookie in request
2021-11-06T23:33:41.317 [6524]DEBUG:vmware.vherd.transport.authentication:Verifying credentials against Linux PAM of user: root
2021-11-06T23:33:41.335 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2.get b'Login Failures Latest failure From\nroot 0 \n'
b''
0
2021-11-06T23:33:41.335 [6524]DEBUG:vmware.vherd.transport.authentication:User root login tally 0
2021-11-06T23:33:41.345 [6524]DEBUG:vmware.vherd.transport.authentication:Linux credential authentication SUCCESS for user: root
2021-11-06T23:33:41.345 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2 reset flag: --reset
2021-11-06T23:33:41.363 [6524]DEBUG:vmware.vherd.transport.authentication:pam_tally2.reset b'Login Failures Latest failure From\nroot 0 \n'
b''
0
2021-11-06T23:33:41.364 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Looking for function get
2021-11-06T23:33:41.364 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Function cached
2021-11-06T23:33:41.365 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Adding IUser with role GUEST to function called from external source.
2021-11-06T23:33:41.366 [6524]DEBUG:root:authorization_sso module offline
2021-11-06T23:33:41.366 [6524]DEBUG:vmware.vherd.transport.authorization:Reloading failed modules
2021-11-06T23:33:41.366 [6524]DEBUG:root:Reloading authorization_sso ...
2021-11-06T23:33:41.366 [6524]DEBUG:root:Not reloading authorization_sso for user root
2021-11-06T23:33:41.366 [6524]DEBUG:vmware.vherd.transport.authorization:Checking authorization for user "root" for function "com.vmware.appliance.version1.access.ssh.get" with required role "operator".
2021-11-06T23:33:41.367 [6524]DEBUG:root:Validated user privileges in cache
2021-11-06T23:33:41.367 [6524]DEBUG:vmware.vherd.transport.authorization:Authorization success: user "root" allowed function "com.vmware.appliance.version1.access.ssh.get" with required role "operator"
2021-11-06T23:33:41.367 [6524]DEBUG:root:Validated user privileges in cache
2021-11-06T23:33:41.368 [6524]INFO:vmware.vherd.transport.authorization:Setting superAdmin role for user : root
2021-11-06T23:33:41.368 [6524]DEBUG:root:com.vmware.appliance.version1.access.ssh.get()
2021-11-06T23:33:41.389 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Attaching cookie to function.
2021-11-06T23:33:41.389 [6524]DEBUG:vmware.vherd.transport.authentication:Generating Cookie for user "root" with authentication method "LOCAL"
2021-11-06T23:33:42.186 [6524]DEBUG:vmware.vherd.transport.authentication_manager:HTTP METHOD b'POST'
2021-11-06T23:33:42.187 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: RPCPath = system.listMethods
2021-11-06T23:33:42.187 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: Cookie = root:LOCAL:superAdministrator:8382dc19dfa1bfea7adc03b628353bea313f59da59da10d7750a17d726f89014:4b53fdac430a16636a0789977707e7fac2783656c5fcabc937eeb9492c91247b
2021-11-06T23:33:42.194 [6524]DEBUG:vmware.vherd.transport.authentication_manager:HTTP METHOD b'POST'
2021-11-06T23:33:42.195 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: RPCPath = system.methodSignature
2021-11-06T23:33:42.195 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: Cookie = root:LOCAL:superAdministrator:8382dc19dfa1bfea7adc03b628353bea313f59da59da10d7750a17d726f89014:4b53fdac430a16636a0789977707e7fac2783656c5fcabc937eeb9492c91247b
2021-11-06T23:33:42.197 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Looking for function get
2021-11-06T23:33:42.197 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Function cached
2021-11-06T23:33:42.200 [6524]DEBUG:vmware.vherd.transport.authentication_manager:HTTP METHOD b'POST'
2021-11-06T23:33:42.200 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: RPCPath = com.vmware.appliance.version1.access.ssh.get
2021-11-06T23:33:42.201 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: Cookie = root:LOCAL:superAdministrator:8382dc19dfa1bfea7adc03b628353bea313f59da59da10d7750a17d726f89014:4b53fdac430a16636a0789977707e7fac2783656c5fcabc937eeb9492c91247b
2021-11-06T23:33:42.201 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Looking for function get
2021-11-06T23:33:42.202 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Function cached
2021-11-06T23:33:42.202 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Adding IUser with role superAdministrator to function called from external source.
2021-11-06T23:33:42.202 [6524]DEBUG:root:authorization_sso module offline
2021-11-06T23:33:42.202 [6524]DEBUG:vmware.vherd.transport.authorization:Reloading failed modules
2021-11-06T23:33:42.202 [6524]DEBUG:root:Reloading authorization_sso ...
2021-11-06T23:33:42.202 [6524]DEBUG:root:Not reloading authorization_sso for user root
2021-11-06T23:33:42.202 [6524]DEBUG:vmware.vherd.transport.authorization:Checking authorization for user "root" for function "com.vmware.appliance.version1.access.ssh.get" with required role "operator".
2021-11-06T23:33:42.203 [6524]DEBUG:root:Validated user privileges in cache
2021-11-06T23:33:42.204 [6524]DEBUG:vmware.vherd.transport.authorization:Authorization success: user "root" allowed function "com.vmware.appliance.version1.access.ssh.get" with required role "operator"
2021-11-06T23:33:42.204 [6524]DEBUG:root:Validated user privileges in cache
2021-11-06T23:33:42.204 [6524]INFO:vmware.vherd.transport.authorization:Setting superAdmin role for user : root
2021-11-06T23:33:42.204 [6524]DEBUG:root:com.vmware.appliance.version1.access.ssh.get()
2021-11-06T23:33:42.261 [6524]DEBUG:vmware.vherd.transport.authentication_manager:HTTP METHOD b'POST'
2021-11-06T23:33:42.262 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: RPCPath = system.methodSignature
2021-11-06T23:33:42.263 [6524]DEBUG:vmware.vherd.transport.authentication_local:authenticateRequest: Cookie = root:LOCAL:superAdministrator:8382dc19dfa1bfea7adc03b628353bea313f59da59da10d7750a17d726f89014:4b53fdac430a16636a0789977707e7fac2783656c5fcabc937eeb9492c91247b
2021-11-06T23:33:42.265 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Looking for function get
2021-11-06T23:33:42.265 [6524]DEBUG:vmware.vherd.transport.xmlrpc:Function cached
2021-11-06T23:34:42.234 [6524]INFO:vmware.vherd.transport.ssh_access_collector:[Unit Test] renewed 50 credits to post event
2021-11-06T23:34:42.235 [6524]INFO:vmware.vherd.transport.post_sso_events:File /var/log/audit/sso-events/audit_events.log not detected, Exit.
2021-11-06T23:34:42.235 [6524]INFO:vmware.vherd.transport.post_sso_events:File /var/log/audit/sso-events/operation_events.log not detected, Exit.
2021-11-06T23:34:42.236 [6524]INFO:vmware.vherd.transport.ssh_access_collector:[Unit Test]Start collecting from sshinfo.log ...
2021-11-06T23:34:42.238 [6524]INFO:vmware.vherd.transport.ssh_access_collector:[Unit Test]Enqueing the msg into the buffer
2021-11-06T23:34:42.238 [6524]INFO:vmware.vherd.transport.ssh_access_collector:[Unit Test]Queue Size: 1...
2021-11-06T23:34:42.240 [6524]INFO:vmware.vherd.transport.ssh_access_collector:[Unit Test]Enqueing the msg into the buffer
2021-11-06T23:34:42.240 [6524]INFO:vmware.vherd.transport.ssh_access_collector:[Unit Test]Queue Size: 2...
2021-11-06T23:34:42.240 [6524]INFO:vmware.vherd.transport.ssh_access_collector:Dispatching Event to VPXD: {'event_id': 'com.vmware.applmgmt.ssh.access.event', 'args': {'userName': 'root', 'status': 'Accepted', 'userIp': '192.168.20.1', 'portId': '54688', 'serverIp': '192.168.20.5'}}...
2021-11-06T23:34:42.241 [6524]ERROR:vmware.vherd.transport.ssh_access_collector:Failed to dispatch event to VPXD: {'event_id': 'com.vmware.applmgmt.ssh.access.event', 'args': {'userName': 'root', 'status': 'Accepted', 'userIp': '192.168.20.1', 'portId': '54688', 'serverIp': '192.168.20.5'}}
2021-11-06T23:34:42.524 [6524]DEBUG:vmware.vherd.transport.authentication:Authentication Server Secret Renewed.

 

0 Kudos
2 Replies
TryllZ
Expert
Expert

Whats strange is that I accessed the same vCenter via IP from my laptop browser and its progresses fine.

https://i.ibb.co/CV0b6g2/Untitled.png

0 Kudos
TryllZ
Expert
Expert

Found the issue to be an IP conflict.

vmnet1 of VMware Workstation had the same IP as that of the Server gateway.

0 Kudos