Packstack error

asked 2015-08-04 07:34:45 -0500

Vasja Pupkin gravatar image

Hello Everyone, Tried run on Fedora21 server of new node installation through packstack, but got the following error about puppet manifest.

 2015-08-03 10:29:31::ERROR::run_setup::1018::root:: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/", line 993, in main
    single_step_aio_install(options, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/", line 761, in single_step_aio_install
    single_step_install(options, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/", line 792, in single_step_install
    _main(options, answerfilepath, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/", line 655, in _main
  File "/usr/lib/python2.7/site-packages/packstack/installer/", line 626, in runSequences
  File "/usr/lib/python2.7/site-packages/packstack/installer/", line 81, in runAllSequences, messages=self.MESSAGES)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/", line 109, in run, messages=messages)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/", line 50, in run
    self.function(config, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/", line 210, in apply_puppet_manifest
    wait_for_puppet(currently_running, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/", line 124, in wait_for_puppet
  File "/usr/lib/python2.7/site-packages/packstack/modules/", line 107, in validate_logfile
    raise PuppetError(message)
PuppetError: Error appeared during Puppet run: public_ip_mariadb.pp
Error: Could not prefetch mysql_user provider 'mysql': Execution of '/usr/bin/mysql -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
edit retag flag offensive close merge delete


Hi, please ensure you have set a proper hostname. Also please tell whether you are running the command packstack --allinone or simply running the answer file with packstack --answer‐file=packstack‐answer.txt

Praveen N gravatar imagePraveen N ( 2015-08-05 02:08:48 -0500 )edit