| Summary: | Production nonthreadsafe Exceptions | ||
|---|---|---|---|
| Product: | [Community] Candlepin | Reporter: | Dennis Crissman <dcrissman> |
| Component: | candlepin | Assignee: | Jesus M. Rodriguez <jesusr> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.9 | CC: | aedwards, bkearney, dgoodwin, jesusr |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-21 14:12:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Dennis Crissman
2013-09-30 16:13:05 UTC
The subscription expired yesterday (Sun Sep 29 00:00:00 -0400 2013), so by all accounts candlepin should just delete the pool.
The exceptions started around 2am this morning, which correlates to refreshes done this morning.
NOTE: the first row in the result set was my attempt at a manual refresh in hopes to clean this up, but it did not work.
mysql> select * from cp_job where targetId = '7001381' order by created DESC;
+----------------------------------------------------+---------------------+---------------------+---------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+-------+-------------+-----------------+----------+------------+
| id | created | updated | finishTime | result | startTime | state | jobGroup | principalName | targetId | targetType |
+----------------------------------------------------+---------------------+---------------------+---------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+-------+-------------+-----------------+----------+------------+
| refresh_pools_a3c0d67b-22ee-4a05-beb0-8a99a4120c00 | 2013-09-30 13:02:59 | 2013-09-30 13:03:04 | 2013-09-30 13:03:00 | Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.candlepin.model.Pool#8a85f986401105de01403b973f52419c] | 2013-09-30 13:02:59 | 3 | async group | candlepin_admin | 7001381 | 0 |
| refresh_pools_e062dd2b-1244-408f-bf46-d67d018b50d5 | 2013-09-30 02:25:02 | 2013-09-30 13:03:05 | 2013-09-30 02:25:03 | Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.candlepin.model.Pool#8a85f986401105de01403b973f52419c] | 2013-09-30 02:25:02 | 3 | async group | candlepin_admin | 7001381 | 0 |
| refresh_pools_a14cca70-3df6-4f48-ad15-aba6902e97e8 | 2013-09-30 02:22:01 | 2013-09-30 13:03:05 | 2013-09-30 02:22:02 | Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.candlepin.model.Pool#8a85f986401105de01403b973f52419c] | 2013-09-30 02:22:02 | 3 | async group | candlepin_admin | 7001381 | 0 |
| refresh_pools_ef818763-720c-44ae-b9bb-2c9ca40073fa | 2013-09-30 02:02:01 | 2013-09-30 13:03:05 | 2013-09-30 02:02:02 | Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.candlepin.model.Pool#8a85f986401105de01403b973f52419c] | 2013-09-30 02:02:02 | 3 | async group | candlepin_admin | 7001381 | 0 |
+----------------------------------------------------+---------------------+---------------------+---------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+-------+-------------+-----------------+----------+------------+
4 rows in set (0.00 sec)
This expired pool had one entitlement associated with it. Removing the entitlement from the account allowed the refresh to complete and remove the pool. Fixed by 2fb5386e21c62e679f697c147b9fd72da3c49b59 https://github.com/candlepin/candlepin/pull/542 Fixed by 2fb5386e21c62e679f697c147b9fd72da3c49b59 https://github.com/candlepin/candlepin/pull/542 |