Project

General

Profile

Actions

Bug #18772

closed

Upgrade Katello Capsule fail 2 issues

Added by Mario Gamboa almost 8 years ago. Updated over 6 years ago.

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

Description

first issue

When i run the script

foreman-installer --scenario foreman-proxy-content --upgrade --foreman-proxy-content-certs-tar /root/katelloproxy00-certs.tar --certs-update-all --certs-regenerate "true" --deploy

is complain about --deploy is not a valid option i just reading the help and try

foreman-installer --scenario foreman-proxy-content --upgrade --foreman-proxy-content-certs-tar /root/katelloproxy00-certs.tar --certs-update-all --certs-regenerate "true" --certs-deploy "true" -v

the upgrade of the pulp database is success but when starting to get the facts for installation is break with the following trace

[ERROR 2017-03-02 14:22:02 verbose] must be present at /usr/share/katello-installer-base/modules/foreman_proxy_content/manifests/init.pp:103 on node katelloproxy00.loc
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/katello-installer-base/modules/common/lib/puppet/parser/functions/validate_present.rb:9:in `block (2 levels) in <module:Functions>'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/katello-installer-base/modules/common/lib/puppet/parser/functions/validate_present.rb:8:in `each'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/katello-installer-base/modules/common/lib/puppet/parser/functions/validate_present.rb:8:in `block in <module:Functions>'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:164:in `block (2 levels) in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:157:in `block in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/function.rb:42:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:11:in `block in evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `each'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/ifstatement.rb:25:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:11:in `block in evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `each'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/resource/type.rb:129:in `evaluate_code'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/resource.rb:81:in `block in evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/resource.rb:77:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:236:in `each'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:236:in `evaluate_classes'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions/include.rb:31:in `block in <top (required)>'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:164:in `block (2 levels) in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:157:in `block in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions/hiera_include.rb:49:in `block in <module:Functions>'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:164:in `block (2 levels) in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:157:in `block in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/function.rb:42:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:11:in `block in evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `each'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/resource/type.rb:129:in `evaluate_code'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/resource.rb:81:in `block in evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/resource.rb:77:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:236:in `each'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:236:in `evaluate_classes'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions/include.rb:31:in `block in <top (required)>'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:164:in `block (2 levels) in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:157:in `block in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/function.rb:42:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:11:in `block in evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `each'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/resource/type.rb:129:in `evaluate_code'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/resource.rb:81:in `block in evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/resource.rb:77:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:426:in `evaluate_main'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:135:in `block (2 levels) in compile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:135:in `block in compile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:121:in `compile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:34:in `compile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:95:in `block (2 levels) in compile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:93:in `block in compile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/benchmark.rb:296:in `realtime'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:92:in `compile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:52:in `find'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/indirector/indirection.rb:201:in `find'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:222:in `block in main'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:198:in `main'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:159:in `run_command'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block in run'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `run'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute'
[ERROR 2017-03-02 14:22:02 verbose] /usr/bin/puppet:8:in `<main>'
[ERROR 2017-03-02 14:22:02 verbose] must be present at /usr/share/katello-installer-base/modules/foreman_proxy_content/manifests/init.pp:103 on node katelloproxy00.loc
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/katello-installer-base/modules/common/lib/puppet/parser/functions/validate_present.rb:9:in `block (2 levels) in <module:Functions>'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/katello-installer-base/modules/common/lib/puppet/parser/functions/validate_present.rb:8:in `each'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/katello-installer-base/modules/common/lib/puppet/parser/functions/validate_present.rb:8:in `block in <module:Functions>'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:164:in `block (2 levels) in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:157:in `block in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/function.rb:42:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:11:in `block in evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `each'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/ifstatement.rb:25:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:11:in `block in evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `each'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/resource/type.rb:129:in `evaluate_code'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/resource.rb:81:in `block in evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/resource.rb:77:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:236:in `each'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:236:in `evaluate_classes'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions/include.rb:31:in `block in <top (required)>'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:164:in `block (2 levels) in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:157:in `block in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions/hiera_include.rb:49:in `block in <module:Functions>'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:164:in `block (2 levels) in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:157:in `block in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/function.rb:42:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:11:in `block in evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `each'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/resource/type.rb:129:in `evaluate_code'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/resource.rb:81:in `block in evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/resource.rb:77:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:236:in `each'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:236:in `evaluate_classes'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions/include.rb:31:in `block in <top (required)>'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:164:in `block (2 levels) in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/functions.rb:157:in `block in newfunction'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/function.rb:42:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:11:in `block in evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `each'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast/block_expression.rb:10:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/ast.rb:61:in `safeevaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/resource/type.rb:129:in `evaluate_code'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/resource.rb:81:in `block in evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/resource.rb:77:in `evaluate'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:426:in `evaluate_main'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:135:in `block (2 levels) in compile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:135:in `block in compile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:121:in `compile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/parser/compiler.rb:34:in `compile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:95:in `block (2 levels) in compile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:93:in `block in compile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/benchmark.rb:296:in `realtime'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:92:in `compile'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:52:in `find'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/indirector/indirection.rb:201:in `find'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:222:in `block in main'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:198:in `main'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:159:in `run_command'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block in run'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `run'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run'
[ERROR 2017-03-02 14:22:02 verbose] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute'
[ERROR 2017-03-02 14:22:02 verbose] /usr/bin/puppet:8:in `<main>'
[ INFO 2017-03-02 14:22:02 verbose] Puppet has finished, bye!
[ INFO 2017-03-02 14:22:02 verbose] Executing hooks in group post

Looking in the code is looks like
$pulp = $::foreman_proxy::plugin::pulp::pulpnode_enabled
if $pulp {
validate_present($pulp_oauth_secret)
}

is try to validate the pulp oauth secret but in this case i don't know if now we need to pass this parameter or is something i'm missing for whit new verrsion

Actions #1

Updated by Mario Gamboa almost 8 years ago

i just add it the oath secret and the issue disapear
foreman-installer --scenario foreman-proxy-content --upgrade --foreman-proxy-content-certs-tar /root/katelloproxy00-certs.tar --certs-update-all --certs-regenerate "true" --certs-deploy "true" --foreman-proxy-content-pulp-oauth-secret [REDACTED] -v

but the upgrade still crashing

INFO 2017-03-02 14:37:08 verbose]  Class[Foreman_proxy::Service]: Scheduling refresh of Class[Foreman_proxy::Register]
[ INFO 2017-03-02 14:37:08 verbose] Class[Foreman_proxy::Register]: Scheduling refresh of Foreman_smartproxy[katelloproxy00.loc]
[ERROR 2017-03-02 14:37:08 verbose] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katelloproxy00.loc]: Could not evaluate: Proxy katelloproxy00.loc cannot be retrieved: unknown error (response 404)
[ERROR 2017-03-02 14:37:08 verbose] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:7:in `proxy'
[ERROR 2017-03-02 14:37:08 verbose] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:in `id'
[ERROR 2017-03-02 14:37:08 verbose] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:17:in `exists?'
[ERROR 2017-03-02 14:37:08 verbose] /usr/share/ruby/vendor_ruby/puppet/property/ensure.rb:81:in `retrieve'
[ERROR 2017-03-02 14:37:08 verbose] /usr/share/ruby/vendor_ruby/puppet/type.rb:1048:in `retrieve'
[ERROR 2017-03-02 14:37:08 verbose] /usr/share/ruby/vendor_ruby/puppet/type.rb:1076:in `retrieve_resource'
[ERROR 2017-03-02 14:37:08 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:236:in `from_resource'
[ERROR 2017-03-02 14:37:08 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:19:in `evaluate'
[ERROR 2017-03-02 14:37:08 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:204:in `apply'
[ERROR 2017-03-02 14:37:08 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:217:in `eval_resource'
[ERROR 2017-03-02 14:37:08 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `call'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `block (2 levels) in evaluate'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:335:in `block in thinmark'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/benchmark.rb:296:in `realtime'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:334:in `thinmark'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `block in evaluate'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:138:in `evaluate'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:169:in `block in apply'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging_destination'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:168:in `apply'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:120:in `block in apply_catalog'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/benchmark.rb:296:in `realtime'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:119:in `apply_catalog'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:227:in `run_internal'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:134:in `block in run'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:133:in `run'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:302:in `apply_catalog'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:236:in `block in main'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:198:in `main'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:159:in `run_command'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block in run'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `run'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute'
[ERROR 2017-03-02 14:37:09 verbose] /usr/bin/puppet:8:in `&lt;main&gt;'
[ERROR 2017-03-02 14:37:09 verbose] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katelloproxy00.loc]: Failed to call refresh: Proxy katelloproxy00.loc cannot be retrieved: unknown error (response 404)
[ERROR 2017-03-02 14:37:09 verbose] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[katelloproxy00.loc]: Proxy katelloproxy00.loc cannot be retrieved: unknown error (response 404)
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:7:in `proxy'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:in `id'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:17:in `exists?'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/property/ensure.rb:81:in `retrieve'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/foreman-installer/modules/foreman/lib/puppet/type/foreman_smartproxy.rb:53:in `refresh'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:101:in `process_callback'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:20:in `block in process_events'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:93:in `block in queued_events'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:92:in `each'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:92:in `queued_events'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:19:in `process_events'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:221:in `eval_resource'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `call'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `block (2 levels) in evaluate'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:335:in `block in thinmark'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/benchmark.rb:296:in `realtime'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:334:in `thinmark'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in `block in evaluate'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction.rb:138:in `evaluate'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:169:in `block in apply'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging_destination'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:168:in `apply'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:120:in `block in apply_catalog'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/benchmark.rb:296:in `realtime'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:119:in `apply_catalog'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:227:in `run_internal'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:134:in `block in run'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/configurer.rb:133:in `run'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:302:in `apply_catalog'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:236:in `block in main'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:198:in `main'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:159:in `run_command'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block in run'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `run'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run'
[ERROR 2017-03-02 14:37:09 verbose] /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute'
[ERROR 2017-03-02 14:37:09 verbose] /usr/bin/puppet:8:in `&lt;main&gt;'
[ WARN 2017-03-02 14:37:09 verbose] Finished catalog run in 8.16 seconds
[ INFO 2017-03-02 14:37:10 verbose] Puppet has finished, bye!
[ INFO 2017-03-02 14:37:10 verbose] Executing hooks in group post
Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/foreman-installer/foreman-proxy-content.log
Upgrade failed during the installation phase. Fix the error and re-run the upgrade.
Actions #2

Updated by Mario Gamboa almost 8 years ago

  • Translation missing: en.field_release set to 219
Actions #3

Updated by Eric Helms almost 8 years ago

  • Translation missing: en.field_release changed from 219 to 226
Actions #4

Updated by Mario Gamboa almost 8 years ago

Ok today i try again the upgrade one of the smart proxy but without luck before the upgrade i just apply the fix http://projects.theforeman.org/issues/16653 about the registration of the proxy but still the issue attached foreman-debug
http://debugs.theforeman.org/foreman-debug-gqHiN.tar.xz

Actions #5

Updated by Justin Sherrill almost 8 years ago

  • Status changed from New to Need more information

Since you are getting a 404, it seems different than that 3.2 issue. Can you provide a foreman-debug?

Thanks

Actions #6

Updated by Mario Gamboa almost 8 years ago

Actions #7

Updated by Mario Gamboa almost 8 years ago

just to let you know the katello server doesn't have firewall and selinux enable means all the ports are open and can be reach from the capsule via telnet

Actions #8

Updated by Mario Gamboa over 7 years ago

hi team

i try to upgrade now with 3.3.1 and still this issues , im stuck in the point of register the proxy again Could not evaluate: Proxy katelloproxy00.loc cannot
be retrieved: unknown error (response 404)

what can be the workaround

Actions #9

Updated by Mario Gamboa over 7 years ago

Today try to upgrade with 3.3.1 same issue stop when try to upgrade the smart-proxy i try also the option of foreman no register the proxy and apparently all pass ok but the proxy still useless can be possible to have a fix for the next release because we still stuck on 3.1 katello also because if we try to upgrade to 3.2 fail really bad and we don't want to waste time already in a old version of the product if already we have the up to date version 3.3

Actions #10

Updated by Oliver Weinmann over 7 years ago

Hi Guys,

same issues here. Currently I can't upgrade our two proxies. :(

Any news?

Actions #11

Updated by Oliver Weinmann over 7 years ago

Hi,

I added two options to the installer and now all is fine.

foreman-installer --scenario foreman-proxy-content --upgrade --foreman-proxy-content-certs-tar /root/myproxy.local-certs.tar --certs-update-all --foreman-proxy-content-pulp-oauth-secret "check password in /etc/pulp/server.conf" --foreman-proxy-register-in-foreman "false" --certs-regenerate "true" --certs-deploy

It even solved two other issues I had with pulp connection erros. :)

Actions #12

Updated by Mario Gamboa over 7 years ago

Hey oliver

Just a question which certificate you are using with you deployment, the new generated certificate or the original certificate create with the version before because in my case i'm trying using the new certificate with the new password but still have issues

Oliver Weinmann wrote:

Hi,

I added two options to the installer and now all is fine.

foreman-installer --scenario foreman-proxy-content --upgrade --foreman-proxy-content-certs-tar /root/myproxy.local-certs.tar --certs-update-all --foreman-proxy-content-pulp-oauth-secret "check password in /etc/pulp/server.conf" --foreman-proxy-register-in-foreman "false" --certs-regenerate "true" --certs-deploy

It even solved two other issues I had with pulp connection erros. :)

Actions #13

Updated by Mario Gamboa over 7 years ago

Ok Got it the workaround works fine but still the upgrade have issues when try to make the puppet agent -t i get the following

Getting error "Warning: Error 400 on SERVER: Failed to find xxx via exec: Execution of '/etc/puppet/node.rb xxx ' returned 1" when running puppet agent command i found the upgrade for some reason replace the url /etc/puppet/foreman.yaml after the upgrade the proxy is pointing to it self when before was pointing to the main katello server just replace the url with the correct one and now we are back in bussiness

Actions #14

Updated by Mario Gamboa over 7 years ago

Also another issue after the upgrade, the upgrade disable the dhcp configuration for the proxy means i get 404 issues when i try to get an available ip from the proxy the solution was now just enabled again on /etc/foreman-proxy/settings.d/dhcp.yml and restart the foreman proxy server systemctl restart foreman-proxy

Actions #15

Updated by Mario Gamboa over 7 years ago

i raising new bug for capsule issues http://projects.theforeman.org/issues/19329

Actions #16

Updated by Justin Sherrill over 7 years ago

  • Translation missing: en.field_release changed from 226 to 228
Actions #17

Updated by Justin Sherrill over 7 years ago

Hey Mario,

Can you reproduce on 3.4.0? And if so can you provide some fresh logs.

Thanks

Actions #18

Updated by Mario Gamboa over 7 years ago

yes still the issue starting in 3.2 try to upgrade to 3.3 and now to the latest ga and still have same issue

Actions #19

Updated by Eric Helms over 7 years ago

  • Translation missing: en.field_release changed from 228 to 258
Actions #20

Updated by Justin Sherrill over 7 years ago

  • Translation missing: en.field_release changed from 258 to 267
Actions #21

Updated by Mario Gamboa over 7 years ago

  • Status changed from Need more information to Resolved

With katello 3.4.3

Actions #22

Updated by Mario Gamboa over 7 years ago

sorry was solved with katello 3.4.2

Actions #23

Updated by Eric Helms over 7 years ago

  • Translation missing: en.field_release changed from 267 to 281
Actions

Also available in: Atom PDF