Bug 1332031

Summary: When trying to install/update component getting an error
Product: [Community] Spacewalk Reporter: Adi <adi.bendahan>
Component: Proxy ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED EOL QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.4   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-21 13:12:08 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:

Description Adi 2016-05-01 12:10:34 UTC
Description of problem:
when trying to install any package with yum (connected to spacewalk proxy), getting an error when trying to download.

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


How reproducible:
happens 100% of the times

Steps to Reproduce:
1. yum install [anything]

Actual results:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 500 Internal Server Error"

Expected results:
[anything] installed successfully 

Additional info:

[root@x yum.repos.d]# yum install mysql-community-server-5.6.30-2.el6.x86_64
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:5.6.30-2.el6 will be installed
--> Processing Dependency: mysql-community-common(x86-64) = 5.6.30-2.el6 for package: mysql-community-server-5.6.30-2.el6.x86_64
--> Processing Dependency: mysql-community-client(x86-64) = 5.6.30-2.el6 for package: mysql-community-server-5.6.30-2.el6.x86_64
--> Processing Dependency: libnuma.so.1(libnuma_1.2)(64bit) for package: mysql-community-server-5.6.30-2.el6.x86_64
--> Processing Dependency: libnuma.so.1(libnuma_1.1)(64bit) for package: mysql-community-server-5.6.30-2.el6.x86_64
--> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: mysql-community-server-5.6.30-2.el6.x86_64
--> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: mysql-community-server-5.6.30-2.el6.x86_64
--> Processing Dependency: perl(DBI) for package: mysql-community-server-5.6.30-2.el6.x86_64
--> Processing Dependency: libnuma.so.1()(64bit) for package: mysql-community-server-5.6.30-2.el6.x86_64
--> Processing Dependency: libaio.so.1()(64bit) for package: mysql-community-server-5.6.30-2.el6.x86_64
--> Running transaction check
---> Package libaio.x86_64 0:0.3.107-10.el6 will be installed
---> Package mysql-community-client.x86_64 0:5.6.30-2.el6 will be installed
--> Processing Dependency: mysql-community-libs(x86-64) = 5.6.30-2.el6 for package: mysql-community-client-5.6.30-2.el6.x86_64
---> Package mysql-community-common.x86_64 0:5.6.30-2.el6 will be installed
---> Package numactl.x86_64 0:2.0.9-2.el6 will be installed
---> Package perl-DBI.x86_64 0:1.609-4.el6 will be installed
--> Running transaction check
---> Package mysql-community-libs.x86_64 0:5.6.30-2.el6 will be obsoleting
---> Package mysql-libs.x86_64 0:5.1.73-3.el6_5 will be obsoleted
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: 2:postfix-2.6.6-6.el6_5.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: 2:postfix-2.6.6-6.el6_5.x86_64
--> Running transaction check
---> Package mysql-community-libs-compat.x86_64 0:5.6.30-2.el6 will be obsoleting
---> Package postfix.x86_64 2:2.6.6-6.el6_5 will be updated
---> Package postfix.x86_64 2:2.6.6-6.el6_7.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                                             Arch                                           Version                                                    Repository                                               Size
=============================================================================================================================================================================================================================================
Installing:
 mysql-community-libs                                                x86_64                                         5.6.30-2.el6                                               mysql56                                                 1.9 M
     replacing  mysql-libs.x86_64 5.1.73-3.el6_5
 mysql-community-libs-compat                                         x86_64                                         5.6.30-2.el6                                               mysql56                                                 1.6 M
     replacing  mysql-libs.x86_64 5.1.73-3.el6_5
 mysql-community-server                                              x86_64                                         5.6.30-2.el6                                               mysql56                                                  54 M
Installing for dependencies:
 libaio                                                              x86_64                                         0.3.107-10.el6                                             centos6_6base                                            21 k
 mysql-community-client                                              x86_64                                         5.6.30-2.el6                                               mysql56                                                  18 M
 mysql-community-common                                              x86_64                                         5.6.30-2.el6                                               mysql56                                                 308 k
 numactl                                                             x86_64                                         2.0.9-2.el6                                                centos6_6base                                            74 k
 perl-DBI                                                            x86_64                                         1.609-4.el6                                                centos6_6base                                           705 k
Updating for dependencies:
 postfix                                                             x86_64                                         2:2.6.6-6.el6_7.1                                          centos6-updates                                         2.0 M

Transaction Summary
=============================================================================================================================================================================================================================================
Install       8 Package(s)
Upgrade       1 Package(s)

Total download size: 79 M
Is this ok [y/N]: y
Downloading Packages:


Error Downloading Packages:
  mysql-community-client-5.6.30-2.el6.x86_64: failed to retrieve getPackage/mysql-community-client-5.6.30-2.el6.x86_64.rpm from mysql56
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 500 Internal Server Error"
  mysql-community-libs-compat-5.6.30-2.el6.x86_64: failed to retrieve getPackage/mysql-community-libs-compat-5.6.30-2.el6.x86_64.rpm from mysql56
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 500 Internal Server Error"
  libaio-0.3.107-10.el6.x86_64: failed to retrieve getPackage/libaio-0.3.107-10.el6.x86_64.rpm from centos6_6base
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 500 Internal Server Error"
  mysql-community-common-5.6.30-2.el6.x86_64: failed to retrieve getPackage/mysql-community-common-5.6.30-2.el6.x86_64.rpm from mysql56
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 500 Internal Server Error"
  2:postfix-2.6.6-6.el6_7.1.x86_64: failed to retrieve getPackage/postfix-2.6.6-6.el6_7.1.x86_64.rpm from centos6-updates
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 500 Internal Server Error"
  perl-DBI-1.609-4.el6.x86_64: failed to retrieve getPackage/perl-DBI-1.609-4.el6.x86_64.rpm from centos6_6base
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 500 Internal Server Error"
  mysql-community-server-5.6.30-2.el6.x86_64: failed to retrieve getPackage/mysql-community-server-5.6.30-2.el6.x86_64.rpm from mysql56
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 500 Internal Server Error"
  mysql-community-libs-5.6.30-2.el6.x86_64: failed to retrieve getPackage/mysql-community-libs-5.6.30-2.el6.x86_64.rpm from mysql56
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 500 Internal Server Error"
  numactl-2.0.9-2.el6.x86_64: failed to retrieve getPackage/numactl-2.0.9-2.el6.x86_64.rpm from centos6_6base
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 500 Internal Server Error"

Comment 1 Michael Mráka 2019-10-21 13:12:08 UTC
Spacewalk 2.8 (and older) has already reached it's End Of Life.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before end of life. If you would still like
to see this bug fixed and are able to reproduce it against current version
of Spacewalk 2.9, you are encouraged change the 'version' and re-open it.