cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sachin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9736) Incoherent validation and error message when you change the vm.password.length configuration parameter
Date Sat, 14 Jan 2017 04:36:26 GMT

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

Sachin commented on CLOUDSTACK-9736:
------------------------------------

I tried to change the  vm.password.length  parameter to 8 the output was

"Please restart your management server(s) for your new settings to take effect."
Can you please tell me how did you get the error??

> Incoherent validation and error message when you change the vm.password.length configuration
parameter
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9736
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9736
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.7.0, 4.8.0, 4.9.0, 4.10.0.0
>            Reporter: Milamber
>            Assignee: Milamber
>            Priority: Minor
>             Fix For: 4.10.0.0
>
>
> When you try to change the value of vm.password.length parameters, if the value is <
10 the error message says:
> "Please enter a value greater than 6 for the configuration parameter"
> In the code server/src/com/cloud/configuration/ConfigurationManagerImpl.java the validation
use 10 as length and the message says 6 for length:
>                 if ("vm.password.length".equalsIgnoreCase(name) && val < 10)
{
>                     throw new InvalidParameterValueException("Please enter a value greater
than 6 for the configuration parameter:" + name);



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

Mime
View raw message