Bug #19639

undefined method `[]' for Proxy::Dynflow::Plugin:Class

Added by Michael Moll 7 months ago. Updated 7 months ago.

Status:Closed
Priority:Normal
Assigned To:Adam Ruzicka
Category:-
Target version:Foreman - Team Ivan Iteration 15
Difficulty: Pull request:https://github.com/theforeman/smart_proxy_dynflow/pull/34
Bugzilla link:
Story points-
Velocity based estimate-

Description

After upgrading a foreman-proxy from foreman-proxy_9999-xenial+scratchbuild+201705111506_all.deb to foreman-proxy_9999-xenial+scratchbuild+20170522085652_all.deb the proxy service does not start anymore:

I, [2017-05-23T15:45:26.109571 ]  INFO -- : WEBrick::HTTPServer#start done.
I, [2017-05-23T15:45:26.604728 ]  INFO -- : Successfully initialized 'dynflow'
I, [2017-05-23T15:45:26.605208 ]  INFO -- : Successfully initialized 'ssh'
I, [2017-05-23T15:45:26.605251 ]  INFO -- : Successfully initialized 'foreman_proxy'
I, [2017-05-23T15:45:26.605275 ]  INFO -- : Successfully initialized 'tftp'
I, [2017-05-23T15:45:26.605293 ]  INFO -- : Successfully initialized 'puppetca'
I, [2017-05-23T15:45:26.605363 ]  INFO -- : Started puppet class cache initialization
I, [2017-05-23T15:45:26.605700 ]  INFO -- : Successfully initialized 'puppet_proxy_puppet_api'
I, [2017-05-23T15:45:26.605748 ]  INFO -- : Successfully initialized 'puppet'
I, [2017-05-23T15:45:26.606279 ]  INFO -- : Successfully initialized 'logs'
E, [2017-05-23T15:45:26.608686 ] ERROR -- : Error during startup, terminating. undefined method `[]' for Proxy::Dynflow::Plugin:Class

The component versions used on that system:
ruby-smart-proxy-dynflow-core (0.1.6-1)
ruby-smart-proxy-dynflow (0.1.6-1)
ruby-smart-proxy-remote-execution-ssh (0.1.4-1)

Associated revisions

Revision b6aebdaf
Added by Adam Ruzicka 7 months ago

Fixes #19639 - Fix loading settings from smart-proxy

Revision f916d45b
Added by Adam Ruzicka 7 months ago

Fixes #19639 - Keep compatibility with versions <1.16

History

#1 Updated by Ivan Necas 7 months ago

  • Target version set to Team Ivan Iteration 15

#2 Updated by Michael Moll 7 months ago

possibly related to the commit for #7832

#3 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Adam Ruzicka
  • Pull request https://github.com/theforeman/smart_proxy_dynflow/pull/34 added

#4 Updated by Adam Ruzicka 7 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF