Bug 1322232

Summary: [platformmanagement_public_650] `oadm policy reconcile-sccs` should have no output after reconcile sccs done with --confirm flag
Product: OKD Reporter: weiwei jiang <wjiang>
Component: ocAssignee: Paul Weil <pweil>
Status: CLOSED CURRENTRELEASE QA Contact: weiwei jiang <wjiang>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, mmccomas, wsun
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: 2016-05-12 17:11:19 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:

Description weiwei jiang 2016-03-30 05:34:12 UTC
Description of problem:
After reconcile sccs with --confirm flag, the scc in etcd should match the bootstrap sccs.
But when I run the reconcile sccs second times, still have something output,
this is not acceptable.

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

How reproducible:
always

Steps to Reproduce:
1.Run `oadm policy reconcile-sccs --confirm` via cluster-admin
2.Run `oadm policy reconcile-sccs` via cluster-admin again
3.

Actual results:
2. 
# oadm policy reconcile-sccs 
apiVersion: v1
items:
- allowHostDirVolumePlugin: false
  allowHostIPC: false
  allowHostNetwork: false
  allowHostPID: false
  allowHostPorts: false
  allowPrivilegedContainer: false
......

Expected results:
2. should have no output

Additional info:

Comment 1 Paul Weil 2016-03-30 13:14:57 UTC
Fixed in https://github.com/openshift/origin/pull/8292

Comment 2 weiwei jiang 2016-03-31 05:50:51 UTC
Checked with devenv-rhel7_3871, this issue has been fixed.