Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 626738

Summary: Per recipe yum repositories not rebuilt for updated tasks
Product: [Retired] Beaker Reporter: Marian Csontos <mcsontos>
Component: schedulerAssignee: Nick Coghlan <ncoghlan>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 0.5CC: bpeck, dcallagh, emcnabb, jburke, kbaker, mcsontos, mishin, psplicha, rmancy
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: Scheduler
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-01 04:23:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 599424, 606242    
Bug Blocks: 658229, 658397    

Description Marian Csontos 2010-08-24 09:10:19 UTC
Description of problem:
If someone updates a task without tagging it expecting it will be picked up by scheduled job, all running jobs using that task will break.

The same applies to problem with missing rpms: even if RPM is re-uploaded, it is not picked up, but this is not as bad as first problem.

This is a regression reintroducing the problem with repo metadata (Bug 599424) but this time the problem can not be solved on lab-machine by cleaning metadata as the recipe's repo is not rebuilt.


Possible solutions:

- copying all RPMs to extra directory
  - extra space requirements
- rebuilding repositories
  - and we are back where we were before Bug 606242
- hardlinking RPMs to extra directory

Hard-linking seems the way to go.

+ May be we need a way to refresh the repo to preserve "update task while job is running" feature. RFE?

Version-Release number of selected component (if applicable):
0.5.54

How reproducible:
100%

Steps to Reproduce:
1. schedule a job
2. when it is running change and upload new rpm without tagging it with make tag
  
Actual results:
- the task can not run: see the ...unexpected... file for the updated task.

Expected results:
- updated task should run after metadata are rebuilt.

Comment 1 Marian Csontos 2010-11-30 10:41:10 UTC
*** Bug 658397 has been marked as a duplicate of this bug. ***

Comment 2 Jeff Burke 2011-02-16 18:47:36 UTC
Possibly another variation on this same issue.  When a test is updated and jobs are already in the running state you may get failures while trying to download the new test rpm.

See Job: https://beaker.engineering.redhat.com/recipes/108933#task1198023
and T:1198026

Comment 3 Nick Coghlan 2012-10-17 04:37:43 UTC
Bulk reassignment of issues as Bill has moved to another team.

Comment 4 Dan Callaghan 2012-11-01 04:23:53 UTC
This should be solved with bug 835367, we will be hardlinking RPMs into per-recipe repos.

*** This bug has been marked as a duplicate of bug 835367 ***