[library] remote rsyslog should create deleted log dir

Bug #1284120 reported by Miroslav Anashkin
8
This bug affects 1 person
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.

Andrew Woodward (xarses)
tags: added: customer-found
Changed in fuel:
status: New → Triaged
assignee: nobody → Bogdan Dobrelya (bogdando)
Revision history for this message
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)
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)
Changed in fuel:
milestone: 6.0 → 6.1
Evgeniy L (rustyrobot)
tags: added: feature
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Dmitry Pyzhov (dpyzhov)
tags: added: feature-logging
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

Feature, moved to 7.0

Changed in fuel:
milestone: 6.1 → 7.0
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

Moved to 7.0

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 8.0
Changed in fuel:
importance: Wishlist → Medium
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Revision history for this message
Alexander Kislitsky (akislitsky) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.