← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1417515] Re: Horizon Input fields swapped when tried to Launch Stack with invalid name

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
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/1417515

Title:
  Horizon Input fields swapped when tried to Launch Stack with invalid
  name

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Steps:
  1.Open Horizon Dashboard
  2.Open Project->Orchestration->Stack
  3.Click "Launch Stack"
  4.Template Source -> Direct Input

  Use template:
  [heat_template_version: 2013-05-23

  description: Simple template to deploy a single compute instance

  parameters:
    key_name:
      type: string
      label: Key Name
      description: Name of key-pair to be used for compute instance
    image_id:
      type: string
      label: Image ID
      description: Image to be used for compute instance
    instance_type:
      type: string
      label: Instance Type
      description: Type of instance (flavor) to be used

  resources:
    my_instance:
      type: OS::Nova::Server
      properties:
        key_name: { get_param: key_name }
        image: { get_param: image_id }
        flavor: { get_param: instance_type }]

  5.Click "Next"
  6.Fill in the fields:
  	"Stack Name": [111] - invalid value
  	"Password for user "admin" - your admin pass
          "Image ID": [25e3e805-1c42-4eb0-abf2-afdc9e96c62e] or any valid id
  	"Instance Type": [m1.small] or any valid type
          "Key Name":[heat_key] - your Key Pair
  7.Click "Launch"

  Stack don't launch(invalid Stack Name), but fields "Instance Type" and
  "Key Name" swapped

  
  devstack$ git show HEAD
  commit e256022a1686eb447da1bbd318c44b58f72f3e0e
  Merge: b9a7d3b ff72c50
  Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
  Date:   Sat Jan 31 00:08:29 2015 +0000

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


References