Project

General

Profile

Bug #9424

Provisioning triggers undefined method `managed?' for nil:NilClass

Added by Lukas Zapletal about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Host creation
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Provisioning works fine, but we see this error in the logs (and Firebug). Fore more info and screenshot see the downstream BZ.

Associated revisions

Revision 657dc8e2 (diff)
Added by Ori Rabin almost 8 years ago

Fixes #9424 - orchestration progress no longer triggers twice

History

#1 Updated by Dominic Cleal about 8 years ago

Isn't this what #9147 is fixing? Or can you provide a stack trace?

#2 Updated by Lukas Zapletal about 8 years ago

  • Status changed from New to Rejected

Oh I haven't realized that. That is the one. Need to do a comment in the BZ, can you read it please?

#3 Updated by Lukas Zapletal about 8 years ago

  • Category set to Discovery plugin
  • Status changed from Rejected to New
  • Assignee set to Ori Rabin

Reopening, the #9147 does not fix this. Let's retest with 2.0.1 discovery

#4 Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2370 added
  • Pull request deleted ()

#5 Updated by Ori Rabin almost 8 years ago

  • Project changed from Discovery to Foreman
  • Category deleted (Discovery plugin)

Moving to Foreman as this is a result of edit being called twice because of the js to animate the progress bar

#6 Updated by Dominic Cleal almost 8 years ago

  • Category set to Host creation
  • Legacy Backlogs Release (now unused) set to 35
2015-05-08 18:49:01 [I] Processing by DiscoveredHostsController#edit as */*
2015-05-08 18:49:01 [I]   Parameters: {"id"=>"mac525400d5d951"}
2015-05-08 18:49:01 [I]   Rendered hosts/edit.html.erb within layouts/application (2.2ms)
2015-05-08 18:49:01 [W] Operation FAILED: undefined method `managed?' for nil:NilClass
2015-05-08 18:49:01 [I]   Rendered common/500.html.erb (13.0ms)
2015-05-08 18:49:01 [I] Completed 500 Internal Server Error in 73ms (Views: 17.6ms | ActiveRecord: 0.1ms)

#7 Updated by Ori Rabin almost 8 years ago

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

Also available in: Atom PDF