Questions tagged [openstack-heat]

1

votes
0

answer
43

Views

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 executed at boot time. I know I can use the regular user...
Ron
1

votes
3

answer
347

Views

openstack heat doesn't recognize key_name parameter

hy i have an openstack deployed on my laptop. i'm trying to create a stack with heat. i have created a keypair openstack keypair create heat_key > heat_key.priv which is recognized by nova nova keypair-list give the following output : +----------+------+----------------------------------------------...
Mheni
1

votes
1

answer
218

Views

Openstack heat : Stack deletion behaviour in case of attaching a volume as a part of HEAT templete

I have a HEAT template where I am creating one server instance and attaching the CINDER volume with the instance. CINDER volume is created manually and cinder_instance_id is passed as an environmental variable in HEAT template. Now, when I delete the stack it deletes the server instance but NOT the...
sauumum
1

votes
1

answer
66

Views

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
1

votes
1

answer
195

Views

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 : - one for volumes - one for servers and volume attach...
zechocapic
1

votes
1

answer
158

Views

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 gw_float_port .... gw_instance: type: 'OS::Nova::Server' propertie...
Mheni
1

votes
0

answer
32

Views

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 template, cluster status go to Created_Field state. below...
Hamed Enayatzare
1

votes
0

answer
15

Views

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
1

votes
0

answer
10

Views

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 in which the stack is created. Therefore, I am loo...
Andrey
1

votes
0

answer
22

Views

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 I'm getting an error in get_resource. If I don't g...
Balaji Kannadassan
1

votes
1

answer
881

Views

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 subnet assigned. Is there a way to assign to IPs from th...
skp
1

votes
1

answer
800

Views

Unable to execute bash scripts from heat template

I am new to heat templates and I am trying to run bash scripts from the heat template. However, the instance is coming up in active state but the shell script was not executed at all. Any suggestions will be highly appreciated.
Abhishek
1

votes
1

answer
548

Views

How is the OpenStack nested template implemented via Openstack API

We want to use the OpenStack API to launch the stack. But the template file will have another template file nested. Is there any way to implement this? The problematic part in the main template file is as below: node_vlan_group: type: OS::Heat::ResourceGroup depends_on: [node_sp_net] properties: co...
Shi Yan
1

votes
1

answer
565

Views

Openstack Magnum create stack times out

Following this guide I attempt to launch an instance in Openstack using Magnum, but the creation times out after 1 hour, when attempting to create the resource swarm_masters: Create Failed: CREATE aborted (Task create from ResourceGroup 'swarm_masters' Stack 'swarm-cluster-2-7tozdskjwnji' [020c2f42...
FerGC
1

votes
2

answer
2.1k

Views

Assign a floating ip to an openstack instance using a heat template

Here is my template that works. I execute a 'heat stack-create' command with that template and it creates a stack and an instance with an ip. I have access to an interface to manage my instances. From that interface, I am able to create a floating IP and then assign it to my newly created instance....
Amaranth
1

votes
2

answer
3.6k

Views

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 written in YAML and we can deploy a template with t...
Sum1sAdmin
1

votes
1

answer
196

Views

“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 associated with the name My::Custom::Resource in my environ...
Eric Citaire
-1

votes
0

answer
2

Views

<HEAT OPENSTACK > RESOURCE GROUP API

I want to create networkA1,networkA2,networkA3,networkA4 ,then network B1,networkB2,networkB3,networkB4 and so on till networkG1,networkG2,netowrkG3,netowrkG4 . I used resource group api .But unable to change the variables A,B,C,D .How should i use this api to pass variables A,B,C,D, and also number...
2

votes
1

answer
947

Views

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
2

votes
1

answer
1.3k

Views

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: template: cluster_id-k8s_type-%index% params: cluster_id: { get_param: cluster_id } k8s_type:...
Undespairable
2

votes
1

answer
247

Views

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??
Beatrix Kiddo
3

votes
0

answer
709

Views

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 parameters? Can this be done by HEAT or does it require complicated scripting and on-the-f...
summerbulb
2

votes
0

answer
380

Views

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 instance_type: type: string default: t1.4core-4g-40g constraints: - a...
Mafer_Jun
0

votes
1

answer
110

Views

Not able to bring up Kubernetes cluster in OpenStack

I'm trying to bring up a Kubernetes cluster in OpenStack using the steps mentioned here -> http://kubernetes.io/docs/getting-started-guides/openstack-heat/ The command KUBERNETES_PROVIDER=openstack-heat ./cluster/kube-up.sh fails with the following messages: ... Starting cluster using provider: open...
n3o