PDA

View Full Version : repo-sync failed; channel has no URL associated



KuntienTiera
20-Feb-2015, 17:29
Hi,

Suse Manager 2.1 with latest patches and using SCC is failing to sync Red Hat Expanded Support channel:

Each night it sends email "Subtask repo-sync failed". Log file /var/log/rhn/tasko/org1/repo-sync-bunch/repo-sync_1874975_err contains


2015-02-19 00:57:08,037 [DefaultQuartzScheduler_Worker-2] ERROR com.redhat.rhn.
taskomatic.task.RepoSyncTask - Executing a task threw an exception: org.quartz
.JobExecutionException
2015-02-19 00:57:08,037 [DefaultQuartzScheduler_Worker-2] ERROR com.redhat.rhn.
taskomatic.task.RepoSyncTask - Message: Command '[/usr/bin/spacewalk-repo-sync
, --channel, rhel-x86_64-server-6, --type, yum, --non-interactive, ]' exited with error code 1
2015-02-19 00:57:08,037 [DefaultQuartzScheduler_Worker-2] ERROR com.redhat.rhn.
taskomatic.task.RepoSyncTask - Cause: null
2015-02-19 00:57:08,037 [DefaultQuartzScheduler_Worker-2] ERROR com.redhat.rhn.
taskomatic.task.RepoSyncTask - Stack trace:org.quartz.JobExecutionException: C
ommand '[/usr/bin/spacewalk-repo-sync, --channel, rhel-x86_64-server-6, --type,
yum, --non-interactive, ]' exited with error code 1
at com.redhat.rhn.taskomatic.task.RhnJavaJob.executeE xtCmd(RhnJavaJob.java:112)
at com.redhat.rhn.taskomatic.task.RepoSyncTask.execut e(RepoSyncTask.java:78)
at com.redhat.rhn.taskomatic.task.RhnJavaJob.execute( RhnJavaJob.java:89
)
at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJo b.java:169)
at org.quartz.core.JobRunShell.run(JobRunShell.java:2 16)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run (SimpleThreadPool.
java:549)

mgr-sync list channels:


Available Channels:


Status:
- [I] - channel is installed
- [ ] - channel is not installed, but is available
- [U] - channel is unavailable

[ ] RHEL i386 AS 4 RES 4 [rhel-i386-as-4]
[ ] RHEL i386 ES 4 RES 4 [rhel-i386-es-4]
[ ] RHEL i386 Server 5 RES 5 [rhel-i386-server-5]
[ ] RHEL i386 Server 6 Red Hat Expanded Support for RHEL 6 [rhel-i386-server-6]
[ ] RHEL x86_64 AS 4 RES 4 [rhel-x86_64-as-4]
[ ] RHEL x86_64 ES 4 RES 4 [rhel-x86_64-es-4]
[ ] RHEL x86_64 Server 5 RES 5 [rhel-x86_64-server-5]
[I] RHEL x86_64 Server 6 Red Hat Expanded Support for RHEL 6 [rhel-x86_64-server-6]
[I] RES6 SUSE-Manager-Tools x86_64 SUSE-Manager-Tools [res6-suse-manager-tools-x86_64]
[I] RES6 for x86_64 RES 6 [res6-x86_64]
...

Subchannel RES6 for x86_64 RES 6 updates normally and contains packages, but the main channel has zero packages (should it even have any?). In web GUI under Admin / Subscriptions / Software Channel Entitlements there is "SUSE Linux Enterprise RedHat Expanded Support" showing Access granted by this Entitlement: RHEL x86_64 Server 6, RES6 for x86_64 and RES6 SUSE-Manager-Tools x86_64.

Is there something to check or should I open a support ticket?

Thank you in advance,
Cristian Seres

kwk
23-Feb-2015, 10:23
Everything is fine, you need to provide the RHEL6 channel yourself.

The "Redhat expanded support" offering only provides updates and errata, but not the main installation DVD.

However, the SUSE Manager channel structure requires a 'base' channel, so that the child channel 'RES6 for x86_64 RES 6' can exist. The base channel (RHEL x86_64 Server 6 Red Hat Expanded Support for RHEL 6) is just a dummy and therefore has no URL associated with it.

KuntienTiera
27-Feb-2015, 17:03
Everything is fine, you need to provide the RHEL6 channel yourself.


Thanks kwk! In that case I wonder why Suse Manager is trying to run
spacewalk-repo-sync --channel rhel-x86_64-server-6 --type yum --non-interactive resulting "Suse Manager Taskomatic notification" email alert for this RHEL6 channel every night if the base channel is not supposed to have any packages?

It's good to know that it's not missing any packages, but this email alert is a bit annoying.