[library] remote rsyslog should create deleted log dir
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
In Progress
|
Medium
|
Fuel Sustaining | ||
Mitaka |
Won't Fix
|
Medium
|
Fuel Sustaining |
Bug Description
Sometimes users perform manual remote log directory cleanup on the master node and remove the whole node log dirs.
It appeared, after such manual cleanup rsyslog from remote nodes fails to write logs to master node due to log directory absence.
Please add log dir existence check and make new dirs if necessary on rsyslog restart.
Steps to reproduce:
1. Deploy any simple configuration.
2. Go to master node and remove any node directory in /var/log/remote/
The node, you remove, should be up and running.
3. Restart rsyslog on the node, for which you just removed log directory.
Current behavior:
Rsyslog fails to write log files to not existing directory and continue storing logs locally.
Expected behavior:
Rsyslog should create not existing log directory on master node and continue storing logs on master node.
tags: | added: customer-found |
Changed in fuel: | |
status: | New → Triaged |
assignee: | nobody → Bogdan Dobrelya (bogdando) |
Changed in fuel: | |
importance: | Medium → Low |
milestone: | 5.0 → 5.1 |
Changed in fuel: | |
importance: | Low → Wishlist |
summary: |
- remote rsyslog should create deleted log dir + [library] remote rsyslog should create deleted log dir |
Changed in fuel: | |
milestone: | 5.1 → 6.0 |
Changed in fuel: | |
milestone: | 6.0 → 6.1 |
tags: | added: feature |
tags: | added: feature-logging |
Changed in fuel: | |
milestone: | 7.0 → 8.0 |
Changed in fuel: | |
importance: | Wishlist → Medium |
tags: | added: area-python |
no longer affects: | fuel/newton |
Changed in fuel: | |
assignee: | Kyrylo Galanov (kgalanov) → Fuel Sustaining (fuel-sustaining-team) |
Probably, we should provide a remote logs directory tree maintenance script in fuel tools package. It should read nailgun DB and recreate missing directories, if any