puppet升级到3.8失败

时间:2015-08-10 15:08:04

标签: postgresql puppet

我正在将puppet从3.3.2升级到3.8,同时运行" puppet-enterprise-installer"我得到以下错误....任何想法/指针是什么?我怀疑这可能与postgres有关但不是100%确定....在这个实例上没有被阻止的端口......

以下是安装日志输出的结束部分

Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Role[pe-rbac]/Pe_postgresql_psql[ALTER ROLE "pe-rbac" CONNECTION LIMIT -1]: Dependency Pe_postgresql_psql[Create tablespace 'pe-rbac'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Role[pe-rbac]/Pe_postgresql_psql[ALTER ROLE "pe-rbac" ENCRYPTED PASSWORD 'K4avh50pF8xoNMr87T7I']: Dependency Pe_postgresql_psql[Create tablespace 'pe-rbac'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Database[pe-activity]/Pe_postgresql_psql[Check for existence of db 'pe-activity']: Dependency Pe_postgresql_psql[Create tablespace 'pe-activity'] has failures: true
postgresql::Server::Role[pe-classifier]/Pe_postgresql_psql[ALTER ROLE "pe-classifier" NOREPLICATION]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-classifier]/Pe_postgresql::Server::Role[pe-classifier]/Pe_postgresql_psql[ALTER ROLE "pe-classifier" CONNECTION LIMIT -1]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-classifier]/Pe_postgresql::Server::Role[pe-classifier]/Pe_postgresql_psql[ALTER ROLE "pe-classifier" ENCRYPTED PASSWORD 'Kz7SjzJQymr5fMS6W459']: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Database[pe-rbac]/Pe_postgresql_psql[Check for existence of db 'pe-rbac']: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Database[pe-rbac]/Exec[/opt/puppet/bin/createdb --port='5432' --owner='pe-postgres' --template=template0 --tablespace='pe-rbac'  'pe-rbac']: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Database[pe-rbac]/Pe_postgresql_psql[REVOKE CONNECT ON DATABASE "pe-rbac" FROM public]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Database[pe-rbac]/Pe_postgresql_psql[UPDATE pg_database SET datistemplate = false WHERE datname = 'pe-rbac']: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Role[pe-rbac]/Pe_postgresql_psql[CREATE ROLE "pe-rbac" ENCRYPTED PASSWORD 'K4avh50pF8xoNMr87T7I' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER  CONNECTION LIMIT -1]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Role[pe-rbac]/Pe_postgresql_psql[ALTER ROLE "pe-rbac" NOSUPERUSER]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Role[pe-rbac]/Pe_postgresql_psql[ALTER ROLE "pe-rbac" NOCREATEDB]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Role[pe-rbac]/Pe_postgresql_psql[ALTER ROLE "pe-rbac" NOCREATEROLE]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Role[pe-rbac]/Pe_postgresql_psql[ALTER ROLE "pe-rbac" LOGIN]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Role[pe-rbac]/Pe_postgresql_psql[ALTER ROLE "pe-rbac" INHERIT]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Role[pe-rbac]/Pe_postgresql_psql[ALTER ROLE "pe-rbac" NOREPLICATION]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Role[pe-rbac]/Pe_postgresql_psql[ALTER ROLE "pe-rbac" CONNECTION LIMIT -1]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Role[pe-rbac]/Pe_postgresql_psql[ALTER ROLE "pe-rbac" ENCRYPTED PASSWORD 'K4avh50pF8xoNMr87T7I']: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_pNotice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Database[pe-activity]/Exec[/opt/puppet/bin/createdb --port='5432' --owner='pe-postgres' --template=template0 --tablespace='pe-activity'  'pe-activity']: Dependency Pe_postgresql_psql[Create tablespace 'pe-activity'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Database[pe-activity]/Pe_postgresql_psql[REVOKE CONNECT ON DATABASE "pe-activity" FROM public]: Dependency Pe_postgresql_psql[Create tablespace 'pe-activity'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Database[pe-activity]/Pe_postgresql_psql[UPDATE pg_database SET datistemplate = false WHERE datname = 'pe-activity']: Dependency Pe_postgresql_psql[Create tablespace 'pe-activity'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[CREATE ROLE "pe-activity" ENCRYPTED PASSWORD 'UHjfxGCAP5UT1XV1jLmC' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER  CONNECTION LIMIT -1]: Dependency Pe_postgresql_psql[Create tablespace 'pe-activity'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" NOSUPERUSER]: Dependency Pe_postgresql_psql[Create tablespace 'pe-activity'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" NOCREATEDB]: Dependency Pe_postgresql_psql[Create tablespace 'pe-activity'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" NOCREATEROLE]: Dependency Pe_postgresql_psql[Create tablespace 'pe-activity'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" LOGIN]: Dependency Pe_postgresql_psql[Create tablespace 'pe-activity'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" INHERIT]: Dependency Pe_postgresql_psql[Create tablespace 'pe-activity'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" NOREPLICATION]: Dependency Pe_postgresql_psql[Create tablespace 'pe-activity'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" CONNECTION LIMIT -1]: Dependency Pe_postgresql_psql[Create tablespace 'pe-activity'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" ENCRYPTED PASSWORD 'UHjfxGCAP5UT1XV1jLmC']: Dependency Pe_postgresql_psql[Create tablespace 'pe-activity'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-classifier]/Pe_postgresql::Server::Database_grant[GRANT pe-classifier - ALL - pe-classifier]/Pe_postgresql::Server::Grant[database:GRANT pe-classifier - ALL - pe-classifier]/Pe_postgresql_psql[GRANT ALL ON DATABASE "pe-classifier" TO "pe-classifier"]: Dependency Pe_postgresql_psql[Create tablespace 'pe-classifier'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Database_grant[GRANT pe-rbac - ALL - pe-rbac]/Pe_postgresql::Server::Grant[database:GRANT pe-rbac - ALL - pe-rbac]/Pe_postgresql_psql[GRANT ALL ON DATABASE "pe-rbac" TO "pe-rbac"]: Dependency Pe_postgresql_psql[Create tablespace 'pe-rbac'] has failures: true
ostgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Database[pe-activity]/Pe_postgresql_psql[Check for existence of db 'pe-activity']: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Database[pe-activity]/Exec[/opt/puppet/bin/createdb --port='5432' --owner='pe-postgres' --template=template0 --tablespace='pe-activity'  'pe-activity']: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Database[pe-activity]/Pe_postgresql_psql[REVOKE CONNECT ON DATABASE "pe-activity" FROM public]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Database[pe-activity]/Pe_postgresql_psql[UPDATE pg_database SET datistemplate = false WHERE datname = 'pe-activity']: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[CREATE ROLE "pe-activity" ENCRYPTED PASSWORD 'UHjfxGCAP5UT1XV1jLmC' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER  CONNECTION LIMIT -1]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" NOSUPERUSER]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" NOCREATEDB]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" NOCREATEROLE]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" LOGIN]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" INHERIT]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" NOREPLICATION]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" CONNECTION LIMIT -1]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Role[pe-activity]/Pe_postgresql_psql[ALTER ROLE "pe-activity" ENCRYPTED PASSWORD 'UHjfxGCAP5UT1XV1jLmC']: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-classifier]/Pe_postgresql::Server::Database_grant[GRANT pe-classifier - ALL - pe-classifier]/Pe_postgresql::Server::Grant[database:GRANT pe-classifier - ALL - pe-classifier]/Pe_postgresql_psql[GRANT ALL ON DATABASE "pe-classifier" TO "pe-classifier"]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-rbac]/Pe_postgresql::Server::Database_grant[GRANT pe-rbac - ALL - pe-rbac]/Pe_postgresql::Server::Grant[database:GRANT pe-rbac - ALL - pe-rbac]/Pe_postgresql_psql[GRANT ALL ON DATABASE "Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql_psql[CREATE EXTENSION citext;]: Dependency Pe_postgresql_psql[Create tablespace 'pe-rbac'] has failures: true
Notice: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Database_grant[GRANT pe-activity - ALL - pe-activity]/Pe_postgresql::Server::Grant[database:GRANT pe-activity - ALL - pe-activity]/Pe_postgresql_psql[GRANT ALL ON DATABASE "pe-activity" TO "pe-activity"]: Dependency Pe_postgresql_psql[Create tablespace 'pe-activity'] has failures: true
Notice: Finished catalog run in 6.51 seconds
pe-rbac" TO "pe-rbac"]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql_psql[CREATE EXTENSION citext;]: Skipping because of failed dependencies
Warning: /Stage[main]/Puppet_enterprise::Profile::Database/Pe_postgresql::Server::Db[pe-activity]/Pe_postgresql::Server::Database_grant[GRANT pe-activity - ALL - pe-activity]/Pe_postgresql::Server::Grant[database:GRANT pe-activity - ALL - pe-activity]/Pe_postgresql_psql[GRANT ALL ON DATABASE "pe-activity" TO "pe-activity"]: Skipping because of failed dependencies
## Setting up the console...
rake aborted!
could not connect to server: Connection refused
        Is the server running on host "puppetmaster.example.org" (127.0.0.1) and accepting
        TCP/IP connections on port 5432?
could not connect to server: Connection refused
        Is the server running on host "puppetmaster.example.org" (10.0.1.183) and accepting
        TCP/IP connections on port 5432?

Tasks: TOP => configuration:export => environment
(See full trace by running task with --trace)
!! ERROR: Rake task could not export classification.

=====================================================================================================================================================================================================
[root@puppetmaster puppet-enterprise-3.8.0-el-6-x86_64]#

1 个答案:

答案 0 :(得分:0)

我能够让它发挥作用。

作为升级的一部分,安装程序会关闭所有内容,但似乎我们需要先关闭所有内容(所有与PE相关的服务),然后然后运行安装程序。