Tom Brown wrote:
I tried this script, and also converted it to Python just for fun.
Using both versions, I get the following error message:
xmlrpclib.Fault: have permissions to perform this action.'>
The message in the server log is similar:
redstone.xmlrpc.XmlRpcFault: You do not have pe
>> proxy being spacewalk proxy - its odd as my perl script works on my
>> test system via a proxy but not in my production setup when using a
>> proxy, directly to the server is fine.
>>
>> On the test system that works i see this on the proxy logs
>>
>> 192.168.122.3 - - [27/Jul/2010:21:13:23
On 27 July 2010 22:35, Tom Brown wrote:
>> When you mean going through a proxy do you mean a web proxy (i.e. squid). I
>> had
>> trouble building a script using perl and the Spacewalk API to go through a
>> web
>> proxy to reach the Spacewalk Server amd the RHN Network.
>
> proxy being spacewalk
> When you mean going through a proxy do you mean a web proxy (i.e. squid). I
> had
> trouble building a script using perl and the Spacewalk API to go through a web
> proxy to reach the Spacewalk Server amd the RHN Network.
proxy being spacewalk proxy - its odd as my perl script works on my
test
- Original Message
From: Tom Brown
To: spacewalk-list@redhat.com
Sent: Tue, July 27, 2010 2:32:09 PM
Subject: Re: [Spacewalk-list] Duplicates and Reactivation (solved)
> I tried this script, and also converted it to Python just for fun. Using
> both
>versions, I get the
I tried this script, and also converted it to Python just for fun.
Using both versions, I get the following error message:
xmlrpclib.Fault: have permissions to perform this action.'>
The message in the server log is similar:
redstone.xmlrpc.XmlRpcFault: You do not have permissions to perfo
Hello,
> xmlrpclib.Fault: have permissions to perform this action.'>
the user my installation is using got no roles but is associated with a
system group which consists of all systems that are registered on the
spacewalk server.
How are the rights on your installation set?
Which spacewalk versi
I tried this script, and also converted it to Python just for fun. Using both
versions, I get the following error message:
xmlrpclib.Fault:
The message in the server log is similar:
redstone.xmlrpc.XmlRpcFault: You do not have permissions to perform this action.
at
com.redhat.rhn.fr
Hi,
inspired by the solution which was posted by Tom I took a closer look at
the xmlrpc interface.
To make long story short: The following cgi script returns a
reactivation key for the machine you are coming from. When registring
with this key the problem of duplicates is avoided.
#!/usr/bin/pe
Please, share if it's ok with you.
If nothing else, it's good to see different ways to solve problems like
this.
/Jonas
On 11/05/10 13:53, Colin Coe wrote:
I have a python version of the script if anyone is interested. It's
newer and has not had as much testing but there's no warranty on my
t; De : spacewalk-list-boun...@redhat.com
> [mailto:spacewalk-list-boun...@redhat.com] De la part de Colin Coe
> Envoyé : mardi 11 mai 2010 09:10
> À : spacewalk-list@redhat.com
> Objet : Re: [Spacewalk-list] Duplicates and Reactivation
>
> Oh, yeah, the script.
>
> Here'
Thanks a lot for this beautiful script Colin.
-Message d'origine-
De : spacewalk-list-boun...@redhat.com
[mailto:spacewalk-list-boun...@redhat.com] De la part de Colin Coe
Envoyé : mardi 11 mai 2010 09:10
À : spacewalk-list@redhat.com
Objet : Re: [Spacewalk-list] Duplicate
Oh, yeah, the script.
Here's the whole script. Use what you want, ignore the rest.
On Mon, May 10, 2010 at 11:44 PM, Tom Brown wrote:
>
>> I call custom API scripts in the %post script to deal with this.
>>
>>
>
> in a 'am i registered, if so delete me' then 'register system' kind of way?
>
>
No.
Client: Hi, Mr Spacewalk/Satellite Server!
SatServer: Hi, you're new here, have a unique ID!
Client: Cool, thanks. Say, does anyone else have my name?
SatServer: Why yes, two other clients have your name.
Client: Yeah, well, they were me in a past life. Delete them please.
SatServer: Consid
I call custom API scripts in the %post script to deal with this.
in a 'am i registered, if so delete me' then 'register system' kind of way?
would you mind sharing that snippet?
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://
I call custom API scripts in the %post script to deal with this.
On Mon, May 10, 2010 at 9:46 PM, Tom Brown wrote:
>
>>
>> I want to reduce the manual work to do when reinstalling a system and
>> therefore avoid duplicates in my spacewalk installation.
>>
>> The only way to do that is to generate
I want to reduce the manual work to do when reinstalling a system and
therefore avoid duplicates in my spacewalk installation.
The only way to do that is to generate a reactivation key for each
system. As far as I found out this can only be done by using the web
interface manually.
Is there a
Hi,
I want to reduce the manual work to do when reinstalling a system and
therefore avoid duplicates in my spacewalk installation.
The only way to do that is to generate a reactivation key for each
system. As far as I found out this can only be done by using the web
interface manually.
Is there
18 matches
Mail list logo