Bug 518340

Summary: Ks profiles of newly sat-synced trees, don't show up on provisioning list until tomcat is restarted
Product: Red Hat Satellite 5 Reporter: Justin Sherrill <jsherril>
Component: ProvisioningAssignee: Tomas Lestach <tlestach>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 530CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-13 16:21:05 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:    
Bug Blocks: 462714    

Description Justin Sherrill 2009-08-19 23:05:39 UTC
Steps to Reproduce:
1. run satellite-sync and have it pull down a new kickstart tree
2. create a new kickstart profile associated with the new tree
3. try to provision the machine with the new kickstart profile
  
Actual results:
new profile doesn't show up in the list

Expected results:
new profile does show up in the list

Additional info:

restarting tomcat fixes the issue


Just need to change the hibernate query in KickstartFactory.lookupAccessibleTreesByOrg(org) to not be cacheable .

Comment 1 Tomas Lestach 2012-08-13 16:21:05 UTC
This shall already be resolved. Closing as duplicate.

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