Project

General

Profile

Bug #2076

Windows provisioning template generation fails on undefined local variable or method `waik_attributes'

Added by Paul Gomersbach over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Unattended installations
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Provisioning a windows template fails.
Foreman log:

Started GET "/unattended/provision?spoof=192.168.2.53" for 192.168.2.101 at Sat Dec 29 10:41:46 +0100 2012
Processing by UnattendedController#provision as HTML
Parameters: {"spoof"=>"192.168.2.53"}
Found testprovision1.ssx.nl
Operation FAILED: undefined local variable or method `waik_attributes' for #<UnattendedController:0x7f6782243d08>
Completed 500 Internal Server Error in 15ms

ArgumentError (There was no default layout for UnattendedController in [#<ActionView::FileSystemResolver:0x7f678b93e280 @caching=true, @path="/usr/share/foreman/app/views", @cached={#<ActionView::LookupContext::DetailsKey:0x7f678294e1e8 @hash=70041274577140>=>{"operatingsystems"=>{"form"=>{true=>[app/views/operatingsystems/_form.html.erb]}, "template_defaults"=>{true=>[app/views/operatingsystems/_template_defaults.html.erb]}, "index"=>{false=>[app/views/operatingsystems/index.html.erb]}, "templates"=>{true=>[app/views/operatingsystems/_templates.html.erb]}, "edit"=>{false=>[app/views/operatingsystems/edit.html.erb]}}, "common/os_selection"=>{"operatingsystem"=>{true=>[app/views/common/os_selection/_operatingsystem.html.erb]}, "architecture"=>{true=>[app/views/common/os_selection/_architecture.html.erb]}}, "common"=>{"edit_habtm"=>{true=>[app/views/common/_edit_habtm.erb]}, "searchbar"=>{true=>[app/views/common/_searchbar.erb]}, "domain"=>{true=>[app/views/common/_domain.html.erb]}}, "settings"=>{"index"=>{false=>[app/views/settings/index.html.erb]}}, "compute_resources_vms/form"=>{"vmware"=>{true=>[app/views/compute_resources_vms/form/_vmware.html.erb]}}, "hosts"=>{"form"=>{true=>[app/views/hosts/_form.html.erb]}, "progress"=>{true=>[app/views/hosts/_progress.erb]}, "show"=>{false=>[app/views/hosts/show.html.erb]}, "compute"=>{true=>[app/views/hosts/_compute.html.erb]}, "new"=>{false=>[app/views/hosts/new.html.erb]}, "overview"=>{true=>[app/views/hosts/_overview.html.erb]}, "index"=>{false=>[app/views/hosts/index.html.erb]}, "unattended"=>{true=>[app/views/hosts/_unattended.html.erb]}, "metrics"=>{true=>[app/views/hosts/_metrics.html.erb]}, "list"=>{true=>[app/views/hosts/_list.html.erb]}, "edit"=>{false=>[app/views/hosts/edit.html.erb]}, "operating_system"=>{true=>[app/views/hosts/_operating_system.erb]}, "sp_subnet"=>{true=>[app/views/hosts/_sp_subnet.html.erb]}}, "smart_proxies"=>{"form"=>{true=>[app/views/smart_proxies/_form.html.erb]}, "index"=>{false=>[app/views/smart_proxies/index.html.erb]}, "edit"=>{false=>[app/views/smart_proxies/edit.html.erb]}}, "compute_resources_vms/show"=>{"vmware"=>{true=>[app/views/compute_resources_vms/show/_vmware.html.erb]}}, "home"=>{"topbar"=>{true=>[app/views/home/_topbar.rhtml]}}, "puppetclasses"=>{"classes"=>{true=>[app/views/puppetclasses/_classes.html.erb]}, "class_selection"=>{true=>[app/views/puppetclasses/_class_selection.html.erb]}, "classes_parameters"=>{true=>[app/views/puppetclasses/_classes_parameters.html.erb]}, "selectedClasses"=>{true=>[app/views/puppetclasses/_selectedClasses.html.erb]}, "class_parameters"=>{true=>[app/views/puppetclasses/_class_parameters.html.erb]}}, "config_templates"=>{"form"=>{true=>[app/views/config_templates/_form.html.erb]}, "new"=>{false=>[app/views/config_templates/new.html.erb]}, "index"=>{false=>[app/views/config_templates/index.html.erb]}, "combination"=>{true=>[app/views/config_templates/_combination.html.erb]}, "edit"=>{false=>[app/views/config_templates/edit.html.erb]}, "combinations"=>{true=>[app/views/config_templates/_combinations.html.erb]}}, "layouts"=>{"operatingsystems"=>{false=>[]}, "settings"=>{false=>[]}, "hosts"=>{false=>[]}, "application"=>{false=>[app/views/layouts/application.html.erb]}, "smart_proxies"=>{false=>[]}, "subnets"=>{false=>[]}, "config_templates"=>{false=>[]}}, "common_parameters"=>{"puppetclasses_parameters"=>{true=>[app/views/common_parameters/_puppetclasses_parameters.erb]}, "parameter"=>{true=>[app/views/common_parameters/_parameter.erb]}, "parameters"=>{true=>[app/views/common_parameters/_parameters.erb]}, "puppetclass_parameter"=>{true=>[app/views/common_parameters/_puppetclass_parameter.erb]}, "inherited_parameters"=>{true=>[app/views/common_parameters/_inherited_parameters.erb]}}, "tasks"=>{"list"=>{true=>[app/views/tasks/_list.rhtml]}}, "compute_resources_vms/form/vmware"=>{"volume"=>{true=>[app/views/compute_resources_vms/form/vmware/_volume.html.erb]}, "network"=>{true=>[app/views/compute_resources_vms/form/vmware/_network.html.erb]}}}, #<ActionView::LookupContext::DetailsKey:0x7f6781e29f88 @hash=70041268735940>=>{"common/os_selection"=>{"operatingsystem"=>{true=>[app/views/common/os_selection/_operatingsystem.html.erb]}, "architecture"=>{true=>[app/views/common/os_selection/_architecture.html.erb]}}, "common"=>{"domain"=>{true=>[app/views/common/_domain.html.erb]}}, "compute_resources_vms/form"=>{"vmware"=>{true=>[app/views/compute_resources_vms/form/_vmware.html.erb]}}, "hosts"=>{"compute"=>{true=>[app/views/hosts/_compute.html.erb]}}, "puppetclasses"=>{"classes"=>{true=>[app/views/puppetclasses/_classes.html.erb]}, "class_selection"=>{true=>[app/views/puppetclasses/_class_selection.html.erb]}, "classes_parameters"=>{true=>[app/views/puppetclasses/_classes_parameters.html.erb]}, "selectedClasses"=>{true=>[app/views/puppetclasses/_selectedClasses.html.erb]}, "class_parameters"=>{true=>[app/views/puppetclasses/_class_parameters.html.erb]}}, "layouts"=>{"application"=>{false=>[app/views/layouts/application.html.erb]}, "hosts"=>{false=>[]}}, "common_parameters"=>{"inherited_parameters"=>{true=>[app/views/common_parameters/_inherited_parameters.erb]}}, "compute_resources_vms/form/vmware"=>{"volume"=>{true=>[app/views/compute_resources_vms/form/vmware/_volume.html.erb]}, "network"=>{true=>[app/views/compute_resources_vms/form/vmware/_network.html.erb]}}}, #<ActionView::LookupContext::DetailsKey:0x7f67820e7388 @hash=70041270172100>=>{"layouts"=>{"images"=>{false=>[]}, "settings"=>{false=>[]}, "application"=>{false=>[]}}, "layouts/action_controller"=>{"base"=>{false=>[]}}}, #<ActionView::LookupContext::DetailsKey:0x7f6781eac528 @hash=70041269002900>=>{"hosts"=>{"provisioning"=>{true=>[app/views/hosts/_provisioning.html.erb]}}}}>, #<ActionView::FileSystemResolver:0x7f678b957d48 @caching=true, @path="/usr/share/foreman/vendor/ruby/1.8/gems/apipie-rails-0.0.13/app/views", @cached={#<ActionView::LookupContext::DetailsKey:0x7f678294e1e8 @hash=70041274577140>=>{"layouts"=>{"operatingsystems"=>{false=>[]}, "settings"=>{false=>[]}, "hosts"=>{false=>[]}, "smart_proxies"=>{false=>[]}, "subnets"=>{false=>[]}, "config_templates"=>{false=>[]}}}, #<ActionView::LookupContext::DetailsKey:0x7f6781e29f88 @hash=70041268735940>=>{"layouts"=>{"hosts"=>{false=>[]}}}, #<ActionView::LookupContext::DetailsKey:0x7f67820e7388 @hash=70041270172100>=>{"layouts"=>{"images"=>{false=>[]}, "settings"=>{false=>[]}, "application"=>{false=>[]}}, "layouts/action_controller"=>{"base"=>{false=>[]}}}}>]):
app/controllers/application_controller.rb:291:in `generic_exception'

Associated revisions

Revision 46157c22 (diff)
Added by Ohad Levy over 9 years ago

fixes #2076 Windows provisioning template generation fails

History

#1 Updated by Ohad Levy over 9 years ago

  • Category set to Unattended installations
  • Assignee set to Ohad Levy

#2 Updated by Ohad Levy over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF