[
https://issues.apache.org/jira/browse/BROOKLYN-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730696#comment-14730696
]
ASF GitHub Bot commented on BROOKLYN-169:
-----------------------------------------
GitHub user ygy reopened a pull request:
https://github.com/apache/incubator-brooklyn/pull/877
Fix for BROOKLYN-169 - CreateUserPolicy always resets the password
- Added parameter (BYON_USER_RESET_PASSWORD)
- BYON_USER_RESET_PASSWORD controls when password to be reset
- Whether to reset the password of the BYON login user in case it is
used to create a new one, e.g. via a custom security policy such as
org.apache.brooklyn.policy.jclouds.os.CreateUserPolicy"
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ygy/incubator-brooklyn fix/create-user-policy
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/877.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #877
----
commit 19d47f1a090861184a272e566222d13b79f1c7df
Author: Yavor Yanchev <[email protected]>
Date: 2015-09-02T20:03:08Z
Fix for BROOKLYN-169 - CreateUserPolicy always resets the password
- Added parameter (BYON_USER_RESET_PASSWORD)
- BYON_USER_RESET_PASSWORD controls when password to be reset
- Whether to reset the password of the BYON login user in case it is
used to create a new one, e.g. via a custom security policy such as
org.apache.brooklyn.policy.jclouds.os.CreateUserPolicy"
----
> 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)