Feature #9993
closedRoot password and partition table should be optional when not in build mode
Description
A host should be able to be created without setting a root password or partition table if being created outside of build mode.
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2283 added
- Pull request deleted (
)
Updated by Dominic Cleal over 9 years ago
- Category set to Host creation
- Assignee set to Christine Fouant
Updated by Christine Fouant over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset aea52e15b21c2100c31d52d3e9520aa84809951c.
Updated by Dominic Cleal over 9 years ago
- Translation missing: en.field_release set to 35
Updated by Dominic Cleal over 9 years ago
Why was this changed? Seems strange to me, looks like you actually want an unmanaged host and not a managed host that's !build. (Maybe revert after #10413?)
Updated by Christine Fouant over 9 years ago
It was prerequisite to the Host Unification design feature team. I was following what validate_media? outlines in managed hosts model. The goal is for a user to be able to create a host that may or may not want to use puppet, but still be able to manage puppet, so I don't think the unmanaged host is the solution. Correct me if I'm wrong, but in unmanaged, users don't manage puppet, correct?
Updated by Dominic Cleal over 9 years ago
Christine Fouant wrote:
The goal is for a user to be able to create a host that may or may not want to use puppet, but still be able to manage puppet, so I don't think the unmanaged host is the solution. Correct me if I'm wrong, but in unmanaged, users don't manage puppet, correct?
Yes, that's incorrect, an unmanaged host is typically just for Puppet with no provisioning support.
Updated by Justin Sherrill over 9 years ago
Install media was already checking for 'build?', so i guess that was wrong as well.
There also isn't a way to create an unmanaged host in the UI is there? Granted that may be a separate feature, but we were using the UI to guide us as to how to implement this it may have been what led us astray (as we were following the install media example).
Updated by Justin Sherrill over 9 years ago
err, i guess the validate_media? method is checking for managed as well, but from a user perspective using the UI and trying to make a host with as little information as possible, this seemed to be the 'right' solution. I can see how using managed? would be better.
Updated by Dominic Cleal over 9 years ago
Yeah, I don't think the media check is right either - validation should probably be consistent irrespective of the state of the host, and only dependent on the type.
It's not possible to create an unmanaged host when in unattended mode. We're tracking some of this under #10413 to unify it a bit.
Updated by Lukas Zapletal about 4 years ago
- Related to Bug #31239: Can set root password with less than 8 characters on host rebuild added