Remote logfiles on Fuel master are not rotated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Fuel Library (Deprecated) | ||
7.0.x |
Invalid
|
High
|
Richard Berwald | ||
8.0.x |
Invalid
|
High
|
Fuel Library (Deprecated) |
Bug Description
All messages that are send rsyslog in the container are logged inside the container in the directory /var/log/remote.
The directory /var/log of the container is mapped to /var/log/
This results in all messages logged in the directory structure below /var/log/
Logrotate on the Fuel master is configured to rotate to following files and directories (excerpt from /etc/logrotate.
"/var/log/
"/var/log/
"/var/log/
"/var/log/
"/var/log/
"/var/log/
"/var/log/
"/var/log/
"/var/log/
"/var/log/
"/var/log/
"/var/log/
"/var/log/
"/var/log/
"/var/log/
The directory /var/log/
Not rotating the logfiles will in the end result in a full disk on the Fuel master, loss of information and possible non-functional Fuel master.
Fuel version information:
root@fuel-70 remote]# fuel fuel-version
DEPRECATION WARNING: /etc/fuel/
api: '1.0'
astute_sha: 6c5b73f93e24cc7
auth_required: true
build_id: '301'
build_number: '301'
feature_groups:
- experimental
- mirantis
fuel-agent_sha: 50e90af6e3d560e
fuel-library_sha: 5d50055aeca1dd0
fuel-nailgun-
fuel-ostf_sha: 2cd967dccd66cfc
fuelmain_sha: a65d453215edb02
nailgun_sha: 4162b0c15adb425
openstack_version: 2015.1.0-7.0
production: docker
python-
release: '7.0'
release_versions:
2015.1.0-7.0:
VERSION:
api: '1.0'
astute_sha: 6c5b73f93e24cc7
build_id: '301'
build_number: '301'
feature_
- experimental
- mirantis
fuel-
fuel-
fuel-
fuel-
fuelmain_sha: a65d453215edb02
nailgun_sha: 4162b0c15adb425
openstack
production: docker
python-
release: '7.0'
Changed in fuel: | |
importance: | Undecided → High |
milestone: | none → 7.0-updates |
milestone: | 7.0-updates → none |
no longer affects: | fuel |
Changed in fuel: | |
milestone: | none → 8.0 |
assignee: | nobody → Fuel Library Team (fuel-library) |
importance: | Undecided → High |
status: | New → Won't Fix |
milestone: | 8.0 → 9.0 |
on
[root@fuel ~]# fuel fuel-version
api: '1'
auth_required: true
feature_groups: []
openstack_version: 2015.1.0-8.0
release: '8.0'
[root@fuel ~]# ls -lah /var/log/remote* docker- logs/remote
lrwxrwxrwx 1 root root 27 Dec 29 15:22 /var/log/remote -> /var/log/
so problem exist only on 7.0