tips‎ > ‎

Suse Manager

Suse manager explodes when trying to add channels to the activation key


adding a channel results in this :

HTTP Status 403 - Request does not contain a CSRF security token


type Status report

message Request does not contain a CSRF security token

description Access to the specified resource (Request does not contain a CSRF security token) has been forbidden.


Apache Tomcat/6.0.18


there is a bug in the web gui so you must perform this action on the command line wih spacecmd


spacecmd {SSM:0}> softwarechannel_listchildchannels 
res4-as-i386
res4-as-suse-manager-tools-i386
res4-as-suse-manager-tools-x86_64
res4-as-x86_64
res4-es-i386
res4-es-suse-manager-tools-i386
res4-es-suse-manager-tools-x86_64
res4-es-x86_64
res5-i386
res5-suse-manager-tools-i386
res5-suse-manager-tools-x86_64
res5-x86_64
res6-i386
res6-suse-manager-tools-i386
res6-suse-manager-tools-x86_64
res6-x86_64
sle11-sdk-sp1-pool-i586
sle11-sdk-sp1-pool-x86_64
sle11-sdk-sp1-updates-i586
sle11-sdk-sp1-updates-x86_64
sle11-smt-updates-i586
sle11-smt-updates-x86_64
sle11-sp1-debuginfo-pool-i586
sle11-sp1-debuginfo-pool-x86_64
sle11-sp1-debuginfo-updates-i586
sle11-sp1-debuginfo-updates-x86_64
sle11-webyast-sp1-pool-i586
sle11-webyast-sp1-pool-x86_64
sle11-webyast-sp1-updates-i586
sle11-webyast-sp1-updates-x86_64
sles11-extras-i586
sles11-extras-x86_64
sles11-sp1-suse-manager-tools-i586
sles11-sp1-suse-manager-tools-x86_64
sles11-sp1-updates-i586
sles11-sp1-updates-x86_64

Now lets find our activation keys :

spacecmd {SSM:0}> activationkey_listchildchannels 1-SLES11AUTO
spacecmd {SSM:0}> activationkey_listchildchannels 1-sles11sp164
sles11-sp1-suse-manager-tools-x86_64
sles11-sp1-updates-x86_64

SLES11AUTO is our new key that we must subscribe the child channels too

spacecmd {SSM:0}> activationkey_addchildchannels 1-SLES11AUTO sles11-sp1-suse-manager-tools-x86_64
spacecmd {SSM:0}> activationkey_addchildchannels 1-SLES11AUTO sles11-sp1-updates-x86_64
spacecmd {SSM:0}> activationkey_addchildchannels 1-SLES11AUTO sles11-extras-x86_64
spacecmd {SSM:0}> activationkey_addchildchannels 1-SLES11AUTO sle11-sdk-sp1-pool-x86_64
spacecmd {SSM:0}> activationkey_addchildchannels 1-SLES11AUTO sle11-sdk-sp1-updates-x86_64
spacecmd {SSM:0}> activationkey_addchildchannels 1-SLES11AUTO sles11-sp1-suse-manager-tools-x86_64

Sanity Check 

spacecmd {SSM:0}> activationkey_listchildchannels 1-SLES11AUTO
sles11-extras-x86_64
sle11-sdk-sp1-pool-x86_64
sle11-sdk-sp1-updates-x86_64
sles11-sp1-suse-manager-tools-x86_64
sles11-sp1-updates-x86_64





Comments