Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1424927

Summary: [trello nTdsLTZ9] Resource name displayed not correct
Product: OpenShift Container Platform Reporter: Chuan Yu <chuyu>
Component: apiserver-authAssignee: Maciej Szulik <maszulik>
Status: CLOSED NOTABUG QA Contact: Chuan Yu <chuyu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aos-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-20 06:12:50 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 Chuan Yu 2017-02-20 05:43:59 UTC
Description of problem:
Resource name displayed not correct

Version-Release number of selected component (if applicable):
# openshift version
openshift v1.5.0-alpha.2+eabb7e4-566
kubernetes v1.5.2+43a9be4
etcd 3.1.0

How reproducible:
Always

Steps to Reproduce:
1.run command 'oc/oadm policy scc-subject review -f resource_file' to trigger PodSecurityPolicySelfSubjectReview
2.
3.

Actual results:
$ oc policy scc-subject-review -f privileged_false.json 
RESOURCE                          ALLOWED BY   
PodSecurityPolicySubjectReview/   restricted   

Expected results:
The resource name should be 'PodSecurityPolicySelfSubjectReview'

Additional info:
The resopne body from log:
Response Body: {"kind":"PodSecurityPolicySelfSubjectReview","apiVersion":"v1","spec":{"template":{"metadata":{"creationTimestamp":null},"spec":{"volumes":[{"name":"tmp","emptyDir":{}}]......}

Comment 1 Chuan Yu 2017-02-20 06:12:50 UTC
Seems I have used the wrong resource file, this is not but, will close it.