Bug #22318

Prefetch vmlinuz and initrd on sync

Added by Partha Aji 2 months ago. Updated about 1 month ago.

Assigned To:Partha Aji
Target version:Team Brad - Iteration 27
Difficulty: Pull request:https://github.com/Katello/katello/pull/7161
Bugzilla link:1498924
Story points-
Velocity based estimate-
ReleaseKatello 3.6.0Release relationshipAuto


KS repos are usually marked on demand. This means "images/pxeboot/vmlinuz" and "images/pxeboot/initrd" are likely to be broken symlinks that are lazily loaded and pulled in only when needed.

During provisioning Smart Proxy tries to fetch these files from the master server to copy em to the tftp server. The lazy loading factor may result in timeout issues for the smart proxy causing the action to fail.

We should "prefetch" these files during repo syncs on both the master and proxies to avoid potential timeout issues.

Associated revisions

Revision 23a9557a
Added by Partha Aji about 1 month ago

Fixes #22318 - Fetches pxe files on sync

This commit adds an extra step to the repository "sync" plan to directly
fetch initrd/vmlinuz in the case of a bootable distribution for an
OnDemand repo. This eager fetching is done to mitigate future timeout
issues when the smart proxy requests these 2 files on provisioning.


#1 Updated by The Foreman Bot 2 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7161 added

#2 Updated by Partha Aji 2 months ago

  • Bugzilla link set to 1498924

#3 Updated by Brad Buckingham about 1 month ago

  • Target version changed from Team Brad - Iteration 26 to Team Brad - Iteration 27

#4 Updated by Partha Aji about 1 month ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#5 Updated by Justin Sherrill about 1 month ago

  • Release set to Katello 3.6.0

Also available in: Atom PDF