VIO serial console logs in /var/log/vspc fill up all space on compute01 disk
search cancel

VIO serial console logs in /var/log/vspc fill up all space on compute01 disk

book

Article ID: 321811

calendar_today

Updated On:

Products

VMware VMware Integrated OpenStack

Issue/Introduction

Symptoms:
Serial console logs in /var/log/vspc fill up all space on compute01 disk

Environment

VMware Integrated OpenStack 4.x
VMware Integrated OpenStack 5.x

Cause

There is no log rotate for /var/log/vspc.

Resolution

This issue is resolved in VMware Integrated Openstack 5.1.0.2, available at VMware Downloads .

This issue is resolved in VMware Integrated Openstack 4.1.2.2, available at VMware Downloads.

Workaround:
For the work around we need to create the log rotate file for the vspc on the compute node:
  1. Create /etc/logrotate.d/vspc-common on compute node(s).
  2. Open the file with a text editor.
  3. Add the following contents.
/var/log/vspc/???????????????????????????????? {
    daily
    missingok
    compress
    delaycompress
    copytruncate
}
  1. Save the /etc/logrotate.d/vspc-common file.