Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 889269

Summary: Openstack Installer: packstack dev255 mysql error while installing openstack
Product: Red Hat OpenStack Reporter: Nir Magnezi <nmagnezi>
Component: openstack-packstackAssignee: Derek Higgins <derekh>
Status: CLOSED WORKSFORME QA Contact: Nir Magnezi <nmagnezi>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.0 (Folsom)CC: aortega, ykaul
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-16 00:06:54 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: 852064    
Attachments:
Description Flags
packstack log (DEBUG mode) none

Description Nir Magnezi 2012-12-20 16:38:52 UTC
Description of problem:
=======================
packstack dev255 mysql error while installing openstack.


Version-Release number of selected component (if applicable):
=============================================================
Folsom.
Packstack ver: openstack-packstack-2012.2.2-0.1.dev255.el6.noarch


How reproducible:
=================
100%


Steps to Reproduce:
===================
1. Use packstack dev255 to install openstack. the instillation must be distributed (multiple nodes) - See the answer file I used attached.
2. 
 
Actual results:
===============
Installation fails with the following ERROR:

Testing if puppet apply is finished : 10.35.171.192_mysql.pp.log                          [ ERROR ]
Error during puppet run : err: Could not prefetch database_grant provider 'mysql': Execution of '/usr/bin/mysql --defaults-file=/root/.my.cnf mysql -Be describe user' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)



Expected results:
=================
Openstack should be installed with no errors.


Additional Info:
================
answer file attached.

Comment 1 Nir Magnezi 2012-12-20 16:41:05 UTC
Created attachment 666788 [details]
packstack log (DEBUG mode)

Comment 3 Derek Higgins 2012-12-21 14:06:18 UTC
I have only been able to reproduce this if trying to rerun packstack after uninstalling mysql.

For the moment is looks like a side effect for manually cleaning mysql off the mysql host and running packstack again against the same host.

I'll investigate a bit further but, one thing I have noted is that you shouldn't remove the file /etc/my.conf when uninstalling mysql-server, this file belongs to the package mysql-libs.

Comment 4 Derek Higgins 2013-01-16 00:06:54 UTC
I havn't been able to reproduce this, closing it, please reopen if the problem occurs again.