Hello,
I noticed the following issue while upgrading to 1.11.1, the cause a
seemingly broken
tfm-rubygem-ovirt_provision_plugin-1.0.1-3.fm1_11.el7.noarch, see trace
below.
If someone can confirm this, an upgade waring should be in order.
tfm-rubygem-ovirt_provision_plugin needs to be uninstalled, disabled for
the upgrade to succeed.
Otherwise rake-task apipie:cache results in a no method error; failing
dependent tasks like db:migrate and db:seed
I removed:
tfm-rubygem-ovirt_provision_plugin-1.0.1-3.fm1_11.el7.noarch
then ran:
foreman-rake apipie:cache
foreman-rake db:migrate
foreman-rake db:seed
This seemed to get the instance running
====================
API controllers newer than Apipie cache! Run apipie:cache rake task to
regenerate cache.
rake aborted!
NoMethodError: undefined method `+’ for
#Rails::Paths::Path:0x00000003b610b8
/opt/theforeman/tfm/root/usr/share/gems/gems/ovirt_provision_plugin-1.0.1/lib/ovirt_provision_plugin/engine.rb:13:in
`block in class:Engine’
/opt/rh/rh-ror41/root/usr/share/gems/gems/railties-4.1.5/lib/rails/initializable.rb:30:in
`instance_exec’
/opt/rh/rh-ror41/root/usr/share/gems/gems/railties-4.1.5/lib/rails/initializable.rb:30:in
`run’
/opt/rh/rh-ror41/root/usr/share/gems/gems/railties-4.1.5/lib/rails/initializable.rb:55:in
`block in run_initializers’
/opt/rh/rh-ror41/root/usr/share/gems/gems/railties-4.1.5/lib/rails/initializable.rb:54:in
`run_initializers’
/opt/rh/rh-ror41/root/usr/share/gems/gems/railties-4.1.5/lib/rails/application.rb:300:in
`initialize!’
/opt/rh/rh-ror41/root/usr/share/gems/gems/railties-4.1.5/lib/rails/railtie.rb:194:in
`public_send’
/opt/rh/rh-ror41/root/usr/share/gems/gems/railties-4.1.5/lib/rails/railtie.rb:194:in
method_missing' /usr/share/foreman/config/environment.rb:5:in
<top (required)>’
/opt/rh/rh-ror41/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in
`require’
/opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in
`block in require’
/opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:232:in
`load_dependency’
/opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in
`require’
/opt/rh/rh-ror41/root/usr/share/gems/gems/railties-4.1.5/lib/rails/application.rb:276:in
`require_environment!’
/opt/rh/rh-ror41/root/usr/share/gems/gems/railties-4.1.5/lib/rails/application.rb:379:in
block in run_tasks_blocks' /usr/share/foreman/lib/tasks/apipie.rake:6:in
block (2 levels) in <top
(required)>’
–
Daniel Helgenberger (helge000)
dan...@helgenberger.net <javascript:>