[puppet4] keystone db creation fails during master node bootstrap

Bug #1667677 reported by Nikita Karpin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Nikita Karpin

Bug Description

When running master node bootstrap with puppet4 fuel::postgresql task fails with errors:

Error: /Stage[main]/Fuel::Postgresql/Postgresql::Server::Db[ostf]/Postgresql::Server::Role[ostf]/Postgresql_psql[CREATE ROLE "ostf" ENCRYPTED PASSWORD 'jMdVjpcZna1yZIe2AazSrsX3' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER CONNECTION LIMIT -1]: Could not evaluate: undefined method `exitcode' for [" 0\n\n", #<Process::Status: pid 16906 exit 0>]:Array

Error: /Stage[main]/Fuel::Postgresql/Postgresql::Server::Db[ostf]/Postgresql::Server::Database[ostf]/Postgresql_psql[Check for existence of db 'ostf']: Could not evaluate: undefined method `exitcode' for [" 0\n\n", #<Process::Status: pid 16902 exit 0>]:Array

Error: /Stage[main]/Fuel::Postgresql/Postgresql::Server::Db[keystone]/Postgresql::Server::Database[keystone]/Postgresql_psql[Check for existence of db 'keystone']: Could not evaluate: undefined method `exitcode' for [" 0\n\n", #<Process::Status: pid 16894 exit 0>]:Array

Nikita Karpin (mkarpin)
Changed in fuel:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Nikita Karpin (mkarpin)
milestone: none → 11.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/437895

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/437895
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=02eca86504053f11edb98293a03dd65486dbd568
Submitter: Jenkins
Branch: master

commit 02eca86504053f11edb98293a03dd65486dbd568
Author: Mykyta Karpin <email address hidden>
Date: Fri Feb 24 15:20:43 2017 +0200

    [puppet4] Bump postgresql version

    puppetlabs-posgresql 4.1.0 is very old version, it doesn't support
    puppet4.

    Change-Id: I63303c4173e92d230479f50104b2cb70ee647ebf
    Closes-Bug: #1667677

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.