there are no puppet logs left on the hosts anymore

Bug #1275121 reported by Andrew Woodward
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Bogdan Dobrelya

Bug Description

There used to be a /var/log/puppet/agent.log left on the host, but since we changed to just puppet apply, we no longer have a copy of the puppet log on the individual hosts.

This leads to difficulty troubleshooting issues and errors. This is especially an issue in some mult-L3 topologies where it is possible to to for fuel's syslog to loose track of the node.

Changed in fuel:
assignee: nobody → Vladimir Sharshov (vsharshov)
status: Confirmed → Triaged
Changed in fuel:
assignee: Vladimir Sharshov (vsharshov) → Bogdan Dobrelya (bogdando)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
status: Triaged → In Progress
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Patch ensures a local copy will be created for all puppet logs as well to remote logs, if "--logdest syslog" was specified for puppet aplly run.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/72914
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=8bf5a89917300ce4f4e3c0bcb1571f24dec32f42
Submitter: Jenkins
Branch: master

commit 8bf5a89917300ce4f4e3c0bcb1571f24dec32f42
Author: Bogdan Dobrelya <email address hidden>
Date: Wed Feb 12 12:22:31 2014 +0200

    Fix unused puppet agent/master logging templates

    - remove obsolete master & agent logs from puppet
    - make a local copy of all puppet logs as well to remote ones

    Closes-bug: #1275121

    Change-Id: I03e2bab8cd28d4e58a2b0fff05015167d1ad43b1
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Additional hotfix is addressed by https://review.openstack.org/#/c/73743/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
status: Fix Committed → In Progress
Changed in fuel:
status: In Progress → Won't Fix
Changed in fuel:
status: Won't Fix → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/74050
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=ff51412a95a759f4afa6e05c86ef160e34b5d109
Submitter: Jenkins
Branch: master

commit ff51412a95a759f4afa6e05c86ef160e34b5d109
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Feb 17 16:14:31 2014 +0200

    Fix puppet logs tags in rsyslog template

    - add puppet-error tag
    - use strict '==' (faster) instead of 'contains'
    - del unnecessary rsyslog::imfile 20-puppet*.conf templates

    Closes-bug: #1275121

    Change-Id: I58afae3ae220dc437f23670796526e67d2f8a3b3
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
tags: added: in progress
Andrew Woodward (xarses)
tags: added: customer-found
tags: removed: in progress
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #235
"build_id": "2014-03-05_07-31-01",
"mirantis": "yes",
"build_number": "235",
"nailgun_sha": "f58aad317829112913f364347b14f1f0518ad371",
"ostf_sha": "dc54d99ddff2f497b131ad1a42362515f2a61afa",
"fuelmain_sha": "16637e2ea0ae6fe9a773aceb9d76c6e3a75f6c3b",
"astute_sha": "f15f5615249c59c826ea05d26707f062c88db32a",
"release": "4.1",
"fuellib_sha": "73313007c0914e602246ea41fa5e8ca2dfead9f8"

Changed in fuel:
status: Fix Committed → Fix Released
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.