If you setup a distribution in org 1: f10-i386 then create another org, and in org 2 create another distro: f10-i386 you get this when attempting to use either distro during a kickstart: Caused by: org.hibernate.NonUniqueResultException: query did not return a unique result: 2 at org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:820) at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811) at com.redhat.rhn.domain.kickstart.KickstartFactory.lookupKickstartTreeByLabel(KickstartFactory.java:527) at com.redhat.rhn.frontend.action.common.DownloadFile.handleKickstartDownload(DownloadFile.java:175) at com.redhat.rhn.frontend.action.common.DownloadFile.execute(DownloadFile.java:95) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) Need to fix lookupKickstartTreeByLabel to require org or restrict creation of distros to be unique to the Satellite.
Fixed with regard to this bug: https://bugzilla.redhat.com/show_bug.cgi?id=494930
Spacewalk 0.6 released