Add check that calculated space to filling not "negative"
To calculate space to filling on root partition to activate rabbit
alarm need to calculate left space on root and take away additional 6M.
If calculated valute less than 0 - skip this action.
Change-Id: I901833d4211789672b6cedd12db80ac8a92f8d5d
Closes-Bug: #1631928
(cherry picked from commit 3faf7d9798cb8a9e11d0642befe592047c56a596)
Reviewed: https:/ /review. openstack. org/414081 /git.openstack. org/cgit/ openstack/ fuel-qa/ commit/ ?id=e7a08c1a213 920816582296554 c7dd9bbdb1c54c
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit e7a08c1a2139208 16582296554c7dd 9bbdb1c54c
Author: Artem Grechanichenko <email address hidden>
Date: Tue Oct 11 12:41:19 2016 +0300
Add check that calculated space to filling not "negative"
To calculate space to filling on root partition to activate rabbit
alarm need to calculate left space on root and take away additional 6M.
If calculated valute less than 0 - skip this action.
Change-Id: I901833d4211789 672b6cedd12db80 ac8a92f8d5d e11d0642befe592 047c56a596)
Closes-Bug: #1631928
(cherry picked from commit 3faf7d9798cb8a9