Send daemonize error output to puppet log

Bug #1459330 reported by Dmitry Ilyin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Low
Fuel Sustaining

Bug Description

Let's set "daemonize" to save the the stderr of the puppet process to a log file.

add:

-e /var/log/puppet-error.log

to the daemonize command options https://github.com/stackforge/fuel-astute/blob/master/mcagents/puppetd.rb#L42

Add /var/log/puppet-error.log to Rsyslog
Add /var/log/puppet-error.log to the shotgun log snapshot

Dmitry Ilyin (idv1985)
description: updated
Changed in fuel:
importance: Undecided → Low
Changed in fuel:
milestone: none → 7.0
tags: added: qa-agree-7.0
Changed in fuel:
assignee: nobody → Dmitry Ilyin (idv1985)
Changed in fuel:
status: New → Confirmed
Revision history for this message
Dmitry Ilyin (idv1985) wrote :

Make this change in the puppet MCO agent

Changed in fuel:
assignee: Dmitry Ilyin (idv1985) → nobody
assignee: nobody → Vladimir Sharshov (vsharshov)
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

Also we need add this log to Rsyslog and Shotgun.

Let move it to 8.0

Changed in fuel:
status: Confirmed → Triaged
description: updated
Changed in fuel:
assignee: Vladimir Sharshov (vsharshov) → Fuel Python Team (fuel-python)
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 8.0
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 8.0 → 9.0
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Trevor McCasland (twm2016)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-astute (master)

Fix proposed to branch: master
Review: https://review.openstack.org/290096

Changed in fuel:
status: Triaged → In Progress
Dmitry Pyzhov (dpyzhov)
summary: - Send darmonize error output to puppet log
+ Send daemonize error output to puppet log
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-astute (master)

Reviewed: https://review.openstack.org/290096
Committed: https://git.openstack.org/cgit/openstack/fuel-astute/commit/?id=b781cd5417aa3c9f3fbbe417fef1d47338c487a5
Submitter: Jenkins
Branch: master

commit b781cd5417aa3c9f3fbbe417fef1d47338c487a5
Author: twm2016 <email address hidden>
Date: Tue Mar 8 13:46:16 2016 -0600

    Send error output to puppet log

    Sets the daemonize command option to /var/log/puppet-error.log

    Change-Id: I0e253471619fd945a13458a7a8a8f48daa06ee82
    Closes-Bug: #1459330

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Nastya Urlapova (aurlapova) wrote :
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

That log contains puppet-error.log, but it has 0 size.

Changed in fuel:
status: Fix Committed → Confirmed
milestone: 9.0 → 10.0
Changed in fuel:
assignee: Trevor McCasland (twm2016) → nobody
Changed in fuel:
assignee: nobody → 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.