Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2165470

Summary: /var/log partition will be bloated in a short time because its default partition size is 10GB in OSP17.0
Product: Red Hat OpenStack Reporter: Ryo Hayakawa <rhayakaw>
Component: documentationAssignee: Irina <igallagh>
Status: CLOSED CURRENTRELEASE QA Contact: RHOS Documentation Team <rhos-docs>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.0 (Wallaby)CC: bshephar, cjeanner, fallen, igallagh, jkreger, joflynn, johfulto, mlecki, mmagr, mrunge, sbaker
Target Milestone: ---Keywords: Documentation, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-28 11:05:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ryo Hayakawa 2023-01-30 07:47:04 UTC
Description of problem:

As far as I checked tripleo_ansible/playbooks/cli-overcloud-node-growvols.yaml[1], it seems that the default size of /var/log partition is 10GB for a overcloud node.

On the other hand, podman health-check outputs too many lines into /var/log/messages.

So, this will probably may cause disk full in a short time in most customer's environment which uses default setting.
Actually, one of our customers already faced the problem in their testing environment.

I guess that we should increase the default size of /var/log partition or write a note that customers should increase /var/log/partition in our documentation such as [2].

[1] tripleo_ansible/playbooks/cli-overcloud-node-growvols.yaml:
~~~
- name: Overcloud Node Grow Volumes
  hosts: allovercloud
  any_errors_fatal: true
  gather_facts: false
  vars:
    role_growvols_args:
      default:
        /=8GB
        /tmp=1GB
        /var/log=10GB
        /var/log/audit=2GB
        /home=1GB
        /var=100%
      Controller:
        /=8GB
        /tmp=1GB
        /var/log=10GB
        /var/log/audit=2GB
        /home=1GB
        /var=90%
        /srv=10%
      ObjectStorage:
        /=8GB
        /tmp=1GB
        /var/log=10GB
        /var/log/audit=2GB
        /home=1GB
        /var=10%
        /srv=90%
~~~

[2]
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.0/html-single/director_installation_and_usage/index#proc_configuring-whole-disk-partitions-for-object-storage_ironic_provisioning


Version-Release number of selected component (if applicable):

tripleo-ansible-3.3.1-0.20221208161843.fa5422f.el9os

How reproducible:

always

Steps to Reproduce:
1. overcloud install
2.
3.

Actual results:

The size of /var/log partition is 10GB

Expected results:

The size of /var/log partition should be increased more.

Additional info:

Comment 1 Julia Kreger 2023-01-30 20:42:52 UTC
The team needs to discuss this further.

We provide what we believe is a reasonable default, and it can be edited by a customer.

It does appear thought, that there are cases where the logging output can be far more than we normally expect.

The team will discuss in it's next bug triage session.

Comment 12 Harald Jensås 2023-02-15 23:16:07 UTC
*** Bug 2169831 has been marked as a duplicate of this bug. ***