Project

General

Profile

Actions

Bug #18131

closed

foreman-installer --upgrade-puppet fails to set new paths for foreman-installer

Added by Klaas D almost 8 years ago. Updated over 6 years ago.

Status:
Duplicate
Priority:
High
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,
after a successful run of (katello 3.2.3) foreman-installer --upgrade-puppet some installer parameters are not set properly. if I run "foreman-installer --noop -v --scenario katello" it tries to change back to the old puppet3 paths.

# foreman-installer --noop -v --scenario katello
[ INFO 2017-01-18 13:27:12 verbose] Executing hooks in group pre_migrations
[ INFO 2017-01-18 13:27:12 verbose] All hooks in group pre_migrations finished
[ INFO 2017-01-18 13:27:12 verbose] Executing hooks in group boot
[ INFO 2017-01-18 13:27:12 verbose] All hooks in group boot finished
[ INFO 2017-01-18 13:27:12 verbose] Executing hooks in group init
[ INFO 2017-01-18 13:27:12 verbose] All hooks in group init finished
[ INFO 2017-01-18 13:27:12 verbose] Loading default values from puppet modules...
[ INFO 2017-01-18 13:27:12 verbose] ... finished
[ INFO 2017-01-18 13:27:12 verbose] Executing hooks in group pre_values
[ INFO 2017-01-18 13:27:12 verbose] All hooks in group pre_values finished
[ INFO 2017-01-18 13:27:12 verbose] Executing hooks in group pre_validations
[ INFO 2017-01-18 13:27:12 verbose] All hooks in group pre_validations finished
[ INFO 2017-01-18 13:27:12 verbose] Running validation checks
[ INFO 2017-01-18 13:27:12 verbose] Executing hooks in group pre_commit
[ INFO 2017-01-18 13:27:12 verbose] All hooks in group pre_commit finished
[ INFO 2017-01-18 13:27:12 verbose] Executing hooks in group pre
[ INFO 2017-01-18 13:27:12 verbose] All hooks in group pre finished
[ INFO 2017-01-18 13:27:14 verbose]  Loading facts
[ INFO 2017-01-18 13:27:14 verbose]  Loading facts
[ INFO 2017-01-18 13:27:14 verbose]  Loading facts
[ INFO 2017-01-18 13:27:14 verbose]  Loading facts
[ INFO 2017-01-18 13:27:14 verbose]  Loading facts
[ INFO 2017-01-18 13:27:14 verbose]  Loading facts
[ INFO 2017-01-18 13:27:14 verbose]  Loading facts
[ INFO 2017-01-18 13:27:14 verbose]  Loading facts
[ INFO 2017-01-18 13:27:14 verbose]  Loading facts
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/katello-installer-base/modules/pulp/lib/facter/facts.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/katello-installer-base/modules/mongodb/lib/facter/mongodb_version.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/katello-installer-base/modules/mongodb/lib/facter/is_master.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/apache/lib/facter/apache_version.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/staging/lib/facter/staging_http_get.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/staging/lib/facter/staging_windir.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/apt/lib/facter/apt_updates.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/apt/lib/facter/apt_update_last_success.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/apt/lib/facter/apt_reboot_required.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/firewall/lib/facter/iptables_version.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/firewall/lib/facter/ip6tables_version.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/firewall/lib/facter/iptables_persistent_version.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/foreman/lib/facter/sssd.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/mysql/lib/facter/mysqld_version.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/mysql/lib/facter/mysql_version.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/mysql/lib/facter/mysql_server_id.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/stdlib/lib/facter/root_home.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/stdlib/lib/facter/package_provider.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/stdlib/lib/facter/service_provider.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/stdlib/lib/facter/puppet_vardir.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/stdlib/lib/facter/facter_dot_d.rb.
[ INFO 2017-01-18 13:27:14 verbose]  Facter: loading custom facts from /usr/share/foreman-installer/modules/stdlib/lib/facter/pe_version.rb.
[ WARN 2017-01-18 13:27:16 verbose]  The key 'shib2' is declared more than once at /usr/share/foreman-installer/modules/apache/manifests/params.pp:251:21
[ WARN 2017-01-18 13:27:19 verbose]  Undefined variable 'ssl_ca_cert'; 
[ WARN 2017-01-18 13:27:19 verbose]    (file & line not available)
[ WARN 2017-01-18 13:27:20 verbose]  Assignment to $server_facts is deprecated
[ WARN 2017-01-18 13:27:20 verbose]    (at /usr/share/foreman-installer/modules/puppet/manifests/params.pp:343)
[ WARN 2017-01-18 13:27:21 verbose]  Scope(Concat[/var/lib/pgsql/data/pg_ident.conf]): The $force parameter to concat is deprecated and has no effect.
[ WARN 2017-01-18 13:27:22 verbose]  Compiled catalog for server.tld in environment production in 6.97 seconds
[ INFO 2017-01-18 13:27:24 verbose]  Applying configuration version '1484742435'
[ WARN 2017-01-18 13:27:33 verbose]  /Stage[main]/Pulp::Apache/File[/etc/httpd/conf.d/pulp.conf]/ensure: current_value absent, should be file (noop)
[ WARN 2017-01-18 13:27:33 verbose]  Class[Pulp::Apache]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:27:33 verbose]  /Stage[main]/Foreman_proxy::Config/File[/etc/sudoers.d/foreman-proxy]/content: 
[ WARN 2017-01-18 13:27:33 verbose] --- /etc/sudoers.d/foreman-proxy    2017-01-18 13:06:38.551656234 +0100
[ WARN 2017-01-18 13:27:33 verbose] +++ /tmp/puppet-file20170118-14498-12bfi5y  2017-01-18 13:27:33.000000000 +0100
[ WARN 2017-01-18 13:27:33 verbose] @@ -1,3 +1,3 @@
[ WARN 2017-01-18 13:27:33 verbose] -foreman-proxy ALL = (root) NOPASSWD : /opt/puppetlabs/bin/puppet cert *
[ WARN 2017-01-18 13:27:33 verbose] -foreman-proxy ALL = (root) NOPASSWD : /opt/puppetlabs/bin/puppet kick *
[ WARN 2017-01-18 13:27:33 verbose] +foreman-proxy ALL = (root) NOPASSWD : /usr/bin/puppet cert *
[ WARN 2017-01-18 13:27:33 verbose] +foreman-proxy ALL = (root) NOPASSWD : /usr/bin/puppet kick *
[ WARN 2017-01-18 13:27:33 verbose]  Defaults:foreman-proxy !requiretty
[ WARN 2017-01-18 13:27:33 verbose]  /Stage[main]/Foreman_proxy::Config/File[/etc/sudoers.d/foreman-proxy]/content: current_value {md5}e24c0b73343ea0c614228280e6c5b0a1, should be {md5}b5fc58752c438addff0973e519d3fe6a (noop)
[ WARN 2017-01-18 13:27:34 verbose]  /Stage[main]/Foreman_proxy::Config/Foreman_proxy::Settings_file[puppet_proxy_legacy]/File[/etc/foreman-proxy/settings.d/puppet_proxy_legacy.yml]/content: 
[ WARN 2017-01-18 13:27:34 verbose] --- /etc/foreman-proxy/settings.d/puppet_proxy_legacy.yml   2017-01-18 13:07:08.941504017 +0100
[ WARN 2017-01-18 13:27:34 verbose] +++ /tmp/puppet-file20170118-14498-1p6z96s  2017-01-18 13:27:34.000000000 +0100
[ WARN 2017-01-18 13:27:34 verbose] @@ -5,7 +5,7 @@
[ WARN 2017-01-18 13:27:34 verbose]  # :puppet_version setting in smart-proxy's puppet.yml configuration file.
[ WARN 2017-01-18 13:27:34 verbose]  #
[ WARN 2017-01-18 13:27:34 verbose]  ---
[ WARN 2017-01-18 13:27:34 verbose] -:puppet_conf: /etc/puppetlabs/puppet/puppet.conf
[ WARN 2017-01-18 13:27:34 verbose] +:puppet_conf: /etc/puppet/puppet.conf
[ WARN 2017-01-18 13:27:34 verbose]  #
[ WARN 2017-01-18 13:27:34 verbose]  # Override use of Puppet's API to list environments, by default it will use only if
[ WARN 2017-01-18 13:27:34 verbose]  # environmentpath is given in puppet.conf, else will look for environments in puppet.conf
[ WARN 2017-01-18 13:27:34 verbose] @@ -18,9 +18,9 @@
[ WARN 2017-01-18 13:27:34 verbose]  :puppet_url: https://server.tld:8140
[ WARN 2017-01-18 13:27:34 verbose]  #
[ WARN 2017-01-18 13:27:34 verbose]  # SSL certificates used to access the environment API. Required if puppet_use_environment_api is set to true.
[ WARN 2017-01-18 13:27:34 verbose] -:puppet_ssl_ca: /etc/puppetlabs/puppet/ssl/certs/ca.pem
[ WARN 2017-01-18 13:27:34 verbose] -:puppet_ssl_cert: /etc/puppetlabs/puppet/ssl/certs/server.tld.pem
[ WARN 2017-01-18 13:27:34 verbose] -:puppet_ssl_key: /etc/puppetlabs/puppet/ssl/private_keys/server.tld.pem
[ WARN 2017-01-18 13:27:34 verbose] +:puppet_ssl_ca: /var/lib/puppet/ssl/certs/ca.pem
[ WARN 2017-01-18 13:27:34 verbose] +:puppet_ssl_cert: /var/lib/puppet/ssl/certs/server.tld.pem
[ WARN 2017-01-18 13:27:34 verbose] +:puppet_ssl_key: /var/lib/puppet/ssl/private_keys/server.tld.pem
[ WARN 2017-01-18 13:27:34 verbose]  #
[ WARN 2017-01-18 13:27:34 verbose]  # Enable/disable puppet class cache
[ WARN 2017-01-18 13:27:34 verbose]  # Cache options
[ WARN 2017-01-18 13:27:34 verbose]  /Stage[main]/Foreman_proxy::Config/Foreman_proxy::Settings_file[puppet_proxy_legacy]/File[/etc/foreman-proxy/settings.d/puppet_proxy_legacy.yml]/content: current_value {md5}89a3750a1268cb1496f0e913b2e33ffe, should be {md5}7561b7e12bdb2655e48ede15efcb4f66 (noop)
[ INFO 2017-01-18 13:27:34 verbose]  /Stage[main]/Foreman_proxy::Config/Foreman_proxy::Settings_file[puppet_proxy_legacy]/File[/etc/foreman-proxy/settings.d/puppet_proxy_legacy.yml]: Scheduling refresh of Class[Foreman_proxy::Service]
[ WARN 2017-01-18 13:27:34 verbose]  Foreman_proxy::Settings_file[puppet_proxy_legacy]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:27:34 verbose]  /Stage[main]/Foreman_proxy::Config/Foreman_proxy::Settings_file[puppet_proxy_puppet_api]/File[/etc/foreman-proxy/settings.d/puppet_proxy_puppet_api.yml]/content: 
[ WARN 2017-01-18 13:27:34 verbose] --- /etc/foreman-proxy/settings.d/puppet_proxy_puppet_api.yml       2017-01-18 13:07:09.038506723 +0100
[ WARN 2017-01-18 13:27:34 verbose] +++ /tmp/puppet-file20170118-14498-1h0tarn  2017-01-18 13:27:34.000000000 +0100
[ WARN 2017-01-18 13:27:34 verbose] @@ -9,6 +9,6 @@
[ WARN 2017-01-18 13:27:34 verbose]  :puppet_url: https://server.tld:8140
[ WARN 2017-01-18 13:27:34 verbose]  #
[ WARN 2017-01-18 13:27:34 verbose]  # SSL certificates used to access the puppet API
[ WARN 2017-01-18 13:27:34 verbose] -:puppet_ssl_ca: /etc/puppetlabs/puppet/ssl/certs/ca.pem
[ WARN 2017-01-18 13:27:34 verbose] -:puppet_ssl_cert: /etc/puppetlabs/puppet/ssl/certs/server.tld.pem
[ WARN 2017-01-18 13:27:34 verbose] -:puppet_ssl_key: /etc/puppetlabs/puppet/ssl/private_keys/server.tld.pem
[ WARN 2017-01-18 13:27:34 verbose] +:puppet_ssl_ca: /var/lib/puppet/ssl/certs/ca.pem
[ WARN 2017-01-18 13:27:34 verbose] +:puppet_ssl_cert: /var/lib/puppet/ssl/certs/server.tld.pem
[ WARN 2017-01-18 13:27:34 verbose] +:puppet_ssl_key: /var/lib/puppet/ssl/private_keys/server.tld.pem
[ WARN 2017-01-18 13:27:34 verbose]  /Stage[main]/Foreman_proxy::Config/Foreman_proxy::Settings_file[puppet_proxy_puppet_api]/File[/etc/foreman-proxy/settings.d/puppet_proxy_puppet_api.yml]/content: current_value {md5}54b33c3a76d95967e63d681165983387, should be {md5}d1c03bfa693569c7c48d729cc65137e6 (noop)
[ INFO 2017-01-18 13:27:34 verbose]  /Stage[main]/Foreman_proxy::Config/Foreman_proxy::Settings_file[puppet_proxy_puppet_api]/File[/etc/foreman-proxy/settings.d/puppet_proxy_puppet_api.yml]: Scheduling refresh of Class[Foreman_proxy::Service]
[ WARN 2017-01-18 13:27:34 verbose]  Foreman_proxy::Settings_file[puppet_proxy_puppet_api]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:27:34 verbose]  /Stage[main]/Foreman_proxy::Config/Foreman_proxy::Settings_file[puppetca]/File[/etc/foreman-proxy/settings.d/puppetca.yml]/content: 
[ WARN 2017-01-18 13:27:34 verbose] --- /etc/foreman-proxy/settings.d/puppetca.yml      2017-01-18 13:07:09.123509094 +0100
[ WARN 2017-01-18 13:27:34 verbose] +++ /tmp/puppet-file20170118-14498-1z0tou1  2017-01-18 13:27:34.000000000 +0100
[ WARN 2017-01-18 13:27:34 verbose] @@ -1,5 +1,5 @@
[ WARN 2017-01-18 13:27:34 verbose]  ---
[ WARN 2017-01-18 13:27:34 verbose]  # PuppetCA management
[ WARN 2017-01-18 13:27:34 verbose]  :enabled: https
[ WARN 2017-01-18 13:27:34 verbose] -:ssldir: /etc/puppetlabs/puppet/ssl
[ WARN 2017-01-18 13:27:34 verbose] -:puppetdir: /etc/puppetlabs/puppet
[ WARN 2017-01-18 13:27:34 verbose] +:ssldir: /var/lib/puppet/ssl
[ WARN 2017-01-18 13:27:34 verbose] +:puppetdir: /etc/puppet
[ WARN 2017-01-18 13:27:34 verbose]  /Stage[main]/Foreman_proxy::Config/Foreman_proxy::Settings_file[puppetca]/File[/etc/foreman-proxy/settings.d/puppetca.yml]/content: current_value {md5}4a432d95fbb9037d75f56b5f64c4ffdd, should be {md5}8150db1759ce6976ebb89591e4c1e40a (noop)
[ INFO 2017-01-18 13:27:34 verbose]  /Stage[main]/Foreman_proxy::Config/Foreman_proxy::Settings_file[puppetca]/File[/etc/foreman-proxy/settings.d/puppetca.yml]: Scheduling refresh of Class[Foreman_proxy::Service]
[ WARN 2017-01-18 13:27:34 verbose]  Foreman_proxy::Settings_file[puppetca]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:27:34 verbose]  Class[Foreman_proxy::Config]: Would have triggered 'refresh' from 4 events
[ INFO 2017-01-18 13:27:34 verbose]  Class[Foreman_proxy::Config]: Scheduling refresh of Foreman_proxy::Plugin[pulp]
[ INFO 2017-01-18 13:27:34 verbose]  Class[Foreman_proxy::Config]: Scheduling refresh of Foreman_proxy::Plugin[dynflow]
[ INFO 2017-01-18 13:27:34 verbose]  Class[Foreman_proxy::Config]: Scheduling refresh of Foreman_proxy::Plugin[dynflow_core]
[ INFO 2017-01-18 13:27:34 verbose]  Class[Foreman_proxy::Config]: Scheduling refresh of Foreman_proxy::Plugin[remote_execution_ssh]
[ WARN 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[pulp]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[pulp]: Scheduling refresh of Package[rubygem-smart_proxy_pulp]
[ WARN 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[dynflow]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[dynflow]: Scheduling refresh of Package[rubygem-smart_proxy_dynflow]
[ WARN 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[dynflow_core]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[dynflow_core]: Scheduling refresh of Package[tfm-rubygem-smart_proxy_dynflow_core]
[ WARN 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[remote_execution_ssh]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[remote_execution_ssh]: Scheduling refresh of Package[rubygem-smart_proxy_remote_execution_ssh]
[ WARN 2017-01-18 13:27:34 verbose]  /Stage[main]/Foreman_proxy::Plugin::Pulp/Foreman_proxy::Plugin[pulp]/Package[rubygem-smart_proxy_pulp]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[pulp]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[pulp]: Scheduling refresh of Class[Foreman_proxy::Service]
[ WARN 2017-01-18 13:27:34 verbose]  Class[Foreman_proxy::Plugin::Pulp]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:27:34 verbose]  /Stage[main]/Foreman_proxy::Plugin::Dynflow/Foreman_proxy::Plugin[dynflow]/Package[rubygem-smart_proxy_dynflow]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[dynflow]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[dynflow]: Scheduling refresh of Class[Foreman_proxy::Service]
[ WARN 2017-01-18 13:27:34 verbose]  /Stage[main]/Foreman_proxy::Plugin::Dynflow/Foreman_proxy::Plugin[dynflow_core]/Package[tfm-rubygem-smart_proxy_dynflow_core]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[dynflow_core]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[dynflow_core]: Scheduling refresh of Class[Foreman_proxy::Service]
[ WARN 2017-01-18 13:27:34 verbose]  /Stage[main]/Foreman_proxy::Plugin::Remote_execution::Ssh/Foreman_proxy::Plugin[remote_execution_ssh]/Package[rubygem-smart_proxy_remote_execution_ssh]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[remote_execution_ssh]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:27:34 verbose]  Foreman_proxy::Plugin[remote_execution_ssh]: Scheduling refresh of Class[Foreman_proxy::Service]
[ WARN 2017-01-18 13:27:34 verbose]  Class[Foreman_proxy::Service]: Would have triggered 'refresh' from 7 events
[ INFO 2017-01-18 13:27:34 verbose]  Class[Foreman_proxy::Service]: Scheduling refresh of Service[foreman-proxy]
[ WARN 2017-01-18 13:27:34 verbose]  Class[Foreman_proxy::Plugin::Remote_execution::Ssh]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:27:34 verbose]  Class[Foreman_proxy::Plugin::Dynflow]: Would have triggered 'refresh' from 2 events
[ WARN 2017-01-18 13:27:35 verbose]  /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:27:35 verbose]  Class[Foreman_proxy::Service]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:27:35 verbose]  Class[Foreman_proxy::Service]: Scheduling refresh of Class[Foreman_proxy::Register]
[ WARN 2017-01-18 13:27:35 verbose]  Class[Foreman_proxy::Register]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:27:35 verbose]  Class[Foreman_proxy::Register]: Scheduling refresh of Foreman_smartproxy[server.tld]
[ WARN 2017-01-18 13:27:35 verbose]  /Stage[main]/Foreman::Config/Concat[/etc/foreman/settings.yaml]/File[/etc/foreman/settings.yaml]/content: 
[ WARN 2017-01-18 13:27:35 verbose] --- /etc/foreman/settings.yaml      2017-01-18 13:07:14.037646184 +0100
[ WARN 2017-01-18 13:27:35 verbose] +++ /tmp/puppet-file20170118-14498-14gvg5z  2017-01-18 13:27:35.000000000 +0100
[ WARN 2017-01-18 13:27:35 verbose] @@ -9,7 +9,7 @@
[ WARN 2017-01-18 13:27:35 verbose]  :locations_enabled: true
[ WARN 2017-01-18 13:27:35 verbose]  :organizations_enabled: true
[ WARN 2017-01-18 13:27:35 verbose]  :puppetrun: true
[ WARN 2017-01-18 13:27:35 verbose] -:puppetssldir: /etc/puppetlabs/puppet/ssl
[ WARN 2017-01-18 13:27:35 verbose] +:puppetssldir: /var/lib/puppet/ssl
[ WARN 2017-01-18 13:27:35 verbose]  
[ WARN 2017-01-18 13:27:35 verbose]  # The following values are used for providing default settings during db migrate
[ WARN 2017-01-18 13:27:35 verbose]  :oauth_active: true
[ WARN 2017-01-18 13:27:35 verbose]  /Stage[main]/Foreman::Config/Concat[/etc/foreman/settings.yaml]/File[/etc/foreman/settings.yaml]/content: current_value {md5}02720f1ab38beae23b2d9db703820f30, should be {md5}63f224631b1c284d2c714cc4175438a9 (noop)
[ WARN 2017-01-18 13:27:35 verbose]  /etc/foreman/settings.yaml: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:27:35 verbose]  Concat[/etc/foreman/settings.yaml]: Would have triggered 'refresh' from 2 events
[ WARN 2017-01-18 13:27:35 verbose]  Class[Foreman::Config]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:27:35 verbose]  Class[Foreman::Config]: Scheduling refresh of Class[Foreman::Database]
[ WARN 2017-01-18 13:27:35 verbose]  Class[Foreman::Database]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:27:35 verbose]  Class[Foreman::Database]: Scheduling refresh of Foreman::Rake[db:migrate]
[ INFO 2017-01-18 13:27:35 verbose]  Class[Foreman::Database]: Scheduling refresh of Foreman::Rake[db:seed]
[ INFO 2017-01-18 13:27:35 verbose]  Class[Foreman::Database]: Scheduling refresh of Foreman::Rake[apipie:cache:index]
[ WARN 2017-01-18 13:27:59 verbose]  Foreman::Rake[db:migrate]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:27:59 verbose]  Foreman::Rake[db:migrate]: Scheduling refresh of Exec[foreman-rake-db:migrate]
[ WARN 2017-01-18 13:27:59 verbose]  /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:27:59 verbose]  Foreman::Rake[db:migrate]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:28:11 verbose]  Foreman::Rake[db:seed]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:28:11 verbose]  Foreman::Rake[db:seed]: Scheduling refresh of Exec[foreman-rake-db:seed]
[ WARN 2017-01-18 13:29:11 verbose]  /Stage[main]/Certs::Candlepin/Exec[import client certificate into Candlepin keystore]/returns: current_value notrun, should be 0 (noop)
[ WARN 2017-01-18 13:29:11 verbose]  Class[Certs::Candlepin]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:29:11 verbose]  Class[Certs::Candlepin]: Scheduling refresh of Class[Candlepin]
[ WARN 2017-01-18 13:29:11 verbose]  Class[Candlepin]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:12 verbose]  /Stage[main]/Pulp::Service/Service[pulp_workers]/ensure: current_value stopped, should be running (noop)
[ INFO 2017-01-18 13:29:12 verbose]  /Stage[main]/Pulp::Service/Service[pulp_workers]: Unscheduling refresh on Service[pulp_workers]
[ WARN 2017-01-18 13:29:12 verbose]  /Stage[main]/Pulp::Service/Service[pulp_resource_manager]/ensure: current_value stopped, should be running (noop)
[ INFO 2017-01-18 13:29:12 verbose]  /Stage[main]/Pulp::Service/Service[pulp_resource_manager]: Unscheduling refresh on Service[pulp_resource_manager]
[ WARN 2017-01-18 13:29:12 verbose]  Class[Pulp::Service]: Would have triggered 'refresh' from 2 events
[ INFO 2017-01-18 13:29:12 verbose]  Class[Pulp::Service]: Scheduling refresh of Service[httpd]
[ WARN 2017-01-18 13:29:12 verbose]  /Stage[main]/Apache::Service/Service[httpd]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:12 verbose]  Class[Apache::Service]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:12 verbose]  /Stage[main]/Katello::Qpid/Exec[bind katello entitlements queue to qpid exchange messages that deal with entitlements]/returns: current_value notrun, should be 0 (noop)
[ WARN 2017-01-18 13:29:12 verbose]  Class[Katello::Qpid]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:29:12 verbose]  Class[Katello::Qpid]: Scheduling refresh of Exec[foreman-rake-db:seed]
[ WARN 2017-01-18 13:29:12 verbose]  /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Would have triggered 'refresh' from 2 events
[ WARN 2017-01-18 13:29:12 verbose]  Foreman::Rake[db:seed]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:29:12 verbose]  Foreman::Rake[db:seed]: Scheduling refresh of Foreman::Rake[apipie:cache:index]
[ WARN 2017-01-18 13:29:12 verbose]  Foreman::Rake[apipie:cache:index]: Would have triggered 'refresh' from 2 events
[ INFO 2017-01-18 13:29:12 verbose]  Foreman::Rake[apipie:cache:index]: Scheduling refresh of Exec[foreman-rake-apipie:cache:index]
[ WARN 2017-01-18 13:29:37 verbose]  /Stage[main]/Foreman::Database/Foreman::Rake[apipie:cache:index]/Exec[foreman-rake-apipie:cache:index]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:37 verbose]  Foreman::Rake[apipie:cache:index]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:37 verbose]  Class[Foreman::Database]: Would have triggered 'refresh' from 3 events
[ INFO 2017-01-18 13:29:37 verbose]  Class[Foreman::Database]: Scheduling refresh of Class[Foreman::Service]
[ INFO 2017-01-18 13:29:37 verbose]  Class[Foreman::Database]: Scheduling refresh of Foreman::Plugin[hooks]
[ INFO 2017-01-18 13:29:37 verbose]  Class[Foreman::Database]: Scheduling refresh of Foreman::Plugin[tasks]
[ INFO 2017-01-18 13:29:37 verbose]  Class[Foreman::Database]: Scheduling refresh of Foreman::Plugin[remote_execution]
[ INFO 2017-01-18 13:29:37 verbose]  Class[Foreman::Database]: Scheduling refresh of Foreman::Plugin[templates]
[ WARN 2017-01-18 13:29:37 verbose]  Foreman::Plugin[hooks]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:29:37 verbose]  Foreman::Plugin[hooks]: Scheduling refresh of Package[tfm-rubygem-foreman_hooks]
[ WARN 2017-01-18 13:29:37 verbose]  Foreman::Plugin[tasks]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:29:37 verbose]  Foreman::Plugin[tasks]: Scheduling refresh of Package[tfm-rubygem-foreman-tasks]
[ WARN 2017-01-18 13:29:37 verbose]  Foreman::Plugin[remote_execution]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:29:37 verbose]  Foreman::Plugin[remote_execution]: Scheduling refresh of Package[tfm-rubygem-foreman_remote_execution]
[ WARN 2017-01-18 13:29:37 verbose]  Foreman::Plugin[templates]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:29:37 verbose]  Foreman::Plugin[templates]: Scheduling refresh of Package[tfm-rubygem-foreman_templates]
[ WARN 2017-01-18 13:29:37 verbose]  /Stage[main]/Foreman::Plugin::Hooks/Foreman::Plugin[hooks]/Package[tfm-rubygem-foreman_hooks]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:37 verbose]  Foreman::Plugin[hooks]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:29:37 verbose]  Foreman::Plugin[hooks]: Scheduling refresh of Class[Foreman::Service]
[ WARN 2017-01-18 13:29:37 verbose]  Class[Foreman::Plugin::Hooks]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:37 verbose]  /Stage[main]/Foreman::Plugin::Tasks/Foreman::Plugin[tasks]/Package[tfm-rubygem-foreman-tasks]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:37 verbose]  Foreman::Plugin[tasks]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:29:37 verbose]  Foreman::Plugin[tasks]: Scheduling refresh of Class[Foreman::Service]
[ INFO 2017-01-18 13:29:37 verbose]  Foreman::Plugin[tasks]: Scheduling refresh of Service[foreman-tasks]
[ WARN 2017-01-18 13:29:37 verbose]  /Stage[main]/Foreman::Plugin::Remote_execution/Foreman::Plugin[remote_execution]/Package[tfm-rubygem-foreman_remote_execution]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:37 verbose]  Foreman::Plugin[remote_execution]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:29:37 verbose]  Foreman::Plugin[remote_execution]: Scheduling refresh of Class[Foreman::Service]
[ INFO 2017-01-18 13:29:37 verbose]  Foreman::Plugin[remote_execution]: Scheduling refresh of Service[foreman-tasks]
[ WARN 2017-01-18 13:29:37 verbose]  Class[Foreman::Plugin::Remote_execution]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:37 verbose]  /Stage[main]/Foreman::Plugin::Tasks/Service[foreman-tasks]: Would have triggered 'refresh' from 2 events
[ WARN 2017-01-18 13:29:37 verbose]  Class[Foreman::Plugin::Tasks]: Would have triggered 'refresh' from 2 events
[ WARN 2017-01-18 13:29:37 verbose]  /Stage[main]/Foreman::Plugin::Templates/Foreman::Plugin[templates]/Package[tfm-rubygem-foreman_templates]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:37 verbose]  Foreman::Plugin[templates]: Would have triggered 'refresh' from 1 events
[ INFO 2017-01-18 13:29:37 verbose]  Foreman::Plugin[templates]: Scheduling refresh of Class[Foreman::Service]
[ WARN 2017-01-18 13:29:37 verbose]  Class[Foreman::Plugin::Templates]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:37 verbose]  Class[Foreman::Service]: Would have triggered 'refresh' from 5 events
[ INFO 2017-01-18 13:29:37 verbose]  Class[Foreman::Service]: Scheduling refresh of Exec[restart_foreman]
[ INFO 2017-01-18 13:29:37 verbose]  Class[Foreman::Service]: Scheduling refresh of Service[foreman]
[ WARN 2017-01-18 13:29:37 verbose]  /Stage[main]/Foreman::Service/Exec[restart_foreman]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:37 verbose]  /Stage[main]/Foreman::Service/Service[foreman]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:37 verbose]  Class[Foreman::Service]: Would have triggered 'refresh' from 2 events
[ WARN 2017-01-18 13:29:40 verbose]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[server.tld]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:40 verbose]  Class[Foreman_proxy::Register]: Would have triggered 'refresh' from 1 events
[ WARN 2017-01-18 13:29:40 verbose]  Stage[main]: Would have triggered 'refresh' from 18 events
[ WARN 2017-01-18 13:29:40 verbose]  Applied catalog in 136.17 seconds
[ INFO 2017-01-18 13:29:42 verbose] Puppet has finished, bye!
[ INFO 2017-01-18 13:29:42 verbose] Executing hooks in group post
  Success!
  * Katello is running at https://server.tld
  * To install an additional capsule on a separate machine run the following command:

      capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar "/root/$CAPSULE-certs.tar" 

  The full log is at /var/log/foreman-installer/katello.log

