Bug #26919
closedNoMethodError: undefined method `storage_domain' for nil:NilClass
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1715084
Description of problem:
When creating a new host (tested with image-based provisioning), I get "NoMethodError: undefined method `storage_domain' for nil:NilClass" upon submitting the form and the VM is not created. Traceback attached.
Version-Release number of selected component (if applicable):
Reproduced on Sat 6.6 snap 4.
How reproducible:
Always, at least on my configuration
Steps to Reproduce:
1. Hosts -> Create host
2. Fill in the form
3. Submit
Actual results:
NoMethodError: undefined method `storage_domain' for nil:NilClass
Expected results:
No error, host and VM created
Updated by Ori Rabin over 5 years ago
- Status changed from New to Assigned
- Assignee set to Ori Rabin
Updated by The Foreman Bot over 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6823 added
Updated by Ori Rabin over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 10c89053e3a3d933c28ff37b13a93e9e37697b90.
Updated by Wagner Sartori Junior about 5 years ago
Is it possible to backport this to 1.23?
Updated by Tomer Brisker about 5 years ago
- Fixed in Releases 1.23.2 added
Pulled it in to the stable 1.23 branch, it will be included in the next release.
Updated by Wagner Sartori Junior about 5 years ago
Cool... Thank you very much Tomer.