Actions
Bug #20357
open404 when selecting a puppet class for a new host
Status:
New
Priority:
Normal
Assignee:
-
Category:
Host creation
Target version:
-
Description
from the logs:
[app] [I] Started POST "/puppetclasses/33/parameters" for ::1 at 2017-07-20 10:29:01 +0300 [app] [I] Processing by PuppetclassesController#parameters as */* [app] [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"NVup8UXy4VlhZjoGxRwcVwQ9AeUk4V7WI8A8GnXekn9k18eVtChNw9CwqDm79MI/pwSQhA/Le5yHtqxCWxplWw==", "host"=>{"name"=>"hope-tanke", "organization_id"=>"1", "location_id"=>"", "hostgroup_id"=>"1", "compute_resource_id"=>"29", "config_group_ids"=>[""], "puppetclass_ids"=>["", "33"], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"hope-tanke", "domain_id"=>"6", "subnet_id"=>"1", "ip"=>"", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>"", "compute_attributes"=>{"type"=>"VirtualE1000", "network"=>"dvportgroup-125"}}}, "compute_attributes"=>{"cpus"=>"1", "corespersocket"=>"1", "memory_mb"=>"768", "firmware"=>"automatic", "cluster"=>"", "path"=>"/Datacenters/RH_Engineering/vm", "guest_id"=>"otherGuest", "hardware_version"=>"Default", "memoryHotAddEnabled"=>"0", "cpuHotAddEnabled"=>"0", "add_cdrom"=>"0", "start"=>"1", "annotation"=>"", "scsi_controllers"=>"{\"scsiControllers\":[{\"type\":\"VirtualLsiLogicController\",\"key\":1000}],\"volumes\":[{\"thin\":true,\"name\":\"Hard disk\",\"mode\":\"persistent\",\"controllerKey\":1000,\"size\":10485760,\"sizeGb\":10,\"eagerzero\":true}]}"}, "architecture_id"=>"1", "operatingsystem_id"=>"44", "provision_method"=>"build", "build"=>"1", "medium_id"=>"2", "ptable_id"=>"104", "pxe_loader"=>"PXELinux BIOS", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"1-Users", "enabled"=>"1", "model_id"=>"", "expired_on"=>"", "comment"=>"", "overwrite"=>"false"}, "capabilities"=>"build image", "provider"=>"Vmware", "fakepassword"=>"[FILTERED]", "bare_metal_capabilities"=>"build", "host_id"=>"undefined", "id"=>"33"} [sql] [D] ActiveRecord::SessionStore::Session Load (0.2ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = ? ORDER BY "sessions"."id" ASC LIMIT ? [["session_id", "01daaa37d34e6c9cd5273e70deb1b42b"], ["LIMIT", 1]] [sql] [D] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] [app] [I] Current user: admin (administrator) [app] [D] Setting current user thread-local variable to admin [sql] [D] (0.1ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') [app] [D] Setting current organization thread-local variable to none [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') [app] [D] Setting current location thread-local variable to none [sql] [D] AuthSource Load (0.3ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] [sql] [D] (0.1ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT ? [["LIMIT", 1]] [sql] [D] (0.6ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT ? [["LIMIT", 1]] [sql] [D] Puppetclass Load (0.2ms) SELECT "puppetclasses".* FROM "puppetclasses" WHERE "puppetclasses"."id" = ? ORDER BY puppetclasses.name LIMIT ? [["id", 33], ["LIMIT", 1]] [sql] [D] Host::Base Load (0.3ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]] [app] [D] not found: Couldn't find Host::Base with 'id'=undefined [app] [I] Rendering common/404.html.erb within layouts/application [app] [I] Rendered common/404.html.erb within layouts/application (1.6ms) [app] [I] Rendered layouts/_application_content.html.erb (4.6ms) [app] [I] Rendering layouts/base.html.erb [app] [I] Rendered layouts/base.html.erb (229.5ms) [app] [I] Completed 404 Not Found in 263ms (Views: 242.5ms | ActiveRecord: 2.1ms) [sql] [D] CACHE (0.0ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = ? ORDER BY "sessions"."id" ASC LIMIT ? [["session_id", "01daaa37d34e6c9cd5273e70deb1b42b"], ["LIMIT", 1]]
Actions