Red Hat Bugzilla – Bug 757711
Spacewalk-repo-sync could be started with no repository available.
Last modified: 2014-10-06 09:46:30 EDT
Description of problem:
Spacewalk-repo-sync could be started for a Custom channel even if there is no Yum repository associated with the channel.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Channels -> Manage Software Channels -> create new channel
2. Channels -> Manage Software Channels -> Custom Channel -> Repositories -> Sync
3. In "Repository" section you should see:
No repositories are currently associated with this channel.
4. Press button "Sync Now"
1. Message on WebUI
Repository sync scheduled for Name custom_chann_sync_repo_sun27nov2011_09_35_55_11138.
2. Logs : /var/log/rhn/rhn_taskomatic_daemon.log
INFO | jvm 1 | 2011/11/28 14:04:36 | 2011-11-28 14:04:36,528 [DefaultQuartzScheduler_Worker-7] ERROR com.redhat.rhn.manager.satellite.SystemCommandExecutor - Error encountered executing (args=[/usr/bin/spacewalk-repo-sync, --channel, custom_chann_sync_repo_sun27nov2011_09_35_55_11138, --type, yum])
INFO | jvm 1 | 2011/11/28 14:04:36 | 2011-11-28 14:04:36,528 [DefaultQuartzScheduler_Worker-7] ERROR com.redhat.rhn.manager.satellite.SystemCommandExecutor - Error message from process: Channel has no URL associated
1. Warning Massage on Web UI
2. spacewalk-repo-sync is not started.
I guess the problem could be reproduced via API as well. (Not tested yet)
Satellite 5.6 has been released. This bug was tracked under the release.
This bug was either VERIFIED or RELEASE_PENDING (re-verified prior shortly
Moving to CLOSED CURRENT_RELEASE.
Text from Upgrade Erratum follows:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.