Description of problem: when import customised distro with beaker-import command, it fails with: 2014-02-27 14:27:31,816 root CRITICAL No valid importer found for http://pek.zelin.local/distros/zos-0.1/ later dcallagh found it is because the script have name and version hardcoded to RHEL and CentOS, and major version >= 6. this is not very convinient, because this restrict beaker support only RHEL6 and CentOS6. Version-Release number of selected component (if applicable): beaker-server-0.15.3-2.el6eng.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
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.