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
1
vote
0 answers

Can we rename our ports in heat template ? Do they appear in VM in same order as listed in heat template?

I want to create a VM with 3 SRIOV ports ( heat template pasted below). I would like each port to appear with some specific name in VM, is it possible? . Is there a guarantee that port will appear in VM in order specified in heat template? For…
1
vote
0 answers

CREATE_FAILED : Flavor's local disks conflict. You need to create a bootable volume to use this flavor for your instance

As I'm trying to create a stack, I get the following error : [kypo-proxy-jump-stack]: CREATE_FAILED Resource CREATE failed: Forbidden: resources.kypo-proxy-jump: Flavor's local disks conflict. You need to create a bootable volume to use this…
1
vote
2 answers

How to use condition for resource creation via heat template

heat_template_version: 2017-02-24 ...... ...... ...... conditions: port_security_enabled: equals: - { get_param: port_security_enabled } - "true" resources: port: type: OS::Neutron::Port …
Munna
  • 11
  • 3
1
vote
2 answers

Unable to run commands inside user_data in openstack heat template

I want to run some commands after server boot from HOT template. There isn't any error thrown; the commands inside 'runcmd' just don't work. Server02: type: OS::Nova::Server properties: name: { get_param: [SV_HOSTNAMES, 1] } …
1
vote
2 answers

Issue in writing the dictionary into YAML file in python

I want to write dictionary into YAML file and here is what I'm doing as of now from ruamel.yaml import YAML Flavor_Details = {'Flavor_Details':{ 'type': 'OS::Nova::Flavor', 'properties': { …
ankur suman
  • 151
  • 1
  • 3
  • 10
1
vote
1 answer

Openstack heat template attach secuirty group to existing port

I need to create an instance which has two ports. The ports are already created and have their id's. The heat template creates the security group, my question is how do I attach the security group to the corresponding ports in the HOT? Do we have…
Naveen
  • 11
  • 1
1
vote
1 answer

Openstack: Packer + Cloud-Init

I want to create a customized openstack OpenSUSE15-image that contains some custom software and a graphical interface. I have used an existing OpenSUSE15.0 image and packer to build that image. It works fine. The packer json file is as follows: …
1
vote
0 answers

Is it possible to have a "condition" inside a port creation?

We create a port which the server is dependent on. A user can give either network_id or both network and fixed_ips. We want to allow both configurations. Apparently what I see is when I don't give fixed ips and have a condition inside port creation…
1
vote
0 answers

How to get region name in custom heat resource?

I have an OpenStack deployment with 2 regions. Keystone and Horizon are common for both regions. And each region has its own Nova, Heat, Neutron, Glance etc. I am writing a custom heat resource which should behave differently depending on the region…
Andrey
  • 11
  • 2
1
vote
0 answers

find what is supported by value_specs for an OpenStack resource

I am working with OpenStack and HOT. To know about supported resource types, i can visit Template Guide. But it doesn't document what keywords does value_specs property support. Can someone guide me to correct documentation?
Vishwa
  • 67
  • 1
  • 12
1
vote
0 answers

error when launch a magnum cluster

I use openstack newton and install magnum and other dependencies. I want deploy a cluster by k8s_fedora_atomic. I download fedora_atomic_newton. and my controller os is ubuntu16.04 I create a template cluster and when deploy own cluster from…
1
vote
1 answer

How to associate floating IP to specific interface with Heat

i am trying to create a stack using openstack HEAT, one of the VMs (NOVA::Server) needs to have 2 network interfaces so in my hot template i create 2 ports and associate them to the NOVA::Server and give a floating IP to one of them…
Mheni
  • 228
  • 4
  • 15
1
vote
1 answer

Separate heat template for volumes and instances

We want to create a heat templates with servers and volumes attached to these servers. But we also want to be able to destroy all quickly servers without destroying volumes. So we decided it would be best to make 2 heat templates instead of one : -…
zechocapic
  • 11
  • 2
1
vote
1 answer

Openstack Heat and Kubernetes Deployment Integration

I want to create an Openstack cluster with HEAT and deploy kubernetes on it, how to integrate HEAT with Kubernetes, any solutions or suggestions?
Evan
  • 11
  • 2
1
vote
0 answers

Openstack heat software config on ubuntu 12.04.5 doesn't execute

I'm trying to use openstack heat software config on ubuntu 12.04.5 server like example file below. This works great when the server i build is ubuntu 16 but when I try to do this on ubuntu 12.04.5 the script in the software config does not get…
Ron
  • 197
  • 1
  • 10