Project

General

Profile

Actions

Bug #2779

closed

user fails to add puppet class to host group

Added by David Juran almost 11 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

User fails to add a puppet class to a host group and foreman spews out the following error:

Started PUT "/hostgroups/25-cyd-appdev-rhel-64-static-server-kryptonclientdevteam" for 10.99.11.162 at 2013-07-12 10:30:32 +0200
Processing by HostgroupsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"CcQ2X1fHtYCuHXKCX0nZlLIQNMy/qgLola5oIcWU3Rs=", "hostgroup"=>{"parent_id"=>"20", "name"=>"KryptonClientDevTeam", "environment_id"=>"4", "puppet_ca_proxy_id"=>"1", "puppet_proxy_id"=>"1", "puppetclass_ids"=>["", "186"], "domain_id"=>"2", "subnet_id"=>"5", "architecture_id"=>"1", "operatingsystem_id"=>"1", "medium_id"=>"6", "ptable_id"=>"11", "root_pass"=>"[FILTERED]", "location_ids"=>["", "1", ""], "organization_ids"=>["", "2", ""]}, "commit"=>"Submit", "id"=>"25-cyd-appdev-rhel-64-static-server-kryptonclientdevteam"}
Operation FAILED: ActiveRecord::RecordNotSaved
Rendered common/500.html.erb within layouts/application (6.7ms)
Completed 500 Internal Server Error in 60ms (Views: 11.1ms | ActiveRecord: 9.5ms)
Failed to refresh puppet classes: []

Attached is a screenshot of the permission report.

The user has the following roles:
Edit-hosts
Edir-partiontables
Manager
Site-Manager
View-hosts
Viewer

I'm running foreman-1.2.0-1.el6.noarch on RHEL6


Files

perm.pdf View perm.pdf 1.14 MB David Juran, 07/12/2013 05:21 AM
Actions

Also available in: Atom PDF