VMware Cloud Community
mansolo99
Contributor
Contributor

Error adding host to vCenter:

Hi all and Happy Holidays.

I am wrecking my head on this simple problem (newbie here). I am using vSphere 6 with VCSA6. I have added one host using the vSphere web client without any problem, when trying to add the second one, I get an error at the second stage: Connections Settings...

A general system error occured, with a bunch of parsing errors, see screenshot.

What could be my problem? Both host and vCenter are licensed.

Thanks.

  15E650DC-8EFE-461C-8ACF-32443F4CAF2D.png

0 Kudos
4 Replies
linotelera
Hot Shot
Hot Shot

Hi, welcome and happy holidays,

please could you post additional infos like: hostname and host version... Seems a problem about dns resolution, please check correct name resolution from vcsa and esxi host (connect to single host and enable ssh in security options). Check also correct date/time.

0 Kudos
mansolo99
Contributor
Contributor

Hi Linotelera,

Thanks a lot for the pointers. I have checked the hostname and DNS entires and looks fine.

[root@ESXi-2:~] uname -a

VMkernel ESXi-2 6.0.0 #1 SMP Release build-2494585 Feb  5 2015 19:07:22 x86_64 x86_64 x86_64 ESXi

Host hostname: ESXi-2


I can ping everyting with proper name resolution from both the VCSA and the host:


#### From Host


[root@ESXi-2:~] ping vcenter.lab.local

PING vcenter.lab.local (192.168.100.170): 56 data bytes

64 bytes from 192.168.100.170: icmp_seq=0 ttl=64 time=0.821 ms

64 bytes from 192.168.100.170: icmp_seq=1 ttl=64 time=0.845 ms

64 bytes from 192.168.100.170: icmp_seq=2 ttl=64 time=0.827 ms

--- vcenter.lab.local ping statistics ---

3 packets transmitted, 3 packets received, 0% packet loss

round-trip min/avg/max = 0.821/0.831/0.845 ms

[root@ESXi-2:~]

[root@ESXi-2:~]

[root@ESXi-2:~] ping esxi-2.lab.local

PING esxi-2.lab.local (192.168.100.162): 56 data bytes

64 bytes from 192.168.100.162: icmp_seq=0 ttl=64 time=0.039 ms

64 bytes from 192.168.100.162: icmp_seq=1 ttl=64 time=0.025 ms

64 bytes from 192.168.100.162: icmp_seq=2 ttl=64 time=0.023 ms

--- esxi-2.lab.local ping statistics ---

3 packets transmitted, 3 packets received, 0% packet loss

round-trip min/avg/max = 0.023/0.029/0.039 ms

#### From VCSA

Command> ping  vcenter.lab.local

PING vCenter.LAB.local (192.168.100.170) 56(84) bytes of data.

64 bytes from vCenter.LAB.local (192.168.100.170): icmp_seq=1 ttl=64 time=0.022 ms

64 bytes from vCenter.LAB.local (192.168.100.170): icmp_seq=2 ttl=64 time=0.026 ms

64 bytes from vCenter.LAB.local (192.168.100.170): icmp_seq=3 ttl=64 time=0.026 ms

I^CCommand>

Command>

Command> ping  esxi-2.lab.local

PING esxi-2.lab.local (192.168.100.162) 56(84) bytes of data.

64 bytes from 192.168.100.162: icmp_seq=1 ttl=64 time=0.667 ms

64 bytes from 192.168.100.162: icmp_seq=2 ttl=64 time=0.738 ms

WHat do you suggest I do next? Do I need to restart any of of the host/vcsa? Thanks for all your input.

0 Kudos
linotelera
Hot Shot
Hot Shot

This is just a try: change ESXi2 hostname (seen in uname -a ) with esxi-2... What about ntp date and time?

Last thing could be restart management host services and vcsa services (check if an error is raising during restart operations).

0 Kudos
mansolo99
Contributor
Contributor

HI Linotelera,

Thanks for all your help. Here is a log dump of the suggested changes and status of processes. With all the changes, still seeing the same problem Smiley Sad

Any other things you could think of?

vCenter:~ # service --status-all

Checking for httpd2:                                                 unused

Checking for appliance management service:                           running

Checking for service arpd                                            unused

Checking for service atftp:                                          unused

Checking for service auditd                                          running

Checking if boot.cgroup has run                                      running

                                                                     running

Current Hardware Clock: Mon Jan  4 16:52:34 2016  -0.645685 seconds  running

                                                                     running

...                                                                 unused

...                                                                 unused

                                                                     running

                                                                     unknown

                                                                     unknown

                                                                     running

checking if boot.ipconfig has been run                               running

                                                                     running

                                                                     running

