Description of problem: When restoring from NFS using the appliance console option 6 and the evmserverd is running, I can see the error in evm.log: ----] I, [2019-07-18T10:30:19.327877 #29323:11b8f54] INFO -- : MIQ(MiqNfsSession-mount_share) Connecting to host: [10.8.198.142], share: [/srv/export/db_backup/tmp] using mount point: [/tmp/miq_20190718-29323-v3bw4v]... [----] I, [2019-07-18T10:30:19.372294 #29323:11b8f54] INFO -- : MIQ(MiqNfsSession-mount_share) Connecting to host: [10.8.198.142], share: [/srv/export/db_backup/tmp]...Complete [----] I, [2019-07-18T10:30:19.372461 #29323:11b8f54] INFO -- : MIQ(MiqNfsSession-relative_to_mount) mount point [/srv/export/db_backup/tmp], uri: [nfs://10.8.198.142/srv/export/db_backup/tmp/evm_db.backup]... [----] I, [2019-07-18T10:30:19.372602 #29323:11b8f54] INFO -- : MIQ(MiqNfsSession-relative_to_mount) mount point [/srv/export/db_backup/tmp], uri: [nfs://10.8.198.142/srv/export/db_backup/tmp/evm_db.backup]...relative: [evm_db.backup] [----] I, [2019-07-18T10:30:19.373346 #29323:11b8f54] INFO -- : MIQ(MiqNfsSession-download) Copying file [/tmp/miq_20190718-29323-v3bw4v/evm_db.backup] to [#<File:0x000000000235bb80>]... [----] E, [2019-07-18T10:30:19.417997 #29323:11addac] ERROR -- : MIQ(EvmDatabaseOps.prepare_for_restore) Database restore failed. Shut down all evmserverd processes before attempting a database restore I can see no indication that something had failed in the appliance console: Restore Database From Backup Note: A database restore cannot be undone. The restore will use the file: nfs://10.8.198.142/srv/export/db_backup/tmp/evm_db.backup. Are you sure you would like to restore the database? (Y/N): y Restoring the database... *** Hangs forever here*** I also would expect the log lines about restore in the appliance_console log rather in the evm.log Version-Release number of selected component (if applicable): 5.10.7.1 How reproducible: 2/2 Steps to Reproduce: 1. Backup the db to nfs using option 4 2. Try restoring the db from nfs using option 6 without shutting down the evmserverd. 3. Actual results: No progress informatin about the restore. No error. Expected results: * restore operation either shuts down evmserverd and then restores or * error message about that user needs to shut the evmserverd down appears in the apliance_console stderror/stdoutput Some progress information would be great to have. Additional info:
it looks like this BZ is duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1662991
*** This bug has been marked as a duplicate of bug 1662991 ***