<html><body>
<pre>[ https://ovirt-jira.atlassian.net/browse/OVIRT-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=35345#comment-35345 ]</pre>
<h3>Barak Korren edited comment on OVIRT-1763 at 11/15/17 2:36 PM:</h3>
<p>[~ederevea] OST uses a simple check to determine if to run in RAM or not:</p>
<p>{code} # if above RAM_THRESHOLD KBs are available in /dev/shm, run there RAM_THRESHOLD=15000000</p>
<p># &hellip;</p>
<p>get_run_path() {</p>
<pre>local avail_shm
avail_shm=$(df --output=avail /dev/shm | sed 1d)
[[ "$avail_shm" -ge "$RAM_THRESHOLD" ]] &amp;&amp; \
    mkdir -p "/dev/shm/ost" &amp;&amp; \
    echo "/dev/shm/ost/deployment-$SUITE" || \
    echo "$PWD/deployment-$SUITE"</pre>
<p>} {code}</p>
<p>This seems to be 15G so we need to figure out why wasn't this available when these lines ran (These lines are amount the very first things that run when an OST suit starts up, so its unlikely to be cause by anything the suit is doing)</p>
<p>Code quoted above is part of &lsquo;{{automation/suit.sh}}&rsquo; in OST: <a href="https://gerrit.ovirt.org/gitweb?p=ovirt-system-tests.git;a=blob;f=automation/suite.sh;hb=refs/heads/master#l28">https://gerrit.ovirt.org/gitweb?p=ovirt-system-tests.git;a=blob;f=automation/suite.sh;hb=refs/heads/master#l28</a></p>
<p>was (Author: bkorren@redhat.com): [~ederevea] OST uses a simple check to determine if to run in RAM or not:</p>
<p>{code} # if above RAM_THRESHOLD KBs are available in /dev/shm, run there RAM_THRESHOLD=15000000</p>
<p># &hellip;</p>
<p>get_run_path() {</p>
<pre>local avail_shm
avail_shm=$(df --output=avail /dev/shm | sed 1d)
[[ "$avail_shm" -ge "$RAM_THRESHOLD" ]] &amp;&amp; \
    mkdir -p "/dev/shm/ost" &amp;&amp; \
    echo "/dev/shm/ost/deployment-$SUITE" || \
    echo "$PWD/deployment-$SUITE"</pre>
<p>} {code}</p>
<p>This seems to be 15G so we need to figure out why wasn't this available when these lines ran (These lines are amount the very first things that run when an OST suit starts up, so its unlikely to be cause by anything the suit is doing)</p>
<blockquote><h3>Increase entropy for hosts</h3>
<pre>     Key: OVIRT-1763
     URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1763
 Project: oVirt - virtualization made easy
         Issue Type: Bug
Reporter: Dafna Ron
Assignee: infra</pre>
<p>we had a failure in ost that was really hard to debug: <a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/3795/">http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/3795/</a> There are no failures in the logs and the test itself was terminated by a timeout. It took the vms a long time to download packages and install and didi seems to think that this is due to limited entropy on the physical host. we need to review this issue and increase the entropy on the hosts.</p></blockquote>
<p>&mdash; This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100071)</p>

<img src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpSp2-2BCmpYLyzYS3r1Q939T2sgz2K2qP2BkXyWEsN7YyHJpD5ce9VOoJNm-2Banqln8WWXd5c0Au3DlqdVsomGiK0PeFtZj8iJWMmChthXo40Cf69nr4OWVAz8AuK9g5QPJphPHaatLUbZwrf70wZL9wl94L4xJAakCZltM317QaGswUAqUzYvDTfF68O3hcwlmoRTiCUyTU8QgCMKYOLz-2FJpIlCbg-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>