Checking if boot.loadmodules has run                                 running

Checking if boot.localfs has run                                     running

                                                                     running

                                                                     unknown

                                                                     running

MD RAID arrays: No arrays active                                     unused

Checking multipath targets:                                          unused

                                                                     running

Checking if boot.rootfsck has run                                    running

                                                                     running

                                                                     unknown

Checking for service sysstat:                                        running

Checking for udevd:                                                  running

                                                                     running

Checking for service cgconfig                                        running

Checking for CGroup Rules Engine Daemon                              running

Checking for Cron:                                                   running

Checking for service D-Bus daemon                                    running

running (standalone: 4633)

                                                                     unused

                                                                     unused

Checking for ISC DHCPv4 4.x Server:                                  unused

Checking for ISC DHCPv6 4.x Server:                                  unused

Checking for service syslog:                                         running

running (standalone: 4918)

Neither the variables MOUSEDEVICE and MOUSETYPE nor the variable GPM_PARAM

is set in /etc/sysconfig/mouse

Run 'yast mouse' to set up gpm

Checking for service HAL daemon                                      running

Checking for haveged daemon                                          running

Checking for service irqbalance                                      running

Keymap /usr/share/kbd/keymaps/i386/qwerty/us.map.gz is loaded.

Checking for service ldap:                                           unused

running (standalone: 5355)

Usage: /etc/init.d/lvm_wait_merge_snapshot {start}

running (standalone: 4978)

running (standalone: 3792)

                                                                     running

Checking for service mdadmd                                          unused

Checking for multipathd:                                             unused

running (standalone: 5028)

Checking optional network interfaces:

    eth0      device: VMware VMXNET3 Ethernet Controller

    eth0      IP address: 192.168.15.170/24

    eth0      is up                                                  running

Checking mandatory network interfaces:

    lo       

    lo        IP address: 127.0.0.1/8

    secondary lo IP address: 127.0.0.2/8

    lo        is up                                                  running

Checking service network .  .  .  .  .  .  .  .  .  .  .             running

Checking mandatory network interfaces:

    lo       

    lo        IP address: 127.0.0.1/8

    secondary lo IP address: 127.0.0.2/8

    lo        is up                                                  running

Checking service (remotefs) network .  .  .  .  .  .  .  .  .  .  .  running

Checking for mounted nfs shares (from /etc/fstab):idmapd not running

                                                                     unused

Checking for service nginx                                           unused

     remote           refid      st t when poll reach   delay   offset  jitter

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

dev1.sjelab.net 10.252.0.245     2 u   95   64  176   82.162   -1.291   2.475

*131.107.13.100  .ACTS.           1 u   99   64  176   88.794    9.433   2.536

leeloo.scurvyne .INIT.          16 u    -   64    0    0.000    0.000   0.000

209.118.204.201 128.9.176.30     2 u   95   64  176  102.446    7.793   2.667

Checking for network time protocol daemon (NTPD):                    running

Checking for UPS monitoring service                                  unused

Checking for random generator (always true)                          running

                                                                     dead

Checking for service rpasswd daemon:                                 unused

Checking for service rpcbind                                         running

                                                                     unknown

Checking for service sendmail:                                       running

/dev/ttyS0 at 0x03f8 (irq = 4) is a 16550A

/dev/ttyS1 at 0x02f8 (irq = 3) is a 16550A                           running

/usr/sbin/FOO not installed

/bin/snmpd is not running

                                                                     unknown

                                                                     unknown

Checking for service sshd                                            running

Checking for stunnel (SSL tunnel):                                   unused

Checking for service syslog:                                         running

Checking for service uuidd                                           unused

running (standalone: 5378)

running (standalone: 5421)

Warning: vmci status: unimplemented

running (standalone: 5461)

VMware CIS License Service is running: PID:7238, Wrapper:STARTED, Java:STARTED

VMware Component Manager is running: PID:6185, Wrapper:STARTED, Java:STARTED

VMware ESX Agent Manager is running: PID:20833, Wrapper:STARTED, Java:STARTED

VMware Inventory Service is running: PID:10096, Wrapper:STARTED, Java:STARTED

VMware Message Bus Config Service is not running.

VMware ESXi dump collector is running

VMware Performance Charts Service is running: PID:28441, Wrapper:STARTED, Java:STARTED

Checking for /usr/bin/rbd-watchdog-linux:                            unused

VMware HTTP Reverse Proxy is running.

VMware Service Control Agent is running: PID:7510, Wrapper:STARTED, Java:STARTED

VMware vSphere Profile-Driven Storage Service is running: PID:21744, Wrapper:STARTED, Java:STARTED

ensure environment variables are set

