Actions
Feature #350
closedProvide the ability to set the build option when editing multiple hosts
Added by Paul Kelly over 14 years ago. Updated almost 14 years ago.
Updated by Ohad Levy over 14 years ago
- Category set to Web Interface
- Assignee set to Paul Kelly
environment is already possible, build?
Updated by Ohad Levy almost 14 years ago
- Subject changed from Provide the ability to set the build option and the environment when editing multiple hosts to Provide the ability to set the build option when editing multiple hosts
Updated by Paul Kelly almost 14 years ago
- Status changed from New to Ready For Testing
- Branch set to feature/350-multiple-builds
Updated by Paul Kelly almost 14 years ago
Updated the branch to incorporate Ohad's request for setBuild
Updated by Paul Kelly almost 14 years ago
- % Done changed from 0 to 100
Applied in changeset 1f927b16a5fe3d26049f0ffa360e6fe026147310.
Updated by Ohad Levy almost 14 years ago
- Status changed from Ready For Testing to Assigned
@paul, I've found a couple of issues with this commit:
- missing view multiple_build.html.erb
- it does not take into account that the pxe config files are rewritten, which means you need to add the run the
forward_request_url method as a before filter
(here is an example from my log file (after adding the view)
Processing HostsController#submit_multiple_build (for 10.35.1.213 at 2011-01-27 09:40:57) [POST] Parameters: {"commit"=>"Rebuild hosts upon their next network boot for selected hosts", "action"=>"submit_multiple_build", "authenticity_token"=>"BPWpAgJGNoEb3NhU5BfiHQSNz7Av5/H3vj8g2t/1dOw=", "controller"=>"hosts"} Add the TFTP configuration for demo200.sat.lab.tlv.redhat.com Failed to generate PXELinux template: Missing host to link to! Please provide :host parameter or set default_url_options[:host] Fetching required TFTP boot files for demo200.sat.lab.tlv.redhat.com Delete the TFTP configuration for demo200.sat.lab.tlv.redhat.com Add the TFTP configuration for shahar.sat.lab.tlv.redhat.com Failed to generate PXELinux template: Missing host to link to! Please provide :host parameter or set default_url_options[:host] Fetching required TFTP boot files for shahar.sat.lab.tlv.redhat.com Delete the TFTP configuration for shahar.sat.lab.tlv.redhat.com Add the TFTP configuration for paul.sat.lab.tlv.redhat.com Failed to generate PXELinux template: Missing host to link to! Please provide :host parameter or set default_url_options[:host] Fetching required TFTP boot files for paul.sat.lab.tlv.redhat.com Delete the TFTP configuration for paul.sat.lab.tlv.redhat.com Redirected to http://foreman.sat.lab.tlv.redhat.com/hosts Completed in 7645ms (DB: 6380) | 302 Found [http://foreman.sat.lab.tlv.redhat.com/hosts/submit_multiple_build]
The wired thing is that the operation completed successfully... not exactly sure why.
Updated by Paul Kelly almost 14 years ago
- Status changed from Assigned to Closed
Actions