-
Notifications
You must be signed in to change notification settings - Fork 1k
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
containers: improve logging #4166
Conversation
f08406f
to
bf516c8
Compare
sosreport does not export logs from journald, so the idea here is to have an alternative to retrieve logs in a containerized context. Related ceph-ansible PR: ceph/ceph-ansible#4166 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1710548 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
sosreport does not export logs from journald, so the idea here is to have an alternative to retrieve logs in a containerized context. Related ceph-ansible PR: ceph/ceph-ansible#4166 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1710548 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
sosreport does not export logs from journald, so the idea here is to have an alternative to retrieve logs in a containerized context. Related ceph-ansible PR: ceph/ceph-ansible#4166 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1710548 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
sosreport does not export logs from journald, so the idea here is to have an alternative to retrieve logs in a containerized context. Related ceph-ansible PR: ceph/ceph-ansible#4166 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1710548 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
sosreport does not export logs from journald, so the idea here is to have an alternative to retrieve logs in a containerized context. Related ceph-ansible PR: ceph/ceph-ansible#4166 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1710548 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit d6d1d9c)
sosreport does not export logs from journald, so the idea here is to have an alternative to retrieve logs in a containerized context. Related ceph-ansible PR: ceph/ceph-ansible#4166 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1710548 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit d6d1d9c)
bf516c8
to
286d9b3
Compare
jenkins test pipeline |
job failed because of a vagrant error:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember if we need the z
flag for this bind mount. wdyt ?
bindmount /var/log/ceph on all containers so it's possible to retrieve logs from the host. related ceph-container PR: ceph/ceph-container#1408 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1710548 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
286d9b3
to
012788c
Compare
jenkins test pipeline |
2 similar comments
jenkins test pipeline |
jenkins test pipeline |
jenkins test dev-centos-non_container-lvm_auto_discovery |
unrelated CI failure |
@guits can this get backported to 3.x? |
sosreport does not export logs from journald, so the idea here is to have an alternative to retrieve logs in a containerized context. Related ceph-ansible PR: ceph/ceph-ansible#4166 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1710548 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit d6d1d9c)
related ceph-container PR: ceph/ceph-container#1408
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1710548
Signed-off-by: Guillaume Abrioux gabrioux@redhat.com