Line 11: | Line 11: | ||
== Getting a Complete Tree == | == Getting a Complete Tree == | ||
'''Problem''': Consumers of rawhide need a way to know that they have the right/correct/complete/consistent tree for a particular date. 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 === | === Decision tree for people wanting to install rawhide === |
Revision as of 23:00, 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
Problem: Consumers of rawhide need a way to know that they have the right/correct/complete/consistent tree for a particular date. 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
- is today's tree on the mirror?
- Is today's tree worth getting? In other words, "does it have a chance of installing?"
- If #1 and #2 are "yes" then #4; else WaitForTomorrow()
- Synchronize local copy with mirror
- Is the tree I have locally internally consistent and match up with .treeinfo
Best solution going forward
- Verify date in .treeinfo (today's date or --date)
- verify checksums of repodata.xml (whatever runs last)
- change pungi to create checksum of repodata.xml and add to .treeinfo
- change pungi to create checksum of kernel, initrd and add to .treeinfo
- verify contents of repomd.xml (slow)
- verify packages based on repodata (very slow)
- could #3 and #4 be part of yum-utils?
- Update: Seth Vidal created this to verify trees for internal consistency: http://skvidal.fedorapeople.org/misc/verifytree.py
Open Items
- Need to open a ticket to have modifications made to pungi
- 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"?
Important Rawhide Distinctions
Very important and different ways rawhide is used:
- Rawhide as a repo of packages
- Rawhide as an installable distribution
Open questions and known issues
- Can we re-validate composes?
- What is our definition of "good"?
- There are no current checks performed before trees go to mirrors
- Could we fix the problem by performing tests and if the tree is "not "good it doesn't go to the mirror?
- How do we determine what is "good enough" to push, but not "good enough" to tag as "good"?
- What about providing more snapshots?
- 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.
- 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:
- Create more visibility that snaps will be created
- Post testopia results for snaps
- Create more automation as we go
- Mirrored snapshots for full availability and testing
- Include smaller package set?
Defining GOOD
Here is what we think "Good" should mean in the following situations and how to arrive there.
- If you don't make it to the last step for a particular context (repo, install source, snapshot, major milestone)
- If it isn't "good" it doesn't get pushed to the respective public hosting space
rawhide a REPO
- repodata
- enough packages (multilib)
- key packages (kernel, glibc, rm)
- non-insane broken deps
- has a valid comps.xml
rawhide as an INSTALL SOURCE
- repodata
- enough packages (multilib, not missing a complete arch)
- key packages (kernel, glibc, rm)
- non-insane broken deps
- has a valid comps.xml
- has complete images
- boots
- gets to stage 2 of anaconda--the greeting message
- testopia rawhide validation set
rawhide as a SNAPSHOT (last known good)
- repodata
- enough packages (multilib, not missing a complete arch)
- key packages (kernel, glibc, rm)
- non-insane broken deps
- has a valid comps.xml
- has complete images
- boots
- gets to stage 2 of anaconda--the greeting message
- testopia rawhide validation set
- Has ISOs of proper size (this should be an automated check)
- run snapshot testopia validation suite
rawhide as a MAJOR MILESTONE
- Alpha
- Beta
- Preview
- Release Candidate
- repodata
- enough packages (multilib, not missing a complete arch)
- key packages (kernel, glibc, rm)
- non-insane broken deps
- has a valid comps.xml
- has complete images
- boots
- gets to stage 2 of anaconda--the greeting message
- testopia rawhide validation set
- Has ISOs of proper size (this should be an automated check)
- run milestone testopia validation suite