Checking for VMware STS IDM Server ...                               running

ensure environment variables are set

Checking for service vmware-stsd                                     running

syslog is running, PID: 9614

VMware Common Logging Service is running: PID:9045, Wrapper:STARTED, Java:STARTED

vmtoolsd is running

VGAuth daemon .

vAPI Endpoint is running: PID:9262, Wrapper:STARTED, Java:STARTED

VMware Content Library Service is running: PID:22716, Wrapper:STARTED, Java:STARTED

Last login: Mon Jan  4 16:52:18 UTC 2016

pg_ctl: server is running (PID: 9828)

/opt/vmware/vpostgres/9.3/bin/postgres "-D" "/storage/db/vpostgres"

VMware vCenter workflow manager is running: PID:23076, Wrapper:STARTED, Java:STARTED

vmware-vpxd is running

VMware vService Manager is running: PID:26907, Wrapper:STARTED, Java:STARTED

/usr/java/jre-vmware/bin/vmware-vws is running.

Warning: vsock status: unimplemented

VMware vSphere Web Client is running: PID:27702, Wrapper:STARTED, Java:STARTED

Checking for service xinetd:                                         unused

Checking for ypbind:                                                 unused

vCenter:~ #

vCenter:~ # service vmware-vpxd status

vmware-vpxd is running

vCenter:~ # service vmware-vpostgres status

Last login: Mon Jan  4 16:28:37 UTC 2016

pg_ctl: server is running (PID: 9828)

/opt/vmware/vpostgres/9.3/bin/postgres "-D" "/storage/db/vpostgres"

vCenter:~ # service vmware-tools-services status

vmtoolsd is running

vCenter:~ # service vmware-sps status

VMware vSphere Profile-Driven Storage Service is running: PID:21744, Wrapper:STARTED, Java:STARTED

vCenter:~ # service vmware-inventoryservice status

service: no such service vmware-inventoryservice

vCenter:~ # service vmware-netdumper status

VMware ESXi dump collector is running

vCenter:~ # service vmware-logbrowser status

service: no such service vmware-logbrowser

vCenter:~ # service vmware-rbd-watchdog status

Checking for /usr/bin/rbd-watchdog-linux:                            unused

vCenter:~ # service vsphere-client status

VMware vSphere Web Client is running: PID:27702, Wrapper:STARTED, Java:STARTED

vCenter:~ #

Command> ntp.get

Config:

   Status: Up

   Servers: 0.north-america.pool.ntp.org 1.north-america.pool.ntp.org 2.north-america.pool.ntp.org 3.north-america.pool.ntp.org

Command>

vCenter:~ # ntpq -p 127.0.0.1

     remote           refid      st t when poll reach   delay   offset  jitter

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

dev1.sjelab.net 10.252.0.245     2 u   45   64   17   82.162   -1.291   3.164

*131.107.13.100  .ACTS.           1 u   50   64   17   90.246    7.224   3.019

leeloo.scurvyne .INIT.          16 u    -   64    0    0.000    0.000   0.000

209.118.204.201 128.9.176.30     2 u   46   64   17  102.446    7.793   2.493

vCenter:~ #

And on the host:

[root@esxi-2:~] uname -a

VMkernel esxi-2 6.0.0 #1 SMP Release build-2494585 Feb  5 2015 19:07:22 x86_64 x86_64 x86_64 ESXi

[root@esxi-2:~]

[root@esxi-2:~]

[root@esxi-2:~] /etc/init.d/hostd restart

watchdog-hostd: Terminating watchdog process with PID 38265

hostd stopped.

Ramdisk 'hostd' with estimated size of 178MB already exists

hostd started.

[root@esxi-2:~]

[root@esxi-2:~]

[root@esxi-2:~] /etc/init.d/vpxa restart

watchdog-vpxa: Terminating watchdog process with PID 38899

vpxa stopped.

[root@esxi-2:~]

[root@esxi-2:~] /etc/init.d/vpxa status

vpxa is running

[root@esxi-2:~] /etc/init.d/hostd status

hostd is running.

[root@esxi-2:~]

[root@esxi-2:~] ntpq -p 127.0.0.1

     remote           refid      st t when poll reach   delay   offset  jitter

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

+ha1.smatwebdesi 199.102.46.77    2 u   92  128  377   44.612    4.901   1.171

*time.tritn.com  198.60.22.240    2 u  121  128  377   75.803   -1.932   0.955

kahuna.ruselabs .STEP.          16 -    - 1024    0    0.000    0.000   0.000

+vimo.dorui.net  209.51.161.238   2 u  108  128  377   46.456   -0.710   4.271

[root@esxi-2:~]

0 Kudos