for any one whos interested here is the workaround i found I had to do several alterations to the database
" spaceschema=# select id,channel_arch_id from rhnChannel where label ='sci-linux-6_2'; id | channel_arch_id -----+----------------- 109 | 513 (1 row) spaceschema=# insert into rhnDistChannelMap (os,release,channel_arch_id,channel_id) VALUES ('sl-release','6.2','513','109'); spaceschema=# alter table rhnserverhistory drop constraint "vn_rhnserverhistory_details"; " oh by the way if any one is wondering the reason why im dropping the constraint is if you don't it just breaks again latter with this error because of an on the bug the workaround brought to light. " ERROR: new row for relation "rhnserverhistory" violates check constraint "vn_rhnserverhistory_details" STATEMENT: insert into rhnServerHistory (id, server_id, summary, details) values (sequence_nextval('rhn_event_id_seq'), 1000010018, E'Updated system release from 6.2 to 6.2', E'') " On Mon, Mar 19, 2012 at 5:22 PM, Paul Robert Marino <prmari...@gmail.com> wrote: > hello every one > I trying to find a work around to a know bug that several people have > seen in spacewalk 1.7, 1.6 and Satellite 5.4.x > here is the bug report https://bugzilla.redhat.com/show_bug.cgi?id=786705 > the short description is that when you kickstart a host it works fine > but when you re kickstart a host the rhnreg_ks command barfs on the > reactivation key, > it seems as though the reactivation key is not setting the base > channel correctly and if a second key is included that specifies a > custom base channel it is ignored. > I've figured out that if i can update the channel dist map in the > database i might be able to work around it but i cant find a way to do > it through the gui or any of the command line tools. > does any one know a way to manually update the channel dist map easily > or will i need to write a script my self to do it. _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel