#7647 Error message should be more useful while ipa-backup fails for insufficient space
Opened 9 months ago by rcritten. Modified 9 months ago

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1581583

Description of problem:
Default location for backup files is /var/lib/ipa/backup/, if it runs
out of memory backup fails. But the error message on
console is confusing. When you check /var/log/ipabackup.log, you come to know
that there is no memory left.

Version-Release number of selected component (if applicable):
ipa-server-4.5.4-10.el7_5.2.x86_64

How reproducible:
always

Steps to Reproduce:
1. install ipa master

2. $ cd /var/lib/ipa/backup and generate some file to fill the memory like
$ fallocate -l 10G temp.img

3. run ipa-backup

Actual results:
Errno 2] No such file or directory:
'/var/lib/dirsrv/slapd-TESTRELM-TEST/ldif/TESTRELM-TEST-ipaca.ldif'
The ipa-backup command failed. See /var/log/ipabackup.log for more
information

Expected results:
Some useful message regarding insufficient memory.

Additional info:
There is no file at the location for which it is failing when ipa
installed on fresh system:

root@master backup]# ll /var/lib/dirsrv/slapd-TESTRELM-TEST/ldif/
total 0

Metadata Update from @rcritten:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1581583

9 months ago

Login to comment on this ticket.

Metadata