Bug 1014837 - oo-admin-chk sees problems with jenkins ssh keys that oo-admin-repair doesn't fix
Summary: oo-admin-chk sees problems with jenkins ssh keys that oo-admin-repair doesn't...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-02 21:47 UTC by Sten Turpin
Modified: 2015-05-15 00:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-17 13:33:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sten Turpin 2013-10-02 21:47:02 UTC
Description of problem: on INT environment, oo-admin-chk --level 1 is logging errors like: Gear '52453af66cec0e3e1c0001d8' has key with name 'jenkins' in mongo but not on the node. Running oo-admin-repair --ssh-keys does not correct the problem. Of the 37 apps being flagged on INT, only 4 actually have jenkins cartridges. 


Version-Release number of selected component (if applicable):


How reproducible: always


Steps to Reproduce:
1. run oo-admin-chk --level 1 on INT (also appears on STG and PROD, but has had less investigation)

Actual results: errors on ssh keys that oo-admin-repair is not correcting


Expected results: oo-admin-repair should be able to correct any missing ssh keys, or log a message explaining why no cleanup was attempted. Further, it's possible these entries in mongo are erroneous. 


Additional info:

Comment 2 Jianwei Hou 2013-10-09 05:39:58 UTC
Verified on devenv_3874

Create jenkins app and applications with jenkins, modify the jenkins system ssh key content to make oo-admin-chk fail, the repair it with oo-admin-repair, the mismatched sshkey can be repaired.


Note You need to log in before you can comment on or make changes to this bug.