Error: Failure: updatecli exiting abnormally when upgrading VMware Cloud Director causing update process to get stuck in infinite loop
search cancel

Error: Failure: updatecli exiting abnormally when upgrading VMware Cloud Director causing update process to get stuck in infinite loop

book

Article ID: 395763

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Various errors and warnings generated during upgrade from 10.6.01 to 10.6.1 such as:
    Error: Failure: updatecli exiting abnormally
    Warning: /opt/vmware/vcloud-director/etc/global.properties created as /opt/vmware/vcloud-director/etc/global.properties.rpmnew

Environment

VMware Cloud Director 10.6.1

Cause

This can occur when there is incorrect permissions on the nodes causing certificates not to be added to local trust store

Resolution

In order to resolve this issue you need to check the permissions on the nodes in the cluster

  1. ssh into Primary Cell


  2. Ensure permissions are set to 750 and the owner and group are set to 'vcloud' 

    Run Command:
     
    ls -ld /opt/vmware/vcloud-director/data/transfer/

    The Output should be for each node:

    drwxr-x---<number of hard links>vcloud vcloud<Date><Node Name>

    Example:

    drwxr-x--- 2 vcloud vcloud 4.OK Apr 12 11:34 node-123abc12-345d-123fg-df43-1234567abc


    NOTE: <Node Name> refers to the name of the individual node

  3. If the node permissions do NOT match run the following linux command using the <Node Name> from step 2 on each node with the incorrect permissions

    chown vcloud:vcloud <Node Name> && chmod 750 <Node Name>