<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
doesn't matter how /var partition is big, diagnostic snapshot still
could occupy all its space if there are lots of logs on slave nodes.
Although, we can try to control disk space usage by snapshot in
shotgun, but IMHO it's much safer to keep all related to logs staff
away from critical system files, so I'm voting for 2nd (b) option.
By the way it will allow us to use hard links for fast copying of
files before creating tarball, because one partition for storing
logs and snapshot will be used.<br>
<br>
Thanks!<br>
<br>
<div class="moz-cite-prefix">On 12.01.16 12:47, Maciej Kwiek wrote:<br>
</div>
<blockquote
cite="mid:CADfAwYPGTXm_T2OY1myb3w92UfGkLRFjUzyLJ42fPU3_0Hgekg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi!
<div><br>
</div>
<div>I need some advice on how to tackle this issue. There is a
bug [1] describing the problem with creating a diagnostic
snapshot. The issue is that /var/log has 100GB available,
while /var (where diagnostic snapshot is being generated -
/var/www/nailgun/dump/fuel-snapshot according to [2]) has 10GB
available, so dumping the logs can be an issue when logs size
exceed free space in /var.</div>
<div><br>
</div>
<div>There are several things we could do, but I am unsure on
which course to take. Should we</div>
<div>a) Allocate more disk space for /var/www (or for whole
/var)?</div>
<div>b) Make the snapshot location share the diskspace of
/var/log?</div>
<div>c) Something else? What?</div>
<div><br>
</div>
<div>Please share your thoughts on this.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Maciej Kwiek</div>
<div><br>
</div>
<div>[1] <a moz-do-not-send="true"
href="https://bugs.launchpad.net/fuel/+bug/1529182">https://bugs.launchpad.net/fuel/+bug/1529182</a></div>
<div>[2] <a moz-do-not-send="true"
href="https://github.com/openstack/fuel-web/blob/2855a9ba925c146b4802ab3cd2185f1dce2d8a6a/nailgun/nailgun/settings.yaml#L717">https://github.com/openstack/fuel-web/blob/2855a9ba925c146b4802ab3cd2185f1dce2d8a6a/nailgun/nailgun/settings.yaml#L717</a></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Artem Panchenko
QA Engineer</pre>
</body>
</html>