In Satellite 5.4.1, why do I get Taskomatic Notificaton emails stating "Subtask compare-config-files failed" with error "More than one row with the given identifier was found"

Solution Verified - Updated -

Environment

  • Red Hat Network Satellite 5.4.1

Issue

  • Why do I get Taskomatic Notificaton emails stating "Subtask compare-config-files failed" with error "More than one row with the given identifier was found"

Resolution

This issue is resolved with the release of RHN Satellite 5.5.

As of September 20th 2012, RHN Satellite 5.5 has been generally available.

Release Notes and other 5.5 documentation can be found here:

The associated Errata for the 5.5 release are:

5.5 Satellite GA Errata

5.5 Upgrade Errata

5.5 RHN Proxy GA Errata

5.5 RHN Tools GA Errata

Diagnostic Steps

Getting an email regarding a taskomatic task failing.

Taskomatic bunch compare-configs-bunch was scheduled to run within the compare-configs-default schedule.

Subtask compare-config-files failed.

For more information check /var/lib/rhn/tasko/sat/compare-configs-bunch/compare-config-files_2358648_err.

The contents of the compare-config-files_X.err files:

2012-06-24 23:00:05,850 [DefaultQuartzScheduler_Worker-4] ERROR com.redhat.rhn.taskomatic.task.CompareConfigFilesTask  - More than one row with the given identifier was found: 1000024175, for class: com.redhat.rhn.domain.server.CPU
2012-06-24 23:00:05,851 [DefaultQuartzScheduler_Worker-4] ERROR com.redhat.rhn.taskomatic.task.CompareConfigFilesTask  

Execute the below queries and check if there are duplicate entries :

su - oracle
sqlplus rhnsat/rhnsat@rhnsat
select * from rhnRam where server_id = 1000024175;
select * from rhnCPU where server_id = 1000024175;
select * from rhnServerDmi where server_id = 1000024175;

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments