Ask Your Question
0

Heat software deployments and cloud-init

asked 2016-11-02 11:32:01 -0500

hkominos gravatar image

updated 2016-11-15 08:35:54 -0500

zaneb gravatar image

Greetings Openstackers.

I have a small question. I use a small heat template to create Infrastructure and then a cloud init-script to pass configuration to that infrastructre.

However we recently started working with ansible and I see that there is support for that (OS:HEAT:SoftwareConfig). However when I create playbooks I get an interesting error.

Resource customer_VM's property user_data_format should be set to SOFTWARE_CONFIG since there are software deployments on it.

(I have it set as RAW for the cloud init)

Does that mean that cloud init and Ansible wont work concurrently?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-15 08:35:03 -0500

zaneb gravatar image

Yes, there's no way to specify a custom cloud-init script and use software deployments on the same server (mainly because software deployments require some setup in cloud-init).

The best solution is probably to convert whatever you're doing in cloud-init into one or more software deployments.

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

Stats

Asked: 2016-11-02 11:32:01 -0500

Seen: 175 times

Last updated: Nov 15 '16