With RHN Satellite, removing Virtualization Host Platform entitlements from a system causes an Internal Server Error

Solution Verified - Updated -

Issue

  • I am having difficulty removing the Virtualization entitlement from the two hypervisor hosts. When I try to un-entitle the hypervisors, I immediately get an error page.
  • I have un-entitled all of the guest systems that were entitled on the satellite. The guest systems are still associated with their software channels, but they should no longer be consuming virtualization platform guest freebie entitlements.

  • Looking at /var/log/httpd/error.log shows:

[Tue Oct 30 10:00:08 2012] [error] Execution of /var/www/html/network/systems/details/delete_confirm.pxt failed at Tue Oct 30 10:00:08 2012: RHN::Exception: DBD::Oracle::st execute failed: ORA-06511: PL/SQL: cursor already open\nORA-06512: at "RHNSAT.RHN_ENTITLEMENTS", line 1613\nORA-06512: at "RHNSAT.RHN_ENTITLEMENTS", line 1664\nORA-06512: at "RHNSAT.RHN_ENTITLEMENTS", line 1707\nORA-06512: at "RHNSAT.RHN_ENTITLEMENTS", line 669\nORA-06512: at "RHNSAT.DELETE_SERVER", line 68\nORA-06512: at line 2 (DBD ERROR: OCIStmtExecute)
  • Looking at /var/log/tomcat6/catalina.out shows:
Caused by: 
java.sql.SQLException: ORA-06511: PL/SQL: cursor already open
ORA-06512: at "RHNSAT.RHN_ENTITLEMENTS", line 1613
ORA-06512: at "RHNSAT.RHN_ENTITLEMENTS", line 1664
ORA-06512: at "RHNSAT.RHN_ENTITLEMENTS", line 1707
ORA-06512: at "RHNSAT.RHN_ENTITLEMENTS", line 669
ORA-06512: at "RHNSAT.RHN_ENTITLEMENTS", line 418
ORA-06512: at line 1

Environment

  • RHN Satellite 5.4.1

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