Issue
It is not possible to create a CJE support bundle and we need to review the logs from a worker/controller.
Environment
- CloudBees Jenkins Enterprise - AWS/OpenStack/Anywhere
Resolution
Access to the worker/controller and compress the log files into a tar.xz file.
dna connect worker-1
sudo tar -chJf /tmp/logfiles.tar.xz /var/log/syslog /var/log/syslog.1 /var/log/messages /var/log/messages.1 /var/log/kern.log /var/log/cloud-init.log /var/log/cloud-init-output.log /var/log/mesos/ /var/log/zookeeper/zookeeper.log /var/lib/mesos/slaves /var/log/router
sudo chmod ugo+r /tmp/logfiles.tar.xz
exit
download the generated file
dna copy -rs /tmp/logfiles.tar.xz . worker-1
finally, remove the compressed file.
dna connect worker-1
sudo rm /tmp/logfiles.tar.xz
exit
0 Comments