Manifest import task fails with error "org.candlepin.async.JobExecutionException: Unable to create base dir for sync: /var/cache/candlepin/sync" on Red Hat Satellite 6

Solution Verified - Updated -

Issue

  • Manifest import task on Red Hat Satellite fails with below error:

    Katello::Errors::CandlepinError
    
    org.hibernate.LazyInitializationException: could not initialize proxy                                              org.candlepin.model.UpstreamConsumer#8aca4f3b98997a7401989a09102157ae] - no Session
    
  • Deleting and importing the same manifest file fails with the following error:

    org.candlepin.async.JobExecutionException: Unable to create base dir for sync: /var/cache/candlepin/sync
    

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content