Questions tagged [openstack-heat]

Openstack Orchestration Component

Heat is the main project in the OpenStack Orchestration program. It implements an orchestration engine to launch multiple composite cloud applications based on templates in the form of text files that can be treated like code.

A native Heat template format is evolving, but Heat also endeavours to provide compatibility with the AWS CloudFormation template format, so that many existing CloudFormation templates can be launched on OpenStack. Heat provides both an OpenStack-native ReST API and a CloudFormation-compatible Query API.

Heat Architecture

Heat comprises a number of Python applications:

heat

The heat tool is a CLI which communicates with the heat-api to execute AWS CloudFormation APIs. Of course this is not required—developers could also use the Heat APIs directly.

heat-api

The heat-api component provides an OpenStack-native ReST API that processes API requests by sending them to the heat-engine over RPC.

heat-api-cfn

The heat-api-cfn component provides an AWS-style Query API that is compatible with AWS CloudFormation and processes API requests by sending them to the heat-engine over RPC.

heat-engine

The heat engine does the main work of orchestrating the launch of templates and providing events back to the API consumer

Source: https://wiki.openstack.org/wiki/Heat

106 questions
3
votes
2 answers

How to deploy an OpenStack heat template that includes a script

The orchestration engine for OpenStack 'Heat' can deploy compute resources and configure software, known as HOT templates. There are a number of examples on github here: https://github.com/openstack/heat-templates/tree/master/hot heat templates are…
Sum1sAdmin
  • 209
  • 1
  • 4
  • 17
3
votes
0 answers

Use OpenStack HEAT to install and setup MongoDB cluster

We need to be able install a MongoDB cluster on OpenStack declaring the number of shards and the size of the replica-set as parameters. Is there a way to achieve this using a HEAT template, passing in and as…
summerbulb
  • 5,709
  • 8
  • 37
  • 83
2
votes
1 answer

Conditions for Stack Update Restrictions in Openstack

I am trying to update a stack using openstack heat templates to bring up and configure new nova Servers as a part of existing Server Group. When added configuration information(for new nova Servers) in the templates which are shared by existing and…
2
votes
1 answer

Openstack HEAT condition for resource properties

"Conditions (..) They can be associated with resources and resource properties in the resources section (..)" - as the official openstack's docs said I can do that. But attached examples do not contains these with "resource properties". I have my…
Proximm
  • 23
  • 1
  • 6
2
votes
1 answer

"The Resource Type could not be found." while using template composition

I'm trying to use template composition with OpenStack Heat. I've created a minimalist template my-custom-resource.yml: heat_template_version: 2016-04-08 description: My Custom Resource resources: dummy: type: OS::Heat::None This template is…
Eric Citaire
  • 4,355
  • 1
  • 29
  • 49
2
votes
0 answers

Openstack heat template default user

Can I somehow set the default user in openstack heat template? This is possible on any cloud provider but I did not found it in the heat template docs. Default username means the login user to the instance.
doktoric
  • 109
  • 2
  • 10
2
votes
0 answers

OS::Heat::SoftwareDeployment is staying stuck in CREATE_IN_PROGRESS status

I am trying customise new instances created within openstack mikata, using HEAT templates. Using OS::Nova::Server with a script in user_data works fine. Next the idea is to do additional steps via OS::Heat::SoftwareConfig. The config is: type:…
boran
  • 361
  • 2
  • 7
2
votes
1 answer

How to spread number of instances across availability zones in heat?

I have an instance resource along these lines: masters: type: OS::Heat::ResourceGroup properties: count: { get_param: num_masters } resource_def: type: heat_stack_server.yaml properties: name: str_replace: …
Undespairable
  • 203
  • 1
  • 11
2
votes
1 answer

OpenStack - how to iterate comma_delimited_list using %index% from OS::Heat::ResourceGroup?

I have a comma_delimited_list which represents list of fixed IPs and in my OS::Heat::ResourceGroup I want that each node will get one fixed ip based on his current index. I have the following heat template (I've pasted only the…
Tomer
  • 21
  • 1
  • 5
2
votes
2 answers

Openstack: Nested Stack creation via dashboard

I have a heat template containing nested stack resources, which i am able to deployed successfully via heat-api. Can the same yaml (nested stack creation be done) be used via dashboard??
2
votes
0 answers

openstack-heat template on windows

I am a openstack beginner,I have some problem about heat, here is a hello-world hot template wrote by myself: heat_template_version: 2013-05-23 description: > hello windows parameters: key_name: type: string default: demo_heat_key …
Mafer_Jun
  • 31
  • 4
2
votes
1 answer

assign 2 fixed IPs from a subnet to a server via Heat

Is there a way to assign multiple IPs from a subnet to a server using heat templates? I defined a resource for a port using fixed IPs, like below. I then used this resource to create a port on a OS::Nova::Server. But I see only one IP from the…
skp
  • 23
  • 4
2
votes
1 answer

How to delete a resource type in openstack?

I created a resource type with random_string.py. https://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/heat/random_string.py # heat resource-type-list +------------------------------------------+ | resource_type …
zzxwill
  • 536
  • 2
  • 6
  • 16
1
vote
0 answers

openstack HOT template for autoscale error

heat_template_version: '2021-04-16' parameters: desired_capacity: default: 1 type: number flavor_name: description: Name of the flavor to use for the instances. type: string image_id: description: ID of the image to use for…
kyle
  • 11
  • 2
1
vote
1 answer

Retrieving attributes from a resource group with a tempate composition

I want to create multiple copies of some resources defined in a template. How do I retrieve the attributes of the resources created in this fashion. To illustrate, here is a template to create a random string (I call…
Frank
  • 21
  • 4
1
2 3 4 5 6 7 8