Re: [Spacewalk-list] How to Sync SLES 11/12 in Spacewalk

2017-09-23 Thread Arumugam, Saravanan(Aswath)
it is working :)


--log--

This command may be exited via ctrl+c without affecting the request.


Downloading metadata...
[-]
... completed

Downloading repository content...
[/]
[  ] 0%
RPMs:   13/1798 items
Delta RPMs: 0/0 items

# zypper lr --uri

Regards
Saravanan Arumugam




From: spacewalk-list-boun...@redhat.com <spacewalk-list-boun...@redhat.com> on 
behalf of Robert Paschedag <robert.pasche...@web.de>
Sent: 22 September 2017 21:46:15
To: spacewalk-list@redhat.com; Flores, Javier (D4\INF\IT ID); 
'spacewalk-list@redhat.com'
Subject: Re: [Spacewalk-list] How to Sync SLES 11/12 in Spacewalk

Am 22. September 2017 16:59:35 MESZ schrieb "Flores, Javier (D4\INF\IT ID)" 
<javier.flo...@gmz.migros.ch>:
>Hi
>
>What worked best for me is to just setup a SLES server and register to
>scc.suse.com.
>
>After finishing, just use "zypper lr --uri" to show the URL to the
>repo. Copy that URL to spacewalk.
>
>Regards,
>Javier
>
>Von: spacewalk-list-boun...@redhat.com
>[mailto:spacewalk-list-boun...@redhat.com] Im Auftrag von Arumugam,
>Saravanan(Aswath)
>Gesendet: Freitag, 22. September 2017 16:23
>An: Arumugam, Saravanan(Aswath); spacewalk-list@redhat.com
>Betreff: Re: [Spacewalk-list] How to Sync SLES 11/12 in Spacewalk
>
>
>Hello,
>
>I have Spacewalk 2.6 version and I am Using Spacewalk to Sync
>OEL/CentOS/Ubuntu/RHEL Already.
>
>I'm trying to Sync SLES Channels, But seems I am not able to Sync due
>to new Token Authentication.
>
>Is there any way I can use spacewalk to sync the SUSE Channels to my
>existing Setup.
>
>P.S : got some Archives links to spacewalk sync SLES - But I was not
>able to sync or make it work.
>
>Thank You,
>Saravanan Arumugam
>
>
>Confidentiality Notice: This message is private and may contain
>confidential and proprietary information. If you have received this
>message in error, please notify us and remove it from your system and
>note that you must not copy, distribute or take any action in reliance
>on it. Any unauthorized use or disclosure of the contents of this
>message is not permitted and may be unlawful.
>
>Confidentiality Notice: This message is private and may contain
>confidential and proprietary information. If you have received this
>message in error, please notify us and remove it from your system and
>note that you must not copy, distribute or take any action in reliance
>on it. Any unauthorized use or disclosure of the contents of this
>message is not permitted and may be unlawful.

Hmmm... Have to give this a try...

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://clicktime.symantec.com/a/1/qQVjF3HrSohxpGQgSCw5PpNqGnnd90dHKNw_qOjg0WQ=?d=s2vilaNwK7PhGbPapj_wc_yuNkouzhQ4tVy_rLwv3Qh1cVFBVY7ZBLV8YeXS1l3QN1Va94Q-prqWZAngKhvpBMarvtLaJF2z0JMUCpq5ASgbpHJYAr4Do73FJ1wTGgclkvwQzmpm7um0BdaUK8gH_UEkEkINjS5RyPXDr7sQwESgDRB7ktwHAMoDSb6gTIfRmhNujOe1PwRaxnxP9ed4wr9atGS8SCVeaGPfftqVCw4NLLOPpH8nu5Bpu2EwZauFLaYWwnJhPfoTlk1YCR-kSAZ9sKtvc4EuJ7Ql4HlFj7TRQ_CTGsN2l9e0BmXdas70SVuK0dEtkvKOzo5cVqG5db9aUa7oWQGjpD06SO1hRhI1WpAROO1bbKoMubB7zh9MRsoDKoU5qJM8nN172pcf8B-KVcA2Mmo1RyfIeQ%3D%3D=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list


