stable/5.0 ISO Creation Execution of '/sbin/service postgresql start' returned 1

Bug #1361383 reported by Tyler Wilson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Dmitry Pyzhov

Bug Description

VERSION:
  feature_groups:
  production: "docker"
  release: "5.0.2"
  api: "1.0"
  astute_sha: "6db5f5031b74e67b92fcac1f7998eaa296d68025"
  fuellib_sha: "8b7c35cb0d9e0a56d74e0071c3c75f55d9d5ab44"
  ostf_sha: "09b6bccf7d476771ac859bb3c76c9ebec9da9e1f"
  nailgun_sha: "d6bc2128651046906fd1a6c64106f9c72ba44b35"
  fuelmain_sha: "0371d0f249153cc4820da7cf222b4993680cf4f6"

On the latest stable/5.0 code I am getting the following PostgreSQL puppet errors (attached is the full build log);

Notice: Compiled catalog for 5cecbeb1290c.240.180.82.rdns.as15003.net in environment production in 0.76 seconds
Info: Loading facts in /etc/puppet/modules/l23network/lib/facter/openvswitch.rb
Info: Loading facts in /etc/puppet/modules/l23network/lib/facter/check_kern_module.rb
Info: Loading facts in /etc/puppet/modules/l23network/lib/facter/fqdn_hostname.rb
Info: Loading facts in /etc/puppet/modules/l23network/lib/facter/default_route.rb
Info: Loading facts in /etc/puppet/modules/l23network/lib/facter/ovs_vlan_splinters.rb
Info: Loading facts in /etc/puppet/modules/nailgun/lib/facter/fuel_version.rb
Info: Loading facts in /etc/puppet/modules/nailgun/lib/facter/generate_fuel_key.rb
Info: Loading facts in /etc/puppet/modules/ceph/lib/facter/cinder_conf.rb
Info: Loading facts in /etc/puppet/modules/ceph/lib/facter/keystone_conf.rb
Info: Loading facts in /etc/puppet/modules/ceph/lib/facter/ceph_osd.rb
Info: Loading facts in /etc/puppet/modules/ceph/lib/facter/nova_compute.rb
Info: Loading facts in /etc/puppet/modules/ceph/lib/facter/ceph_conf.rb
Info: Loading facts in /etc/puppet/modules/ceph/lib/facter/glance_api_conf.rb
Info: Loading facts in /etc/puppet/modules/firewall/lib/facter/iptables_persistent_version.rb
Info: Loading facts in /etc/puppet/modules/firewall/lib/facter/ip6tables_version.rb
Info: Loading facts in /etc/puppet/modules/firewall/lib/facter/iptables_version.rb
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /etc/puppet/modules/nagios/lib/facter/mountpoints.rb
Info: Loading facts in /etc/puppet/modules/nagios/lib/facter/disks.rb
Info: Loading facts in /etc/puppet/modules/puppet/lib/facter/hostcert.rb
Info: Loading facts in /etc/puppet/modules/puppet/lib/facter/puppet_semantic_version.rb
Info: Loading facts in /etc/puppet/modules/puppet/lib/facter/cakey.rb
Info: Loading facts in /etc/puppet/modules/puppet/lib/facter/localacacert.rb
Info: Loading facts in /etc/puppet/modules/puppet/lib/facter/cacrl.rb
Info: Loading facts in /etc/puppet/modules/puppet/lib/facter/certname.rb
Info: Loading facts in /etc/puppet/modules/puppet/lib/facter/cacert.rb
Info: Loading facts in /etc/puppet/modules/puppet/lib/facter/hostprivkey.rb
Info: Loading facts in /etc/puppet/modules/concat/lib/facter/concat_basedir.rb
Info: Loading facts in /etc/puppet/modules/galera/lib/facter/mysql_log_file_size_real.rb
Info: Loading facts in /etc/puppet/modules/galera/lib/facter/galera_gcomm_empty.rb
Info: Loading facts in /etc/puppet/modules/osnailyfacter/lib/facter/naily.rb
Info: Loading facts in /etc/puppet/modules/swift/lib/facter/swift_mountpoints.rb
Info: Loading facts in /etc/puppet/modules/neutron/lib/facter/defaultroute.rb
Info: Loading facts in /etc/puppet/modules/neutron/lib/facter/neutron_db_migration_stamp.rb
Info: Loading facts in /etc/puppet/modules/corosync/lib/facter/pacemaker_hostname.rb
Info: Loading facts in /etc/puppet/modules/mmm/lib/facter/ipaddresses.rb
ls: cannot access /dev/sda?*: No such file or directory
ls: cannot access /dev/sdb?*: No such file or directory
ls: cannot access /dev/sda?*: No such file or directory
ls: cannot access /dev/sdb?*: No such file or directory
Could not retrieve neutron_db_migration_stamp: undefined method `split' for nil:NilClass
Could not retrieve neutron_db_migration_stamp: undefined method `split' for nil:NilClass
Info: Applying configuration version '1409001247'
Notice: Installing package postgresql-server from absent to present
Notice: /Stage[main]/Postgresql::Server/Package[postgresql-server]/ensure: created
Info: /Stage[main]/Postgresql::Server/Package[postgresql-server]: Scheduling refresh of Service[postgresqld]
Notice: /Stage[main]/Postgresql::Initdb/Exec[/usr/bin/initdb --encoding 'UTF8' --pgdata '/var/lib/pgsql/data/']/returns: executed successfully
Info: /Stage[main]/Postgresql::Config::Beforeservice/File[pg_hba.conf]: Filebucketed /var/lib/pgsql/data/pg_hba.conf to puppet with sum 9784211d3c0e7ad5a539b9dcb964b9c3
Notice: /Stage[main]/Postgresql::Config::Beforeservice/File[pg_hba.conf]/content: content changed '{md5}9784211d3c0e7ad5a539b9dcb964b9c3' to '{md5}06fd030a3013749ac843aa374ceaaea2'
Info: /Stage[main]/Postgresql::Config::Beforeservice/File[pg_hba.conf]: Scheduling refresh of Service[postgresqld]
Notice: /Stage[main]/Postgresql::Config::Beforeservice/File_line[postgresql.conf]/ensure: created
Info: /Stage[main]/Postgresql::Config::Beforeservice/File_line[postgresql.conf]: Scheduling refresh of Service[postgresqld]
Error: Could not start Service[postgresqld]: Execution of '/sbin/service postgresql start' returned 1:
Error: /Stage[main]/Postgresql::Server/Service[postgresqld]/ensure: change from stopped to running failed: Could not start Service[postgresqld]: Execution of '/sbin/service postgresql start' returned 1:
Error: Could not start Service[postgresqld]: Execution of '/sbin/service postgresql start' returned 1:
Error: /Stage[main]/Postgresql::Server/Service[postgresqld]/ensure: change from stopped to running failed: Could not start Service[postgresqld]: Execution of '/sbin/service postgresql start' returned 1:
Notice: /Stage[main]/Postgresql::Server/Service[postgresqld]/enable: enable changed 'false' to 'true'
Notice: /Stage[main]/Postgresql::Server/Service[postgresqld]: Triggered 'refresh' from 3 events
Notice: /Stage[main]/Main/Postgresql::Db[ostf]/Postgresql::Database[ostf]/Exec[/usr/bin/createdb --template=template0 --encoding 'utf8' --locale=C 'ostf']: Dependency Service[postgresqld] has failures: true
Warning: /Stage[main]/Main/Postgresql::Db[ostf]/Postgresql::Database[ostf]/Exec[/usr/bin/createdb --template=template0 --encoding 'utf8' --locale=C 'ostf']: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Postgresql::Db[ostf]/Postgresql::Database[ostf]/Postgresql::Psql[REVOKE CONNECT ON DATABASE ostf FROM public]/Exec[/bin/echo "REVOKE CONNECT ON DATABASE ostf FROM public" | /usr/bin/psql --no-password --tuples-only --quiet --dbname postgres |egrep -v -q '^$']: Dependency Service[postgresqld] has failures: true
Warning: /Stage[main]/Main/Postgresql::Db[ostf]/Postgresql::Database[ostf]/Postgresql::Psql[REVOKE CONNECT ON DATABASE ostf FROM public]/Exec[/bin/echo "REVOKE CONNECT ON DATABASE ostf FROM public" | /usr/bin/psql --no-password --tuples-only --quiet --dbname postgres |egrep -v -q '^$']: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Postgresql::Db[ostf]/Postgresql::Database_user[ostf]/Postgresql::Role[ostf]/Postgresql::Psql[CREATE ROLE ostf ENCRYPTED PASSWORD 'ostf' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER]/Exec[/bin/echo "CREATE ROLE ostf ENCRYPTED PASSWORD 'ostf' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER" | /usr/bin/psql --no-password --tuples-only --quiet --dbname postgres |egrep -v -q '^$']: Dependency Service[postgresqld] has failures: true
Warning: /Stage[main]/Main/Postgresql::Db[ostf]/Postgresql::Database_user[ostf]/Postgresql::Role[ostf]/Postgresql::Psql[CREATE ROLE ostf ENCRYPTED PASSWORD 'ostf' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER]/Exec[/bin/echo "CREATE ROLE ostf ENCRYPTED PASSWORD 'ostf' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER" | /usr/bin/psql --no-password --tuples-only --quiet --dbname postgres |egrep -v -q '^$']: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Postgresql::Db[ostf]/Postgresql::Database_grant[GRANT ostf - all - ostf]/Postgresql::Psql[GRANT all ON database ostf TO ostf]/Exec[/bin/echo "GRANT all ON database ostf TO ostf" | /usr/bin/psql --no-password --tuples-only --quiet --dbname postgres |egrep -v -q '^$']: Dependency Service[postgresqld] has failures: true
Warning: /Stage[main]/Main/Postgresql::Db[ostf]/Postgresql::Database_grant[GRANT ostf - all - ostf]/Postgresql::Psql[GRANT all ON database ostf TO ostf]/Exec[/bin/echo "GRANT all ON database ostf TO ostf" | /usr/bin/psql --no-password --tuples-only --quiet --dbname postgres |egrep -v -q '^$']: Skipping because of failed dependencies
Notice: /Stage[main]/Nailgun::Database/Postgresql::Db[nailgun]/Postgresql::Database[nailgun]/Exec[/usr/bin/createdb --template=template0 --encoding 'utf8' --locale=C 'nailgun']: Dependency Service[postgresqld] has failures: true
Warning: /Stage[main]/Nailgun::Database/Postgresql::Db[nailgun]/Postgresql::Database[nailgun]/Exec[/usr/bin/createdb --template=template0 --encoding 'utf8' --locale=C 'nailgun']: Skipping because of failed dependencies
Notice: /Stage[main]/Nailgun::Database/Postgresql::Db[nailgun]/Postgresql::Database[nailgun]/Postgresql::Psql[REVOKE CONNECT ON DATABASE nailgun FROM public]/Exec[/bin/echo "REVOKE CONNECT ON DATABASE nailgun FROM public" | /usr/bin/psql --no-password --tuples-only --quiet --dbname postgres |egrep -v -q '^$']: Dependency Service[postgresqld] has failures: true
Warning: /Stage[main]/Nailgun::Database/Postgresql::Db[nailgun]/Postgresql::Database[nailgun]/Postgresql::Psql[REVOKE CONNECT ON DATABASE nailgun FROM public]/Exec[/bin/echo "REVOKE CONNECT ON DATABASE nailgun FROM public" | /usr/bin/psql --no-password --tuples-only --quiet --dbname postgres |egrep -v -q '^$']: Skipping because of failed dependencies
Notice: /Stage[main]/Nailgun::Database/Postgresql::Db[nailgun]/Postgresql::Database_user[nailgun]/Postgresql::Role[nailgun]/Postgresql::Psql[CREATE ROLE nailgun ENCRYPTED PASSWORD 'nailgun' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER]/Exec[/bin/echo "CREATE ROLE nailgun ENCRYPTED PASSWORD 'nailgun' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER" | /usr/bin/psql --no-password --tuples-only --quiet --dbname postgres |egrep -v -q '^$']: Dependency Service[postgresqld] has failures: true
Warning: /Stage[main]/Nailgun::Database/Postgresql::Db[nailgun]/Postgresql::Database_user[nailgun]/Postgresql::Role[nailgun]/Postgresql::Psql[CREATE ROLE nailgun ENCRYPTED PASSWORD 'nailgun' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER]/Exec[/bin/echo "CREATE ROLE nailgun ENCRYPTED PASSWORD 'nailgun' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER" | /usr/bin/psql --no-password --tuples-only --quiet --dbname postgres |egrep -v -q '^$']: Skipping because of failed dependencies
Notice: /Stage[main]/Nailgun::Database/Postgresql::Db[nailgun]/Postgresql::Database_grant[GRANT nailgun - all - nailgun]/Postgresql::Psql[GRANT all ON database nailgun TO nailgun]/Exec[/bin/echo "GRANT all ON database nailgun TO nailgun" | /usr/bin/psql --no-password --tuples-only --quiet --dbname postgres |egrep -v -q '^$']: Dependency Service[postgresqld] has failures: true
Warning: /Stage[main]/Nailgun::Database/Postgresql::Db[nailgun]/Postgresql::Database_grant[GRANT nailgun - all - nailgun]/Postgresql::Psql[GRANT all ON database nailgun TO nailgun]/Exec[/bin/echo "GRANT all ON database nailgun TO nailgun" | /usr/bin/psql --no-password --tuples-only --quiet --dbname postgres |egrep -v -q '^$']: Skipping because of failed dependencies
Info: Creating state file /var/lib/puppet/state/state.yaml
Notice: Finished catalog run in 16.12 seconds

Revision history for this message
Tyler Wilson (loth) wrote :
Andrew Woodward (xarses)
Changed in fuel:
importance: Undecided → High
milestone: none → 5.0.2
assignee: nobody → Fuel for Openstack (fuel)
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel for Openstack (fuel) → Dmitry Pyzhov (lux-place)
Changed in fuel:
status: New → Confirmed
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
importance: High → Medium
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Am I right that you have manually built custom iso? Looks like there were some temporary issues with networking. Could you rebuilt an iso, reproduce this issue and send me build logs, please?

Changed in fuel:
status: Confirmed → Incomplete
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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