Repository navigation
Closed
Labels
Description
I followed the instructions for running OSv3 v0.4.2, but when I point my broser to the console, I get:
{
"kind": "Status",
"creationTimestamp": null,
"apiVersion": "v1beta1",
"status": "Failure",
"message": "\"/\" is forbidden because system:anonymous cannot get on /",
"reason": "Forbidden",
"details": {},
"code": 403
}
Later I tried to execute: openshift admin --config=/var/lib/openshift/openshift.local.certificates/admin/.kubeconfig policy add-role-to-group cluster-admin system:authenticated system:unauthenticated but it fails with this:
W0403 09:13:57.123817 113 node_args.go:54] Unable to lookup hostname, using "localhost": Couldn't determine hostname: exit status 1
W0403 09:13:57.282874 113 node_args.go:54] Unable to lookup hostname, using "localhost": Couldn't determine hostname: exit status 1
unknown flag: --config
Usage:
openshift admin [options]
openshift admin <command>
Available Commands:
overwrite-policy Overwrite policy for OpenShift. DANGER: THIS BYPASSES ALL ACCESS CONTROL CHECKS AND WRITES DIRECTLY TO ETCD!
create-bootstrap-policy-file Create bootstrap policy for OpenShift.
create-node-config Create a portable client folder containing a client certificate, a client key, a server certificate authority, and a .kubeconfig file.
create-kubeconfig Create a basic .kubeconfig file from client certs
create-all-certs Create all certificates for OpenShift All-In-One
create-client-cert Create client certificate
create-node-cert Create node certificate
create-server-cert Create server certificate
create-signer-cert Create signer certificate
create-api-client-config Create a portable client folder containing a client certificate, a client key, a server certificate authority, and a .kubeconfig file.
Global Options:
-h, --help=false: help for admin
--loglevel=0: Set the level of log output (0-5)
Use "openshift <command> --help" for more information about a given command.
Activity
smarterclayton commentedon Apr 3, 2015
@fabianofranz is this the help text problem we opened? It's not showing policy, which means that it knows policy is a command but is actually hiding it?
@goldmann you may need to move the config argument later in the command. Do you have the KUBECONFIG or OPENSHIFTCONFIG env vars set?
goldmann commentedon Apr 3, 2015
I'm just following the instructions in
README.md. This is what I have:When used like this:
It works.
smarterclayton commentedon Apr 3, 2015
KUBECONFIG is broken right now - I've updated the readme to fix both of these.
Fabiano, --config should be registered on admin - did that recently change?
liggitt commentedon May 9, 2015
KUBECONFIGis nowOPENSHIFTCONFIG, and access to/should be allowed by default now. Can you confirm this is working for you now?liggitt commentedon May 13, 2015
Closing as fixed
Squashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…