Bug 826977

Summary: [openstack-db][remote-db] fails to init service db without its packages installed.
Product: [Fedora] Fedora EPEL Reporter: David Naori <dnaori>
Component: openstack-utilsAssignee: Pádraig Brady <p>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: apevec, Jan.van.Eldik, p, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 831715 (view as bug list) Environment:
Last Closed: 2012-10-10 14:39:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 831715    

Description David Naori 2012-05-31 11:07:13 UTC
Description of problem:

When trying to setup a remote db for openstack services - 
openstack-db --init --service `service`
fails to init the db without having the service packages installed.

it tries to run `service`-manage db_sync and fails:

Creating 'nova' database.
Asking openstack-nova to sync the database.
runuser: user nova does not exist
ERROR 1146 (42S02) at line 1: Table 'nova.migrate_version' doesn't exist
Final sanity check failed.
Please file a bug report on bugzilla.redhat.com against the openstack-nova package.

*Remote db functionality should be added to openstack-db.

Version-Release number of selected component (if applicable):
openstack-utils-2012.1-2.el6.noarch

Comment 1 Pádraig Brady 2012-10-10 14:39:40 UTC
It was decided to add support for distributed installs only to:
https://github.com/derekhiggins/os-installer
This will be added to Fedora/EPEL soon.