<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style id="mysingle_style" type="text/css">
<!--
.search-word
        {background-color:#ffee94}
p
        {margin-bottom:5px;
        font-size:11pt;
        font-family:Arial,arial;
        margin-top:5px}
td
        {margin-bottom:5px;
        font-size:11pt;
        font-family:Arial,arial;
        margin-top:5px}
li
        {margin-bottom:5px;
        font-size:11pt;
        font-family:Arial,arial;
        margin-top:5px}
body
        {font-size:11pt;
        font-family:Arial,arial}
-->
</style><style id="knox_style" type="text/css">
<!--
p
        {margin-bottom:5px;
        font-size:11pt;
        font-family:Arial,arial;
        margin-top:5px}
-->
</style><style id="knox_style" type="text/css">
<!--
p
        {margin-bottom:5px;
        font-size:11pt;
        font-family:Arial,arial;
        margin-top:5px}
-->
</style>
</head>
<body style="overflow:auto">
<div dir="ltr">Wow. I didn't know you could copy a file to a non-running container! That's handy to know. I'm glad you were able to find a workaround. We should add that to our docket tips page: http://fuegotest.org/wiki/Docker_Tips</div>
<br>
<div dir="ltr">- - Tim </div>
<br>
<br>
<div dir="ltr">-------- Original Message --------</div>
<div dir="ltr">Subject: RE: RE: RE: [Fuego] Fuego docker container size keeps growing and hits maximum storage capacity</div>
<div dir="ltr">From: Dhinakar Kalyanasundaram &lt;dhinakar.k@samsung.com&gt;</div>
<div dir="ltr">Date: Nov 16, 2018, 3:43 AM</div>
<div dir="ltr">To: &quot;Bird, Timothy&quot; &lt;Tim.Bird@sony.com&gt;,fuego@lists.linuxfoundation.org</div>
<div>
<p></p>
<p>Hi Tim,</p>
<p>&nbsp;</p>
<p>Just an update to the issue that I mentioned at the end of my email.</p>
<p>I was able to find a way to fix the issue that I made because of which the container was not starting.</p>
<p>I got the container id via 'docker ps -a' command and&nbsp;replaced the 'etc/default/jenkins' file with the working one using 'docker cp' command as shown below.</p>
<p>Then I was able to start the docker container successfully.</p>
<p>&nbsp;</p>
<p>$ sudo docker cp jenkins 6b4e6e63rfg7:/etc/default/</p>
<p>&nbsp;</p>
<p>Regards,</p>
<p>Dhinakar</p>
<p></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>--------- <b>Original Message</b> ---------</p>
<p><b>Sender</b> : Dhinakar Kalyanasundaram&nbsp;&lt;dhinakar.k@samsung.com&gt;&nbsp;Staff Engineer/FDS SW /SSIR/Samsung Electronics</p>
<p><b>Date</b> : 2018-11-14 18:57 (GMT&#43;5:30)</p>
<p><b>Title</b> : RE: RE: [Fuego] Fuego docker container size keeps growing and hits maximum storage capacity</p>
<p><b>To : </b>null&lt;Tim.Bird@sony.com&gt;, null&lt;fuego@lists.linuxfoundation.org&gt;</p>
<p><b>CC : </b>Dhinakar Kalyanasundaram&lt;dhinakar.k@samsung.com&gt;</p>
<p>&nbsp;</p>
<p></p>
<p>Hi Tim,</p>
<p><span style="font-size:11pt; font-family:'Arial'"></span>&nbsp;</p>
<p><span style="font-size:11pt; font-family:'Arial'">I have disabled 'DNSMultiCast' temporarily&nbsp;via Manage Jenkins -&gt; System Log -&gt; Log Levels (on the left)<br>
and also deleted the /var/log/jenkins/jenkins.log file.</span></p>
<p><span style="font-size:11pt; font-family:'Arial'">I&nbsp;tried a few things to permanently disable 'DNSMultiCast' inside the container (/etc/default/jenkins file)</span></p>
<p><span style="font-size:11pt; font-family:'Arial'">Add the below JAVA_ARGS and restarted fuego but did not see it getting added under
<a href="http://107.108.34.124:8080/fuego/systemInfo">http://107.108.34.124:8080/fuego/systemInfo</a></span></p>
<p><font face="Courier New"><span style="font-size:11pt; font-family:'Arial'">JAVA_ARGS=&quot;-Djava.awt.headless=true -Dhudson.DNSMultiCast.disabled=true&quot;</span></font></p>
<p><font face="Courier New"><span style="font-size:11pt; font-family:'Arial'"></span></font>&nbsp;</p>
<p><font face="Courier New"><span style="font-size:11pt; font-family:'Arial'">I also tried -&gt;
</span></font><font face="Courier New" style="font-size:11pt; font-family:'Arial'"><span style="font-size:11pt; font-family:'Arial'">JAVA_ARGS=&quot;</span>-Dhudson.DNSMultiCast.disabled=true&quot; but did not work. Only Manage Jenkins -&gt; System Log -&gt; Log Levels (on
 the left) works.</font></p>
<p>Is there any way to permanently disable it within the container, so that each time I restart the container I don't have to do this -&gt; Manage Jenkins -&gt; System Log -&gt; Log Levels (on the left)<br>
</p>
<p>Also, I tried setting the timezone to 'Asia/Kolkata' in /etc/default/jenkins file (add below arguments)&nbsp;but it also never gets updated</p>
<p><span style="font-size:11pt; font-family:'Arial'">JAVA_ARGS=&quot;-Dorg.apache.commons.jelly.tags.fmt.timeZone=Asia/Kolkata&quot;</span></p>
<p>Please let me know how to set timezone permanent as well.</p>
<p>&nbsp;</p>
<p>Basically I want to keep everything updated in the container so that I can easily port it across machines.</p>
<p>&nbsp;</p>
<p>During the whole process there was an interesting&nbsp;observation detailed below.</p>
<p>To edit timezone to 'Asia/Kolkata' I tried many things in /etc/default/jenkins file.</p>
<p>In one such case, I appended the below phrase to 'JENKINS_ARGS'&nbsp;in /etc/default/jenkins file, which seems erroneous,</p>
<p>JENKINS_ARGS=&quot;--webroot=/var/cache/jenkins/war --httpPort=8080 --prefix=/storm
<span style="color:#ff0000">--Dorg.apache.commons.jelly.tags.fmt.timeZone=Asia/Kolkata</span>&quot;</p>
<p>saved the file,&nbsp;exited fuego, and tried to restart the container but it failed to start as shown below,</p>
<p>&nbsp;</p>
<p><a href="mailto:dhinakar@userl2:~/fuego$">dhinakar@userl2:~/fuego$</a> ./fuego-host-scripts/docker-start-container.sh fuego-docker-container-12thNov2018</p>
<p>Starting Fuego container (fuego-docker-container-12thNov2018)<br>
[FAIL] Starting Jenkins Continuous Integration Server: jenkins failed!<br>
Please create Fuego docker container via docker-create-container.sh script</p>
<p>&nbsp;</p>
<p>So the question is, if we make such mistake to /etc/default/jenkins file and not able to start the container, is there a way to fix it from outside the container?</p>
<p>Because in my case I&nbsp;had to create a new container, so lost all changes done inside my previous container.<br>
</p>
<p>Regards,</p>
<p>Dhinakar</p>
<p></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>--------- <b>Original Message</b> ---------</p>
<p><b>Sender</b> : Tim.Bird@sony.com&nbsp;&lt;Tim.Bird@sony.com&gt;</p>
<p><b>Date</b> : 2018-11-14 13:13 (GMT&#43;5:30)</p>
<p><b>Title</b> : RE: [Fuego] Fuego docker container size keeps growing and hits maximum storage capacity</p>
<p><b>To : </b>Tim.Bird@sony.com, Dhinakar Kalyanasundaram&lt;dhinakar.k@samsung.com&gt;, fuego@lists.linuxfoundation.org</p>
<p>&nbsp;</p>
<pre>This seems like a band-aid rather than a fix, but here's some information
about turning down the logging for Jenkins.  A proper fix would be to figure
out what error in your networking setup is causing the DNS errors, and fix
that.  But disabling logging might help.

Here's the logging level fix:
https://stackoverflow.com/questions/31719756/how-to-stop-jenkins-log-from-becoming-huge

See the last answer in that thread.  It has a workaround to turn off DNSMultiCast,
which might be the cause of the problem.
 --  Tim



&gt; &gt; -----Original Message-----
...

&gt; 
&gt; Looks like it could be related to this bug in Jenkins, having to do with
&gt; multicast:
&gt; https://issues.jenkins-ci.org/browse/JENKINS-25369
&gt; 
&gt; I would truncate the log file, stop the container, and see if there's some way
&gt; to
&gt; disable DNSMultiCast.  Something appears to have gone wrong with your
&gt; network
&gt; configuration.  It could be the docker virtual network, or maybe something
&gt; has
&gt; changed about your physical networks.
&gt; 
&gt;  -- Tim
&gt; 
&gt; _______________________________________________
&gt; Fuego mailing list
&gt; Fuego@lists.linuxfoundation.org
&gt; https://lists.linuxfoundation.org/mailman/listinfo/fuego
</pre>
<table id="confidentialsignimg">
<tbody>
<tr>
<td>
<p><img border="0" src="cid:XOK0LK7CT9SZ@namo.co.kr"></p>
</td>
</tr>
</tbody>
</table>
<img src="http://ext.samsung.net/mail/ext/v1/external/status/update?userid=dhinakar.k&amp;do=bWFpbElEPTIwMTgxMTE2MTE0MjQ4ZXBjbXM1cDhhYzYzMmIyNzY0ZjI0MmQzZTk4ODFlY2Y0YzhlMTcwMSZyZWNpcGllbnRBZGRyZXNzPVRpbS5CaXJkQHNvbnkuY29t" border="0" width="0" height="0" style=""></div>
</body>
</html>