Repository navigation
Closed
Labels
Description
[joe@master ~]$ osc login --certificate-authority=/var/lib/openshift/openshift.local.certificates/ca/cert.crt
Please provide the server URL or just <enter> to use 'https://localhost:8443': https://master.osv3.example.com:8443
Authenticate for "openshift"
Username: joe
Password:
Logged into 'https://master.osv3.example.com:8443' as 'joe'.
You don't have any project.
If you have access to create a new project, run 'openshift ex new-project <projectname> --admin=htpasswd:joe'.
To be added as an admin to an existing project, run 'openshift ex policy add-user admin htpasswd:joe -n <projectname>'.
Welcome to OpenShift v3! Use 'osc --help' for a list of commands available.
- I think it would be more welcoming if that "Welcome to OpenShift" line came first.
- "You don't have any project" should be projectS
- If a user is logging in this way, they are probably not the cluster admin and probably can't run openshift ex new-project. Perhaps reword as something like:
An administrator can create a new project for you by running 'openshift ex new-project <projectname> --admin=htpasswd:joe'.
To add this user as an admin to an existing project, a project administrator can run 'openshift ex policy add-user admin htpasswd:joe -n <projectname>'.
Somewhat related; if you then add the user to a project, it won't be obvious to them what to do with osc project:
[joe@master ~]$ osc project
No specific project in use.
[joe@master ~]$ osc project -h
No specific project in use.
[joe@master ~]$ osc help project
Switch to another project and make it the default in your configuration.
Use "osc --help" for a list of all commands available in osc.
Use "osc options" for a list of global command-line options (applies to all commands).
Maybe "osc project" in this situation could retrieve a list of projects, or direct you to run "osc get projects" for a list? At least, the help could be more helpful about this. Could it at least give the syntax, even though it is just osc project <name>?
Activity
sosiouxme commentedon Mar 23, 2015
@fabianofranz
smarterclayton commentedon Mar 26, 2015
See the latest updates
fabianofranz commentedon Mar 26, 2015
@sosiouxme At least a few of these were addressed in the latest updates. I'll check if there's anything else to fix.
danmcp commentedon May 11, 2015
Any remaining issues?
smarterclayton commentedon May 11, 2015
All of these are covered
Squashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…
Squashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…
Use a separate etcd prefix for each integration test to keep tests is…