Default attribute is missed in hot translate parameter

Bug #1199311 reported by JunJie Nan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
JunJie Nan

Bug Description

In hot template, if we define default value for parameters like below, it will not work as expected:
parameters:
  InstanceType:
    type: string
    default: m1.small
    description: Instance type for the instance to be created

JunJie Nan (nanjj)
Changed in heat:
assignee: nobody → JunJie Nan (nanjj)
JunJie Nan (nanjj)
summary: - No UnitTest for HOTemplate class
+ Default attribute is missed in hot translate parameter
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/38099
Committed: http://github.com/openstack/heat/commit/239c38307b75d601c71cb676340c61aa2c43f1de
Submitter: Jenkins
Branch: master

commit 239c38307b75d601c71cb676340c61aa2c43f1de
Author: JUN JIE NAN <email address hidden>
Date: Mon Jul 22 12:22:12 2013 +0800

    Add `default` attribute in hot parameter definition

    So `default' in hot is translated to `Default' in cfn

    Change-Id: Ifd50dbb993dd0cb177b0e16652c6ef17d12cd2e5
    Fixes: bug #1199311

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: havana-3 → 2013.2
Revision history for this message
Khan Amjad (amjad12897) wrote :

Hot template default value not working as expected for parameters. https://techzone-agency.com/

Revision history for this message
Michal Sa (michala89) wrote :

With our live score updates, you can stay up-to-date with every ball, boundary, and wicket, ensuring you never miss a moment of the action.
https://cricwatcher.com/

Revision history for this message
tendalossi (farazramzan) wrote :

Networking: Connecting computers and other devices to facilitate communication.
https://techzone-agency.com/

Revision history for this message
jack (jackdark) wrote :

 Automation, robotics, and advanced manufacturing techniques have revolutionized the production of goods in industries such as automotive, electronics, and aerospace https://techzone-agency.com/

Revision history for this message
thomas (thomas654563) wrote :

Additive manufacturing technology that creates three-dimensional objects by layering materials.

Nanotechnology: Manipulating matter at the nanoscale to create new materials and devices with unique properties.
https://techzone-agency.com/

Revision history for this message
kakakrot (songoku1) wrote :

Willow TV Live HD Cricket is a cricket lover's paradise. It's a dedicated streaming platform that brings high-definition live cricket matches, tournaments, and events right to your screen. Whether you're a fan of international clashes, domestic leagues, or T20 extravaganzas, Willow TV ensures you never miss a moment of the cricketing action. With crystal-clear picture quality and real-time commentary, it provides an immersive viewing experience. https://cricsguru.in/willow-tv-live-cricket-score/

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

Other bug subscribers

Related blueprints

Remote bug watches

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