Hello,
got this regression in Katello when I create an org, import some certificates there and then delete the org.
The thing is it works fine on Fedoras, but it fails with this error on EL 6.1 (GOLD):
Test suite Provider import ---------------------------------------------- org create [ OK ] provider create [ OK ] provider import_manifest [ OK ] org delete [ FAILED ] org delete --name=Import_Org_dccc6ba RestClient::InternalServerError: Candlepin::Owner: 500 Internal Server Error {"displayMessage":"Runtime Error org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched:85"} (DELETE /candlepin/owners/Import_Org_dccc6ba)
katello-0.1.98-1.git.0.31a0249.el6.x86_64 katello-cli-0.1.10-1.git.1062.80beb3d.el6.noarch candlepin-0.4.25-1.el6.noarch pulp-0.0.237-5.el6.noarch subscription-manager-0.98.2-1.el6.x86_64 python-rhsm-0.98.2-1.el6.noarch
Wild guess: Looks like Candlepin is still working on something after import while there's a request to delete the record -> bang .oOo. ?
Hints? Thanks...
candlepin@lists.fedorahosted.org