Red Hat Bugzilla – Bug 494930
Can't have 2 distributions with same label in different orgs
Last modified: 2009-09-10 15:25:01 EDT
+++ This bug was initially created as a clone of Bug #494929 +++
If you setup a distribution in org 1:
then create another org, and in org 2 create another distro:
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
Need to fix lookupKickstartTreeByLabel to require org or restrict creation of distros to be unique to the Satellite.
Should be fixed now.
VERIFIED in 5/21 build.
Release Pending. However, contrary to the bug description, we just now allow the same label in two orgs instead of throwing an exception. So, no name collision. This found working on Satellite-5.3.0-RHEL5-re20090724.0-x86_64-embedded-oracle.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.