Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-383

list-partitions, list-deployment-policies and list-autoscaling-policies not working in cli

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0 M6
    • 4.0.0 M7
    • CLI
    • None

    Description

      when use mentioned command to list down the partitions or deployment policies or autoscaling policies, i'm getting the following in the cli logs file.

      2014-01-24 11:47:38,591 ERROR CommandLineApplication [main]
      Error executing command line: list-autoscale-policies
      java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key Exception in listing autoscale policies
      at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
      at java.util.ResourceBundle.getString(ResourceBundle.java:334)
      at org.apache.stratos.cli.utils.CommandLineUtils.getMessage(CommandLineUtils.java:88)
      at org.apache.stratos.cli.RestCommandLineService.handleException(RestCommandLineService.java:946)
      at org.apache.stratos.cli.RestCommandLineService.listAutoscalePolicies(RestCommandLineService.java:771)
      at org.apache.stratos.cli.commands.AutoscalePolicyCommand.execute(AutoscalePolicyCommand.java:55)
      at org.apache.stratos.cli.commands.AutoscalePolicyCommand.execute(AutoscalePolicyCommand.java:30)
      at org.apache.stratos.cli.StratosApplication.executeCommand(StratosApplication.java:368)
      at org.apache.stratos.cli.CommandLineApplication.execute(CommandLineApplication.java:115)
      at org.apache.stratos.cli.CommandLineApplication.promptLoop(CommandLineApplication.java:101)
      at org.apache.stratos.cli.StratosApplication.run(StratosApplication.java:299)
      at org.apache.stratos.cli.CommandLineApplication.start(CommandLineApplication.java:82)
      at org.apache.stratos.cli.CliTool.handleConsoleInputs(CliTool.java:56)
      at org.apache.stratos.cli.CliTool.main(CliTool.java:42)

      Checked the cli logs in <user-home>/.stratos/.stratos-cli.log

      Attachments

        Activity

          People

            reka Reka
            reka Reka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: