Disconnected Red Hat Satellite installation fails with Candlepin::Database::Postgresql/Cpdb_create[candlepin]/ensure: change from 'absent' to 'present' failed.

Solution Verified - Updated -

Issue

  • Red Hat Satellite 6.15 installation on disconnected server fails with following error.

    [ERROR ] [configure] /Stage[main]/Candlepin::Database::Postgresql/Cpdb_create[candlepin]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/share/candlepin/cpdb --create --schema-only --dbhost=localhost --dbport=5432 --database=candlepin --user=candlepin --password=********' returned 1: "********"
    [ERROR ] [configure] Error running command: /usr/share/candlepin/liquibase.sh --driver=org.postgresql.Driver --classpath=/var/lib/tomcat/webapps/candlepin/WEB-INF/lib/postgresql-42.6.0.redhat-00002.jar:/var/lib/tomcat/webapps/candlepin/WEB-INF/classes/ --changelog-file=db/changelog/changelog-update.xml --url="jdbc:postgresql://localhost:5432/candlepin" --username=$DBUSERNAME             --headless=true --password=********$DBPASSWORD --log-level=severe update -Dcommunity="********"
    [ERROR ] [configure] Status code: 1
    
    [DEBUG ] [configure] SEVERE [liquibase.integration] org/candlepin/liquibase/FixDuplicatePoolsLiquibaseWrapper has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
    [DEBUG ] [configure] java.lang.UnsupportedClassVersionError: org/candlepin/liquibase/FixDuplicatePoolsLiquibaseWrapper has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
    

Environment

  • Red Hat Satellite 6.15
  • Red Hat Enterprise Linux 8

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