Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubeadmin username and password at end of cluster create could be formatted more clearly #827

Closed
TheRealJon opened this issue Dec 7, 2018 · 2 comments

Comments

@TheRealJon
Copy link
Member

Version

$ openshift-install version
./bin/openshift-install v0.5.0-master-44-g015ac0f9569212654e5f031ed9e742aeb6d2c91d
Terraform v0.11.8

Platform (aws|libvirt|openstack):

AWS

What happened?

The kubeadmin username and password are output in a single line in the install logs when the install completes.

INFO kubeadmin user password: <password>

The first time I ran this, it took me a couple of tries to figure out that kubeadmin was the actual username.

What you expected to happen?

The output should be formatted to explicitly express the username and password:

Login with admin user:
    username: kubeadmin
    password: <password>

or something along those lines. Also, the URL to the newly created cluster should be somewhere in the default log level output so that the user doesn't have to open the kubeconfig file and search for it.

How to reproduce it (as minimally and precisely as possible)?

$ openshift-install create cluster

References

Relatest to #782

@wking
Copy link
Member

wking commented Dec 14, 2018

Fixed by #806, after which we log:

INFO The cluster is ready when 'oc login -u kubeadmin -p 5char-5char-5char-5char' succeeds (wait a few minutes).

/close

@openshift-ci-robot
Copy link
Contributor

@wking: Closing this issue.

In response to this:

Fixed by #806, after which we log:

INFO The cluster is ready when 'oc login -u kubeadmin -p 5char-5char-5char-5char' succeeds (wait a few minutes).

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants