Bug 1070575
| Summary: | hardcoded distro name and version in beaker-import (Red Hat Enterprise Linux and CentOS) | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Hushan Jia <hushan.jia> |
| Component: | lab controller | Assignee: | Dan Callaghan <dcallagh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.15 | CC: | aigao, asaha, dcallagh, rmancy, tools-bugs, xma |
| Target Milestone: | 0.18.1 | Keywords: | Patch |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-12 07:36:24 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Hushan Jia
2014-02-27 06:36:38 UTC
This is the other issue we need to fix to support custom distros with arbitrary names. This actually only applies to custom distros using the original .treeinfo format, rather than the newer style .composeinfo files which have been introduced by Red Hat Release Engineering starting in RHEL7 and RHEL6.6. CentOS still uses the original .treeinfo format and so any custom distros based on CentOS will have this problem. Steps to reproduce: 1. Run an HTTP server, or go to some directory you control being served by an HTTP server (like your public_html, etc). 2. Create a new subdir CustomCentOS6.5-x86_64 (this is our fake custom CentOS tree). 3. Grab the CentOS 6.5 .treeinfo from http://mirror.aarnet.edu.au/pub/centos/6.5/os/x86_64/.treeinfo and place it in the fake custom tree 4. Modify .treeinfo so the 'family' key is CustomCentOS (or any other unrecognised product name). 5. Run beaker-import pointing at your custom tree's HTTP URL: beaker-import http://example.com/CustomCentOS6.5-x86_64/ Actual results: 2014-09-03 18:15:01,559 root CRITICAL No valid importer found for http://lab.dcallagh.beakerdevs.lab.eng.bne.redhat.com/distros/CustomCentOS6.5-x86_64/ Expected results: 2014-09-03 18:12:15,288 root INFO CustomCentOS-6.5 x86_64 added to beaker. On Gerrit: http://gerrit.beaker-project.org/3308 Beaker 0.18.1 has been released. |