Bug 1465979 - During upgrade from 3.4 to 3.5 -- error: openshift-infra is not a valid namespace
Summary: During upgrade from 3.4 to 3.5 -- error: openshift-infra is not a valid names...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: apiserver-auth
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jordan Liggitt
QA Contact: Chuan Yu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-28 15:17 UTC by Steven Walter
Modified: 2020-08-13 09:30 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-01 13:53:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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