Bug 1465979

Summary: During upgrade from 3.4 to 3.5 -- error: openshift-infra is not a valid namespace
Product: OpenShift Container Platform Reporter: Steven Walter <stwalter>
Component: apiserver-authAssignee: Jordan Liggitt <jliggitt>
Status: CLOSED WORKSFORME QA Contact: Chuan Yu <chuyu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: aos-bugs, eparis, jialiu, jokerman, mkhan, mmccomas, sdodson, stwalter
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-07-01 13:53:15 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 Steven Walter 2017-06-28 15:17:40 UTC
Description of problem:

TASK [Reconcile Security Context Constraints] **********************************
fatal: [master1.example.com]: FAILED! => {
    "changed": false, 
    "cmd": [
        "oc", 
        "adm", 
        "policy", 
        "reconcile-sccs", 
        "--confirm", 
        "--additive-only=true", 
        "-o", 
        "name"
    ], 
    "delta": "0:00:00.238453", 
    "end": "2017-06-27 15:59:22.262673", 
    "failed": true, 
    "rc": 1, 
    "start": "2017-06-27 15:59:22.024220", 
    "warnings": []
}

STDERR:

error: openshift-infra is not a valid namespace
See 'oc adm policy reconcile-sccs -h' for help and examples.



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

How reproducible:
Unconfirmed


Actual results:
openshift-infra is not a valid namespace

Expected results:
upgrade succeed

Additional info:
User is logged in as cluster-admin

Comment 5 Jordan Liggitt 2017-06-29 04:40:14 UTC
message improved in https://github.com/openshift/origin/pull/14639

Comment 6 Jordan Liggitt 2017-06-29 04:41:02 UTC
this was typically seen when running the command as an unprivileged user

Comment 8 Eric Paris 2017-07-01 13:53:15 UTC
Since we have improved the message we hope that if this problem reoccurred we will be able to help. However at this time I am going to close the bugzilla request as WORKSFORME