[Spacewalk-list] Pull rhn errata into spacewalk

Tarun Reddy treddy at rallydev.com
Tue Oct 19 23:16:43 UTC 2010


Nevermind... need to use the short login name. I was using my email address
and probably having issues there.

Tarun

On Tue, Oct 19, 2010 at 5:13 PM, Tarun Reddy <treddy at rallydev.com> wrote:

> So I'm trying this script and I can't get logged into RHN even though my
> username and password are correct.
>
> My error is
> Fault returned from XML RPC Server, fault code -2: unhandled internal
> exception: error.invalid_login
>
> Tarun
>
>
> On Mon, Oct 18, 2010 at 1:30 PM, Evan Frey <efrey2 at optonline.net> wrote:
>
>> This script is another attempt at pulling RHN errata into spacewalk.  I
>> have used the other out there and found that they didn't do what I wanted.
>>  My hit list was as follows:
>>
>>  - From http://lists.centos.org/pipermail/centos-announce pull the
>> monthly digest down to pull out all of the advisory numbers
>>  - Log into RHN and use the xmlrpc api to pull the details of each erratum
>>  - Push the erratum into spacewalk using the xmlrpc api.  This should be
>> pushed dynamically rather then needing a configuration file
>>
>>
>> The items that I feel are still outstanding and plan to work on:
>>
>>  - Currently the script publishs the errata to all channels.  The next
>> iteration should publish only to channels where the rpm file exists.
>>  - The script does not check if erratum is already published, it just
>> makes the attempt to publish it again (it will silently fail if the erratum
>> is already there uploaded).  Not sure what the speed gain will be checking
>> for errata on the local spacewalk server as opposed to just trying to
>> publish, if it is negligible this will not be addressed.
>>  - Keywords are currently just the list of packages.  This will change to
>> be the keywords from RHN.
>>  - Multithread the app.  Not sure I really care about this, but someone
>> brought it up so I may look into it.
>>
>>
>> The project is hosted on sourceforge at
>> http://rhn2spacewalk.sourceforge.net/
>>
>> It requires:
>>
>> perl-Frontier-RPC
>> perl-List-MoreUtils
>>
>> Additionally I used perl-5.8.8-32 so it had the following built in:
>>
>> Getopt::Long
>> Switch
>>
>>
>> Let me know what you think
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20101019/03c96491/attachment.htm>


More information about the Spacewalk-list mailing list