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

Re: [Spacewalk-list] Spacewalk and SLES 12 Repositories



I am trying to get our Spacewalk 2.2 server to sync with SUSE 12 also.  I obtained the token but probably need the yum or python urlgrabber patch.  However, we are running spacewalk on a RHEL 6 server.  Are there patches available for this platform?  Here is the entry in the log after we attempt to sync the repo.

 Sync started: Tue Feb  3 07:42:59 2015
['/usr/bin/spacewalk-repo-sync', '--channel', 'sles12-pool', '--type', 'yum', '']
Repo URL: https://updates.suse.com/SUSE/Products/SLE-SERVER/12/s390x/product/?<token>
ERROR: Cannot retrieve repository metadata (repomd.xml) for repository: sles12-pool. Please verify its path and try again
Sync completed.

When I added the repodata/repomd.xml string to my repository definition it seemed to work a little better but still failed when it started to download.

Sync started: Mon Feb  2 14:23:06 2015
['/usr/bin/spacewalk-repo-sync', '--channel', 'sles12-pool', '--type', 'yum', '']
Repo URL: https://updates.suse.com/SUSE/Products/SLE-SERVER/12/s390x/product/repodata/repomd.xml?<token>
ERROR: failure: repodata/<hex string>-primary.xml.gz from sles12-pool: [Errno 256] No more mirrors to try.
Sync completed.

Chris Will

-----Original Message-----
From: spacewalk-list-bounces redhat com [mailto:spacewalk-list-bounces redhat com] On Behalf Of Klaas Demter
Sent: Tuesday, December 16, 2014 9:53 AM
To: spacewalk-list redhat com
Subject: Re: [Spacewalk-list] Spacewalk and SLES 12 Repositories

Hi,
after I applied your python-urlgrabber patch it works for me, thanks!

In case anyone else needs it:
http://lists.opensuse.org/opensuse-commit/2014-09/msg01140.html


Greetings,
Klaas

----- Original Mail -----
Von: "Michael Calmer" <mc suse de>
An: spacewalk-list redhat com
Gesendet: Dienstag, 16. Dezember 2014 13:48:47
Betreff: Re: [Spacewalk-list] Spacewalk and SLES 12 Repositories

Hi,

Am Dienstag, 16. Dezember 2014, 13:18:00 schrieb Klaas Demter:
> Hi,
> I'm looking into syncing SLES 12 repositories into my spacewalk. Is 
> there any one who got repo sync for those working?
> 
> It seems they have changed the way their repositories are accessed. 
> They use a token that is added to each http request. I've looked 
> inside the https traffic - the gets are like this:
> https://updates.suse.com/SUSE/Updates/SLE-SERVER/12/x86_64/update/repo
> data/
> repomd.xml?verylongtoken
> https://updates.suse.com/SUSE/Products/SLE-SERVER/12/x86_64/product/x8
> 6_64/ bash-4.2-75.2.x86_64.rpm?verylongtoken is there a method to set 
> such a token or does anyone know how the suse manager solves this 
> issue?

add it to the repository URL.

  https://updates.suse.com/SUSE/Products/SLE-SERVER/12/x86_64/product/?token

But your yum and python-urlgrabber need to handle such urls correctly.
Some time ago I send patches upstream (both yum project). I know that one gots accepted. Maybe you check there mailinglist.

--
Regards

	Michael Calmer

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list redhat com
https://www.redhat.com/mailman/listinfo/spacewalk-list


The information contained in this communication is highly confidential and is intended solely for the use of the individual(s) to whom this communication is directed. If you are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or distribution of this information is prohibited. Please notify the sender, by electronic mail or telephone, of any unintended receipt and delete the original message without making any copies.
 
 Blue Cross Blue Shield of Michigan and Blue Care Network of Michigan are nonprofit corporations and independent licensees of the Blue Cross and Blue Shield Association.



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