Auto deploy fails to configure ESXi Host Error: fatal error 15 waiter.tgz
search cancel

Auto deploy fails to configure ESXi Host Error: fatal error 15 waiter.tgz

book

Article ID: 307124

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:

  • Auto deploy fails to configure ESXi host, you see error similar to: "fatal error 15 waiter.tgz"
  • In the vCenter /var/log/vmware/rbd/rbd-cgi.log file, you see entries similar to:

[13111]INFO:sslcert:cert files are missing from /var/lib/rbd/ssl/host####

[13111]INFO:sslcert:removing old moref key -- /var/lib/rbd/ssl/host####

[13111]INFO:sslcert:renaming hostId key to moref -- 39f2592d8da6bc0f15ea587a9eeb6c64 -> /var/lib/rbd/ssl/host####

[13111]ERROR:plugins:exception:rbdplugins.sslcert.vmwWaiterTgz -- [Errno 39] Directory not empty

Traceback (most recent call last):

File "/build/mts/release/bora-5112515/bora/install/vmvisor/autodeploy/site-packages/vmware/rbd/plugins.py", line 220, in _curry

File "/build/mts/release/bora-5112515/bora/install/vmvisor/autodeploy/var/rbdplugins/sslcert.py", line 265, in vmwWaiterTgz

OSError: [Errno 39] Directory not empty

Environment

VMware vCenter Server Appliance 6.0.x

Cause

This issue occurs when the directory for moref key fails to be removed preventing the newly generated SSL certificates from being added to the moref key.

Resolution

To resolve this issue, follow steps below to manually move the old moref key.

  1. Connect to the vSphere web client.
  2. Click ESXi host having issues and go to the summary.
  3. Confirm the "host-###" in the browser address bar matches the "host-###" in the rbd-cgi.log.
  4. SSH to the vCenter.
  5. Move the problem moref key folder to another location. For example.
    mv /var/lib/rbd/ssl/host ~/host.old
  6. Attempt to use auto deploy to configure the host.
  7. After confirming functionality removed the old key folder.
    rm -r ~/host.old