Project

General

Profile

Actions

Bug #10898

closed

Auto-provision a host via Discovery_Manager role rasies undefined method

Added by Lukas Zapletal over 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Fixed in Releases:
Found in Releases:

Description

Description of problem:
Created a user and assigned "discovery Manager" role to it. When login with created user, I can see the discovered host.

But when I selected "auto_provision" from dropdown, I got following error in production.log:

--
2015-03-16 12:37:54 [I] Processing by DiscoveredHostsController#auto_provision as HTML
2015-03-16 12:37:54 [I] Parameters: {"authenticity_token"=>"koGOJke03MsLI8HDVy1arpNmYfRxI1WGctnPfMpsczE=", "id"=>"mac52540032b2de"}
2015-03-16 12:37:54 [W] Operation FAILED: undefined method `transaction' for nil:NilClass
2015-03-16 12:37:54 [I] Rendered common/500.html.erb within layouts/application (5.0ms)
2015-03-16 12:37:54 [I] Rendered layouts/base.html.erb (1.4ms)
2015-03-16 12:37:54 [I] Completed 500 Internal Server Error in 48ms (Views: 8.7ms | ActiveRecord: 8.3ms)
--

https://bugzilla.redhat.com/show_bug.cgi?id=1202336


Related issues 1 (1 open0 closed)

Related to Foreman - Feature #10900: Ship all built-in roles as read-only and provide a way to clone rolesNew06/22/2015Actions
Actions

Also available in: Atom PDF