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
0
votes
0 answers

Can't create stack from template using Openstack Heat API

I'm trying to create a stack from a template using the Heat API. I'm using the API reference here as a guide. I have the following json in a file called single-server-template.json: { "stack_name": "api-test", "template": { …
jamzsabb
  • 1,125
  • 2
  • 18
  • 40
0
votes
1 answer

How to start %index% with 1 in OS::Heat::ResourceGroup

I use %index% in OS::Heat::ResourceGroup and it starts with a 0 value. I want it to start with the value of 1. How to do it? resources: server_group: type: OS::Heat::ResourceGroup properties: count: 3 resource_def: …
0
votes
1 answer

Openstack Heat Template get_file reference to multiple files

Hi I am currently trying to get the Heat Template to reference to multiple files containing a configuration to be entered during the stack creation. The requirement came about as the main file was too huge for the system to process thus it was…
Specs
  • 63
  • 7
0
votes
1 answer

Conflict occurred attempting to store application_credential - Duplicate entry found with name monitoring

As i am trying to obtain application credentials on OpenStack using the following command: openstack application credential create monitoring --unrestricted i get an error that says: Conflict occurred attempting to store application_credential -…
0
votes
1 answer

Policy doesn't allow os_compute_api:os-flavor-manage:create to be performed. (HTTP 403)

I am trying to create a flavor in openstack configuration, and for that i have the following command : openstack flavor create --ram 2048 --disk 20 --vcpus 1 csirtmu.tiny1x2. But when i run it, i get the following error: Policy doesn't allow…
appleuser
  • 83
  • 8
0
votes
0 answers

Openstack Devstack Magnum: Creating stack times out, check stack fails

I'm currently experimenting with Openstack/Devstack using heat and magnum all on the victoria release. However when I create a new stack I see the master instance being created but heat keeps it on Create In Progress and this till it times out. When…
0
votes
0 answers

problem while trying to run heat on openstack ERROR: None

so i followed this documentation…
mohamed lahsoumi
  • 735
  • 1
  • 5
  • 12
0
votes
0 answers

openstack Heat ERROR All heat engines are down

After following this documentation for Installing Heat on ubuntu 20.04 : https://docs.openstack.org/heat/victoria/install/install-ubuntu.html I encountered this error : " ERROR: All heat engines are down. "
mohamed lahsoumi
  • 735
  • 1
  • 5
  • 12
0
votes
1 answer

Is there a way to calculate resource value based on input parameter in HOT?

I need to automatically calculate one volume size based on another. Simplified example: There is an input parameter data_disk_size: type: number default: 50 And we want second volume to be: 100 if 1 < data_disk_size < 200; 200 if 200 <…
0
votes
1 answer

How to scale down the specific instance in AutoScalingGroup?

I am using Heat to implement auto-scaling, below is a short part of my code: heat_template_version: 2016-10-14 ... resources: corey_server_group: type: OS::Heat::AutoScalingGroup depends_on: corey-server properties: …
Corey
  • 1,217
  • 3
  • 22
  • 39
0
votes
1 answer

Openstack multiple site cloud orchestration

Hei, I am looking to orchestrate infrastructure using HEAT templates on multiple OpenStack sites. One easy way is to divide the template and run on sites separately. But, is there any way that I can create a single template for multi-site…
0
votes
1 answer

HOT template for cinder volume with or without volume_type

I am trying to write a HOT template for Openstack volume, and need to have the volume_type as a parameter. I also need to support a case when the parameter is not given, and default to the Cinder default volume type. First attempt was to pass null…
kjk
  • 11
  • 2
0
votes
0 answers

Error in another compute installation in Openstack cloud

I have installed openstack cloud with packstack. Now I'm trying to add another compute to my cloud. I got an error while installing a compute. CONFIG_NEUTRON_L2_AGENT: You have choosen OVN neutron backend. Note that this backend does not s upport…
0
votes
1 answer

Configure network MTU in Openstack with Heat

Is it possible to configure the mtu of a network while creating it with a heat template in Openstack? I can set the mtu through the CLI openstack network --mtu I see a reference to mtu in the heat guide but it doesn't appear to…
Dylan
  • 25
  • 5
0
votes
2 answers

Openstack: Make network port unique for every instance OS::Heat::ResourceGroup COUNT

Problem is that the stack won't build when the count is greater than 1. The reason for this is because - port: { get_resource: test_port } is not unique for every instance made. Error code received: CREATE_FAILED Conflict:…
Arya N
  • 95
  • 1
  • 1
  • 6