[
https://issues.apache.org/jira/browse/BROOKLYN-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14734824#comment-14734824
]
ASF GitHub Bot commented on BROOKLYN-169:
-----------------------------------------
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/877#discussion_r38927546
--- Diff:
core/src/main/java/org/apache/brooklyn/location/ssh/SshMachineLocation.java ---
@@ -152,6 +152,12 @@
public static final ConfigKey<Boolean> DETECT_MACHINE_DETAILS =
ConfigKeys.newBooleanConfigKey("detectMachineDetails",
"Attempt to detect machine details automatically. Works with
SSH-accessible Linux instances.", true);
+ public static final ConfigKey<Boolean> BYON_USER_RESET_LOGIN =
ConfigKeys.newBooleanConfigKey(
--- End diff --
this should be a config on `CreateUserPolicy` as that is the only thing it
affects, and it affects everything there
on a different note if that policy is tied to jclouds it will have no
effect on BYON deployments. if it isn't related to jclouds it should probably
be moved to the policies project and a different package. (we should leave the
old instance in place as an empty class extending the item in the new location,
but deprecated, so that references to the old one will still work.)
> 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)