Related issues 1 (0 open1 closed)

Is duplicate of Katello - Bug #17617: Content view publishing puppet modules to wrong directoryClosedEric Helms12/09/2016Actions
Actions #1

Updated by Klaas D almost 8 years ago

I think I found everything that needs to be reset or set manually:


foreman-installer -v --scenario katello \
--reset-foreman-proxy-puppetdir \
--reset-foreman-proxy-puppetrun-cmd \
--reset-foreman-proxy-puppetca-cmd \
--reset-foreman-proxy-plugin-pulp-puppet-content-dir \
--reset-foreman-puppet-home \
--reset-foreman-puppet-ssldir \
--reset-foreman-proxy-puppet-ssl-ca \
--reset-foreman-proxy-puppet-ssl-cert \
--reset-foreman-proxy-puppet-ssl-key \
--foreman-proxy-puppetssh-command "/opt/puppetlabs/bin/puppet agent --onetime --no-usecacheonfailure --no-daemonize --no-splay" \
--foreman-proxy-ssldir /etc/puppetlabs/puppet/ssl

reset-foreman-proxy-puppetssh-command and reset-foreman-proxy-ssldir didn't produce the desired puppet4 results but the puppet3 defaults

Actions #2

Updated by Justin Sherrill almost 8 years ago

  • Category set to 89
  • Translation missing: en.field_release set to 114
Actions #3

Updated by Eric Helms over 7 years ago

  • Status changed from New to Assigned
  • Priority changed from Normal to High
  • Translation missing: en.field_release changed from 114 to 219
  • Bugzilla link set to 1420868
Actions #4

Updated by Eric Helms over 7 years ago

  • Status changed from Assigned to Duplicate
  • Translation missing: en.field_release changed from 219 to 166
  • Bugzilla link deleted (1420868)
Actions #5

Updated by Eric Helms over 7 years ago

  • Is duplicate of Bug #17617: Content view publishing puppet modules to wrong directory added
Actions

Also available in: Atom PDF