Bug 1389080

Summary: New application_console step for database initialization is confusing and unrecoverable
Product: Red Hat CloudForms Management Engine Reporter: Mike Dahlgren <mdahlgre>
Component: ApplianceAssignee: Keenan Brock <kbrock>
Status: CLOSED CURRENTRELEASE QA Contact: luke couzens <lcouzens>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: abellott, clasohm, cpelland, jhardy, kbrock, obarenbo
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: black
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1394940 (view as bug list) Environment:
Last Closed: 2017-06-12 16:07:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1394940    

Description Mike Dahlgren 2016-10-26 19:38:48 UTC
Description of problem:

When initializing the database on a fresh CloudForms install, there is a new step(question) that is confusing and if answered incorrectly requires the appliance to be deleted and recreated.  

The question is "Do you also want to use this server as an application server?" Y/N

If the user enters in "N" then only the database is setup and any attempt to start the EVM service in the future will error.  

It should read something like "Will this server be used as only a database instance (If unsure choose N)


As of CF 5.7 beta1 when a 

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


How reproducible: 100%


Steps to Reproduce:
1. Start a new CloudForms appliance
2. In Application_console, choose option "#8 Configure Database"
3. Choose "#1 Create Internal Database"
4. Choose whatever partion
5. Read text and don't choose incorrectly.

Actual results:
User is asked the question listed previously.

Expected results:
Installation message would be clearer (as described previously)

Additional info:

Comment 2 Mike Dahlgren 2016-10-26 21:06:31 UTC
Following is a pull-request to clarify the question:

https://github.com/ManageIQ/manageiq/pull/12226

Comment 3 Keenan Brock 2016-10-27 14:48:46 UTC
Clarifying the question here:

https://github.com/ManageIQ/manageiq/pull/12246

Comment 4 CFME Bot 2016-11-01 16:21:08 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/53aae63039cc9f9b521040de80272b4cb583eadd

commit 53aae63039cc9f9b521040de80272b4cb583eadd
Author:     Nick Carboni <ncarboni>
AuthorDate: Fri Oct 28 08:53:17 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Tue Nov 1 12:19:41 2016 -0400

    Merge pull request #12246 from kbrock/database_question
    
    Clarify database initialization question
    (cherry picked from commit 6b2baa6198c29e4f2a07756ea6cf8d906a746f47)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1389080

 gems/pending/appliance_console/internal_database_configuration.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 6 Keenan Brock 2016-11-14 18:23:27 UTC
https://github.com/ManageIQ/manageiq/pull/12246

Comment 8 luke couzens 2017-02-28 12:19:07 UTC
Verified in 5.8.0.2