Description of problem: This one might or might not be a bug, but mmccune and I thought that it'd be a good idea to write up a bug on this issue to expand the discussion past ourselves. Let's say that a user has some distro configurations in /var/lib/cobbler/config/distros.d/ that share the name of a kickstart tree that someone might sync from hosted (such as ks-rhel-i386-server-5-u3). If a user has not synced these actual kickstart trees before from hosted and performs a satellite-sync, the Satellite will not report them as being synced upon its completion. Furthermore, if a user attempts to access the profile creation page located here: /rhn/kickstart/CreateProfileWizard.do variations on the theme of the following message will appear in /var/lib/tomcat5/catalina.out: 2009-03-30 17:01:30,666 [TP-Processor7] ERROR com.redhat.rhn.manager.kickstart.KickstartWizardHelper - This Kickstart tree does not have an associated cobbler distro: ks-rhel-i386-server-5-u3 Version-Release number of selected component (if applicable): 530-re20090327.0 How reproducible: Always Steps to Reproduce: 1. Add some config files to /var/lib/cobbler/config/distros.d/ that share the name of a kickstart tree from RHN Hosted 2. Sync the constituent kickstart tree from RHN Hosted 3. Visit /rhn/kickstart/CreateProfileWizard.do Actual results: Kickstart tree does not appear in available kickstart tree list Expected results: Kickstart tree appears in available kickstart tree list Additional info:
From talking to Preethi, it appears that, even on a freshly provisioned machine that has never had a Cobbler installation (and thereby no old distro configurations), trees from satellite-sync are not synced to Cobbler. Mike McCune adds: <mmccune-mtg> caused by busted taskomatic <mmccune-mtg> from: <mmccune-mtg> /var/log/rhn/rhn_taskomatic_daemon.log <mmccune-mtg> Caused by: <mmccune-mtg> INFO | jvm 1 | 2009/03/30 11:09:01 | redstone.xmlrpc.XmlRpcFault: cobbler.cexceptions.CX:'login failed: taskomatic_user' So, it looks like we're going to bump up the priorities, change the title of this bug to: Trees from new satellite-sync are not synced to Cobbler and move it over to the sat530-qa-blockers bug.
restarting taskomatic seems to solve the issue. Going to see what the issue is to not require a restart.
removing this bug from qa blockers and putting https://bugzilla.redhat.com/show_bug.cgi?id=490866 in its place. This bz is about the Description, not comment #1. I'm addressing comment #1 in bz 490866.
commits: ff70d7382b5052aa7973eed1dcb358d668b5599a bd0277099fe26cc367b2a86b97d597d819c59c56 now during the DistroSync process, we check to see if cobbler already has a Distro with the name we would name it. If it exists, we simply reuse it.
VERIFIED on 5/7 ISO.
release pending 7/24 stage ISO https://sun-x4200-01.rhts.bos.redhat.com/ followed steve's test plan and was able to satellite sync without errors.
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. http://rhn.redhat.com/errata/RHEA-2009-1434.html