Ask Your Question

Using Cloud Init for automation in devstack

asked 2016-12-07 14:21:43 -0500

SyCode7 gravatar image

updated 2016-12-07 14:26:25 -0500

I have looked at some similar examples on heat orchestration and cloud config but I still want to make some clarifications. My use case is to build a web application on OpenStack(devstack) that autoscales. I am not sure if I need to install cloud-init on the host OS. Also, I tried some sripts like this one :

apt_update: true

apt_upgrade: true
- python-pip
- fail2ban
- vim
hostname: mynode

manage_etc_hosts: true

on an ubuntu cloud image (downloaded) from ubuntu repos. This failed ....How can i troubleshoot such failures ? Thanks in advance !!!

edit retag flag offensive close merge delete


cloud-init is required on the guest, not the host. Regarding troubleshooting, perhaps you should start with logging

Bernd Bausch gravatar imageBernd Bausch ( 2016-12-07 17:58:45 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-12-07 23:40:06 -0500

You can use the following heat file -: (

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-12-07 14:21:43 -0500

Seen: 239 times

Last updated: Dec 07 '16