core:Use proper percentage calculation for storage.

Calculate the storage free percentage space correctly, using double
as return value.

Related-to: https://bugzilla.redhat.com/856201
Change-Id: Ic9c03538a4c6173bd8eb5c0f35f665659afcff2d
Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
core: Switch between percentage and space validation.

The validation today validates storage free space in a method called
check percentage free space and vise versa, these method names should be
switched.

Also use the calculation introduced in change id
Ic9c03538a4c6173bd8eb5c0f35f665659afcff2d for this validation.

Change-Id: I4612035dc5e93c7dea872b23d274724154530395
Related-to: https://bugzilla.redhat.com/856201
Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
core: Rename wrong method name.

The method which checked if there is enough space in the storage was called
as if it was checking whether there is not enough storage space.

Change-Id: Ifa8bf68d35181fde5f2a5ef813d65b3653505411
Related-to: https://bugzilla.redhat.com/856201
Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>
core: Use audit log instead block.

Validation of percentage free space in domain should not block
operations on the domain but only use audit log.

The audit log is already being printed as part of the IRSBrokerCommand
quartz mechanism for storage domains.

Bug-Url: https://bugzilla.redhat.com/856201
Change-Id: Ia910b83d4dedefc9c22d0c30bc099fa5fb628355
Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>