Actions
Bug #12206
closedForeman Dependencys Problems - cannot update and Foreman don't start
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Packaging
Target version:
-
Description
Hey,
i have a problem with my foreman.
I updated my host system and now I can't start the foreman service.
Details to the host:
- CentOS 6.7 (Final)
- 2 Gigabyte RAM
- 1 CPU
Details from foreman package:
Installed Packages Name : foreman Arch : noarch Version : 1.1stable Release : 3.el6 Size : 3.5 M Repo : installed From repo : foreman Summary : Systems Management web application URL : http://theforeman.org License : GPLv3+ Description : Foreman is aimed to be a Single Address For All Machines Life Cycle Management. : Foreman is based on Ruby on Rails, and this package bundles Rails and all : plugins required for Foreman to work.
If i want to update the machine there is one information:
[root@host ~]# yum update Loaded plugins: fastestmirror Setting up Update Process Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> Package rubygem-thor.noarch 0:0.14.6-2.el6 will be updated --> Processing Dependency: rubygem-thor < 0.15 for package: rubygem-railties-3.0.20-1.el6.noarch ---> Package rubygem-thor.noarch 0:0.18.1-3.el6 will be an update --> Finished Dependency Resolution Error: Package: rubygem-railties-3.0.20-1.el6.noarch (@foreman) Requires: rubygem-thor < 0.15 Removing: rubygem-thor-0.14.6-2.el6.noarch (@foreman) rubygem-thor = 0.14.6-2.el6 Updated By: rubygem-thor-0.18.1-3.el6.noarch (epel) rubygem-thor = 0.18.1-3.el6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
And if I want to start with /etc/init.d/foreman start - there is this output:
[root@host ~]# /etc/init.d/foreman start Starting foreman: /usr/share/foreman/lib/puppet_setting.rb:11:in `get': unable to get [:hostcert, :localcacert, :hostprivkey, :storeconfigs] Puppet setting, `/usr/sbin/puppetmasterd --confdir /etc/puppet --configprint hostcert,localcacert,hostprivkey,storeconfigs 2>&1` returned 256: /usr/lib/ruby/gems/1.8/gems/bundler-1.5.2/lib/bundler/dsl.rb:37:in `eval_gemfile': There was an error in your Gemfile, and Bundler cannot continue. (Bundler::GemfileError) (RuntimeError) from /usr/lib/ruby/gems/1.8/gems/bundler-1.5.2/lib/bundler/dsl.rb:9:in `evaluate' from /usr/lib/ruby/gems/1.8/gems/bundler-1.5.2/lib/bundler/definition.rb:26:in `build' from /usr/lib/ruby/gems/1.8/gems/bundler-1.5.2/lib/bundler.rb:152:in `definition' from /usr/lib/ruby/gems/1.8/gems/bundler-1.5.2/lib/bundler.rb:115:in `setup' from /usr/lib/ruby/gems/1.8/gems/bundler-1.5.2/lib/bundler/setup.rb:17 from /usr/share/foreman/lib/foreman/default_settings/loader.rb:28:in `load' from /usr/share/foreman/config/initializers/foreman.rb:4 from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:236:in `load' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:236:in `load' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:227:in `load_dependency' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:236:in `load' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.20/lib/rails/engine.rb:201 from /usr/lib/ruby/gems/1.8/gems/railties-3.0.20/lib/rails/engine.rb:200:in `each' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.20/lib/rails/engine.rb:200 from /usr/lib/ruby/gems/1.8/gems/railties-3.0.20/lib/rails/initializable.rb:25:in `instance_exec' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.20/lib/rails/initializable.rb:25:in `run' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.20/lib/rails/initializable.rb:50:in `run_initializers' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.20/lib/rails/initializable.rb:49:in `each' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.20/lib/rails/initializable.rb:49:in `run_initializers' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.20/lib/rails/application.rb:134:in `initialize!' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.20/lib/rails/application.rb:77:in `send' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.20/lib/rails/application.rb:77:in `method_missing' from /usr/share/foreman/config/environment.rb:5 from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:242:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:242:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:225:in `load_dependency' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:597:in `new_constants_in' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:225:in `load_dependency' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.20/lib/active_support/dependencies.rb:242:in `require' from /usr/share/foreman/config.ru:3 from /usr/lib/ruby/gems/1.8/gems/rack-1.2.5/lib/rack/builder.rb:46:in `instance_eval' from /usr/lib/ruby/gems/1.8/gems/rack-1.2.5/lib/rack/builder.rb:46:in `initialize' from /usr/share/foreman/config.ru:1:in `new' from /usr/share/foreman/config.ru:1 [FAILED]
I really don't know how to fix this problem, that i can use my Foreman again.
Can anyone help me please?
Regards,
Peter
Updated by Ohad Levy almost 9 years ago
- Status changed from New to Feedback
- Priority changed from High to Normal
- Difficulty deleted (
hard)
version 1.1 is 2.5 years old, and is no longer supported, please update to a recent supported version...
Updated by Tomer Brisker almost 6 years ago
- Category changed from 21 to Packaging
Actions