Confidentiality Notice: This message is private and may contain confidential 
and proprietary information. If you have received this message in error, please 
notify us and remove it from your system and note that you must not copy, 
distribute or take any action in reliance on it. Any unauthorized use or 
disclosure of the contents of this message is not permitted and may be unlawful.
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] How to Sync SLES 11/12 in Spacewalk

2017-09-23 Thread Bernd Helber
Hello Javier.

First, register one installed System to SCC the SuSE Customer Center
https://scc.suse.com/login

If the System is registered, scc will generate URL's for this registered
System.

Keep in mind that you have to activate all licenced Repositories you may
need for your later Work on the registered system.

Log on to the registered System.
cd /etc

Create a backup:
-
tar -cf zypp*  zypperbackup.tar

cd /etc/zypp/repos.d


Extract the  Autogenerated URL's from the *.repo files in  the repo's.




Then create Softwarechannels

Parentchannel:
spacecmd -- softwarechannel_create -n SLES12-SP2-Pool  -l
SLES12-SP2-Pool -a x86_64 -c sha256


sles12sp2pool

Child Channels:
-
sles12-adv-systemsmanagement

A practical Example

spacecmd -- softwarechannel_create -n web_andscripting-pool  -l
web_andscripting-pool   -p sles12sp2pool -a x86_64 -c sha256



sles12sp-debuginfopool
sles12sp-debugpool
sles12sp-sourcepool
sles12sp-updates
spacewalk22-client-slessp3
spacewalklient6_2.2
spacewalklient7_2.2
tool_chain_module-pool
tool_chain_module-updates
vmwarecentos6_x86_6
web_andscripting-debuginfo
web_andscripting-debuginfo-source
web_andscripting-debuginfo-updates
web_andscripting-pool
web_andscripting-update
-

In the next Step create your Software repositories.



spacecmd  "repo_create -n web_andscripting-pool -u
'https://updates.suse.com/SUSE/Products/SLE-Module-Web-Scripting/12/x86_64/product

sles12sp2-debuginfo-pool
sles12sp2-debuginfo-pool-updates
sles12sp2-sourcepool
sles12sp2-updates
sles12sp2pool
spacewalk-client-opensuse-leap
spacewalk22-client-slessp3
toolchain_module-pool
toolchain_module-updates
vmwarecentos6_x86_6
web_andscripting-debuginfo
web_andscripting-debuginfo-updates
web_andscripting-pool
---

Attach your Repositories to your Spacewalk Channels


spacecmd -- softwarechannel_addrepo web_andscripting-pool
web_andscripting-pool


Last Step.
Sync your repositories.

for i in $(spacewalk-report channels | awk 'BEGIN { FS = "," } ; { print
$2 }' | grep -v channel_label |grep sles); do spacewalk-repo-sync -c $i;
done;


Only to mention and for the Record.

SuSE doesn't support this!!
You're on your own.

 If you have a Enterprise  environment think about buying SuSE Manager.

Kind regards and take Care.

Bernd Helber

