Bug #15212
closedundefined method `finished' for nil:NilClass (NoMethodError) while upgrading
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1337447
Description of problem:
I was trying to upgrade from [sat6.1.9 -> Sat6.2 snap12] and at step where we run yum update to update all satellite packages from sat6.1.9 -> 6.2, following error thrown in production.log:
2016-05-19 04:30:22 [foreman-tasks/dynflow] [E] undefined method `finished' for nil:NilClass (NoMethodError) | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.31/app/lib/actions/candlepin/listen_on_candlepin_events.rb:149:in `block (2 levels) in initialize_service' | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/world.rb:384:in `call' | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/world.rb:384:in `run_before_termination_hooks'
Version-Release number of selected component (if applicable):
sat6.1.9 -> Sat6.2 snap12
How reproducible:
always
Steps to Reproduce:
1. yum update -y
2.
3.
Actual results:
2016-05-19 04:30:22 [foreman-tasks/dynflow] [E] undefined method `finished' for nil:NilClass (NoMethodError)
| /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.31/app/lib/actions/candlepin/listen_on_candlepin_events.rb:149:in `block (2 levels) in initialize_service'
Expected results:
no exception/error should be thrown during yum update
Additional info:
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6082 added
Updated by Eric Helms over 8 years ago
- Subject changed from upgrade[sat6.1.9 -> Sat6.2 snap12] error [E] undefined method `finished' for nil:NilClass (NoMethodError) while updating satellite packages to undefined method `finished' for nil:NilClass (NoMethodError) while upgrading
- Translation missing: en.field_release set to 86
Updated by Ivan Necas over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|c5bff551882ff66c0a214ab368a579a548840c43.