Description of problem: Recipesets cannot be cloned due to missing whiteboard. Version-Release number of selected component (if applicable): 0.5.60 How reproducible: 100% Steps to Reproduce: 1. try to clone any RecipeSet from command line 2. 3. Actual results: $ bkr job-clone RS:45292 <Fault 1: 'exceptions.AttributeError:whiteboard'> Submitted: [] Expected results: job is scheduled Additional info:
The same applies to WebUI: Go to any job (e.g. [1] having a lot of RS) and try cloning a recipe set e.g. [2]. [1] https://beaker.engineering.redhat.com/jobs/35582 [2] https://beaker.engineering.redhat.com/jobs/clone?recipeset_id=60010 This results in a ISE 500. I can still use "Clone" at Job level, but that's inconvenient when I want only a single RecipeSet. Changing the component to Scheduler: I believe it's Scheduler who is to blame: when returning a RecipeSet/Recipe it should also include upper level elements (i.e. job for RS and recipeSet for R) and all required components (e.g. whiteboard for job.)
*** Bug 659305 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 659141 ***
Btw, a quick workaround for this is to set a 'product' on your job. It should then all work fine.
That's not that quick when using web UI on older jobs, as that can not be used. And using command line, it's not easy to edit the XML.
Why not? I just did it on a job of mine from 6 months ago. It's not a comprehensive solution, it's a workaround until the proper fix is deployed in less than a weeks time.
All right. Did not notice the milestone. I can live with it.
*** Bug 659689 has been marked as a duplicate of this bug. ***
*** Bug 659638 has been marked as a duplicate of this bug. ***