Bug 960812 - Both system_builder and admin user credentials are printed when creating Jenkins server
Summary: Both system_builder and admin user credentials are printed when creating Jenk...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-08 04:03 UTC by Zhe Wang
Modified: 2015-05-14 23:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-11 03:55:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Zhe Wang 2013-05-08 04:03:34 UTC
Description of problem:
When creating a Jenkins server, Both system_builder and admin user credentials are printed when creating Jenkins server. This bug is reproducible in both INT and devenv_3193 in v2 mode.


It would be more user-friendly to supply one set of credentials. Alternatively, we could specify the differences between the two sets of credentials for users.

Version-Release number of selected component (if applicable):
devenv_3193
INT(devenv_3192)

How reproducible:
always

Steps to Reproduce:
1. create a Jenkins server

  
Actual results:
When the creation succeeds, two sets of credentials are printed in the console output:

jenkins1 @ http://jenkins1-dev3193tstv2.dev.rhcloud.com/ (uuid: 550faebeb78d11e283cb12313d04ee5f)
-------------------------------------------------------------------------------------------------
  Created: 11:14 AM
  Gears:   1 (defaults to small)
  Git URL: ssh://550faebeb78d11e283cb12313d04ee5f.rhcloud.com/~/git/jenkins1.git/
  SSH:     550faebeb78d11e283cb12313d04ee5f.rhcloud.com

  jenkins-1.4 (Jenkins Server 1.4)
  --------------------------------
    Gears:    1 small
    Password: Bnlvra6bVuUP
    Username: system_builder

RESULT:
Application jenkins1 was created.
Jenkins created successfully.  Please make note of these credentials:
   User: admin
   Password: U-GAKPUPVCkx
Note:  You can change your password at: https://jenkins1-dev3193tstv2.dev.rhcloud.com/me/configure

Expected results:
It would be more user-friendly to supply one set of credentials. Alternatively, we could specify the differences between the two sets of credentials.

Additional info:

Comment 1 Dan McPherson 2013-05-08 15:23:01 UTC
I am moving this back to low.  This is really as designed.  The top user is a cart prop and the second user is clearly stated as what the end user should make note of and change the pw for.  The client in this case just shows all the cart props that are returned.  And while all of that is true, I can still see how someone might get confused about what is shown.  Going to let this bug sit for a while and think about whether we want to just hide the cart prop entirely.

Comment 2 Dan McPherson 2013-05-13 14:36:29 UTC
I decided to just stop showing the system builder on the clients:

https://github.com/openshift/origin-server/pull/2436

Comment 4 Zhe Wang 2013-05-14 08:43:50 UTC
Verified in devenv_3223

jenkins @ http://jenkins-dev3223tst.dev.rhcloud.com/ (uuid: 894735313018774886547456)
-------------------------------------------------------------------------------------
  Created: 4:25 PM
  Gears:   1 (defaults to small)
  Git URL: ssh://894735313018774886547456.rhcloud.com/~/git/jenkins.git/
  SSH:     894735313018774886547456.rhcloud.com

  jenkins-1.4 (Jenkins Server 1.4)
  --------------------------------
    Gears: 1 small

RESULT:
Application jenkins was created.
Jenkins created successfully.  Please make note of these credentials:
   User: admin
   Password: I5durdAWGzWg
Note:  You can change your password at: https://jenkins-dev3223tst.dev.rhcloud.com/me/configure


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