← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Reviewed:  https://review.openstack.org/241700
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=d1c3b4787b792fe6e20a3fd6e692015fd576a5f1
Submitter: Jenkins
Branch:    master

commit d1c3b4787b792fe6e20a3fd6e692015fd576a5f1
Author: dixiaoli <dixiaobj@xxxxxxxxxx>
Date:   Wed Nov 4 17:32:29 2015 +0000

    Add handle get_file when launch stack from horizon
    
    when get_file is contained in template, the stack create/update/preview
    will fail due to No content found in the "files" section.
    So added handle get_file code.
    
    Change-Id: I6f125f9e5f3f53f630ab0d4f3f00631e6850e905
    Closes-Bug: #1512564


** Changed in: horizon
       Status: In Progress => 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/1512564

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

Status in OpenStack Dashboard (Horizon):
  Fix Released

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


References