Well if you think the channel map is tied to it you can test that quickly by updating it. I wrote a script which is available here https://github.com/prmarino1/Extravehicular-Activity-Admin/blob/master/channel-managment/eva-dist-channel-map.pl the documentation for it is embedded in pod format
or via you can update it via the the API as documented here http://spacewalk.redhat.com/documentation/api/1.7/handlers/DistChannelHandler.html also look at this ticket because they may give you some hints https://bugzilla.redhat.com/show_bug.cgi?id=786705 if the dist channel map is a problem specifically comment 16 might be helpful https://bugzilla.redhat.com/show_bug.cgi?id=786705#c16 although i haven't had time yet to test it my self. On Thu, Apr 12, 2012 at 5:41 AM, James Hogarth <james.hoga...@gmail.com> wrote: > Hi all, > > This refers to this bug: > https://bugzilla.redhat.com/show_bug.cgi?id=811646 > > I've attached a patch to this bugzilla entry which begins the fix at > least .... it fixes the SQL exception raised where postgres encounters > an 'unknown column' free_slots and then consequently whatever > transaction you are in gets rolled back ... > > I'm getting a bit out of my depth now and starting to struggle a bit > getting to the core issue though.... > > It would appear that a non-RHN (ie custom) channel does not appear in > rhnDistChannelMap and consequently a SQL query to check the channel > ends up null - or something like that.... > > I have no idea how that ends up as the symptom of 'if > rhn-virtualization-host exists on the kvm host then cannot entitle a > guest' though..... > > Any ideas would be appreciated as I continue to dig through code.... > > James > > _______________________________________________ > Spacewalk-devel mailing list > Spacewalk-devel@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-devel _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel