← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1359000] [NEW] Horizon orchestration stacks table repeats stack

 

Public bug reported:

Creating a stack in Orchestration currently results in the Stacks table
repeating the single stack ad infinitum. The template used to create the
stack is:

# This is a hello world HOT template just defining a single compute instance
heat_template_version: 2013-05-23

description: >
  HOT template that just defines single compute instance.

parameters:
  flavor:
    type: string
    description: Instance type for the instance to be created
    default: m1.nano
    constraints:
      - allowed_values: [m1.nano, m1.micro, m1.tiny, m1.small, m1.large]
        description: Value must be one of 'm1.nano', 'm1.micro', 'm1.tiny', 'm1.small' or 'm1.large'
  image:
    type: string
    description: name of the image to use for the instance
    default: cirros-0.3.2-x86_64-uec

resources:
  my_instance:
    type: OS::Nova::Server
    properties:
      image: { get_param: image }
      flavor: { get_param: flavor }

outputs:
  instance_ip:
    description: The IP address of the deployed instance
    value: { get_attr: [my_instance, first_address] }


Creating a stack with this template results in the following nova client output:

richard@devstack:~/devstack$ heat stack-list
+--------------------------------------+------------+-----------------+----------------------+
| id                                   | stack_name | stack_status    | creation_time        |
+--------------------------------------+------------+-----------------+----------------------+
| 74f1c88e-68e8-4864-9f90-f7f206bc8a38 | test2      | CREATE_COMPLETE | 2014-08-20T01:54:04Z |
+--------------------------------------+------------+-----------------+----------------------+

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  Horizon orchestration stacks table repeats stack

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Creating a stack in Orchestration currently results in the Stacks
  table repeating the single stack ad infinitum. The template used to
  create the stack is:

  # This is a hello world HOT template just defining a single compute instance
  heat_template_version: 2013-05-23

  description: >
    HOT template that just defines single compute instance.

  parameters:
    flavor:
      type: string
      description: Instance type for the instance to be created
      default: m1.nano
      constraints:
        - allowed_values: [m1.nano, m1.micro, m1.tiny, m1.small, m1.large]
          description: Value must be one of 'm1.nano', 'm1.micro', 'm1.tiny', 'm1.small' or 'm1.large'
    image:
      type: string
      description: name of the image to use for the instance
      default: cirros-0.3.2-x86_64-uec

  resources:
    my_instance:
      type: OS::Nova::Server
      properties:
        image: { get_param: image }
        flavor: { get_param: flavor }

  outputs:
    instance_ip:
      description: The IP address of the deployed instance
      value: { get_attr: [my_instance, first_address] }

  
  Creating a stack with this template results in the following nova client output:

  richard@devstack:~/devstack$ heat stack-list
  +--------------------------------------+------------+-----------------+----------------------+
  | id                                   | stack_name | stack_status    | creation_time        |
  +--------------------------------------+------------+-----------------+----------------------+
  | 74f1c88e-68e8-4864-9f90-f7f206bc8a38 | test2      | CREATE_COMPLETE | 2014-08-20T01:54:04Z |
  +--------------------------------------+------------+-----------------+----------------------+

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


Follow ups

References