Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9736

Incoherent validation and error message when you change the vm.password.length configuration parameter

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.7.0, 4.8.0, 4.9.0, 4.10.0.0
    • Fix Version/s: 4.10.1.0
    • Component/s: Management Server
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None

      Description

      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);

        Attachments

          Activity

            People

            • Assignee:
              milamber Bruno Demion
              Reporter:
              milamber Bruno Demion
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: