[library] remote rsyslog should create deleted log dir

Bug #1284120 reported by Miroslav Anashkin on 2014-02-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fuel Sustaining
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.

Andrew Woodward (xarses) on 2014-02-24
tags: added: customer-found
Changed in fuel:
status: New → Triaged
assignee: nobody → Bogdan Dobrelya (bogdando)
Bogdan Dobrelya (bogdando) wrote :

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

Changed in fuel:
assignee: Bogdan Dobrelya (bogdando) → Fuel Python Team (fuel-python)
Changed in fuel:
importance: Medium → Low
milestone: 5.0 → 5.1
Changed in fuel:
importance: Low → Wishlist
Dmitry Ilyin (idv1985) on 2014-07-15
summary: - remote rsyslog should create deleted log dir
+ [library] remote rsyslog should create deleted log dir
Changed in fuel:
milestone: 5.1 → 6.0
Dmitry Pyzhov (dpyzhov) on 2014-11-17
Changed in fuel:
milestone: 6.0 → 6.1
Evgeniy L (rustyrobot) on 2015-03-19
tags: added: feature
Dmitry Pyzhov (dpyzhov) on 2015-03-27
tags: added: feature-logging
Vladimir Sharshov (vsharshov) wrote :

Feature, moved to 7.0

Changed in fuel:
milestone: 6.1 → 7.0
Vladimir Sharshov (vsharshov) wrote :

Moved to 7.0

Dmitry Pyzhov (dpyzhov) on 2015-08-03
Changed in fuel:
milestone: 7.0 → 8.0
Changed in fuel:
importance: Wishlist → Medium
Dmitry Pyzhov (dpyzhov) on 2015-10-22
tags: added: area-python

We passed SCF in 8.0. Moving the bug to 9.0.

Changed in fuel:
milestone: 8.0 → 9.0
no longer affects: fuel/newton
Changed in fuel:
assignee: Kyrylo Galanov (kgalanov) → Fuel Sustaining (fuel-sustaining-team)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers