Sunday, 2015-10-11

*** dims_ has joined #heat00:03
*** EricGonczer_ has quit IRC00:04
*** dimsum__ has quit IRC00:06
*** dimsum__ has joined #heat00:06
*** dims_ has quit IRC00:10
*** bana_k has quit IRC00:15
*** shadower has joined #heat00:23
*** achanda has joined #heat00:28
*** hdd has quit IRC00:30
*** achanda has quit IRC00:35
*** dimsum__ has quit IRC00:57
*** bana_k has joined #heat01:12
*** bana_k has quit IRC01:16
*** achanda has joined #heat01:30
*** achanda has quit IRC01:34
*** dimsum__ has joined #heat01:57
*** dimsum__ has quit IRC02:03
*** hdd has joined #heat02:11
*** sdake_ has joined #heat02:12
*** hdd has quit IRC02:13
*** EricGonczer_ has joined #heat02:25
*** Michalik has quit IRC02:27
*** serverascode has quit IRC02:28
*** zhiyan has quit IRC02:28
*** bana_k has joined #heat02:29
*** EricGonczer_ has quit IRC02:29
*** ameade has quit IRC02:30
aniasiscan anyone help me with using heat templates?02:31
*** bana_k has quit IRC02:33
*** sdake_ has quit IRC02:44
cmystermorning02:50
cmysteraniasis: what kind of help? what are you trying to do ?02:51
*** dimsum__ has joined #heat03:00
*** Michalik has joined #heat03:00
*** zhiyan has joined #heat03:00
*** dimsum__ has quit IRC03:04
aniasiscmyster, I'm trying to create a heat template that creates a server and deploys a mysql and mongo instance.03:04
aniasisBut I am not understanding how to do so from the sample templates.03:04
cmysterwhich sample is that ?03:05
aniasisI don't really even understand the structure of a template and how to validate one03:05
cmysterok, lets start with the sample you are using and go from there03:05
aniasishttps://raw.githubusercontent.com/rackspace-orchestration-templates/nodejs-clouddb/master/node-multi.yaml03:06
aniasisand03:06
cmysterbah its a pretty complex one03:06
aniasishttps://raw.githubusercontent.com/rackspace-orchestration-templates/mongodb-replset/master/mongodb-replset.yaml03:06
aniasisWell it shows many options to choose from03:06
cmystersec lemme find something simpler to work with please.03:06
aniasisok03:07
cmysterlets try this one shall we ? https://github.com/openstack/heat-templates/blob/master/hot/F20/WordPress_Native.yaml03:08
cmysterINO 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
cmysterIMO*03:09
cmysteraniasis: check the part from line 82 to 105 in that example and tell me if you at least understand the bash segment there03:11
*** ameade has joined #heat03:11
aniasiscmyster, that is using bash I understand03:17
cmysterright03:17
aniasisI want to know how to use the syntax in those other templates03:18
aniasisone problem I see03:19
*** Marga_ has joined #heat03:19
aniasisor one problem I am having is that I don't understand child_template and datastore_server03:20
cmysteraniasis: 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.html03:20
aniasisthanks03:20
cmysterfor 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
aniasisI know nothing about Nova03:21
cmysterthe 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 with03:22
cmysterfor each of those there is a get_param: which tells Heat to go up to parameters parent node and look there for stuff03:22
aniasisok03:23
cmystereach 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
cmysterummm 21*03:25
cmysteraniasis: tell me if you need further explanation03:25
cmysteraniasis: 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 Heat03:27
aniasisok03:27
cmysterintros*03:27
cmysterhttp://docs.openstack.org/ is your friend in this case03:28
aniasisyes03:28
aniasiskitchen03:28
aniasiswhy don't I see this in the template_guide03:28
cmysterif you feel that something is missing you could always file a bug :)03:30
aniasiscmyster, so I believe I can spin up multiple database instances by creating a new resources: entry of type type: 'OS::Trove::Instance'03:35
aniasiscmyster, is there a tool I can validate a template?03:36
*** achanda has joined #heat03:38
cmysterheat itself can validate03:38
cmysterfrom CLI do heat --help03:38
cmysteras for trove itself, I have no exp with it but seems so03:39
*** sdake has joined #heat03:57
sdakeanyone have any ideas on this python-heatclient authentication bug https://bugs.launchpad.net/python-heatclient/+bug/150488503:57
openstackLaunchpad bug 1504885 in python-heatclient "ERROR: Missing required credential: X-Auth-User^M" [Undecided,New]03:57
*** dimsum__ has joined #heat04:02
cmysterwow04:04
cmystersdake: I don't follow the log, so it needs 0.6.0, then collects 0.8.0 -> uninstall -> reinstall 0.6.0 ?04:05
sdakeif i use python-heatclient 0.6.0 it works04:06
sdakeif I use python-heatclient 0.8.0 it asserts04:06
*** dimsum__ has quit IRC04:06
sdakenote we are using kolla - so its possible our auth is fubared int he config in some way04:06
cmysterbah that needs some debugg'n... I'm still testing L04:07
sdakethis is liberty04:07
sdakeliberty rdo delorean04:08
cmysterahhhh04:08
cmysterok04:08
cmyster2nd coffee hasn't kicked in yet04:08
sdakeif you hae a workaround i'll e happy to take it :)04:08
sdakebesides "downgrade client"04:08
cmysteroh04:08
cmysterteehee04:08
cmysterthen no04:08
sdakedefualt config files https://github.com/openstack/kolla/tree/master/ansible/roles/heat/templates04:09
*** serverascode has joined #heat04:21
*** achanda has quit IRC04:23
*** sdake has quit IRC04:34
*** cody-somerville has quit IRC04:42
*** achanda has joined #heat04:54
*** kebray has joined #heat05:23
*** sdake has joined #heat05:30
*** Piet has joined #heat05:31
aniasiscmyster, I got a template working06:26
aniasischeck it here06:26
aniasishttp://pastebin.com/MiZH1wzx06:26
*** dimsum__ has joined #heat06:28
cmysteraniasis: and have you managed to create a stack with that image ?06:29
cmysterbrb06:30
*** dimsum__ has quit IRC06:33
*** blomquisg1 has quit IRC06:36
*** blomquisg1 has joined #heat06:50
*** Kennan2 has joined #heat06:58
*** Kennan has quit IRC06:59
*** kebray has quit IRC07:19
*** jamielennox|away has quit IRC07:24
*** jamielennox|away has joined #heat07:26
*** jamielennox|away is now known as jamielennox07:26
*** tspatzier has joined #heat07:27
*** dimsum__ has joined #heat07:30
*** dimsum__ has quit IRC07:35
*** tspatzier_ has joined #heat07:51
*** tspatzier has quit IRC07:53
*** vgridnev has joined #heat07:53
*** achanda has quit IRC07:54
*** achanda has joined #heat07:57
*** achanda has quit IRC08:13
*** Marga_ has quit IRC08:21
*** vgridnev has quit IRC08:22
*** Marga_ has joined #heat08:22
*** vgridnev has joined #heat08:24
*** gpaz has joined #heat08:28
gpazHello 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 #heat08:35
*** Michalik has quit IRC08:36
*** serverascode has quit IRC08:36
*** zhiyan has quit IRC08:36
*** ameade has quit IRC08:36
*** vgridnev has quit IRC08:40
*** Marga_ has quit IRC08:45
*** serverascode has joined #heat08:51
*** ameade has joined #heat08:52
*** zhiyan has joined #heat08:54
*** Michalik has joined #heat08:54
*** saju_m has joined #heat09:29
*** dimsum__ has joined #heat09:32
*** vgridnev has joined #heat09:35
*** dimsum__ has quit IRC09:38
*** Kennan has joined #heat09:47
*** vgridnev has quit IRC09:48
*** Kennan2 has quit IRC09:48
*** saju_m has quit IRC10:02
*** sdake has quit IRC11:00
*** Kennan2 has joined #heat11:16
*** Kennan has quit IRC11:16
*** tspatzier_ has quit IRC11:21
*** zengyingzhe has joined #heat11:25
*** zengyingzhe has quit IRC11:30
*** zengyingzhe has joined #heat11:31
*** dimsum__ has joined #heat11:35
*** dimsum__ has quit IRC11:41
*** gpaz has quit IRC12:05
*** chmouel has quit IRC12:05
*** zengyingzhe has quit IRC12:05
*** chmouel has joined #heat12:06
*** dimsum__ has joined #heat12:24
*** dimsum__ has quit IRC13:44
*** dimsum__ has joined #heat13:50
*** dimsum__ has quit IRC13:56
*** dimsum__ has joined #heat13:56
*** tspatzier_ has joined #heat14:03
*** EricGonczer_ has joined #heat14:15
*** vgridnev has joined #heat14:20
*** vgridnev has quit IRC14:31
*** EricGonczer_ has quit IRC14:32
*** vgridnev has joined #heat14:33
*** EricGonczer_ has joined #heat14:38
*** Piet has quit IRC14:41
*** tspatzier_ has quit IRC14:45
*** tspatzier_ has joined #heat14:45
*** tspatzier_ has quit IRC14:46
*** vgridnev has quit IRC14:58
*** dims_ has joined #heat15:04
*** dimsum__ has quit IRC15:06
*** Marga_ has joined #heat15:14
*** e0ne has joined #heat15:15
*** EricGonczer_ has quit IRC15:18
*** hdd has joined #heat15:24
*** hdd has quit IRC15:29
*** lifeless has quit IRC15:31
*** lifeless has joined #heat15:32
*** Marga_ has quit IRC15:34
*** vgridnev has joined #heat15:39
*** dims_ has quit IRC15:40
*** vgridnev has quit IRC15:49
*** vgridnev has joined #heat15:59
*** e0ne has quit IRC16:00
*** vgridnev has quit IRC16:03
*** dimsum__ has joined #heat16:10
*** vgridnev has joined #heat16:10
*** vgridnev has quit IRC16:13
*** EricGonczer_ has joined #heat16:23
*** dimsum__ has quit IRC16:37
*** Qiming has quit IRC16:38
*** vgridnev has joined #heat16:39
*** pt_15 has joined #heat16:47
*** hdd has joined #heat17:00
*** EricGonczer_ has quit IRC17:11
*** dimsum__ has joined #heat17:37
*** dimsum__ has quit IRC17:42
*** tspatzier_ has joined #heat17:57
*** tspatzier_ has quit IRC18:02
*** vgridnev has quit IRC18:18
*** tspatzier_ has joined #heat18:20
*** vgridnev has joined #heat18:21
*** tspatzier_ has quit IRC18:23
*** e0ne has joined #heat18:35
*** dimsum__ has joined #heat18:39
*** dimsum__ has quit IRC18:45
*** e0ne has quit IRC18:48
*** e0ne has joined #heat19:05
*** e0ne has quit IRC19:18
*** sdake has joined #heat19:23
*** achanda has joined #heat19:26
*** Piet has joined #heat19:29
*** sdake_ has joined #heat19:34
*** sdake has quit IRC19:37
*** dimsum__ has joined #heat19:41
*** e0ne has joined #heat19:43
*** dimsum__ has quit IRC19:47
*** Marga_ has joined #heat19:48
*** Marga_ has quit IRC19:54
*** Marga_ has joined #heat19:54
*** kebray has joined #heat19:59
*** hdd has quit IRC20:03
*** dimsum__ has joined #heat20:04
*** vgridnev has quit IRC20:05
*** vgridnev has joined #heat20:10
*** sdake has joined #heat20:38
*** sdake_ has quit IRC20:39
*** achanda has quit IRC20:48
*** Piet has quit IRC20:51
*** tspatzier_ has joined #heat21:05
*** jtomasek has quit IRC21:07
*** achanda has joined #heat21:11
*** Piet has joined #heat21:11
*** sdake has quit IRC21:15
*** sdake has joined #heat21:26
*** achanda has quit IRC21:28
*** kebray has quit IRC21:42
*** kebray has joined #heat21:43
*** jobewan has joined #heat22:03
aniasiscmyster, 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
aniasisSo I am thinking that I should add some bash to update the list22:05
*** e0ne has quit IRC22:06
*** EricGonczer_ has joined #heat22:20
*** tspatzier_ has quit IRC22:21
*** tspatzier_ has joined #heat22:21
*** tspatzier_ has quit IRC22:21
*** EricGonczer_ has quit IRC22:23
*** tsufiev has quit IRC22:25
*** tsufiev has joined #heat22:26
*** akuznetsova has quit IRC22:26
*** akuznetsova has joined #heat22:27
*** achanda has joined #heat22:28
*** chlong has quit IRC22:29
*** kebray has quit IRC22:32
*** achanda has quit IRC22:34
*** vgridnev has quit IRC22:37
*** vgridnev has joined #heat22:40
*** dimsum__ has quit IRC22:44
*** asalkeld has quit IRC22:46
*** vgridnev has quit IRC22:51
*** achanda has joined #heat22:53
*** asalkeld has joined #heat23:06
*** dimsum__ has joined #heat23:09
*** dimsum__ has quit IRC23:23
*** achanda has quit IRC23:38
*** Qiming has joined #heat23:40
*** ryansb has quit IRC23:42
*** ryansb has joined #heat23:44
*** ryansb has quit IRC23:44
*** ryansb has joined #heat23:44
*** Qiming has quit IRC23:55

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!