ZCM Linux Subscription bundle creation error: 'Replication failed for subscription "update-name" : id to load is required for loading.'

  • 7009803
  • 28-Nov-2011
  • 23-Jul-2012

Environment

Novell ZENworks 11 Configuration Management Support Pack 1 - ZCM 11 SP1

Situation

Error:  "java.lang.IllegalArgumentException: id to load is required for loading ".
Linux subscription bundle creation fails.

Resolution

This is fixed in version 11.2.1 - see KB 7010042 "ZENworks Configuration Management 11.2.1 - update information and list of fixes" which can be found at https://support.microfocus.com/kb/doc.php?id=7010042

Additional Information

Excerpt from LOADER-MESSAGES.LOG:
 
"[DEBUG] [10/26/11 10:42:27 AM] [] [RPMUtil] [] [RPM file name = /var/opt/novell/zenworks/cache/pkg-repo/tmp/Subscriptions/db2af916c9635160018a0f7e64f2fff4/SLES11-SP1-Updates/patch-slessp1-libpython2_6-1_0/sles-11-x86_64/libpython2_6-1_0-2.6.0-8.12.2.x86_64.rpm] [] []
[DEBUG] [10/26/11 10:42:27 AM] [] [RPMUtil] [] [Path to perl pkg to xml = /opt/novell/zenworks/perl/bin/ppkg_to_xml] [] []
[DEBUG] [10/26/11 10:42:27 AM] [] [RPMUtil] [] [Running ppkg_to_xml ... perl /opt/novell/zenworks/perl/bin/ppkg_to_xml /var/opt/novell/zenworks/cache/pkg-repo/tmp/Subscriptions/db2af916c9635160018a0f7e64f2fff4/SLES11-SP1-Updates/patch-slessp1-libpython2_6-1_0/sles-11-x86_64/libpython2_6-1_0-2.6.0-8.12.2.x86_64.rpm -o /var/opt/novell/zenworks/cache/rpm-md-files/9fc0545c1e41b623441764585cfdb48d.xml] [] []
[DEBUG] [10/26/11 10:42:27 AM] [] [Replicate Subscriptions : /Subscriptions/NCC-SLES11SP1-Update] [] [java.lang.IllegalArgumentException: id to load is required for loading
 at org.hibernate.event.LoadEvent.<init>(LoadEvent.java:51)
 at org.hibernate.event.LoadEvent.<init>(LoadEvent.java:33)
 at org.hibernate.impl.SessionImpl.load(SessionImpl.java:782)
 at com.novell.zenworks.datamodel.session.hibernate.AbstractHibernateSessionImpl.simpleGet(AbstractHibernateSessionImpl.java:213)
 at com.novell.zenworks.datamodel.utils.AdminImplUtil.get(AdminImplUtil.java:96)
 at com.novell.zenworks.datamodel.services.content.ContentAdminImpl.getContent(ContentAdminImpl.java:2226)
 at com.novell.zenworks.datamodel.services.content.ContentAdminImpl.get(ContentAdminImpl.java:2200)
 at com.novell.zenworks.datamodel.services.content.ContentAdminImpl.replaceUnpackedContent(ContentAdminImpl.java:5405)
 at com.novell.zenworks.subscriptionSession.server.ZCMLocalServer.replaceContent(ZCMLocalServer.java:1277)
 at com.novell.zenworks.subscriptionSession.server.ZCMLocalServer.handleReDownloadedPackages(ZCMLocalServer.java:1317)
 at com.novell.zenworks.subscriptionSession.server.ZCMLocalServer.processRPMPackages(ZCMLocalServer.java:1491)
 at com.novell.zenworks.subscriptionSession.server.ZCMLocalServer.processPackagesTargetWise(ZCMLocalServer.java:1420)
 at com.novell.zenworks.subscriptionSession.server.ZCMLocalServer.createLBorLDB(ZCMLocalServer.java:2300)
 at com.novell.zenworks.subscriptionSession.server.CatalogProcessor.createBundle(CatalogProcessor.java:1320)
 at com.novell.zenworks.subscriptionSession.server.CatalogProcessor.processBundle(CatalogProcessor.java:1040)
 at com.novell.zenworks.subscriptionSession.server.CatalogProcessor.processCatalog(CatalogProcessor.java:134)
 at com.novell.zenworks.subscriptionSession.server.ZCMLocalServer.update(ZCMLocalServer.java:227)
 at com.novell.zenworks.subscriptionSession.SubscriptionSession.subscription(SubscriptionSession.java:294)
 at com.novell.zenworks.subscriptionSession.ReplicateSubscriptionImpl.Subscribe(ReplicateSubscriptionImpl.java:287)
 at com.novell.zenworks.subscriptionSession.ReplicateSubscriptionImpl.Subscribe(ReplicateSubscriptionImpl.java:194)
 at com.novell.zenworks.loader.modules.queue.handlers.SubscriptionReplicationHandler.replicateSubscription(SubscriptionReplicationHandler.java:621)
 at com.novell.zenworks.loader.modules.queue.handlers.SubscriptionReplicationHandler.processAction(SubscriptionReplicationHandler.java:152)
 at com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.processAction(QueueThreadWorker.java:212)
 at com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.run(QueueThreadWorker.java:143)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
"

Feedback service temporarily unavailable. For content questions or problems, please contact Support.