From Fedora Project Wiki
Line 53: Line 53:


=== Consensus on best go-forward plan ===
=== Consensus on best go-forward plan ===
Best solution going forward is to create a new tool:
Create a new tool:
* used on the mirrors and by community members to run locally (aka rsync -H --link-dest)
* used on the mirrors and by community members to run locally (aka rsync -H --link-dest)
* proposed name of "tree-hugger"
* proposed name of "tree-hugger"

Revision as of 22:52, 23 June 2008

Brain Stormers

  • Jesse Keating, Will Woods, James Laska, John Poelstra, Peter Jones, Chuck Anderson, Bill Nottingham
  • Add your name if I missed you


Overview of Issues and Solutions Discussed:

  • Finding a way to verify that a rawhide tree is internally consistent
  • Maintaining more than one day of rawhide in the Fedora infrastructure
  • Saving "last known" good rawhide trees

Getting a Complete Tree

  • Consumers of rawhide need a way to know that they have the right/correct/complete/consistent tree for a particular date

Problem: Every composed tree has a .treeinfo file. The presence of this file does not guarantee that all the other associated packages for that compose are present too

Decision tree for people wanting to install rawhide

  1. is today's tree on the mirror?
  2. Is today's tree worth getting? In other words, "does it have a chance of installing?"
  3. If #1 and #2 are "yes" then #4; else WaitForTomorrow()
  4. Synchronize local copy with mirror
  5. Is the tree I have locally internally consistent and match up with .treeinfo


Best solution going forward

  1. Verify date in .treeinfo (today's date or --date)
  2. verify checksums of repodata.xml (whatever runs last)
    1. change pungi to create checksum of repodata.xml and add to .treeinfo
    2. change pungi to create checksum of kernel, initrd and add to .treeinfo
  3. verify contents of repomd.xml (slow)
  4. verify packages based on repodata (very slow)

Open Items

  1. Need to open a ticket to have modifications made to pungi
  2. Need a script or tool written to address solutions steps: 2,3, and 4

Multiple Days of Rawhide

  • Get to back to an "old release"--useful for reproducing a bug on Day5 when you reported the bug on Day0 and the composition of rawhide has since changed

Possible solutions

  • stage2
  • save complete old trees (optimistically hard linking)
    • served by machine not the hub (kojikpgs) (5 days worth)?
    • provide new tool to home users
  • repo of boot.iso's
  • git repos of "stuff"
  • meta redirects to kojifile store
    • copy of non package data

Consensus on best go-forward plan

Create a new tool:

  • used on the mirrors and by community members to run locally (aka rsync -H --link-dest)
  • proposed name of "tree-hugger"
  • cannot use AFS mirrors!
  • keeps n-copies of tree
  • hard links for space saving or slinks for file systems links AFS
  • number of trees based on size or number (keep as much as we can)
  • mirror list (FIXME---what else went here?)

Last Known Good Tree

  • Is there a way to provide "last known good" trees so that if a particular day of rawhide does not install or a current installation becomes unusable there is a clear place to obtain a "known installable tree"?

Two very important, but different ways rawhide is used: 1) Rawhide as a repo of packages 2) Rawhide as an installable distribution

Open questions and known issues: 1) Can we re-validate composes? 2) what is our definition of "good"? 3) There are no current checks performed before trees go to mirrors 4) Could we fix the problem by performing tests and if the tree is "not "good it doesn't go to the mirror? 5) How do we determine what is "good enough" to push, but not "good enough" to tag as "good"? 6) What about providing more snapshots? 7) Can we do better notification of snapshots to maintainers so that they "land" AND "park" content for snapshots far enough in advance versus "crashing into the runway" at the last minute. 8) How about about a generic tool that combines livecd-iso-to-disk and diskboot.img?


Snapshots


(add earlier snapshots) Alpha Beta Preview RCX

We tend to get the most feedback when we do ISO releases --Can we determine how many people use bittorrent vs. mirror downloads particularly for to download the test releases? ACTION: File a ticket with infrastructure and Mike McGrath will get us data supporting or disproving the assertion that making snapshots available on bittorrent should satisfy most of the demand for snapshot access.

Possible action plan around snapshots: 1) Create more visibility that snaps will be created 2) Post testopia results for snaps 3) Create more automation as we go 4) Mirrored snapshots for full availability and testing 5) Include smaller package set?

Here is what we think "Good" should mean in the following situations and how to arrive there. o If you don't make it to the last step for a particular context (repo, install source, snapshot, major milestone) o If it isn't "good" it doesn't get pushed to the respective public hosting space

rawhide a REPO 1) repodata 2) enough packages (multilib) 3) key packages (kernel, glibc, rm) 4) non-insane broken deps 5) has a valid comps.xml

rawhide as an INSTALL SOURCE (has images) 1) repodata 2) enough packages (multilib, not missing a complete arch) 3) key packages (kernel, glibc, rm) 4) non-insane broken deps 5) has a valid comps.xml 6) has complete images 7) boots 8) gets to stage 2 of anaconda--the greeting message 9) "rawhide validation" set (if any)

rawhide as a SNAPSHOT (as an install source, has images, has isos)--"last known good" 1) repodata 2) enough packages (multilib, not missing a complete arch) 3) key packages (kernel, glibc, rm) 4) non-insane broken deps 5) has a valid comps.xml 6) has complete images 7) boots 8) gets to stage 2 of anaconda--the greeting message 9) "rawhide validation" set (if any) 10) Has ISOs of proper size (this should be an automated check) 11) run snapshot testopia validation suite

rawhide as a MAJOR MILESTONE--Alpha, Beta, Preview, Release Candidate (as an install source, has images, has ISOs) 1) repodata 2) enough packages (multilib, not missing a complete arch) 3) key packages (kernel, glibc, rm) 4) non-insane broken deps 5) has a valid comps.xml 6) has complete images 7) boots 8) gets to stage 2 of anaconda--the greeting message 9) "rawhide validation" set (if any) 10) Has ISOs of proper size (this should be an automated check) 11) run milestone testopia validation suite