<div dir="ltr">Thanks for your insight guys!<div><br></div><div>I agree with Oleg, I will see what I can do to make this work this way.</div><div><br></div><div>About hardlinks - wouldn't it be better to use symlinks? This way we don't occupy more space than necessary, and we can link to files and directories that are in other block device than /var. Please see [1] review for a proposed change that introduces symlinks.</div><div><br></div><div>This doesn't really give us much right now, because most of the logs are fetched from master node via ssh due to shotgun being run in mcollective container, but it's something! When we remove containers, this will prove more useful.</div><div><br></div><div>Regards,</div><div>Maciej Kwiek</div><div><br></div><div>[1] <a href="https://review.openstack.org/#/c/266964/">https://review.openstack.org/#/c/266964/</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 12, 2016 at 1:51 PM, Oleg Gelbukh <span dir="ltr"><<a href="mailto:ogelbukh@mirantis.com" target="_blank">ogelbukh@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I think we need to find a way to:<div><br></div><div>1) verify the size of snapshot without actually making it and compare to the available disk space beforehand.</div><div>2) refuse to create snapshot if space is insufficient and notify user (otherwise it breaks Admin node as we have seen)</div><div>3) provide a way to prioritize elements of the snapshot and exclude them based on the priorities or user choice.</div><div><br></div><div>This will allow for better and safer UX with the snapshot.</div><div><br></div><div>--</div><div>Best regards,</div><div>Oleg Gelbukh</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Jan 12, 2016 at 1:47 PM, Maciej Kwiek <span dir="ltr"><<a href="mailto:mkwiek@mirantis.com" target="_blank">mkwiek@mirantis.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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 href="https://bugs.launchpad.net/fuel/+bug/1529182" target="_blank">https://bugs.launchpad.net/fuel/+bug/1529182</a></div><div>[2] <a href="https://github.com/openstack/fuel-web/blob/2855a9ba925c146b4802ab3cd2185f1dce2d8a6a/nailgun/nailgun/settings.yaml#L717" target="_blank">https://github.com/openstack/fuel-web/blob/2855a9ba925c146b4802ab3cd2185f1dce2d8a6a/nailgun/nailgun/settings.yaml#L717</a></div></div>
<br></div></div><span class="">__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></span></blockquote></div><br></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>