ServerPreInstallation

Differences between revisions 9 and 16 (spanning 7 versions)
Revision 9 as of 2009-01-17 00:01:41
Size: 4952
Editor: 82-69-40-219
Comment: wiki case
Revision 16 as of 2009-02-19 16:01:08
Size: 4750
Editor: 82-69-40-219
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
 * '''Contributors''': NickBarcet, EvanDandrea  * '''Contributors''': NickBarcet, EvanDandrea, ColinWatson
Line 19: Line 19:
TBD
Line 23: Line 24:

== Use Cases ==
Line 36: Line 35:
We may [[http://www.linuxjournal.com/article/7856|try to auto-detect the timezone]], although this is low-priority. We may [[https://bugs.launchpad.net/bugs/34523|try to auto-detect the timezone]] ([[http://www.linuxjournal.com/article/7856|LinuxJournal article]], although this is low-priority.
Line 40: Line 39:
LVM and root, var, home on a different position, is too complicated.
Don't know where you are, cannot see visually what you are doing.<<BR>>

On LVM, just use 20G instead of all the space, so you can add LVs?<<BR>>

Sane LVM configuration by default. Defined max size for root, but not more, leave the rest of the disk free for additional partitions. Percentage up to a certain size.<<BR>>
Want to be able to edit automatic configurations like applied templates.
 * Evan to see if this is feasible within the constraints of d-i/partman.

` 4 G 20 G`<<BR>>
` +---------------+----------------------+-------+`<<BR>>
` | All for root | 4 GB + 20% for root | Free |`<<BR>>
`+------+---------------+----------------------+-------+`<<BR>>
`| Boot | LVM |`<<BR>>
`+-----------------------------------------------------+`<<BR>>
At the moment, guided LVM partitioning always consumes almost the whole disk for /, which loses much of the flexibility of LVM; it is possible to control this, but only by using manual partitioning which is rather fiddly for LVM. As a middle ground, we will adjust the guided LVM partitioning mode to offer a straightforward way to select the amount of the volume group that should be allocated to logical volumes, indicating that this can easily be increased later. '''[done, partman-auto-lvm 32ubuntu2]'''
Line 58: Line 43:
We will [[https://bugs.launchpad.net/bugs/21570|allow manual package selection]], probably by fixing tasksel's "manual package selection" option (currently deactivated in Ubuntu) to work when tasksel is being run under cdebconf. This will probably require a cdebconf plugin in order to wrest control of the console from newt. We will [[https://bugs.launchpad.net/bugs/21570|allow manual package selection]], probably by fixing tasksel's "manual package selection" option (currently deactivated in Ubuntu) to work when tasksel is being run under cdebconf. This will probably require a cdebconf plugin in order to wrest control of the console from newt. '''[done, cdebconf-terminal 0.3 / tasksel 2.73ubuntu14]'''
Line 62: Line 47:
 * Check password strength
  * cracklib vs pam
  * Kees and Colin should discuss
 * GTK front-end for d-i
We will [[http://bugs.debian.org/364526|offer an indication of password strength]]; it should be sufficient to complain about weak passwords rather than going to the effort of implementing an as-you-type check. (Kees and Colin need to discuss the backend implementation of this, cracklib vs. PAM vs. something else.) '''[simple length check done, user-setup 1.23ubuntu12]'''
Line 67: Line 49:
== Implementation == We will attempt to offer the GTK frontend for d-i. Note, however, that since the directfb GDK backend is poorly maintained upstream and badly broken in Jaunty, this is '''at risk'''.
Line 69: Line 51:
=== UI Changes === == See also ==
Line 71: Line 53:
=== Code Changes === UbuntuSpec:server-installer-partitioning
Line 75: Line 57:
== Unresolved issues == TBD
Line 77: Line 59:
== BoF agenda and discussion ==
Default keyboard selection to selection via a list rather than detection using typing letters.
Want to be able to do a tree selection in tasksel, but that's not possible.
== Future work ==
Line 81: Line 61:
= Proposal for 9.04 = Better tools (web based) to generate preseed / kickstart files.
Line 83: Line 63:
See also:

 * UbuntuSpec:server-installer-partitioning

Possible idea to consider separately: better tools (web based) to generate preseed / kickstart files.

== Can we use ubiquity? ==
Use of Ubiquity?
Line 97: Line 70:
  * Would need LVM support, RAID support, etc.
   * Would need to fall back to d-i if we cannot start a graphical session. We don't want a text frontend to ubiquity because that would create unnecessary layers.
  * Would need LVM support, RAID support, etc.
  * Would need to fall back to d-i if we cannot start a graphical session. We don't want a text frontend to ubiquity because that would create unnecessary layers.

Summary

We should look at the current installation design and remove any questions we can, add anything that we think is missing and have a firm grasp on our overall status.

  • Compare our installation to the current ones by Red Hat and Novell SUSE (Microsoft Windows?)
  • Examine whether our installation meets the common use cases (means specifying them in a specification)
  • Change the installation to meet anything that we are currently missing or over-complicating

Release Note

TBD

Rationale

We know that the speed and simplicity of the installation process is key to providing a "Just Works" experience. We want to offer the best default configuration we can, and offer the ability to set up optional pieces (tasks), so we must balance these two areas. We firmly do not want a second stage after the installer has run. We should look at the current installation design and remove any questions we can, add anything that we think is missing and have a firm grasp on our overall status.

Design

A number of specific changes were identified to streamline the installation process.

Reducing number of questions

Default the keyboard detection question to "no": if you inadvertently hit "yes" (the current default), you have to go through dozens of key presses. [done, console-setup 1.28ubuntu2]

Try to auto-detect the proxy details (remove question if not needed) (bug 209691). APT's timeout is rather long, and inconvenient in environments where a proxy is required.

We may try to auto-detect the timezone (LinuxJournal article, although this is low-priority.

Partman problems

At the moment, guided LVM partitioning always consumes almost the whole disk for /, which loses much of the flexibility of LVM; it is possible to control this, but only by using manual partitioning which is rather fiddly for LVM. As a middle ground, we will adjust the guided LVM partitioning mode to offer a straightforward way to select the amount of the volume group that should be allocated to logical volumes, indicating that this can easily be increased later. [done, partman-auto-lvm 32ubuntu2]

Miscellaneous changes

We will allow manual package selection, probably by fixing tasksel's "manual package selection" option (currently deactivated in Ubuntu) to work when tasksel is being run under cdebconf. This will probably require a cdebconf plugin in order to wrest control of the console from newt. [done, cdebconf-terminal 0.3 / tasksel 2.73ubuntu14]

We will implement a facility for help text in the installer. This will require a debconf protocol modification (or at least a cdebconf plugin), and will need to be proposed upstream in Debian.

We will offer an indication of password strength; it should be sufficient to complain about weak passwords rather than going to the effort of implementing an as-you-type check. (Kees and Colin need to discuss the backend implementation of this, cracklib vs. PAM vs. something else.) [simple length check done, user-setup 1.23ubuntu12]

We will attempt to offer the GTK frontend for d-i. Note, however, that since the directfb GDK backend is poorly maintained upstream and badly broken in Jaunty, this is at risk.

See also

server-installer-partitioning

Test/Demo Plan

TBD

Future work

Better tools (web based) to generate preseed / kickstart files.

Use of Ubiquity?

  • serial port support
  • preseeding?
  • easier beautification?
  • no LVM or RAID support
  • Jaunty+1 at the *earliest*
  • Evan thinks it's feasible, but Colin would know if there's any reason why we absolutely cannot.
    • Would need LVM support, RAID support, etc.
    • Would need to fall back to d-i if we cannot start a graphical session. We don't want a text frontend to ubiquity because that would create unnecessary layers.
  • Surely the core problems are that Ubiquity has absolutely no idea how to install a system by building it up from .deb packages, but only by copying a live filesystem; and that Ubiquity requires a live filesystem with an Ubuntu desktop in order to work, which is unlikely to fit on the server CD. --ColinWatson


CategorySpec

ServerPreInstallation (last edited 2009-02-19 16:01:08 by 82-69-40-219)