The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #6921

centralrpclog does not support subcollectives

Added by Matt Pascoe about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:03/31/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Keywords: Affected mCollective version:
Branch:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


Description

The audit code for centralrpclog.rb must be updated to be subcollective aware.

Change line 11 to the following:

target = Util.make_target(“centralrpclog”, :command, config.main_collective)

History

#1 Updated by Matt Pascoe about 3 years ago

Found that if the main collective the node emits in is not the same as the the recieving log node then logs dont flow.

Need to update the audit code to use a configured collective to write to. Then as log as the receiving node is part of that collective it can read it.

here are the lines I updated:

            log_collective = Config.instance.pluginconf["centralrpclog.collective"] || config.main_collective
                target = Util.make_target("centralrpclog", :command, log_collective)

#2 Updated by R.I. Pienaar about 3 years ago

  • Status changed from Unreviewed to Closed

fixed in a43a146bbdfe36af5665

Also available in: Atom PDF