| Summary: | Distro schema needs to be expanded for native provisioning | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
| Component: | scheduler | Assignee: | Dan Callaghan <dcallagh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.8 | CC: | bpeck, dcallagh, mcsontos, rmancy, stl, yanwang |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-26 06:40:52 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 781917 | ||
|
Description
Dan Callaghan
2012-03-06 23:17:35 UTC
After some discussion the proposed schema is as follows:
distro
id PK
name UNIQUE
osversion_id
date_created
distro_tree
id PK
distro_id
arch_id
variant
date_created
UNIQUE(distro_id, arch_id, variant)
distro_tree_repo
distro_tree_id
repo_id
repo_type
path
PK(distro_tree_id, repo_id)
distro_tree_image
distro_tree_id
image_type
path
PK(distro_tree_id, image_type)??
distro_tree_lab_controller_map # this replaces distro_lab_controller_map
id PK
distro_tree_id
lab_controller_id
url
UNIQUE(distro_tree_id, lab_controller_id, url)
The new "distro tree" would be equivalent to "distros" in Beaker at present. Recipes would pick a distro tree, which is then provisioned. However in the web UI we would present "distros" to the user, with some new UI to display all the trees for each distro. Tags and install options would be set at the distro level. (We will probably need to support overriding install options at the distro_tree level as well.)
(In reply to comment #1) For some reason my whitespace was ruined. Hopefully the meaning is still clear. *** Bug 732328 has been marked as a duplicate of this bug. *** *** Bug 602917 has been marked as a duplicate of this bug. *** Beaker 0.9.0 has been released. |