Bug 1144124
| Summary: | packstack fails at point of installing keystone following "QuickStart" instructions | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Hutson Meeks <hutson_meeks> | ||||||||
| Component: | openstack-packstack | Assignee: | Martin Magr <mmagr> | ||||||||
| Status: | CLOSED WONTFIX | QA Contact: | Ami Jeain <ajeain> | ||||||||
| Severity: | urgent | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | unspecified | CC: | aortega, derekh, yeylon | ||||||||
| Target Milestone: | --- | Keywords: | ZStream | ||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2014-10-31 00:23:53 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: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Hutson Meeks
2014-09-18 17:51:53 UTC
Created attachment 939001 [details]
keystone.pp.log
Created attachment 939002 [details]
Install Output
The exact same error occurs when attempting to install on a fresh, clean new instance of RHEL 7. In both cases the install was attempted using nothing but RedHat software and following all of the instructions provided by RedHat. The last attempt was conducted following the instructions provided by RedHat here: https://access.redhat.com/products/red-hat-enterprise-linux-openstack-platform/get-started. Also, note the information following the error below that is the output of pack-stack. 192.168.198.129_keystone.pp: [ ERROR ] Applying Puppet manifests [ ERROR ] ERROR : Error appeared during Puppet run: 192.168.198.129_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] You will find full trace in log /var/tmp/packstack/20140924-014607-J0yr8v/manifests/192.168.198.129_keystone.pp.log Please check log file /var/tmp/packstack/20140924-014607-J0yr8v/openstack-setup.log for more information Additional information: * A new answerfile was created in: /root/packstack-answers-20140924-014607.txt * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components. * File /root/keystonerc_admin has been created on OpenStack client host 192.168.198.129. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://192.168.198.129/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. * To use Nagios, browse to http://192.168.198.129/nagios username: nagiosadmin, password: e5bdabd609eb4b0a There are multiple inaccuracies in this output. First, the file named keytstonerc_admin is NOT created as indicated by packstack. Second, dashboard and Nagios are NOT running at the URLs indicated. Additionally, the log files referenced under /var/tmp do not provide information that indicates what the problem is. RDO Openstack 5 simply will not install as RedHat states in the QuickStart and Getting Started instructions when following all of RedHat's instructions and using RedHat software. There is either a bug in the RedHat software that causes the install to fail, or there is a dependency that RedHat has not documented leaving the user confused and not knowing how to get RedHat Openstack installed. Problem solved. There is a MySQL database that many of the components use. The user table in MySQL includes host, user, and password so that users can only authenticate from the specific hosts that are entered in the record rows for their user ID. The packstack installer process for Openstack creates various entries with the loopback address as the host in this table. But, then, later in the install process, it tries to log on to the DB using the shortname of the host, therefore the log on fails. It’s sort of a chicken and egg thing. You have to edit the RedHat provided scripts to resolve this. This is sort of bad because RedHat claims the “all in one” install as a “QuickStart” that only takes 15 minutes as part of an obvious sales/marketing effort but it does not even work! You have to troubleshoot it yourself and figure out how to fix it. There is a catch-22 in this for both RedHat and their customers. This "all in one" install is what many folks will use to initially evaluate the solution before purchase, but it does not work (unless you dig in and fix it and you have the skills to do so). Yet at the same time RedHat will not provide you support because you have not bought the solution. They never responded to this bug. It's like some kind of weird, misguided sales prevention policy of theirs. |