[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Spacewalk-list] ks-rhn-post problem



Brian Long:
> As some of you may remember, we had some PostGres DB corruption a few weeks
> back.  I thought we had fixed it, but now I realized the Spacewalk
> registration bootstrap process is broken.  The files that Spacewalk is
> trying to download (rhn-lib, pyOpenSSL) are delivering HTML content instead
> of actual RPMs.
> 
> --2017-11-14 11:13:57--
> http://server.domain/download/package/211d8b496d3a891c4d56d122b29bc6be41ba67f7/0/13/97833/libxml2-2.9.1-6.el7_2.3.x86_64.rpm
> Saving to: '/tmp/rhn_rpms/optional/libxml2-2.9.1-6.el7_2.3.x86_64.rpm'
> 2017-11-14 11:13:57 (216 MB/s) -
> '/tmp/rhn_rpms/optional/libxml2-2.9.1-6.el7_2.3.x86_64.rpm' saved
> [4520/4520]
...
> Here is the snipped content from one of those downloads:
> The file you requested could not be downloaded, likely due to one of the
> following reasons:
>       The url has expired.
>       The url has been modified.
>       The Spacewalk server does not have read permissions on the specified
> file.
> Please revisit the page you received this url from to receive a new one.

It could be a permission or selinux issue. Try to locate e.g.
libxml2-2.9.1-6.el7_2.3.x86_64.rpm under /var/satellite and check
if apache and tomcat users can access/read it.

Also are there any errors in /var/log/rhn/rhn_*.log or
/var/log/tomcat/catalina*.log?

> I wonder if it's related to this problem:
> https://bugzilla.redhat.com/show_bug.cgi?id=1507881

It looks as a different bug to me.

> I have Spacewalk 2.7 client rpms in a child channel from the main RHEL 7.3
> channel.  What could be causing these download URLs in %post to be invalid?
> 
> /Brian/


--
Michael Mráka
System Management Engineering, Red Hat


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]