Project

General

Profile

Actions

Feature #9993

closed

Root password and partition table should be optional when not in build mode

Added by Christine Fouant almost 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Host creation
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

A host should be able to be created without setting a root password or partition table if being created outside of build mode.


Related issues 1 (1 open0 closed)

Related to Foreman - Bug #31239: Can set root password with less than 8 characters on host rebuildNewActions
Actions #1

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2283 added
  • Pull request deleted ()
Actions #2

Updated by Dominic Cleal almost 9 years ago

  • Category set to Host creation
  • Assignee set to Christine Fouant
Actions #3

Updated by Christine Fouant almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Dominic Cleal almost 9 years ago

  • translation missing: en.field_release set to 35
Actions #5

Updated by Dominic Cleal over 8 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?)

Actions #6

Updated by Christine Fouant over 8 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?

Actions #7

Updated by Dominic Cleal over 8 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.

Actions #8

Updated by Justin Sherrill over 8 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).

Actions #9

Updated by Justin Sherrill over 8 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.

Actions #10

Updated by Dominic Cleal over 8 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.

Actions #11

Updated by Lukas Zapletal over 3 years ago

  • Related to Bug #31239: Can set root password with less than 8 characters on host rebuild added
Actions

Also available in: Atom PDF