| Summary: | AwesomeSpawn::CommandResultError when joining external db via appliance_console, does not start evm process | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Alex Newman <anewman> |
| Component: | Appliance | Assignee: | Nick Carboni <ncarboni> |
| Status: | CLOSED WORKSFORME | QA Contact: | Alex Newman <anewman> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.7.0 | CC: | abellott, anewman, cpelland, jhardy, ncarboni, obarenbo |
| Target Milestone: | GA | ||
| Target Release: | cfme-future | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | db | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-10-25 16:03:27 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: | |
I was able to do this without issues using the 5.7.0.4 build. The steps I followed were as follows: 1. Deploy two appliances (db and app) 2. On db appliance - Configure Database (8) - Create Internal Database (1) - Answer no (N) to the prompt about using the server as an application server. - Follow the prompts 3. On the app appliance - Configure Database (8) - Create Region in External Database (2) - Follow the prompts My guess is that you selected "Join Region in External Database" rather than "Create Region in External Database" Maybe the join region logic needs a more robust check to make sure the database is indeed initialized as a region before connecting ... Alex, can you confirm this works? |
Activating the configuration using the following settings... Host: 10.16.6.133 Username: root Database: vmdb_production Configuration activated successfully. Press any key to continue. /opt/rh/cfme-gemset/gems/awesome_spawn-1.4.1/lib/awesome_spawn.rb:105:in `run!': /bin/systemctl exit code: 1 (AwesomeSpawn::CommandResultError) from /opt/rh/cfme-gemset/gems/linux_admin-0.18.0/lib/linux_admin/common.rb:24:in `run!' from /opt/rh/cfme-gemset/gems/linux_admin-0.18.0/lib/linux_admin/service/systemd_service.rb:21:in `start' from /var/www/miq/vmdb/gems/pending/appliance_console/database_configuration.rb:224:in `block in start_evm' from /var/www/miq/vmdb/gems/pending/appliance_console/database_configuration.rb:224:in `fork' from /var/www/miq/vmdb/gems/pending/appliance_console/database_configuration.rb:224:in `start_evm' from /var/www/miq/vmdb/gems/pending/appliance_console/external_database_configuration.rb:28:in `post_activation' from /var/www/miq/vmdb/gems/pending/appliance_console/database_configuration.rb:49:in `run_interactive' from /var/www/miq/vmdb/gems/pending/appliance_console.rb:461:in `block in <module:ApplianceConsole>' from /var/www/miq/vmdb/gems/pending/appliance_console.rb:108:in `loop' from /var/www/miq/vmdb/gems/pending/appliance_console.rb:108:in `<module:ApplianceConsole>' from /var/www/miq/vmdb/gems/pending/appliance_console.rb:94:in `<main>'