Bug 1175118
Summary: | Fedora 21 Everything location is not detected by beaker-import | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
Component: | lab controller | Assignee: | Amit Saha <asaha> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | aigao, asaha, dcallagh, dowang, ebaak |
Target Milestone: | 19.2 | Keywords: | Patch |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-01-20 03:18:41 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
Dan Callaghan
2014-12-17 08:28:26 UTC
A workaround for this particular case (emacs) is to drop /distribution/reservesys and use the <reservesys/> element instead. But there might be other packages which will also hit depsolving problems for the same reason. Another possible workaround (I haven't tried it yet) is to use the Fedora Workstation tree, which presumably has a different package set that is more likely to contain emacs and its deps. The reason seems to me that it's not even looking for the existence of the "Everything" repo (in which case it would have found it, since the relative location hasn't changed -- assuming F21 server). The reason is that it is using the "TreeInfoRhel5" importer instead of "TreeInfoFedora". $ beaker-import --debug --dry-run http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/ 2015-01-12 01:49:03,924 root INFO Dry Run only, no data will be sent to beaker 2015-01-12 01:49:04,152 root DEBUG Importer ComposeInfoLegacy does not match 2015-01-12 01:49:04,377 root DEBUG Importer ComposeInfo Matches 2015-01-12 01:49:04,378 root INFO Attempting to import: http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/ 2015-01-12 01:49:05,060 root DEBUG Importer ComposeInfoLegacy does not match 2015-01-12 01:49:05,286 root DEBUG Importer ComposeInfo does not match 2015-01-12 01:49:05,865 root DEBUG Importer TreeInfoLegacy does not match 2015-01-12 01:49:06,430 root DEBUG Importer TreeInfoRhel5 Matches 2015-01-12 01:49:06,430 root INFO Attempting to import: http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/armhfp/os 2015-01-12 01:49:08,700 root DEBUG {'arch': 'armhfp', 'arches': [], .. .. This fixes it: diff --git a/LabController/src/bkr/labcontroller/distro_import.py b/LabController/src/bkr/labcontroller/distro_import.py index f1dfa44..cf86da2 100755 --- a/LabController/src/bkr/labcontroller/distro_import.py +++ b/LabController/src/bkr/labcontroller/distro_import.py @@ -1081,7 +1081,7 @@ def is_importer_for(cls, url, options=None): parser.has_section_startswith('addon-'): return False # Fedora has a special case below, see TreeInfoFedora - if parser.get('general', 'family') == 'Fedora': + if 'Fedora' in parser.get('general', 'family'): return False return parser Beaker 19.2 has been released. |