<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">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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>__________________________________________________________________________<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>