Unwanted cloud-init data written to syslog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Undecided
|
Unassigned |
Bug Description
This issue is specific to AWS Ubuntu instances. Upon initial launch at the end of the cloud-init run I launch a secondary configuration management tool (Chef) that writes configs, keys, and secrets to it's chef-config.log. Unfortunately; since Chef is wrapped in cloud-init the information is captured in standard out and copied to the cloud-init.log and the ubuntu syslog. We then log all of our information to an aggregator. The concern is that I would like to share the syslog since it contains other data with software engineers and other operations people. I'm unable to do this and have to isolate the chef log, cloud-init log and the syslog. Not optimal.
I think the problem lies somewhere in here.
https:/
"By default, cloud-init uses the logging configuration provided in /etc/cloud/
https:/
Hi,
Thanks for filing the bug. Are you using the cloud-init chef module? or are you using runcmd to execute chef directly?
Do you have an example of (with any secrets redacted) of the output you see in syslog that you would prefer not to see?