Issue #11863 has been reported by Michael Jang.

----------------------------------------
Bug #11863: Errors when the PE 2.0 installer is run a second time
https://projects.puppetlabs.com/issues/11863

Author: Michael Jang
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


I've tried the uninstaller on two RHEL 6 systems. When I've run the installer 
again, responding "Y" to the question on whether to also install MySQL, I got 
varying results -- a fatal error on one system, a non-fatal error on a second 
system.

My assumption is that people who try PE on a "home" lab will start with a 
Puppet master/cloud provisioner, and also install MySQL on a test system. It's 
when they also install MySQL for the first time with the PE installer when they 
may encounter this problem.

I note that the uninstaller does not remove MySQL (even in complete uninstall 
mode with the -d -p switches). With that in mind, an attempt to use the 
puppet-enterprise-installer script a second time with the same answers leads to 
non-fatal errors, based on a now existing MySQL server.

On one system, I got two errors that were effectively "info" level, as the 
installation proceeded to completion.

ERROR 1007 (HY000) at line 2: Can't create database 'console'; database exists
ERROR 1007 (HY000) at line 2: Can't create database 
'console_inventory_service'; database exists)

On a second system, the PE packages were installed, with the following messages:

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
!! ERROR: Existing MySQL server found; can't reset its password.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: 
YES)

which led to the following fatal error:

!! ERROR: Cancelling installation

Odd solution: the fatal error does not happen when "-l logfile" is added to the 
puppet-enterprise-installer script; the installation proceeds to completion. 
I'd add the log file, but it's as if the action overrides the attempt to 
reinstall the MySQL server.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to