[ 
https://issues.apache.org/jira/browse/BROOKLYN-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14733517#comment-14733517
 ] 

ASF GitHub Bot commented on BROOKLYN-169:
-----------------------------------------

Github user sjcorbett commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/877#discussion_r38851273
  
    --- Diff: 
locations/jclouds/src/main/java/org/apache/brooklyn/policy/jclouds/os/CreateUserPolicy.java
 ---
    @@ -110,6 +110,7 @@ public void run() {
         
         protected void addUser(Entity entity, SshMachineLocation machine) {
             boolean grantSudo = getRequiredConfig(GRANT_SUDO);
    +        boolean resetPassword = 
machine.getConfig(SshMachineLocation.BYON_USER_RESET_PASSWORD);
    --- End diff --
    
    Is this addition still necessary given the similar change 
("resetLoginPassword ") in 42be5897 by @bostko?


> CreateUserPolicy always resets the password
> -------------------------------------------
>
>                 Key: BROOKLYN-169
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-169
>             Project: Brooklyn
>          Issue Type: Bug
>    Affects Versions: 0.7.0, 0.8.0-SNAPSHOT
>         Environment: Linux
>            Reporter: Yavor Yanchev
>             Fix For: 0.8.0-SNAPSHOT
>
>
> CreateUserPolicy always resets the password for the "user".
> Even when it is used in conjunction with BYON location.
> Brooklyn fails to finish BYON location deployments when byon user's password 
> is changed.
> Currently, the byon user (used to create the new "user") gets password reset 
> to the newely generated password. In this case all subsequent commands will 
> fail, e.g. grantSudo.
> We need a new parameter (which can be set by the user) to determine when 
> password to be reset, e.g. CreateUserPolicy is used in combination with BYON



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to