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

Bug #1512564 reported by Di XiaoLi
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Di XiaoLi

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.

Tags: heat
Di XiaoLi (dixiaoli)
Changed in horizon:
assignee: nobody → Di XiaoLi (dixiaobj)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/241700

Changed in horizon:
status: New → In Progress
Changed in horizon:
assignee: Di XiaoLi (dixiaobj) → Doug Fish (drfish)
Changed in horizon:
assignee: Doug Fish (drfish) → Di XiaoLi (dixiaobj)
tags: added: heat
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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 <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/260436

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (stable/liberty)

Change abandoned by Di XiaoLi (<email address hidden>) on branch: stable/liberty
Review: https://review.openstack.org/260436

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 9.0.0.0b2

This issue was fixed in the openstack/horizon 9.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.