Am 22.09.17 um 16:59 schrieb Flores, Javier (D4\INF\IT ID):
> Hi
> 
>  
> 
> What worked best for me is to just setup a SLES server and register to
> scc.suse.com.
> 
>  
> 
> After finishing, just use “zypper lr --uri” to show the URL to the repo.
> Copy that URL to spacewalk.
> 
>  
> 
> Regards,
> 
> Javier
> 
>  
> 
> *Von:*spacewalk-list-boun...@redhat.com
> [mailto:spacewalk-list-boun...@redhat.com] *Im Auftrag von *Arumugam,
> Saravanan(Aswath)
> *Gesendet:* Freitag, 22. September 2017 16:23
> *An:* Arumugam, Saravanan(Aswath); spacewalk-list@redhat.com
> *Betreff:* Re: [Spacewalk-list] How to Sync SLES 11/12 in Spacewalk
> 
>  
> 
>  
> 
> Hello,
> 
>  
> 
> I have Spacewalk 2.6 version and I am Using Spacewalk to Sync
> OEL/CentOS/Ubuntu/RHEL Already.
> 
>  
> 
> I’m trying to Sync SLES Channels, But seems I am not able to Sync due to
> new Token Authentication.
> 
>  
> 
> Is there any way I can use spacewalk to sync the SUSE Channels to my
> existing Setup.
> 
>  
> 
> P.S : got some Archives links to spacewalk sync SLES – But I was not
> able to sync or make it work.
> 
>  
> 
> Thank You,
> 
> Saravanan Arumugam
> 
>  
> 
> 
> 
> *Confidentiality Notice: *This message is private and may contain
> confidential and proprietary information. If you have received this
> message in error, please notify us and remove it from your system and
> note that you must not copy, distribute or take any action in reliance
> on it. Any unauthorized use or disclosure of the contents of this
> message is not permitted and may be unlawful.
> 
> 
> 
> *Confidentiality Notice: *This message is private and may contain
> confidential and proprietary information. If you have received this
> message in error, please notify us and remove it from your system and
> note that you must not copy, distribute or take any action in reliance
> on it. Any unauthorized use or disclosure of the contents of this
> message is not permitted and may be unlawful.
> 
> 
> 
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 


-- 

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


Re: [Spacewalk-list] How to Sync SLES 11/12 in Spacewalk

2017-09-22 Thread Robert Paschedag
Am 22. September 2017 16:22:56 MESZ schrieb "Arumugam, Saravanan(Aswath)" 
:
>
>Hello,
>
>I have Spacewalk 2.6 version and I am Using Spacewalk to Sync
>OEL/CentOS/Ubuntu/RHEL Already.
>
>I'm trying to Sync SLES Channels, But seems I am not able to Sync due
>to new Token Authentication.
>
>Is there any way I can use spacewalk to sync the SUSE Channels to my
>existing Setup.
>
>P.S : got some Archives links to spacewalk sync SLES - But I was not
>able to sync or make it work.
>
>Thank You,
>Saravanan Arumugam
>
>
>Confidentiality Notice: This message is private and may contain
>confidential and proprietary information. If you have received this
>message in error, please notify us and remove it from your system and
>note that you must not copy, distribute or take any action in reliance
>on it. Any unauthorized use or disclosure of the contents of this
>message is not permitted and may be unlawful.
>
>
>Confidentiality Notice: This message is private and may contain
>confidential and proprietary information. If you have received this
>message in error, please notify us and remove it from your system and
>note that you must not copy, distribute or take any action in reliance
>on it. Any unauthorized use or disclosure of the contents of this
>message is not permitted and may be unlawful.

You need an smt server that syncs the packages and sync from that. At least, 
this is what I'm currently doing

Robert

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


Re: [Spacewalk-list] How to Sync SLES 11/12 in Spacewalk

2017-09-22 Thread Robert Paschedag
Am 22. September 2017 16:59:35 MESZ schrieb "Flores, Javier (D4\INF\IT ID)" 
<javier.flo...@gmz.migros.ch>:
>Hi
>
>What worked best for me is to just setup a SLES server and register to
>scc.suse.com.
>
>After finishing, just use "zypper lr --uri" to show the URL to the
>repo. Copy that URL to spacewalk.
>
>Regards,
>Javier
>
>Von: spacewalk-list-boun...@redhat.com
>[mailto:spacewalk-list-boun...@redhat.com] Im Auftrag von Arumugam,
>Saravanan(Aswath)
>Gesendet: Freitag, 22. September 2017 16:23
>An: Arumugam, Saravanan(Aswath); spacewalk-list@redhat.com
>Betreff: Re: [Spacewalk-list] How to Sync SLES 11/12 in Spacewalk
>
>
>Hello,
>
>I have Spacewalk 2.6 version and I am Using Spacewalk to Sync
>OEL/CentOS/Ubuntu/RHEL Already.
>
>I'm trying to Sync SLES Channels, But seems I am not able to Sync due
>to new Token Authentication.
>
>Is there any way I can use spacewalk to sync the SUSE Channels to my
>existing Setup.
>
>P.S : got some Archives links to spacewalk sync SLES - But I was not
>able to sync or make it work.
>
>Thank You,
>Saravanan Arumugam
>
>
>Confidentiality Notice: This message is private and may contain
>confidential and proprietary information. If you have received this
>message in error, please notify us and remove it from your system and
>note that you must not copy, distribute or take any action in reliance
>on it. Any unauthorized use or disclosure of the contents of this
>message is not permitted and may be unlawful.
>
>Confidentiality Notice: This message is private and may contain
>confidential and proprietary information. If you have received this
>message in error, please notify us and remove it from your system and
>note that you must not copy, distribute or take any action in reliance
>on it. Any unauthorized use or disclosure of the contents of this
>message is not permitted and may be unlawful.

