*** dims_ has joined #heat | 00:03 | |
*** EricGonczer_ has quit IRC | 00:04 | |
*** dimsum__ has quit IRC | 00:06 | |
*** dimsum__ has joined #heat | 00:06 | |
*** dims_ has quit IRC | 00:10 | |
*** bana_k has quit IRC | 00:15 | |
*** shadower has joined #heat | 00:23 | |
*** achanda has joined #heat | 00:28 | |
*** hdd has quit IRC | 00:30 | |
*** achanda has quit IRC | 00:35 | |
*** dimsum__ has quit IRC | 00:57 | |
*** bana_k has joined #heat | 01:12 | |
*** bana_k has quit IRC | 01:16 | |
*** achanda has joined #heat | 01:30 | |
*** achanda has quit IRC | 01:34 | |
*** dimsum__ has joined #heat | 01:57 | |
*** dimsum__ has quit IRC | 02:03 | |
*** hdd has joined #heat | 02:11 | |
*** sdake_ has joined #heat | 02:12 | |
*** hdd has quit IRC | 02:13 | |
*** EricGonczer_ has joined #heat | 02:25 | |
*** Michalik has quit IRC | 02:27 | |
*** serverascode has quit IRC | 02:28 | |
*** zhiyan has quit IRC | 02:28 | |
*** bana_k has joined #heat | 02:29 | |
*** EricGonczer_ has quit IRC | 02:29 | |
*** ameade has quit IRC | 02:30 | |
aniasis | can anyone help me with using heat templates? | 02:31 |
---|---|---|
*** bana_k has quit IRC | 02:33 | |
*** sdake_ has quit IRC | 02:44 | |
cmyster | morning | 02:50 |
cmyster | aniasis: what kind of help? what are you trying to do ? | 02:51 |
*** dimsum__ has joined #heat | 03:00 | |
*** Michalik has joined #heat | 03:00 | |
*** zhiyan has joined #heat | 03:00 | |
*** dimsum__ has quit IRC | 03:04 | |
aniasis | cmyster, I'm trying to create a heat template that creates a server and deploys a mysql and mongo instance. | 03:04 |
aniasis | But I am not understanding how to do so from the sample templates. | 03:04 |
cmyster | which sample is that ? | 03:05 |
aniasis | I don't really even understand the structure of a template and how to validate one | 03:05 |
cmyster | ok, lets start with the sample you are using and go from there | 03:05 |
aniasis | https://raw.githubusercontent.com/rackspace-orchestration-templates/nodejs-clouddb/master/node-multi.yaml | 03:06 |
aniasis | and | 03:06 |
cmyster | bah its a pretty complex one | 03:06 |
aniasis | https://raw.githubusercontent.com/rackspace-orchestration-templates/mongodb-replset/master/mongodb-replset.yaml | 03:06 |
aniasis | Well it shows many options to choose from | 03:06 |
cmyster | sec lemme find something simpler to work with please. | 03:06 |
aniasis | ok | 03:07 |
cmyster | lets try this one shall we ? https://github.com/openstack/heat-templates/blob/master/hot/F20/WordPress_Native.yaml | 03:08 |
cmyster | INO its easier to work with then the previous one for something as simple as booting a server and installing a DB on it (in this case were installing WordPress and a mariadb but its almost the same for MongoDB) | 03:09 |
cmyster | IMO* | 03:09 |
cmyster | aniasis: check the part from line 82 to 105 in that example and tell me if you at least understand the bash segment there | 03:11 |
*** ameade has joined #heat | 03:11 | |
aniasis | cmyster, that is using bash I understand | 03:17 |
cmyster | right | 03:17 |
aniasis | I want to know how to use the syntax in those other templates | 03:18 |
aniasis | one problem I see | 03:19 |
*** Marga_ has joined #heat | 03:19 | |
aniasis | or one problem I am having is that I don't understand child_template and datastore_server | 03:20 |
cmyster | aniasis: the templates are written in YAML. its pretty straight forward. the top nodes here are the version, description, parameters, resources and outputs. 2 spaces in (lower indentation) you have other things. Here is a full list of stuff templates can hold: http://docs.openstack.org/developer/heat/template_guide/openstack.html | 03:20 |
aniasis | thanks | 03:20 |
cmyster | for what you need, a server with a mongodb, look at line 74 of ^ example. the type here is one of OS::Nova::Server so you are actually working with nova just as you would from the CLI. | 03:21 |
aniasis | I know nothing about Nova | 03:21 |
cmyster | the properties that a nova server can get in this example are the image name, flavor and key name where the user_data part is something you can play with | 03:22 |
cmyster | for each of those there is a get_param: which tells Heat to go up to parameters parent node and look there for stuff | 03:22 |
aniasis | ok | 03:23 |
cmyster | each parameter can edited when creating the stack, or you can also add for each parameter a "default: " if you know what you are going to use. for instance if you have an image named "fedora_21" you can add under image_id: (and 2 more space to go to a lower indentation) "default: fedora_22" | 03:25 |
cmyster | ummm 21* | 03:25 |
cmyster | aniasis: tell me if you need further explanation | 03:25 |
cmyster | aniasis: you might want to go over some intos about openstack as a whole then. Heat manages it all so you need to know a little bit about how OpenStack works before you want to manage it with Heat | 03:27 |
aniasis | ok | 03:27 |
cmyster | intros* | 03:27 |
cmyster | http://docs.openstack.org/ is your friend in this case | 03:28 |
aniasis | yes | 03:28 |
aniasis | kitchen | 03:28 |
aniasis | why don't I see this in the template_guide | 03:28 |
cmyster | if you feel that something is missing you could always file a bug :) | 03:30 |
aniasis | cmyster, so I believe I can spin up multiple database instances by creating a new resources: entry of type type: 'OS::Trove::Instance' | 03:35 |
aniasis | cmyster, is there a tool I can validate a template? | 03:36 |
*** achanda has joined #heat | 03:38 | |
cmyster | heat itself can validate | 03:38 |
cmyster | from CLI do heat --help | 03:38 |
cmyster | as for trove itself, I have no exp with it but seems so | 03:39 |
*** sdake has joined #heat | 03:57 | |
sdake | anyone have any ideas on this python-heatclient authentication bug https://bugs.launchpad.net/python-heatclient/+bug/1504885 | 03:57 |
openstack | Launchpad bug 1504885 in python-heatclient "ERROR: Missing required credential: X-Auth-User^M" [Undecided,New] | 03:57 |
*** dimsum__ has joined #heat | 04:02 | |
cmyster | wow | 04:04 |
cmyster | sdake: I don't follow the log, so it needs 0.6.0, then collects 0.8.0 -> uninstall -> reinstall 0.6.0 ? | 04:05 |
sdake | if i use python-heatclient 0.6.0 it works | 04:06 |
sdake | if I use python-heatclient 0.8.0 it asserts | 04:06 |
*** dimsum__ has quit IRC | 04:06 | |
sdake | note we are using kolla - so its possible our auth is fubared int he config in some way | 04:06 |
cmyster | bah that needs some debugg'n... I'm still testing L | 04:07 |
sdake | this is liberty | 04:07 |
sdake | liberty rdo delorean | 04:08 |
cmyster | ahhhh | 04:08 |
cmyster | ok | 04:08 |
cmyster | 2nd coffee hasn't kicked in yet | 04:08 |
sdake | if you hae a workaround i'll e happy to take it :) | 04:08 |
sdake | besides "downgrade client" | 04:08 |
cmyster | oh | 04:08 |
cmyster | teehee | 04:08 |
cmyster | then no | 04:08 |
sdake | defualt config files https://github.com/openstack/kolla/tree/master/ansible/roles/heat/templates | 04:09 |
*** serverascode has joined #heat | 04:21 | |
*** achanda has quit IRC | 04:23 | |
*** sdake has quit IRC | 04:34 | |
*** cody-somerville has quit IRC | 04:42 | |
*** achanda has joined #heat | 04:54 | |
*** kebray has joined #heat | 05:23 | |
*** sdake has joined #heat | 05:30 | |
*** Piet has joined #heat | 05:31 | |
aniasis | cmyster, I got a template working | 06:26 |
aniasis | check it here | 06:26 |
aniasis | http://pastebin.com/MiZH1wzx | 06:26 |
*** dimsum__ has joined #heat | 06:28 | |
cmyster | aniasis: and have you managed to create a stack with that image ? | 06:29 |
cmyster | brb | 06:30 |
*** dimsum__ has quit IRC | 06:33 | |
*** blomquisg1 has quit IRC | 06:36 | |
*** blomquisg1 has joined #heat | 06:50 | |
*** Kennan2 has joined #heat | 06:58 | |
*** Kennan has quit IRC | 06:59 | |
*** kebray has quit IRC | 07:19 | |
*** jamielennox|away has quit IRC | 07:24 | |
*** jamielennox|away has joined #heat | 07:26 | |
*** jamielennox|away is now known as jamielennox | 07:26 | |
*** tspatzier has joined #heat | 07:27 | |
*** dimsum__ has joined #heat | 07:30 | |
*** dimsum__ has quit IRC | 07:35 | |
*** tspatzier_ has joined #heat | 07:51 | |
*** tspatzier has quit IRC | 07:53 | |
*** vgridnev has joined #heat | 07:53 | |
*** achanda has quit IRC | 07:54 | |
*** achanda has joined #heat | 07:57 | |
*** achanda has quit IRC | 08:13 | |
*** Marga_ has quit IRC | 08:21 | |
*** vgridnev has quit IRC | 08:22 | |
*** Marga_ has joined #heat | 08:22 | |
*** vgridnev has joined #heat | 08:24 | |
*** gpaz has joined #heat | 08:28 | |
gpaz | Hello Heat guys, We would like to add a BP for Mistral Resource that Heat will able to use ‘get_file’ for Mistral Workflows. So user will able to use Mistral original workflow and put them in heat template. My questions is if we need a spec from that or maybe just file a BP and we can discuses that later or maybe in the summit ? | 08:33 |
*** LimorStotland has joined #heat | 08:35 | |
*** Michalik has quit IRC | 08:36 | |
*** serverascode has quit IRC | 08:36 | |
*** zhiyan has quit IRC | 08:36 | |
*** ameade has quit IRC | 08:36 | |
*** vgridnev has quit IRC | 08:40 | |
*** Marga_ has quit IRC | 08:45 | |
*** serverascode has joined #heat | 08:51 | |
*** ameade has joined #heat | 08:52 | |
*** zhiyan has joined #heat | 08:54 | |
*** Michalik has joined #heat | 08:54 | |
*** saju_m has joined #heat | 09:29 | |
*** dimsum__ has joined #heat | 09:32 | |
*** vgridnev has joined #heat | 09:35 | |
*** dimsum__ has quit IRC | 09:38 | |
*** Kennan has joined #heat | 09:47 | |
*** vgridnev has quit IRC | 09:48 | |
*** Kennan2 has quit IRC | 09:48 | |
*** saju_m has quit IRC | 10:02 | |
*** sdake has quit IRC | 11:00 | |
*** Kennan2 has joined #heat | 11:16 | |
*** Kennan has quit IRC | 11:16 | |
*** tspatzier_ has quit IRC | 11:21 | |
*** zengyingzhe has joined #heat | 11:25 | |
*** zengyingzhe has quit IRC | 11:30 | |
*** zengyingzhe has joined #heat | 11:31 | |
*** dimsum__ has joined #heat | 11:35 | |
*** dimsum__ has quit IRC | 11:41 | |
*** gpaz has quit IRC | 12:05 | |
*** chmouel has quit IRC | 12:05 | |
*** zengyingzhe has quit IRC | 12:05 | |
*** chmouel has joined #heat | 12:06 | |
*** dimsum__ has joined #heat | 12:24 | |
*** dimsum__ has quit IRC | 13:44 | |
*** dimsum__ has joined #heat | 13:50 | |
*** dimsum__ has quit IRC | 13:56 | |
*** dimsum__ has joined #heat | 13:56 | |
*** tspatzier_ has joined #heat | 14:03 | |
*** EricGonczer_ has joined #heat | 14:15 | |
*** vgridnev has joined #heat | 14:20 | |
*** vgridnev has quit IRC | 14:31 | |
*** EricGonczer_ has quit IRC | 14:32 | |
*** vgridnev has joined #heat | 14:33 | |
*** EricGonczer_ has joined #heat | 14:38 | |
*** Piet has quit IRC | 14:41 | |
*** tspatzier_ has quit IRC | 14:45 | |
*** tspatzier_ has joined #heat | 14:45 | |
*** tspatzier_ has quit IRC | 14:46 | |
*** vgridnev has quit IRC | 14:58 | |
*** dims_ has joined #heat | 15:04 | |
*** dimsum__ has quit IRC | 15:06 | |
*** Marga_ has joined #heat | 15:14 | |
*** e0ne has joined #heat | 15:15 | |
*** EricGonczer_ has quit IRC | 15:18 | |
*** hdd has joined #heat | 15:24 | |
*** hdd has quit IRC | 15:29 | |
*** lifeless has quit IRC | 15:31 | |
*** lifeless has joined #heat | 15:32 | |
*** Marga_ has quit IRC | 15:34 | |
*** vgridnev has joined #heat | 15:39 | |
*** dims_ has quit IRC | 15:40 | |
*** vgridnev has quit IRC | 15:49 | |
*** vgridnev has joined #heat | 15:59 | |
*** e0ne has quit IRC | 16:00 | |
*** vgridnev has quit IRC | 16:03 | |
*** dimsum__ has joined #heat | 16:10 | |
*** vgridnev has joined #heat | 16:10 | |
*** vgridnev has quit IRC | 16:13 | |
*** EricGonczer_ has joined #heat | 16:23 | |
*** dimsum__ has quit IRC | 16:37 | |
*** Qiming has quit IRC | 16:38 | |
*** vgridnev has joined #heat | 16:39 | |
*** pt_15 has joined #heat | 16:47 | |
*** hdd has joined #heat | 17:00 | |
*** EricGonczer_ has quit IRC | 17:11 | |
*** dimsum__ has joined #heat | 17:37 | |
*** dimsum__ has quit IRC | 17:42 | |
*** tspatzier_ has joined #heat | 17:57 | |
*** tspatzier_ has quit IRC | 18:02 | |
*** vgridnev has quit IRC | 18:18 | |
*** tspatzier_ has joined #heat | 18:20 | |
*** vgridnev has joined #heat | 18:21 | |
*** tspatzier_ has quit IRC | 18:23 | |
*** e0ne has joined #heat | 18:35 | |
*** dimsum__ has joined #heat | 18:39 | |
*** dimsum__ has quit IRC | 18:45 | |
*** e0ne has quit IRC | 18:48 | |
*** e0ne has joined #heat | 19:05 | |
*** e0ne has quit IRC | 19:18 | |
*** sdake has joined #heat | 19:23 | |
*** achanda has joined #heat | 19:26 | |
*** Piet has joined #heat | 19:29 | |
*** sdake_ has joined #heat | 19:34 | |
*** sdake has quit IRC | 19:37 | |
*** dimsum__ has joined #heat | 19:41 | |
*** e0ne has joined #heat | 19:43 | |
*** dimsum__ has quit IRC | 19:47 | |
*** Marga_ has joined #heat | 19:48 | |
*** Marga_ has quit IRC | 19:54 | |
*** Marga_ has joined #heat | 19:54 | |
*** kebray has joined #heat | 19:59 | |
*** hdd has quit IRC | 20:03 | |
*** dimsum__ has joined #heat | 20:04 | |
*** vgridnev has quit IRC | 20:05 | |
*** vgridnev has joined #heat | 20:10 | |
*** sdake has joined #heat | 20:38 | |
*** sdake_ has quit IRC | 20:39 | |
*** achanda has quit IRC | 20:48 | |
*** Piet has quit IRC | 20:51 | |
*** tspatzier_ has joined #heat | 21:05 | |
*** jtomasek has quit IRC | 21:07 | |
*** achanda has joined #heat | 21:11 | |
*** Piet has joined #heat | 21:11 | |
*** sdake has quit IRC | 21:15 | |
*** sdake has joined #heat | 21:26 | |
*** achanda has quit IRC | 21:28 | |
*** kebray has quit IRC | 21:42 | |
*** kebray has joined #heat | 21:43 | |
*** jobewan has joined #heat | 22:03 | |
aniasis | cmyster, yes I was able to create a stack. The only issue I am having now is that the site cookbook used points to a vagrant box that is using an older apt repo list. | 22:05 |
aniasis | So I am thinking that I should add some bash to update the list | 22:05 |
*** e0ne has quit IRC | 22:06 | |
*** EricGonczer_ has joined #heat | 22:20 | |
*** tspatzier_ has quit IRC | 22:21 | |
*** tspatzier_ has joined #heat | 22:21 | |
*** tspatzier_ has quit IRC | 22:21 | |
*** EricGonczer_ has quit IRC | 22:23 | |
*** tsufiev has quit IRC | 22:25 | |
*** tsufiev has joined #heat | 22:26 | |
*** akuznetsova has quit IRC | 22:26 | |
*** akuznetsova has joined #heat | 22:27 | |
*** achanda has joined #heat | 22:28 | |
*** chlong has quit IRC | 22:29 | |
*** kebray has quit IRC | 22:32 | |
*** achanda has quit IRC | 22:34 | |
*** vgridnev has quit IRC | 22:37 | |
*** vgridnev has joined #heat | 22:40 | |
*** dimsum__ has quit IRC | 22:44 | |
*** asalkeld has quit IRC | 22:46 | |
*** vgridnev has quit IRC | 22:51 | |
*** achanda has joined #heat | 22:53 | |
*** asalkeld has joined #heat | 23:06 | |
*** dimsum__ has joined #heat | 23:09 | |
*** dimsum__ has quit IRC | 23:23 | |
*** achanda has quit IRC | 23:38 | |
*** Qiming has joined #heat | 23:40 | |
*** ryansb has quit IRC | 23:42 | |
*** ryansb has joined #heat | 23:44 | |
*** ryansb has quit IRC | 23:44 | |
*** ryansb has joined #heat | 23:44 | |
*** Qiming has quit IRC | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!