vCloud Director 9.x Build Date shows Older date than the installed Build
search cancel

vCloud Director 9.x Build Date shows Older date than the installed Build

book

Article ID: 345736

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

This article provide steps on correcting vCloud Director 9.x release date displayed under User Interface.

Symptoms:
Post VCD upgrade the Version shows incorrect build date.
Example: Build VCD 9.7.0.6 17135848 (release on 12, Nov 2020) - Build date shows 01/01/2012
In Multi cell environment the VCD Database all the VCD cells shows the correct Build date except single Cell (date shown - 01/01/2012)

Environment

VMware Cloud Director for Service Provider 9.x

Cause

This issue occur where vCloud Director global.properties does not contain below parameters : 

product.version = 9.7.0.17135848 
product.build_date = 2020-06-02T04:11:14-0700

Resolution

In order to resolve this issue update global.properties file:

1. Login to the impacted vCloud Director cell via SSH as root.

2. Change directory to where the cell-management-tool is located.
># cd /opt/vmware/vcloud-director/bin

3. Run the tool to verify the job count and active state (true):
># ./cell-management-tool -u administrator cell -t 
Please enter the administrator password:
Job count = 2
Is Active = true

4. Use the quiesce feature to ensure the cell takes no new jobs
># ./cell-management-tool -u administrator cell -q true
Please enter the administrator password:

5. Run the tool to verify the job count and active state (false):
># ./cell-management-tool -u administrator cell -t
Please enter the administrator password:
Job count = 0
Is Active = false

6. Shut down the cell once the Job count = 0 and Is Active = false:
># ./cell-management-tool -u administrator cell -s
Please enter the administrator password:

7. Stop the vCloud Director services:
># service vmware-vcd stop
Stopping vmware-vcd-watchdog: [ OK ]
Stopping vmware-vcd-cell: [ OK ]


8. Take a backup of the $VCLOUD_HOME/etc/global.properties file.

9. Open the $VCLOUD_HOME/etc/global.properties file using a text editor.

Locate this line within the file:

product.version = 

Add next a new line after the product.version line to:

Example: 

product.version = 
product.build_date = 2020-06-02T04:11:14-0700

To validate correct product build date by opening global.properties file from other valid vCloud Director cells.
Copy and paste this line with it's value into impacted vCloud Director global.properties file. 

10.  Start the vCloud Director services:
># service vmware-vcd start

Additional Information

Impact/Risks:
No impact to vCloud Director functionality. 
vCloud Director UI might cause a miss leading perception of current version / build number and release date of the product.