Project

General

Profile

Bug #32700

Additional RPMs in /pub directory break latest symlink

Added by Eric Helms 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

Steps to Reproduce:

1. Keep any rpm package in /var/www/html/pub/
2. Run upgrade: satellite-maintain upgrade run --target-version 6.9

Actual results:

2021-05-21 01:41:33 [ERROR ] [configure] /Stage[main]/Foreman_proxy_content::Bootstrap_rpm/Bootstrap_rpm[katello-ca-consumer-satellite.example.com]: Could not evaluate: No such file or directory @ rb_sysopen - /var/www/html/pub/sos-3.9-5.el7_9.4.src.rpm

Expected results:
The installer should not query or check rpms apart from katello-ca-consumer*, if there are any rpm pkg available in /pub

Additional info:

To test I copied the below packages in /pub, change one of the pkg ownership for testing purposes.

# ls -l /var/www/html/pub/
-rw-r--r--. 1 apache apache 460200 May 21 00:24 firewalld-0.6.3-13.el7_9.noarch.rpm
-rw-r--r--. 1 root   root   554188 May 21 00:24 sos-3.9-5.el7_9.4.noarch.rpm

Associated revisions

Revision 17ec2313 (diff)
Added by Eric Helms 6 months ago

Fixes #32700: Only capture bootstrap RPMs by name

History

#1 Updated by The Foreman Bot 6 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/puppet-foreman_proxy_content/pull/365 added

#2 Updated by The Foreman Bot 6 months ago

  • Fixed in Releases 3.0.0 added

#3 Updated by Ewoud Kohl van Wijngaarden 6 months ago

  • Triaged changed from No to Yes
  • Category set to Foreman modules
  • Description updated (diff)
  • Subject changed from Steps to Reproduce:* to Additional RPMs in /pub directory break latest symlink

#4 Updated by Eric Helms 6 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Ewoud Kohl van Wijngaarden 6 months ago

  • Target version set to 2.5.1

#6 Updated by Ewoud Kohl van Wijngaarden 6 months ago

  • Found in Releases 2.3.0 added

#7 Updated by Ewoud Kohl van Wijngaarden 5 months ago

  • Fixed in Releases 2.5.1 added

Also available in: Atom PDF