ServerLucidCloudBoothooks

Differences between revisions 2 and 3
Revision 2 as of 2009-11-20 17:49:12
Size: 3986
Editor: 63
Comment:
Revision 3 as of 2009-11-24 15:15:05
Size: 4047
Editor: d14-69-66-169
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * '''Launchpad Entry''': UbuntuSpec:foo
 * '''Created''':
 * '''Contributors''':
 * '''Packages affected''':
 * '''Launchpad Entry''': UbuntuSpec:server-lucid-ec2-boothooks
 * '''Created''': 2009-11-24
 * '''Contributors''': Scott Moser
 * '''Packages affected''': ec2init upstart

Summary

This should provide an overview of the issue/functionality/change proposed here. Focus here on what will actually be DONE, summarising that so that other people don't have to read the whole spec. See also CategorySpec for examples.

Release Note

This section should include a paragraph describing the end-user impact of this change. It is meant to be included in the release notes of the first release in which it is implemented. (Not all of these will actually be included in the release notes, at the release manager's discretion; but writing them is a useful exercise.)

It is mandatory.

Rationale

This should cover the _why_: why is this change being proposed, what justifies it, where we see this justified.

User stories

Assumptions

Design

You can have subsections that better describe specific parts of the issue.

Implementation

This section should describe a plan of action (the "how") to implement the changes discussed. Could include subsections like:

UI Changes

Should cover changes required to the UI, or specific UI that is required to implement this

Code Changes

Code changes should include an overview of what needs to change, and in some cases even the specific details.

Migration

Include:

  • data migration, if any
  • redirects from old URLs to new ones, if any
  • how users will be pointed to the new way of doing things, if necessary.

Test/Demo Plan

It's important that we are able to test new features, and demonstrate them to users. Use this section to describe a short plan that anybody can follow that demonstrates the feature is working. This can then be used during testing, and to show off after release. Please add an entry to http://testcases.qa.ubuntu.com/Coverage/NewFeatures for tracking test coverage.

This need not be added or completed until the specification is nearing beta.

Unresolved issues

This should highlight any issues that should be addressed in further specifications, and not problems with the specification itself; since any specification with problems cannot be approved.

BoF agenda and discussion

things would like to support

  • change /etc/fstab (not for root, but for other partitions)
    • being able to mount /dev/sdb1 to somewhere else than /mnt
    • create an lvm volume on boot
    • using automount?
  • modify /etc/apt/sources.*: add new lines, import gpg keys?
  • write ssh keys (requiring running before ssh starts)

  + init
    |
    udev
      +- found eth0 +- ifup eth0 +------------------------------------ "net-device-up IFACE=eth0"
      +- found sda1 +- mount sda1 +- "mount MOUNTPOINT=/" --------------+- X
  • support for upstart job on boot:
    • start on (mount MOUNTPOINT=/ and net-device-up IFACE=eth0)
      • ^ this will block further mounting until the network device is up

      then you could do, e.g. exec initctl emit ec2-boot-hook
      (after putting things in /etc/init)
      
      and:
      
      start on ec2-boot-hook
      script
        .. do lots of work ..
      end script

                start on (mount MOUNTPOINT=/
                          and net-device-up IFACE=eth0)
                task
                script
                  .. download data, write to /etc/init, etc.
                  
                  initctl emit ec2-boot-hook
                end script

Format

  • #! line => "run this at S99" (backward compatibility case)

  • gzip-compressed MIME multipart document
    • type text/x-upstart => "store this to /etc/init"

    • type application/x-sh => "execute this script immediately"?

    • type ubuntu-ec2-config => "larger granularity config things" (install-packages: a b c)

specify another place to get the mutlipart configuration


CategorySpec

ServerLucidCloudBoothooks (last edited 2010-01-07 13:43:29 by d14-69-66-169)