Red Hat OpenStack 5 installation fails with packstack and external DB

Solution In Progress - Updated -

Issue

With packstack from OSP5 beta packages the databases for the different service got created automatically when configure an external DB server and set CONFIG_MYSQL_INSTALL=n .

With the packstack version in RHEL6.5 OSP5 GA the DBs do not get created automatically. We upgraded Packstack to GA version:

openstack-packstack-puppet-2014.1.1-0.36.dev1220.el6ost.noarch
openstack-packstack-2014.1.1-0.36.dev1220.el6ost.noarch
openstack-packstack-doc-2014.1.1-0.36.dev1220.el6ost.noarch

This is how we execute Packstack:

packstack --timeout=1800 --debug --answer-file=packstack.txt

And this is the error we get:

10.1.20.47_keystone.pp:                           [ ERROR ]
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 10.1.20.47_keystone.pp
Error: /Stage[main]/Keystone::Db::Sync/Exec[keystone-manage db_sync]: Failed to call refresh: keystone-manage db_sync returned 1 instead of one of [0]

Environment

  • Red Hat OpenStack 5.0
  • openstack-packstack-2014.1.1-0.36.dev1220.el6ost

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content