Description of problem: oo-admin-clear-pending-ops logging lots of add_ssh_key operations Version-Release number of selected component (if applicable): openshift-origin-broker-util-1.13.11-1.el6oso.noarch How reproducible: often, on STG and PROD Steps to Reproduce: 1. run oo-admin-clear-pending-ops Actual results: Failed to clear op for user ([email redacted]) - #<PendingUserOps _id: 52168e82dbd93c7f28000206, _type: nil, created_at: 2013-08-22 22:19:46 UTC, updated_at: 2013-08-22 22:19:46 UTC, op_type: :add_ssh_key, state: "queued", arguments: {"_id"=>"52168e82dbd93c7f28000207", "type"=>"ssh-rsa", "name"=>"default", "content"=>"[ssh key redacted]", "_type"=>"UserSshKey"}, on_domain_ids: ["52168e472587c84b5c000382"], completed_domain_ids: [], on_completion_method: nil> Expected results: Additional info: We're encountering dozens - hundreds of these messages when running clear-pending-ops, more log data is available
The actual issue turned out to be that in PROD the add/remove ssh key user ops were not being cleared. This was due to a change made in the previous release that prevent user ops from being marked completed and deleted. The fix has been made earlier in this sprint.
This is a bug caused by bug 1005631, which is fixed earlier this sprint. Have verified on devenv-stage_475, the pending_ops can be cleared successfully. [root@ip-10-238-145-84 ~]# oo-admin-clear-pending-ops -t 0 0 applications were cleaned up. 1 users were cleaned up. 0 domains were cleaned up.