DevOp - consultant - artisan

Qualité, amélioration continue, agilité, professionnalisme.

Un besoin ? Un projet ? Écrivez moi !

Jenkins log is huge, dns log errors …

If like me you have the bad surprise to have a full partition on your disk, with the consequences we can imagine, you perhaps found that Jenkins have a log file outrageously big…

Full of:

[DNSQuestion@809381925 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]

After a quick research it is really Jenkins fault because of an annoying bug :

Jenkins dns error log bug

As you can see it’s an old bug:


And since it’s minor no one seams to work on it…

Workaround here, thanks as always to the stackoverflow community 😉

You can disable the logging of these DNS errors by adjusting the logging settings within Jenkins.

From the Jenkins web interface go to:

 Manage Jenkins -> System Log -> Log Levels (on the left)
Add the following entry:

Name: javax.jmdns

Level: off
This way you can keep the Multicast DNS feature but without all the logging data.

And to claim your space on your disk 😉


udev               3,9G       0  3,9G   0% /dev
tmpfs              803M     79M  724M  10% /run
/dev/xvda2          54G     54G     0 100% /
tmpfs              4,0G       0  4,0G   0% /dev/shm
tmpfs              5,0M       0  5,0M   0% /run/lock
tmpfs              4,0G       0  4,0G   0% /sys/fs/cgroup
service jenkins stop
rm /var/log/jenkins/jenkins.log
df -h #to check your space left


udev               3,9G       0  3,9G   0% /dev
tmpfs              803M     79M  724M  10% /run
/dev/xvda2          54G     13G   39G  25% /
tmpfs              4,0G       0  4,0G   0% /dev/shm
tmpfs              5,0M       0  5,0M   0% /run/lock
tmpfs              4,0G       0  4,0G   0% /sys/fs/cgroup

Feels good !


Using mylvmbackup, debian 9 with mariadb

If you run mylvmbackup with mariadb on debian9 with the defaults values, you will have this:


But it is a symlink pointing to :


And mylvmbackup can’t work with that:

Could not copy /etc/mysql/my.cnf to /var/cache/mylvmbackup/mnt/backup-cnf-20171025_151739_mysql: File exists

Here is a bug report mylvmbackup symlink my.cnf


You just need to setup the mycnf as follow, in the /etc/mylvmbackup.conf or directly in the command line (with –mycnf= ):


Done ! Now mylvmbackup stop complaining 🙂



2 options to install elasticsearch plugins with ansible

Little post today, to remember, if you want to install plugins for elasticsearch with ansible (or others automation tool) you need to pass:

--batch --silent

According to the –help option:

Option Description
------ -----------
-E <KeyValuePair> Configure a setting
-b, --batch Enable batch mode explicitly, automatic confirmation of
security permission
-h, --help show help
-s, --silent show minimal output
-v, --verbose show verbose output
help for elasticsearch plugin install

Here my ansible task:

# install x-pack for elasticsearch
- name: Install x-pack for elasticsearch
  command: bin/elasticsearch-plugin install x-pack --silent --batch
      chdir: /usr/share/elasticsearch
ansible task install x-pack elasticsearch

And to install x-pack in Kibana:

# install x-pack for kibana
- name: Install x-pack for kibana
  command: bin/kibana-plugin install x-pack --silent
      chdir: /usr/share/kibana


As always improvements en comments are welcome 🙂