Bug 1255420
Summary: | getArches() doesn't return all arches for release minor | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Jan Stancek <jstancek> |
Component: | command line | Assignee: | Dan Callaghan <dcallagh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 20 | CC: | asavkov, bpeck, dcallagh, dowang, jburke, mjia, pbunyan, rjoost |
Target Milestone: | 21.2 | Keywords: | NeedsTestCase, 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-11-23 03:52:42 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
Jan Stancek
2015-08-20 14:23:41 UTC
I have this weird feeling that we had an old bug and/or patch from Bill about this same issue. But I can't find anything now. I guess on the client side we actually want to just pass through all the distro-selection options that we were given, and then let the server apply the usual distro selection logic and then decide the arches from that. Also I wonder if we shouldn't just be returning all the actual tree arches that exist for the distro we picked -- rather than looking at the OS minor, which is kind of a roundabout way of doing it. Well ideally the client would just build its desired <distroRequires/> XML and on the server side we would apply that filter and then just return all arches that matched. But unfortunately the workflow commands aren't structured that way, they are expecting to call getArches() before building all their job templates and adding distroRequires etc. So probably the best we can do for now is: * flip the condition so that if a specific distro is named, we just use that and nothing else * also pass tag along, in case the tag filters it down to some older OS version than the latest * on the server side, find the newest matching distro and use its OS version arch list http://gerrit.beaker-project.org/4450 I guess this can go onto a maintenance release, although it won't always give the right answer until both the client and server have the patch. Beaker 21.2 has been released. |