Upgrade of VMware Cloud Director to 10.6 with command "vamicli update --install latest" keeps running indefinitely
search cancel

Upgrade of VMware Cloud Director to 10.6 with command "vamicli update --install latest" keeps running indefinitely

book

Article ID: 411267

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Upgrade of VMware Cloud Director from 10.5 to 10.6 with command "vamicli update --install latest" stucks and keeps running without completing.
  • The last line reported in /opt/vmware/var/log/vami/updatecli.log:

    Created symlink /etc/systemd/system/timers.target.wants/logrotate.timer → /usr/lib/systemd/system/logrotate.timer.
    Created symlink /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service → /usr/lib/systemd/system/systemd-timesyncd.service.

  • /opt/vmware/var/log/vcd/appliance-sync.log keeps complaining about failure to add certificate which times out after 10 seconds:

    YYYY-MM-DD 13:21:19 | Adding certificate for node <node-id> to local trust store.
    YYYY-MM-DD 13:21:29 | Timed out adding certificate for node <node-id>, continuing to other nodes.
    ......
    YYYY-MM-DD 13:22:29 | Adding certificate for node <node-id> to local trust store.
    YYYY-MM-DD 13:22:39 | Timed out adding certificate for node <node-id>, continuing to other nodes.

Environment

VMware Cloud Director 10.5.1.1

Cause

The upgrade stucks due to timeout when trying to import certificate.

Resolution

To resolve the issue, follow "Resolution" part of below KB to change certificate import timeout value from 10s to 25s: 
VCD cell configuration fails during database configuration with error " setupvcd script failed to execute"

Once the certificate is successfully imported, the upgrade script will be able to run through.