Actions
Bug #4976
closedPartition table is not required when creating host with network provisioning
Description
However, kickstart templates count on it and it fails badly
when rendering it:
Processing by UnattendedController#provision as HTML Parameters: {"hostname"=>"rhel6-1.katellolabs.org"} Found rhel6-1.katellolabs.org Operation FAILED: private method `layout' called for nil:NilClass Completed 500 Internal Server Error in 145ms app/models/host/managed.rb:249:in `diskLayout' app/controllers/unattended_controller.rb:196:in `kickstart_attributes' app/controllers/unattended_controller.rb:170:in `load_template_vars' app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
Updated by Dominic Cleal over 10 years ago
- Subject changed from Partitiona table is not required when creating host with network provisioning to Partition table is not required when creating host with network provisioning
- Category set to Host creation
Updated by Ivan Necas over 10 years ago
- Status changed from New to Assigned
- Assignee set to Ivan Necas
More details: this happens only with Katello in place.
The cause is Foreman uses this to determine if it's running in rake task or not:
if defined? Rake
However, tire gem requires rake in non-rake task as well, so the constant is defined.
I will update the code, extract the checking on running in rake to a single method and
use more complex logic to determine it's really running from rake.
Updated by Ivan Necas over 10 years ago
- Status changed from Assigned to Ready For Testing
Updated by Dominic Cleal over 10 years ago
- Translation missing: en.field_release set to 4
Updated by Ivan Necas over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset e4fde4e380e68b70585f51dd122b4ae7e95dcb5d.
Actions