Bug 494320 - Errata pushes fail for packages that are already in the DB and associated with affected channels
Errata pushes fail for packages that are already in the DB and associated wit...
Status: CLOSED EOL
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Backend (Show other bugs)
RHN Stable
All Linux
low Severity medium
: ---
: ---
Assigned To: rhn-dev-list
Red Hat Network Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-06 07:48 EDT by James Bowes
Modified: 2017-07-05 11:10 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description James Bowes 2009-04-06 07:48:15 EDT
This is the traceback we get:

> SQL Error generated: (1, 'ORA-00001: unique constraint
> (RHN.RHN_CP_CP_UQ) violated\n', 'insert into rhnChannelPackage
> (channel_id, package_id) values (:channel_id, :package_id)')
> 
> Exception Handler Information
> Traceback (most recent call last):
>   File "/usr/share/rhn/server/apacheRequest.py", line 106, in call_function
>     response = func(*params)
>   File "/usr/share/rhn/server/handlers/bugzilla/bugzilla_errata.py",
> line 75, in submit_errata
>     ber.run()
>   File "/usr/share/rhn/server/importlib/importLib.py", line 543, in run
>     self.preprocess()
>   File "/usr/share/rhn/server/importlib/bugzillaErrataImport.py", line
> 164, in preprocess
>     packageImport.subscribeToChannels()
>   File "/usr/share/rhn/server/importlib/packageImport.py", line 297, in
> subscribeToChannels
>     affected_channels = self.backend.subscribeToChannels(self.batch)
>   File "/usr/share/rhn/server/importlib/backend.py", line 1031, in
> subscribeToChannels
>     self.__doInsertTable('rhnChannelPackage', ahash)
>   File "/usr/share/rhn/server/importlib/backend.py", line 1419, in
> __doInsertTable
>     insertObj.query(ahash)
>   File "/usr/share/rhn/server/importlib/backendLib.py", line 419, in query
>     executeStatement(statement, values, self.count)
>   File "/usr/share/rhn/server/importlib/backendLib.py", line 450, in
> executeStatement
>     count = count + statement.executemany(**tempdict)
>   File "/usr/share/rhn/server/rhnSQL/int_oracle.py", line 103, in
> executemany
>     return self._execute_wrapper(*((self._executemany, ) + p), **kw)
>   File "/usr/share/rhn/server/rhnSQL/int_oracle.py", line 165, in
> _execute_wrapper
>     raise sql_base.SQLError(*ret)
> SQLError: (1, 'ORA-00001: unique constraint (RHN.RHN_CP_CP_UQ)
> violated\n', 'insert into rhnChannelPackage (channel_id, package_id)
> values (:channel_id, :package_id)')
> 
> =====
Comment 3 Thomas "Shea" DeAntonio 2017-07-05 11:09:07 EDT
As you may already be aware, Red Hat is transitioning from the Red Hat Network (RHN) hosted interface to the Red Hat Subscription Management (RHSM) interface in July 2017. Red Hat has invested in and seen success from RHN for many years, and used that experience to build more robust technologies like RHSM. 
 
If you have not yet migrated your RHN systems to RHSM or you are a Red Hat Satellite customer, please review the information from. https://access.redhat.com/products/red-hat-subscription-management#migration. 
 
Since we are shutting down RHN, no further actions will be taken with this bug or enhancement request.  You can find additional information at RHSM product page (https://access.redhat.com/products/red-hat-subscription-management).  If you have further questions, please contact support (https://access.redhat.com/products/red-hat-subscription-management#support).
Comment 4 Thomas "Shea" DeAntonio 2017-07-05 11:10:57 EDT
As you may already be aware, Red Hat is transitioning from the Red Hat Network (RHN) hosted interface to the Red Hat Subscription Management (RHSM) interface in July 2017. Red Hat has invested in and seen success from RHN for many years, and used that experience to build more robust technologies like RHSM. 
 
If you have not yet migrated your RHN systems to RHSM or you are a Red Hat Satellite customer, please review the information from. https://access.redhat.com/products/red-hat-subscription-management#migration. 
 
Since we are shutting down RHN, no further actions will be taken with this bug or enhancement request.  You can find additional information at RHSM product page (https://access.redhat.com/products/red-hat-subscription-management).  If you have further questions, please contact support (https://access.redhat.com/products/red-hat-subscription-management#support).

Note You need to log in before you can comment on or make changes to this bug.