Bug 1662991 - [RFE] Database restore should not start when evmserverd is running
Summary: [RFE] Database restore should not start when evmserverd is running
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.10.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.0
Assignee: Yuri Rudman
QA Contact: Matouš Mojžíš
Red Hat CloudForms Documentation
URL:
Whiteboard: backup:appliance:console
: 1731185 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-02 16:38 UTC by Matouš Mojžíš
Modified: 2019-12-12 13:35 UTC (History)
6 users (show)

Fixed In Version: 5.11.0.8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-12 13:34:59 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:4199 0 None None None 2019-12-12 13:35:14 UTC

Description Matouš Mojžíš 2019-01-02 16:38:04 UTC
Description of problem:
Tested backup restore in this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1513520

Version-Release number of selected component (if applicable):
5.10.0.28

How reproducible:
Always

Steps to Reproduce:
1. Keep evmserverd running
2. Restore backup from aws s3(or probably any source)

Actual results:
It fails with exception.

Expected results:
appliance_console shouldn't let restore backup when evmserverd is running and should print a warn message about it or should stop evmserverd automatically.

Additional info:

Comment 4 CFME Bot 2019-05-21 21:39:25 UTC
New commit detected on ManageIQ/manageiq-appliance_console/master:

https://github.com/ManageIQ/manageiq-appliance_console/commit/21d7476d86348a3755f9aa405c01550a3d017b8b
commit 21d7476d86348a3755f9aa405c01550a3d017b8b
Author:     Yuri Rudman <yrudman>
AuthorDate: Mon May 20 15:05:55 2019 -0400
Commit:     Yuri Rudman <yrudman>
CommitDate: Mon May 20 15:05:55 2019 -0400

    do not attempt to restore db if evmserverd is running
    https://bugzilla.redhat.com/show_bug.cgi?id=1662991

 lib/manageiq/appliance_console/database_admin.rb | 5 +
 spec/database_admin_spec.rb | 11 +-
 2 files changed, 15 insertions(+), 1 deletion(-)

Comment 6 Matouš Mojžíš 2019-07-10 16:36:41 UTC
Verified in 5.11.0.13. I am not able to restore database when evmserverd server is running.

Comment 7 Yuri Rudman 2019-07-22 11:12:27 UTC
*** Bug 1731185 has been marked as a duplicate of this bug. ***

Comment 9 errata-xmlrpc 2019-12-12 13:34:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:4199


Note You need to log in before you can comment on or make changes to this bug.