[Spacewalk-list] spacewalk and sles11

Maria Iano maria at purplecoffee.com
Wed Mar 6 18:15:52 UTC 2013


I may be having the same problem. I have spacewalk 1.8 running on  
CentOS 5.9 32-bit. I have added a SLES 11 SP2 repository and channel,  
but the sync won't work. Using curl with the same URL it does work.  
Please see below. Did you ever find a fix?

# /usr/bin/python -u /usr/bin/spacewalk-repo-sync --channel sles11-sp2- 
x86_64 --type yum
Repo URL: https://uid:pass@nu.novell.com/repo/%24RCE/SLES11-SP2-Core/sle-11-x86_64/
ERROR: Cannot retrieve repository metadata (repomd.xml) for  
repository: sles11-sp2-x86_64. Please verify its path and try again
Sync completed.
Total time: 0:00:01

# curl https://uid:pass@nu.novell.com/repo/%24RCE/SLES11-SP2-Core/sle-11-x86_64/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
  <head>
   <title>Index of /repo/$RCE/SLES11-SP2-Core/sle-11-x86_64</title>
  </head>
  <body>
<h1>Index of /repo/$RCE/SLES11-SP2-Core/sle-11-x86_64</h1>
<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=D">Name</ 
a>                        <a href="?C=M;O=A">Last modified</a>      <a  
href="?C=S;O=A">Size</a>  <a href="?C=D;O=A">Description</a><hr><img  
src="/icons/back.gif" alt="[DIR]"> <a href="/repo/$RCE/SLES11-SP2- 
Core/">Parent Directory</a>                                 -
<img src="/icons/folder.gif" alt="[DIR]"> <a href="repodata/">repodata/ 
</a>                   05-Mar-2012 07:56    -
<img src="/icons/folder.gif" alt="[DIR]"> <a href="rpm/">rpm/</ 
a>                        16-Feb-2012 05:12    -
<hr></pre>
<address>Apache/2.2.3 (Linux/SUSE) Server at nu.novell.com Port 80</ 
address>
</body></html>




On Jun 22, 2011, at 11:16 PM, Jasper Aikema wrote:

Hello,

After some debugging, I gues the problem is in the python urlgrabber
script.
I think it is not able to do digest authentication.

In the newer versions of urlgrabber, it uses curl for downloading the
files. Curl can (probably) do digest authentication.

Is there already someone with CentOS 5.6, who is able to use the novell
repositories?

Kind regards,

Jasper Aikema

 > Hello,
 >
 > I do use CentOS 5.6, and the nightly build from RHEL 5 (at this  
moment
 > 1.5.1-1).
 >
 > The yum version is 3.2.22-33.el5.centos and the urlgrabber is
 > 3.1.0-6.el5.
 >
 > I does not make a diverance when I quote the URL (I do escape the  
dollar
 > sign in the URL).
 >
 > There is no proxy server between the spacewalk server and the novell
 > server.
 >
 > Kind regards,
 >
 > Jasper Aikema
 >
 > > Hi,
 > >
 > > Am Montag, 20. Juni 2011, 13:52:56 schrieb Jasper Aikema:
 > > > He,
 > > >
 > > > I have created a repo with the following settings:
 > > >
 > > > Repository Label: sles11-sp1-pool-x86_64
 > > > Repository URL: https://<my ncc username>:<my ncc
 > > > password>@nu.novell.com/repo/$RCE/SLES11-SP1-Pool/sle-11-x86_64/
 > > >
 > > > Next i added a channel, and attached the repo to the channel.
 > > >
 > > > When I sync the channel (spacewalk-repo-sync --channel
 > > > sles11-sp1-pool-x86_64 or spacewalk-repo-sync --channel
 > > > sles11-sp1-pool-x86_64 --url https://<my ncc username>:<my ncc
 > > > password>@nu.novell.com/repo/$RCE/SLES11-SP1-Pool/sle-11- 
x86_64/), i do
 > > > get the next error:
 > > [...]
 > >
 > > On Fedora14 with spacewalk nightly build this works. It seems you  
use RHEL5,
 > > correct? Which spacewalk version do you use?
 > > Maybe a different yum or URLgrabber version make trouble?
 > >
 > > If you use the commandline with the --url switch, take care you  
quote the URL
 > > with ''.
 > >
 > > Is there a http proxy between spacewalk and NCC? Maybe the proxy  
block the
 > > download?





More information about the Spacewalk-list mailing list