Bug 961277
| Summary: | RFE: Accept job containing tasks that are not in task library if alternative harness is specified for this job | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Ľuboš Kardoš <lkardos> | ||||
| Component: | scheduler | Assignee: | Dan Callaghan <dcallagh> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 0.12 | CC: | aigao, asaha, bpeck, dcallagh, jorton, llim, qwan, rmancy | ||||
| Target Milestone: | --- | Keywords: | FutureFeature | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Enhancement | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-03-17 03:08:37 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: | |||||||
| Attachments: |
|
||||||
When I talked to Dan about this we agreed that if a task included a <fetch> node that beaker wouldn't attempt to look it up in it's database. So the following would tell beaker to simply pass the info along to the harness which would install direct from git. <task name="/my/task" role="STANDALONE"> <fetch url="git://git.beaker-project.org/git_repo?branch#path/to/my/task"/> </task> I really hope this can be added to 1.0 Related patches: fetch_url support: http://gerrit.beaker-project.org/2365 Draft external tasks proposal: http://gerrit.beaker-project.org/2366 This was proposed as "External Tasks for Jobs": https://beaker-project.org/dev/proposals/external-tasks.html and implemented in the 0.16 release: bug 1057459. *** This bug has been marked as a duplicate of bug 1057459 *** |
Created attachment 745609 [details] job xml Description of problem: Beaker doesn't accept job containing task that are not in task librarary. But if for a job is alternative harness specified (not beah) by adding parameter "harness=..." into ks_meta and this alternative harness uses git for downloading tasks, there is no need to check if this task is in task library. Version-Release number of selected component (if applicable): beaker 0.12.1 How reproducible: always Steps to Reproduce: 1.Schedule job with attached job XML. Actual results: Beaker shows message "Failed to import job because of: u'Invalid task(s): install_log'" because the task "install_log" is not in beaker task library. Expected results: Beaker should accept this job because this job uses alternative harness that downloads tasks from git and not from beaker task library. Additional info: