Description of problem: When I create multiple (3-5) system units and add 10-30 subscriptions to each, and then delete the units, a hibernate stale object exception is thrown. Stack trace at: http://pastebin.test.redhat.com/129222 Version-Release number of selected component (if applicable): How reproducible: So far I have only seen this using the heavily shared rhn-cservice-acarter account, which lends credence to our theory that another user is changing the data while I am trying to delete it. I am trying to reproduce it across environments and accounts, but so far have only seen it at Prod, and only with this account. I will update this BZ when I have more info. Steps to Reproduce (through RHSM Web): 1. login to access.redhat.com/management as rhn-cservice-acarter 2. create 5 system units. I alternated between physical and virtual systems. 3. add all available subscriptions to each one. Make sure to un-check the "Only show subscriptions that match this System" checkbox. 4. Once all 5 units are created and subscribed, delete them all at once. Actual results: You will see a 500 in the RHSM Web UI and a org.hibernate.StaleObjectStateException in the catalina log. Expected results: Units and entitlements should be deleted cleanly. Additional info:
what version of candlepin is this?
Please do NOT use pastebin urls for stack traces in bugs, they do not live long enough to be useful. It is preferable that we make an attachment with the contents of the log.
Can we get a copy of the log from prod that contains this error?