BugZero updated this defect 44 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
4/5/2024
Cloud Director
10.x
No fixed releases provided.
Logs with the format "yyyy_mm_dd.request.log" which are located in the directory /opt/vmware/vcloud-director/logs/ are filling up the systems disk space.The request logs are not being removed after setting a retention policy with the below command: /opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n vcloud.http.log.retainDays -v 10
This issue occurs as the log retention parameter vcloud.http.log.retainDays is not being correctly read from the Cloud Director database.
This issue is resolved in Cloud Director 10.5.1.1 which is available for download here.
To workaround the issue until the resolved version is available, the following steps can be applied: 1. Backup the the file /opt/vmware/vcloud-director/etc/global.properties on the Cloud Director cell.2. Insert the below line in the file /opt/vmware/vcloud-director/etc/global.properties and specify the amount of days you wish to retain the logs. The below example sets the retention to 10 days. vcloud.http.log.retainDays=10 3. Restart the vmware-vcd service on the Cloud Director cell to apply the change. For more information see Managing a Cell. 4. Repeat steps 1 - 3 above on all Cloud Director cells in the environment. Note: The cleanup runs everyday at midnight as per the time on the system where the cell is running