Project

General

Profile

Actions

Bug #8371

closed

foreman-installer tries to install foreman-release-scl on Ubuntu after upgrade from 1.6.2 to 1.7rc1

Added by Ronald van Zantvoort over 9 years ago. Updated almost 7 years ago.

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

Description

When re-running the installer as per the manuals upgrade instructions, our Ubuntu 14.04.1 server is presented with the following error:

root@foreman:~# foreman-installer --verbose --foreman-plugin-discovery-install-images=false
[ INFO 2014-11-12 16:20:13 verbose] Executing hooks in group boot
[ INFO 2014-11-12 16:20:13 verbose] All hooks in group boot finished
[ INFO 2014-11-12 16:20:13 verbose] Executing hooks in group init
[ INFO 2014-11-12 16:20:13 verbose] All hooks in group init finished
[ INFO 2014-11-12 16:20:13 verbose] Parsing default values from puppet modules...
[ INFO 2014-11-12 16:20:13 verbose] ... finished
[ INFO 2014-11-12 16:20:13 verbose] Executing hooks in group pre_values
[ INFO 2014-11-12 16:20:13 verbose] All hooks in group pre_values finished
[ INFO 2014-11-12 16:20:13 verbose] Executing hooks in group pre_validations
[ INFO 2014-11-12 16:20:13 verbose] All hooks in group pre_validations finished
[ INFO 2014-11-12 16:20:13 verbose] Running validation checks
[ INFO 2014-11-12 16:20:14 verbose] Executing hooks in group pre
[ INFO 2014-11-12 16:20:14 verbose] All hooks in group pre finished
[ INFO 2014-11-12 16:20:15 verbose]  Loading facts
[ INFO 2014-11-12 16:20:15 verbose]  Loading facts
[ INFO 2014-11-12 16:20:15 verbose]  Loading facts
[ INFO 2014-11-12 16:20:15 verbose]  Loading facts
[ INFO 2014-11-12 16:20:24 verbose] Could not retrieve fact='apt_updates', resolution='<anonymous>': can't convert nil into Integer
[ INFO 2014-11-12 16:20:24 verbose] Could not retrieve fact='apt_security_updates', resolution='<anonymous>': can't convert nil into Integer
[ WARN 2014-11-12 16:20:25 verbose]  Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
[ WARN 2014-11-12 16:20:33 verbose]  Compiled catalog for foreman.pcextreme.nl in environment production in 9.52 seconds
[ INFO 2014-11-12 16:20:37 verbose]  Applying configuration version '1415805624'
[ INFO 2014-11-12 16:20:37 verbose]  mount[files]: allowing * access
[ERROR 2014-11-12 16:20:39 verbose]  Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install foreman-release-scl' returned 100: Reading package lists...
[ INFO 2014-11-12 16:20:39 verbose] Building dependency tree...
[ INFO 2014-11-12 16:20:39 verbose] Reading state information...
[ INFO 2014-11-12 16:20:39 verbose] E: Unable to locate package foreman-release-scl
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/util/execution.rb:203:in `execute'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/provider/command.rb:23:in `execute'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/provider.rb:237:in `block in has_command'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/provider.rb:463:in `block in create_class_and_instance_method'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/provider/package/apt.rb:73:in `install'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/type/package.rb:73:in `block (3 levels) in <module:Puppet>'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/property.rb:197:in `call_valuemethod'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/property.rb:498:in `set'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/property.rb:581:in `sync'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:204:in `sync'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:128:in `sync_if_needed'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:81:in `perform_changes'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:204:in `apply'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:217:in `eval_resource'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `call'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `block (2 levels) in evaluate'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/util.rb:327:in `block in thinmark'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/util.rb:326:in `thinmark'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `block in evaluate'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:138:in `evaluate'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:169:in `block in apply'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging_destination'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:168:in `apply'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:118:in `block in apply_catalog'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:117:in `apply_catalog'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:222:in `run_internal'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:132:in `block in run'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet.rb:244:in `override'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:131:in `run'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:297:in `apply_catalog'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:231:in `block in main'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/context.rb:64:in `override'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet.rb:244:in `override'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:193:in `main'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:154:in `run_command'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/application.rb:384:in `block (2 levels) in run'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/application.rb:510:in `plugin_hook'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/application.rb:384:in `block in run'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/util.rb:488:in `exit_on_fail'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/application.rb:384:in `run'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run'
[ INFO 2014-11-12 16:20:39 verbose] /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute'
[ INFO 2014-11-12 16:20:39 verbose] /usr/bin/puppet:8:in `<main>'
[ERROR 2014-11-12 16:20:39 verbose]  /Stage[main]/Foreman::Install::Repos::Extra/Package[foreman-release-scl]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install foreman-release-scl' returned 100: Reading package lists...
[ INFO 2014-11-12 16:20:39 verbose] Building dependency tree...
[ INFO 2014-11-12 16:20:39 verbose] Reading state information...
[ INFO 2014-11-12 16:20:39 verbose] E: Unable to locate package foreman-release-scl
[ WARN 2014-11-12 16:20:39 verbose]  /Package[foreman-mysql2]: Dependency Package[foreman-release-scl] has failures: true
[ WARN 2014-11-12 16:20:39 verbose]  /Package[foreman-mysql2]: Skipping because of failed dependencies

I'm guessing scl relates to RHEL's Software Collections, which, needless to say, don't apply to Ubuntu?


Related issues 3 (0 open3 closed)

Related to Installer - Bug #8369: Error when re-running foreman-installer after upgrade from 1.6.2 to 1.7rc1 '"foreman::plugin::discovery::params::install_images" is not a boolean. It looks to be a String'Rejected11/12/2014Actions
Related to Packaging - Refactor #7234: SCL 1.1 builds needed for EL rebuilds (CentOS, SL)ClosedDominic Cleal08/22/2014Actions
Related to Packaging - Bug #4841: Package Foreman in its own SCLClosedDominic Cleal03/25/2014Actions
Actions

Also available in: Atom PDF