Cloud Director service fails to start after Cell Management Tool shutdown
search cancel

Cloud Director service fails to start after Cell Management Tool shutdown

book

Article ID: 381324

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • When performing a shutdown of the VCD cell using the cell management tool and specifying the PID (Process ID) of the vCloud process, the service fails to restart on the first attempt.  Subsequent service start commands succeed.
  • The following command is used to shut down the cell:

/opt/vmware/vcloud-director/bin/cell-management-tool cell --shutdown -i <vcd_pid>

  • When restarting the service after this command, the following output is seen-

service vmware-vcd start

Job for vmware-vcd. service failed because the control process exited with error code.

See "systemctl status vmware—vcd.service" and '"journalctl -xe" for details.

  • Subsequent attempt to start the service succeed.

 

Environment

VMware Cloud Director 10.x

Cause

When shutting down the service based on PID, other processes may continue to run which prevent the main process from restarting successfully.

Resolution

Use the cell management shutdown command with an Administrator user and password specified instead of PID.

/opt/vmware/vcloud-director/bin/cell-management-tool cell --shutdown -u Administrator -p <password>