Hmmm... Have to give this a try...

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


Re: [Spacewalk-list] How to Sync SLES 11/12 in Spacewalk

2017-09-22 Thread Flores, Javier (D4\INF\IT ID)
Hi

What worked best for me is to just setup a SLES server and register to 
scc.suse.com.

After finishing, just use "zypper lr --uri" to show the URL to the repo. Copy 
that URL to spacewalk.

Regards,
Javier

Von: spacewalk-list-boun...@redhat.com 
[mailto:spacewalk-list-boun...@redhat.com] Im Auftrag von Arumugam, 
Saravanan(Aswath)
Gesendet: Freitag, 22. September 2017 16:23
An: Arumugam, Saravanan(Aswath); spacewalk-list@redhat.com
Betreff: Re: [Spacewalk-list] How to Sync SLES 11/12 in Spacewalk


Hello,

I have Spacewalk 2.6 version and I am Using Spacewalk to Sync 
OEL/CentOS/Ubuntu/RHEL Already.

I'm trying to Sync SLES Channels, But seems I am not able to Sync due to new 
Token Authentication.

Is there any way I can use spacewalk to sync the SUSE Channels to my existing 
Setup.

P.S : got some Archives links to spacewalk sync SLES - But I was not able to 
sync or make it work.

Thank You,
Saravanan Arumugam


Confidentiality Notice: This message is private and may contain confidential 
and proprietary information. If you have received this message in error, please 
notify us and remove it from your system and note that you must not copy, 
distribute or take any action in reliance on it. Any unauthorized use or 
disclosure of the contents of this message is not permitted and may be unlawful.

Confidentiality Notice: This message is private and may contain confidential 
and proprietary information. If you have received this message in error, please 
notify us and remove it from your system and note that you must not copy, 
distribute or take any action in reliance on it. Any unauthorized use or 
disclosure of the contents of this message is not permitted and may be unlawful.
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] How to Sync SLES 11/12 in Spacewalk

2017-09-22 Thread Arumugam, Saravanan(Aswath)

Hello,

I have Spacewalk 2.6 version and I am Using Spacewalk to Sync 
OEL/CentOS/Ubuntu/RHEL Already.

I'm trying to Sync SLES Channels, But seems I am not able to Sync due to new 
Token Authentication.

Is there any way I can use spacewalk to sync the SUSE Channels to my existing 
Setup.

P.S : got some Archives links to spacewalk sync SLES - But I was not able to 
sync or make it work.

Thank You,
Saravanan Arumugam


Confidentiality Notice: This message is private and may contain confidential 
and proprietary information. If you have received this message in error, please 
notify us and remove it from your system and note that you must not copy, 
distribute or take any action in reliance on it. Any unauthorized use or 
disclosure of the contents of this message is not permitted and may be unlawful.


Confidentiality Notice: This message is private and may contain confidential 
and proprietary information. If you have received this message in error, please 
notify us and remove it from your system and note that you must not copy, 
distribute or take any action in reliance on it. Any unauthorized use or 
disclosure of the contents of this message is not permitted and may be unlawful.
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list