The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
centralrpclog does not support subcollectives
|Keywords:||Affected mCollective version:|
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.
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)
#1 Updated by Matt Pascoe almost 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)