Bug 1005631
Summary: | UserSshKey pending ops are not cleared automatically when ssh keys are successfully added or deleted. | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Jianwei Hou <jhou> |
Component: | Pod | Assignee: | Abhishek Gupta <abhgupta> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | ccoleman |
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: | 2013-09-19 16:50:06 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: | |
Embargoed: |
Description
Jianwei Hou
2013-09-09 03:19:37 UTC
This is a bug in the PendingUserOps logic - ssh key propagation is now in the application only. There is no domain propagation at this point. The minimal fix is to change CloudUser#run_jobs from: op.delete if op.completed? to op.delete The larger change is to remove on_domain and completed_domains and replace it with just completed_applications. When dan and I spoke about not tracking individual completion of apps we weren't terribly concerned because a failed operation will get rerun and any existing job is a no-op. So it causes some extra processing but is still safe. This also means that users have queues that are filling up - when this fix is applied those queues will get cleared. Fixed with --> https://github.com/openshift/origin-server/pull/3592 Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/998e2517c935ace0fb9fa058d0c5c553d782d18f Fix for bug 1005631 Verified on devenv_3770, the pending_ops with UserSshKey type is cleared after ssh key has been added. |