Project

General

Profile

Feature #1756

limit host provisioning to pxe configuration file creation

Added by monte olvera over 10 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Is it possible to limit the host provision (build) process to only create the pxe configuration file (based on mac address) on the (remote) tftp proxy server?

I'm currently getting the pxe config file created on the remote pxe server but then foreman continues the tftp host provisioning process on what appears to be the foreman server, where I don't have a tftp server running.

Here's the error I'm getting from foreman:

Started POST "/hosts" for clientIP at Mon Jul 16 12:00:34 -0400 2012
  Processing by HostsController#create as
  Parameters: {"authenticity_token"=>"Hj5vC7WmiTU0Ta1wru4ecfzwLk+iGlhw0cYilvH3FEA=", "utf8"=>"?", "host"=>{"name"=>"NEW-SERVER-NAME", "managed"=>"true", "subnet_id"=>"1", "architecture_id"=>"1", "comment"=>"", "compute_resource_id"=>"", "sp_mac"=>"", "provision_method"=>"build", "overwrite"=>"false", "puppet_proxy_id"=>"4", "mac"=>"NEW-SERVER-MAC", "domain_id"=>"1", "sp_name"=>"", "hostgroup_id"=>"4", "build"=>"1", "root_pass"=>"[FILTERED]", "enabled"=>"1", "ptable_id"=>"11", "is_owned_by"=>"2-Users", "environment_id"=>"2", "progress_report_id"=>"[FILTERED]", "ip"=>"NEW-SERVER-IP", "sp_subnet_id"=>"", "model_id"=>"", "puppetclass_ids"=>[""], "sp_ip"=>"", "disk"=>"", "operatingsystem_id"=>"1"}}
Add the TFTP configuration for NEW-SERVER-FQDN
Failed to set TFTP: 500 Internal Server Error
Rolling back due to a problem: TFTP Settings for NEW-SERVER-FQDN         20      failed  NEW-SERVER-FQDNsetTFTP
Failed to save: Failed to set TFTP: 500 Internal Server Error
Rendered hosts/_progress.erb (0.1ms)
Rendered puppetclasses/_selectedClasses.html.erb (0.0ms)
Rendered puppetclasses/_classes.html.erb (1.4ms)
Rendered puppetclasses/_class_selection.html.erb (6.3ms)
Rendered common/_domain.html.erb (6.1ms)
Rendered hosts/_sp_subnet.html.erb (1.0ms)
Rendered common/os_selection/_architecture.html.erb (188.4ms)
Rendered common/os_selection/_operatingsystem.html.erb (8.5ms)
Rendered hosts/_operating_system.erb (202.5ms)
Rendered hosts/_unattended.html.erb (215.8ms)
Rendered common_parameters/_inherited_parameters.erb (0.1ms)
Rendered common_parameters/_parameter.erb (1.4ms)
Rendered common_parameters/_parameters.erb (2.8ms)
Rendered hosts/_form.html.erb (270.1ms)
Rendered bookmarks/_list.html.erb (1.8ms)
Rendered bookmarks/_list.html.erb (0.3ms)
Rendered home/_settings.html.erb (6.5ms)
Rendered home/_user_dropdown.rhtml (1.0ms)
Rendered home/_topbar.rhtml (18.2ms)
Rendered hosts/new.html.erb within layouts/application (294.1ms)
Completed 200 OK in 627ms (Views: 280.9ms | ActiveRecord: 29.3ms)

History

#1 Updated by Anonymous over 5 years ago

  • Description updated (diff)
  • Status changed from New to Rejected

out of scope

Also available in: Atom PDF