← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1512564] [NEW] Create stack failed from Horizon UI due to No content found in the "files" section

 

Public bug reported:

prepare template,The content of the template file is as follows:

heat_template_version: 2013-05-23

description: >
  Test for get_files

parameters:
  flavor:
    type: string
    description: the flavor will used by sever
    default: m1.medium
  image:
    type: string
    description: the image will used by server
    default: fedora

resources:
  server1:
    type: OS::Nova::Server
    properties:
        flavor: { get_param: flavor }
        image: { get_param: image }
        user_data_format: RAW
        user_data:
          get_file: https://9.5.125.106:8080/my_test.sh

When create stack from Horizon UI, it will failed due to Error:

Error: ERROR: HT-5DEAEB8 Property error: :
resources.server1.properties.user_data: : HT-EEF1009 No content found in
the "files" section for get_file path:
https://9.5.125.106:8080/my_test.sh

The horizon did not handle the get_file work .So it should be added.

** Affects: horizon
     Importance: Undecided
     Assignee: Di XiaoLi (dixiaobj)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Di XiaoLi (dixiaobj)

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

Title:
  Create stack failed from Horizon UI due to No content found in the
  "files" section

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  prepare template,The content of the template file is as follows:

  heat_template_version: 2013-05-23

  description: >
    Test for get_files

  parameters:
    flavor:
      type: string
      description: the flavor will used by sever
      default: m1.medium
    image:
      type: string
      description: the image will used by server
      default: fedora

  resources:
    server1:
      type: OS::Nova::Server
      properties:
          flavor: { get_param: flavor }
          image: { get_param: image }
          user_data_format: RAW
          user_data:
            get_file: https://9.5.125.106:8080/my_test.sh

  When create stack from Horizon UI, it will failed due to Error:

  Error: ERROR: HT-5DEAEB8 Property error: :
  resources.server1.properties.user_data: : HT-EEF1009 No content found
  in the "files" section for get_file path:
  https://9.5.125.106:8080/my_test.sh

  The horizon did not handle the get_file work .So it should be added.

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


Follow ups