Bug 1529703

Summary: Broken symlinks in "/var/lib/pulp" after upgrading Satellite
Product: Red Hat Satellite Reporter: Beat Rubischon <brubisch>
Component: UpgradesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NEXTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.3.0CC: bkearney, cmarinea, fadamo, inecas, jsherril, mbacovsk, peter.vreman, roarora, rvdwees, sfroemer, slutade, smeyer, ttereshc, vdeshpan
Target Milestone: UnspecifiedKeywords: Triaged, Upgrades
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-11 18:16: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:
Bug Depends On:    
Bug Blocks: 1122832    

Description Beat Rubischon 2017-12-29 13:16:18 UTC
Description of problem:

404 errors on clients during access to productid file after upgrade of Satellite.

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

Satellite 6.2.x, 6.3 Beta

How reproducible:

unknown

Steps to Reproduce:
1. Upgrade Satellite
2. Upgrade Client

Actual results:

https://satellite.example.com/pulp/repos/redhat/Production/rhel_7_2_x86_64_base/content/dist/rhel/server/7/7.2/x86_64/os/repodata/productid: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.

Expected results:

No error.

Additional info:

Bugfix from https://access.redhat.com/solutions/3138171 fixes the broken symlinks:

foreman-rake console
> User.current = User.first
> Katello::Repository.where("name ilike '%extra%'").each { |repo| ForemanTasks.async_task(Actions::Katello::Repository::MetadataGenerate, repo,  :force => true)  }

Comment 17 Peter Vreman 2018-10-11 08:07:23 UTC
With Sat6.4 this problem is not there anymore that broken symlinks persistently exists. Only during publishing time there is still an issue with productid files missing, but that is only 'short-living' and is in being handled in a separate case.

This BZ can be closed as being fixed

Comment 18 Bryan Kearney 2018-10-11 18:16:37 UTC
Closing this per comment 17. Thank you Peter!

Comment 23 Red Hat Bugzilla 2023-09-15 00:05:55 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days