← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1262594] Re: allowed values not handled in launch stack

 

Closing as no longer applicable

note by Maxime from the patch: Heat validate template has been patched
and now return the old syntax for the template validation. The patch is
no longer needed

** Changed in: horizon
       Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1262594

Title:
  allowed values not handled in launch stack

Status in OpenStack Dashboard (Horizon):
  Won't Fix

Bug description:
  When uploading a template with allowed values, like this one:

  instance_type:
      type: string
      default: m2.medium
      constraints:
        allowed_values:
          - m1.small
          - m1.medium
          - m1.large

  Allowed values are not correctly displayed in a select input.
  This is due to a changement in the Heat template, the two following syntax are correct and perform quite the same thing:

  "constraints": {
    "allowed_values": [
      "m1.tiny",
      "m1.small",
      "m1.medium",
      "m1.large",
      "m1.xlarge"
    ]
  }

  and 
  "AllowedValues": [
    "m1.tiny",
    "m1.small",
    "m1.medium",
    "m1.large",
    "m1.xlarge"
  ]

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1262594/+subscriptions


References