Bug 1478986 - [RFE] create database.yml when creating a dedicated database to allow local migrations when upgrading
Summary: [RFE] create database.yml when creating a dedicated database to allow local m...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 5.10.0
Assignee: Gregg Tanzillo
QA Contact: luke couzens
URL:
Whiteboard: black:upgrade:migration
Depends On:
Blocks: 1590846
TreeView+ depends on / blocked
 
Reported: 2017-08-07 16:01 UTC by luke couzens
Modified: 2019-02-11 13:54 UTC (History)
5 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1590846 (view as bug list)
Environment:
Last Closed: 2019-02-11 13:54:06 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description luke couzens 2017-08-07 16:01:39 UTC
Description of problem:Create database.yml when creating a dedicated database to allow local migrations when upgrading


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


How reproducible:100%


Steps to Reproduce:
1.provision 2 pre 5.8 cfme appliances
2.setup one dedicated db
3.create external database with secondary appliance
4.add update.repo to /ect/yum.repo.d/ on both appliances
5.stop evm on non database appliance
6.run yum update
7.run vmdb on database appliance
8.run db:migrate on dedicated db appliance

Actual results:Fails due to none existent database.yml 


Expected results:Migration completes successfully


Additional info:
In order to run migration of external db it is necessary to run rake tasks from the external cfme appliance (non-database appliance)

Comment 2 Nick Carboni 2018-05-24 19:36:10 UTC
This was fixed in https://github.com/ManageIQ/manageiq-appliance_console/pull/38 as a part of the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1561075

Moving this to POST.

Comment 4 luke couzens 2018-06-15 14:50:27 UTC
Verified in 5.10


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