Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[noble] syslog release breaks rsyslog #361

Open
Tracked by #892
ramonskie opened this issue Jun 28, 2024 · 4 comments
Open
Tracked by #892

[noble] syslog release breaks rsyslog #361

ramonskie opened this issue Jun 28, 2024 · 4 comments

Comments

@ramonskie
Copy link
Contributor

in syslog_storer in the syslog release
it overwrite rsyslog see: https://github.com/cloudfoundry/syslog-release/blob/main/jobs/syslog_storer/templates/rsyslog.conf.erb

this causes rsyslog to fail.
it seems to have to do with write permissions.

as we had also problems with writing the bosh-agent logs to the /var/vcap/bosh/log from systemd due to permissions.
and we agreed that logs should be in the logs directory.

more investigation is needed

@ramonskie
Copy link
Contributor Author

noticed when ci tests where failing https://bosh.ci.cloudfoundry.org/teams/stemcell/pipelines/stemcells-ubuntu-noble/jobs/test-stemcells-master-ipv4/builds/47#L667487cc:926

systemctl status rsyslog output:

un 28 09:05:38 b1518270-e300-444b-a56f-e2f356433f53 rsyslogd[5399]: action 'action-8-builtin:omfile' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the reason for suspension.>
Jun 28 09:05:38 b1518270-e300-444b-a56f-e2f356433f53 rsyslogd[5399]: action 'action-8-builtin:omfile' resumed (module 'builtin:omfile') [v8.2312.0 try https://www.rsyslog.com/e/2359 ]
Jun 28 09:05:38 b1518270-e300-444b-a56f-e2f356433f53 rsyslogd[5399]: action 'action-8-builtin:omfile' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the reason for suspension.>
Jun 28 09:05:50 b1518270-e300-444b-a56f-e2f356433f53 rsyslogd[5399]: rsyslogd: file '/var/vcap/data/syslog_storer/buffered/agg_backlog.00000001': open error: Permission denied [v8.2312.0 try https://www.rsyslog.com/e/2433 ]
Jun 28 09:05:50 b1518270-e300-444b-a56f-e2f356433f53 rsyslogd[5399]: file '/var/vcap/data/syslog_storer/buffered/agg_backlog.00000001': open error: Permission denied [v8.2312.0 try https://www.rsyslog.com/e/2433 ]

@ctlong
Copy link
Member

ctlong commented Jun 28, 2024

This reads like rsyslog does not have access to /var/vcap/data/syslog_storer in Noble. Was there a permissions change from Jammy to Noble related to this directory?

@rkoster
Copy link
Contributor

rkoster commented Jul 4, 2024

Nobel stemcells can be found here:

  • storage.googleapis.com/bosh-core-stemcells-candidate/google/bosh-stemcell-0.59-google-kvm-ubuntu-noble-go_agent.tgz
  • storage.googleapis.com/bosh-core-stemcells-candidate/aws/bosh-stemcell-0.59-aws-xen-hvm-ubuntu-noble-go_agent.tgz
  • storage.googleapis.com/bosh-core-stemcells-candidate/azure/bosh-stemcell-0.59-azure-hyperv-ubuntu-noble-go_agent.tgz

Source: https://bosh.ci.cloudfoundry.org/teams/stemcell/pipelines/stemcells-ubuntu-noble/

@ctlong
Copy link
Member

ctlong commented Sep 11, 2024

Sorry, I lost track of this for a while.

❓ Is this error still occurring?
❓ Has the new rsyslog package for Noble been pulled in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Pending Review | Discussion
Development

No branches or pull requests

3 participants