Bug #5708
closed
- Status changed from New to Need more information
Can you check /var/log/foreman/production.log when you provision? I'm interested to see if any requests reach Foreman, and if they complete successfully.
It does hit but doesn't explain much:
Started GET "/unattended/iPXE?token=4890cccd-e5c9-4900-b0fb-dbdc4831ea13&mac=00%3A50%3A56%3Ab9%3A71%3Aae" for 10.145.192.101 at 2014-05-14 22:32:11 +0000
Processing by UnattendedController#iPXE as HTML
Parameters: {"token"=>"4890cccd-e5c9-4900-b0fb-dbdc4831ea13", "mac"=>"00:50:56:b9:71:ae"}
Found ipa-evl-01.airservices.gov.au
Rendered inline template (15.0ms)
Rendered text template (0.0ms)
Completed 500 Internal Server Error in 34ms (Views: 0.5ms | ActiveRecord: 0.5ms)
The 500 error is a good indication. Try viewing the host page, then under the Templates tab preview the iPXE template and see what error is reported.
See it:
"There was an error rendering the Kickstart default iPXE template: undefined method 'nil?' for Safemode::Jail (Token)"
Changing "safemode_render" has resolved this issue. I remember 1.4.x actually prevented you from downloading the iso until this change was made. Suggest bringing this failsafe back.
- Project changed from Boot disk to Foreman
- Subject changed from VM won't provision with ipxe: Error 1d0c61 to iPXE template fails with undefined method 'nil?' for Safemode::Jail (Token)"
- Status changed from Need more information to New
- Assignee deleted (
Dominic Cleal)
- Translation missing: en.field_release set to 16
The hope was that all of the safemode issues had been resolved, sorry!
I think we can either add .nil? to the permitted methods on Token, or update the template to always assume there's a token.
- Category set to Templates
- Target version set to 1.8.2
- Status changed from New to Assigned
- Assignee set to Anonymous
- Status changed from Assigned to Ready For Testing
- Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1107694
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF