Thursday, 2014-07-24

*** Qiming has joined #heat00:04
*** piyush has quit IRC00:07
*** sarob has quit IRC00:09
*** rushiagr has quit IRC00:09
openstackgerritA change was merged to openstack/heat: Store clients in context  https://review.openstack.org/10843600:09
*** piyush has joined #heat00:10
*** Qiming has quit IRC00:11
*** piyush has quit IRC00:14
*** dims has joined #heat00:14
*** daneyon has joined #heat00:15
*** daneyon has quit IRC00:18
*** nijaba has quit IRC00:18
*** nijaba has joined #heat00:19
*** nijaba has joined #heat00:19
*** killer_prince has quit IRC00:22
*** derekh_ has joined #heat00:28
*** mkerrin has joined #heat00:30
*** lvdongbing has joined #heat00:31
*** mkerrin1 has joined #heat00:32
*** mkerrin has quit IRC00:35
*** nati_ueno has joined #heat00:38
*** shakamunyi has joined #heat00:43
*** Yanyanhu has joined #heat00:48
*** sarob has joined #heat00:57
*** Qiming has joined #heat01:00
*** cody-somerville has quit IRC01:02
*** tiantian has joined #heat01:20
*** nati_ueno has quit IRC01:21
*** LiJiansheng has joined #heat01:29
*** nosnos has joined #heat01:43
*** aweiteka has joined #heat01:46
*** asalkeld has quit IRC01:48
*** jcoufal has joined #heat01:49
*** LiJiansheng has quit IRC01:59
*** LiJiansheng has joined #heat02:02
*** Qiming_ has joined #heat02:06
*** Qiming has quit IRC02:10
*** asalkeld has joined #heat02:11
*** PragadeeswaranS has joined #heat02:13
*** nanjj has joined #heat02:13
elynnmorning all :)02:14
*** dims has quit IRC02:14
Qiming_morning, elynn02:15
*** killer_prince has joined #heat02:33
*** killer_prince is now known as lazy_prince02:33
openstackgerritZane Bitter proposed a change to openstack/heat: Refactor handling of exceptions in Resource actions  https://review.openstack.org/10467602:37
openstackgerritZane Bitter proposed a change to openstack/heat: Refactor calling handle_* into a separate task  https://review.openstack.org/10917102:37
*** dims has joined #heat02:40
*** dims has quit IRC02:44
openstackgerritJustin Shepherd proposed a change to openstack/heat: Moving log messages to INFO level  https://review.openstack.org/10917202:46
*** tspatzier has joined #heat02:56
*** slowe has quit IRC03:00
*** derekh_ has quit IRC03:09
*** ramishra has joined #heat03:13
*** nosnos has quit IRC03:15
*** piyush has joined #heat03:15
*** lvdongbing has quit IRC03:20
*** lvdongbing has joined #heat03:20
*** cmyster has joined #heat03:24
*** cmyster has quit IRC03:24
*** cmyster has joined #heat03:24
*** Tross has joined #heat03:24
*** rushiagr has joined #heat03:32
*** metral is now known as metral_zzz03:34
*** metral_zzz is now known as metral03:34
*** cmyster has quit IRC03:34
*** aweiteka has quit IRC03:35
*** tspatzier has quit IRC03:40
*** dims has joined #heat03:41
*** cmyster has joined #heat03:42
*** cmyster has quit IRC03:42
*** cmyster has joined #heat03:42
*** dims has quit IRC03:45
*** pmyers has quit IRC03:49
*** pmyers has joined #heat03:50
*** LiJiansheng has quit IRC03:52
*** chandankumar has joined #heat03:53
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/10516603:57
*** rushiagr has quit IRC04:02
*** nanjj has quit IRC04:05
*** nosnos has joined #heat04:18
*** kebray has joined #heat04:20
*** lazy_prince is now known as killer_prince04:21
*** asalkeld has quit IRC04:25
*** slowe has joined #heat04:26
*** slowe has quit IRC04:26
*** piyush has quit IRC04:28
*** ramishra has quit IRC04:36
*** nkhare has joined #heat04:38
*** nati_ueno has joined #heat04:40
*** dims has joined #heat04:41
*** mkerrin1 has quit IRC04:46
*** dims has quit IRC04:46
*** Qiming_ has quit IRC04:47
*** Qiming_ has joined #heat04:49
*** chandankumar has quit IRC04:49
*** akuznetsov has quit IRC04:54
*** akuznetsov has joined #heat04:55
*** lvdongbing has quit IRC04:59
*** chandankumar has joined #heat04:59
*** lvdongbing has joined #heat04:59
*** kopparam has joined #heat05:00
*** nanjj has joined #heat05:02
*** kopparam has quit IRC05:04
*** kopparam has joined #heat05:04
*** rushiagr has joined #heat05:10
*** harlowja has quit IRC05:11
*** harlowja has joined #heat05:11
*** asalkeld has joined #heat05:20
*** kebray has quit IRC05:24
*** k4n0 has joined #heat05:24
*** bvivek has joined #heat05:27
*** cody-somerville has joined #heat05:28
*** tiantian has quit IRC05:32
*** dims has joined #heat05:42
*** rakesh_hs has joined #heat05:43
*** rushiagr has quit IRC05:46
*** dims has quit IRC05:47
*** bmahalakshmi has joined #heat05:47
openstackgerritJun Jie Nan proposed a change to openstack/heat-specs: VNC console attribute support  https://review.openstack.org/10894905:49
openstackgerritAngus Salkeld proposed a change to openstack/heat: Import the stack module directly  https://review.openstack.org/10729206:00
openstackgerritAngus Salkeld proposed a change to openstack/heat: Move the Stack class into stack.py  https://review.openstack.org/10729006:00
openstackgerritAngus Salkeld proposed a change to openstack/heat: Use the template module to access the Template class  https://review.openstack.org/10729106:00
*** unmeshg has joined #heat06:00
asalkeldany heat cores about?06:00
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/10497506:00
openstackgerritEthan Lynn proposed a change to openstack/heat: Move UpdateReplace exception to exception.py  https://review.openstack.org/10919406:08
openstackgerritEthan Lynn proposed a change to openstack/heat: Enable lazy translation on heat  https://review.openstack.org/10891706:13
*** tiantian has joined #heat06:15
openstackgerritJun Jie Nan proposed a change to openstack/heat-specs: VNC console attribute support  https://review.openstack.org/10894906:16
therveasalkeld, Hola06:16
*** akuznetsov has quit IRC06:19
asalkeldhey therve, sorry just in a hangout06:20
openstackgerritYaoguo Jiang proposed a change to openstack/heat: Add template version for the provider template  https://review.openstack.org/9699906:20
*** akuznetsov has joined #heat06:26
*** zigo has quit IRC06:27
*** ChanServ changes topic to "support @ https://ask.openstack.org | developer wiki @ https://wiki.openstack.org/wiki/Heat | development @ https://launchpad.net/heat | logged @ http://eavesdrop.openstack.org/irclogs/%23heat/"06:32
*** zigo has joined #heat06:32
*** andreaf has quit IRC06:34
*** liusheng has joined #heat06:34
*** killer_prince is now known as lazy_prince06:37
skraynevGood morning06:38
elynnHi guys, anybody can review this patch, it's been a while not receiving reviews :) https://review.openstack.org/#/c/98580/06:38
elynnmorning skraynev :)06:38
skraynevhi elynn06:39
*** harlowja is now known as harlowja_away06:42
*** dims has joined #heat06:43
asalkeldtherve, skraynev are you guys up to knocking this in: https://review.openstack.org/#/c/107290/06:47
asalkeldit's been approved a bunch of times06:47
asalkeldsomeone keeps modifing parser.py06:47
*** dims has quit IRC06:48
skraynevasalkeld: I thought, that it is landed already :)06:49
openstackgerritSergey Kraynev proposed a change to openstack/heat: Reusing PARAMETER_CONSTRAINTS value  https://review.openstack.org/10899806:50
*** nati_ueno has quit IRC06:50
therveIs that really an interesting change? It's going to break tons of patchs for little benefits06:51
asalkeldtherve, just something we have wanted to do for a while06:51
therveasalkeld, Well I've wanted a panda for a while, doesn't mean it's a good idea06:52
asalkeldtherve, it's not a panda06:52
therveasalkeld, It's that a good or bad point? :)06:53
asalkeldtherve, there is not much change in parser.py06:54
skraynevit means, that this patch is not so cute such as panda ...06:54
asalkeldocasional small changes06:54
asalkeldI don't think it'll cause waves06:54
asalkeldless waves than this conversation06:54
asalkeld:)06:54
*** cody-somerville has quit IRC06:56
skraynevtalks about nature ^ :)06:56
openstackgerritEthan Lynn proposed a change to openstack/heat: Implement custom constraints for subnet/port/router  https://review.openstack.org/10510106:59
*** kopparam has quit IRC07:00
*** kopparam has joined #heat07:01
*** shakamunyi has quit IRC07:03
asalkeldCould not find any downloads that satisfy the requirement retrying>=1.2.207:05
asalkeldthat's a joke ^07:05
asalkeldcouldn't it retry;)07:05
*** kopparam has quit IRC07:05
openstackgerritYaoguo Jiang proposed a change to openstack/heat: Change type validate method of template resource  https://review.openstack.org/9702007:05
skraynevasalkeld: :)07:06
*** cody-somerville has joined #heat07:08
tiantian<asalkeld>: hi, trouble again https://review.openstack.org/#/c/105110/07:10
asalkeldlooking07:11
tiantianhttps://review.openstack.org/#/c/103725/ welcome to review :)07:16
*** jcoufal has quit IRC07:16
*** bgorski has joined #heat07:20
*** bvivek has quit IRC07:23
*** jistr has joined #heat07:24
*** rushiagr has joined #heat07:26
*** kopparam has joined #heat07:31
*** viktors has joined #heat07:35
*** kopparam has quit IRC07:36
elynnhi skraynev & asalkeld07:39
elynnI upload a patch which needs oslo.i18n, but it seems it's not in jenkins, so the tests are all failed.07:40
elynnhttps://review.openstack.org/#/c/108924/07:40
elynnWhat can I do for it?07:40
*** dims_ has joined #heat07:43
*** nanjj has quit IRC07:45
therveelynn, There is a typo in your requirements file07:46
*** zslot has joined #heat07:48
*** sdake has quit IRC07:48
*** dims_ has quit IRC07:48
*** tomek_adamczewsk has joined #heat07:49
viktorstherve: hi!07:49
elynntherve, aha, my fault ;P07:50
elynnthx therve :)07:50
viktorstherve: can I make a pull request to your patch https://review.openstack.org/#/c/104566/ ?  =)07:50
therveviktors, What does that mean?07:50
elynntherve, should I add # Apache-2.0 at the end of line?07:51
therveelynn, I think so. I don't know if we confuse the requirements sync or not, but it seems to be the new rule.07:51
elynngot it , thx :)07:52
*** zslot has quit IRC07:52
viktorstherve: I just found that heat uses BaseMigrationTestCase from oslo.db.sqlalchemy.test_migrations, but this class was removed from oslo.db recently - we decided to use opportunistic approach for migration testing07:52
*** kopparam has joined #heat07:52
openstackgerritEthan Lynn proposed a change to openstack/heat: Import oslo.i18n and port heat bins to use oslo.i18n  https://review.openstack.org/10892407:53
therveviktors, opportunistic approach?07:53
*** zslot has joined #heat07:53
viktorstherve: don't use openstack_citest database for testing, but create a new database for each test07:54
viktorstherve: see patch in Ironic - https://review.openstack.org/#/c/107053/07:55
therveviktors, So, first that patch got approved, so I don't think we should change it07:56
therveWe can do another patch07:56
therveBut you shouldn't remove stuff from libraries07:56
*** vpanizo_ has joined #heat07:58
viktorstherve: my fault, this change was proposed to incubator at first for a long time ago, so we supposed, that it will be safe to merge it07:59
viktorstherve: ok, I'll make a patch, based on your's07:59
openstackgerritVisnusaran Murugan proposed a change to openstack/heat: Added UUID to stack table and int id as primary  https://review.openstack.org/10605407:59
*** vpanizo has quit IRC08:00
therveviktors, Thanks!08:00
therveI hope we won't break the gate08:00
therveI guess we'll know soon enough08:00
*** jstrachan has joined #heat08:01
viktorstherve: afaik, gate tests uses oslo.* libraries from master, not from pypi08:01
viktorstherve: but unittests uses oslo.* libraries from pypi08:02
*** sdake has joined #heat08:02
viktorstherve: so we should not break the gate =)08:02
*** vpanizo_ has quit IRC08:03
*** andreaf has joined #heat08:05
* asalkeld heads off to OpenStack brisbane birthday party 08:06
*** tiantian has quit IRC08:20
*** vpanizo has joined #heat08:22
*** bvivek has joined #heat08:25
*** dims_ has joined #heat08:44
*** lvdongbing has quit IRC08:44
*** avquadri has joined #heat08:48
*** dims_ has quit IRC08:49
avquadriPlease review https://review.openstack.org/#/c/107664/08:49
*** akuznetsov has quit IRC08:58
openstackgerrithuangtianhua proposed a change to openstack/heat: Match tenant_id when name ambiguity in get_secgroup_uuids()  https://review.openstack.org/10922209:10
*** cody-somerville has quit IRC09:11
*** iyozhikov is now known as IgorYozhikov09:16
openstackgerritunmesh-gurjar proposed a change to openstack/heat: Database model and apis for convergence  https://review.openstack.org/10901209:16
*** cody-somerville has joined #heat09:23
*** Yanyanhu has quit IRC09:27
*** sdake has quit IRC09:28
openstackgerrithuangtianhua proposed a change to openstack/heat: Match tenant_id when name ambiguity in get_secgroup_uuids()  https://review.openstack.org/10922209:41
*** sdake has joined #heat09:42
*** tiantian has joined #heat09:43
*** Dev_Jin has joined #heat09:43
*** dims_ has joined #heat09:45
openstackgerritJun Jie Nan proposed a change to openstack/heat-specs: VNC console attribute support  https://review.openstack.org/10894909:45
*** nanjj has joined #heat09:46
*** dims_ has quit IRC09:50
*** tomek_adamczewsk has quit IRC09:50
Dev_JinI want to use paramters inside HOT in json format.. I can do it in yaml format but it’s throwing parameter not provided error and stack creation fails..09:51
openstackgerritlvdongbing proposed a change to openstack/python-heatclient: Don't expose X-Auth-Token in heat CLI  https://review.openstack.org/10923409:53
openstackgerritA change was merged to openstack/heat: Use config region_name_for_services for rackspace clients  https://review.openstack.org/9868609:54
openstackgerritA change was merged to openstack/heat: Create a new revision of HOT for Juno  https://review.openstack.org/10555809:54
openstackgerritA change was merged to openstack/heat: Move the Stack class into stack.py  https://review.openstack.org/10729009:54
openstackgerritA change was merged to openstack/heat: Migrate to oslo.db  https://review.openstack.org/10456609:54
Dev_Jin"Parameters": {09:56
Dev_Jin    "init_addr": {09:56
Dev_Jin      "Type": "String",09:56
Dev_Jin      "Label": "init addr"09:56
Dev_Jin    }09:56
Dev_Jin  },09:56
Dev_Jin09:56
Dev_Jin  "user_data": {09:56
Dev_Jin              "str_replace": {09:56
Dev_Jin                "template": "sudo sh -c 'echo $init_addr\"     init\" >> /etc/hosts'\n",09:56
Dev_Jin                "params": {09:56
Dev_Jin                  "$init_addr": { "get_param": "init_addr" }09:56
Dev_Jin                }09:56
Dev_Jin              }09:56
Dev_Jin            }09:56
Dev_Jinand I am passing init_addr in heat stack-create with -P option09:56
Dev_Jinwhat am I missing?09:56
*** OOjoe has joined #heat09:58
*** tomek_adamczewsk has joined #heat09:59
Qiming_Dev_Jin, it would be a disaster to mix different template types and functions ...10:04
Dev_JinQiming_ : you mean to say intrinsic functions are available only in HOT and not for json ?10:05
Qiming_Dev_Jin, I would suggest either stick to CFN format and their functions, or HOT format with Heat functions10:06
*** k4n0 has quit IRC10:07
Qiming_Dev_Jin, it makes life much easier at least10:08
Qiming_so in your case, you may want to try "Fn::Join" to build the user_data, or switch to HOT and use str_replace10:09
*** tomek_adamczewsk has quit IRC10:12
Dev_Jinthanks Qiming_ for valuable input..10:13
Qiming_np10:13
Dev_Jinone more question.. if I want to launch a new stack from some other machine than cloud controller (some other machine which can communicate with controller) .. is it advisable to this by directly calling REST apis ?10:14
openstackgerritlvdongbing proposed a change to openstack/python-heatclient: Don't expose X-Auth-Token in heat CLI  https://review.openstack.org/10923410:18
*** Qiming_ has quit IRC10:19
*** agentgonzo has joined #heat10:19
*** k4n0 has joined #heat10:20
agentgonzoHello all - does anyone know if there is a way to get heat to set the status of the stack to 'failed' if some software fails to install on a nova server? We are using user_data to download and install some of our software and want the stack to have a failed status if the user_data bash command exits in error10:21
*** sergmelikyan has joined #heat10:23
*** blinky_ghost has joined #heat10:37
*** IgorYozhikov is now known as iyozhikov10:38
*** kopparam has quit IRC10:39
*** kopparam has joined #heat10:40
*** ajc_ has joined #heat10:41
*** kopparam has quit IRC10:44
*** tiantian has quit IRC10:48
*** pasquier-s_ has quit IRC10:51
*** nanjj has quit IRC10:53
*** ckmvishnu has quit IRC10:55
*** harlowja_away has quit IRC10:59
*** k4n0 has quit IRC11:01
blinky_ghostHi all, can anybody help me with waitconditions? I have a template with 2 instances. I want that server1 is created after the second one is online, but when the server1 finishes, the second one should proceed doing some stuff. The problem is that server2 sends the signal to the first one then exits. Is there some way to "pause it"? Thanks.11:04
*** rushiagr has quit IRC11:05
*** rushiagr has joined #heat11:05
*** tspatzier has joined #heat11:06
*** Qiming_ has joined #heat11:07
*** Qiming_ is now known as Qiming11:07
*** zslot has quit IRC11:07
*** piyush has joined #heat11:08
*** kopparam has joined #heat11:10
*** jcoufal has joined #heat11:11
*** kopparam has quit IRC11:15
*** kopparam has joined #heat11:16
*** liusheng has quit IRC11:16
*** ramishra has joined #heat11:17
*** chandankumar has quit IRC11:17
*** nanjj has joined #heat11:18
*** k4n0 has joined #heat11:18
unmeshgblinky_ghost: you can use waitCondition for pausing stack creation till server2 comes up and sends a signal11:21
unmeshgonly then server1 will be created11:21
sgranblinky_ghost: so you want server2 to come up, get mostly configured, send a signal.  this triggers server1 to come on line and get fully configured, then send a signal11:23
lifelessblinky_ghost: what do you mean 'server2 exits' ?11:23
sgranat that point you want server2 to notice and resume processing?11:23
blinky_ghostsgran: correct. I have cfn-signal on the server2 that stops what was doing11:24
sgransure, once it's sent the signal, it's job is done.  That's how cfn-signal and waitconditions work11:25
*** DaveJ__ has joined #heat11:25
blinky_ghostsgran: Yes, I want: server2 -> pause -> server1 -> pause -> server2 -> finish server1-> finish11:26
*** bvivek has quit IRC11:30
*** jstrachan has quit IRC11:31
*** nanjj has quit IRC11:31
*** chandankumar has joined #heat11:32
*** jstrachan has joined #heat11:32
blinky_ghostsgran: to solve this, I was thinking on doing a "until"  loop after the cfn-signal on both instances that wait for a parameter or flag from the other cfn-signal instance.11:33
openstackgerritA change was merged to openstack/heat: Move network constraint to neutron plugin  https://review.openstack.org/10042011:33
*** pasquier-s has joined #heat11:37
openstackgerritA change was merged to openstack/heat: Remove tools/glance-jeos-add-from-github.sh  https://review.openstack.org/10805611:37
blinky_ghostsgran: can you check it please? http://pastebin.com/5U3EgPTW11:39
*** vpanizo has quit IRC11:43
*** sorantis has joined #heat11:43
*** nanjj has joined #heat11:44
*** sorantis has quit IRC11:44
*** dims has joined #heat11:44
*** akuznetsov has joined #heat11:47
openstackgerritA change was merged to openstack/python-heatclient: Implement events pagination, sorting and filtering  https://review.openstack.org/10511011:47
*** mkerrin has joined #heat11:48
*** nanjj has quit IRC11:48
*** agentgonzo has quit IRC11:50
openstackgerritThomas Herve proposed a change to openstack/heat: Sync olso incubator  https://review.openstack.org/10925711:53
*** bmahalakshmi has quit IRC11:54
*** blomquisg has joined #heat11:55
*** cdent has joined #heat11:59
*** k4n0 has quit IRC11:59
*** OOjoe has quit IRC11:59
*** unmeshg has quit IRC11:59
*** cmyster has quit IRC12:00
*** blomquisg has quit IRC12:00
*** rbuilta has joined #heat12:02
*** achampion has quit IRC12:02
*** ramishra has quit IRC12:03
*** nosnos has quit IRC12:09
*** asalkeld has quit IRC12:11
*** jstrachan_ has joined #heat12:15
*** denis_makogon has quit IRC12:16
*** mkerrin has quit IRC12:16
*** jstrachan has quit IRC12:17
*** denis_makogon has joined #heat12:18
*** jcoufal has quit IRC12:19
*** cdent_ has joined #heat12:21
*** cdent has quit IRC12:22
*** cdent_ is now known as cdent12:22
*** kopparam has quit IRC12:26
*** kopparam has joined #heat12:26
*** tonisbones has joined #heat12:29
*** OOjoe has joined #heat12:31
*** kopparam has quit IRC12:32
*** tomek_adamczewsk has joined #heat12:36
*** Tross has quit IRC12:38
*** nkhare has quit IRC12:39
sgranblinky_ghost: I don't think that's how waitconditions work, but I could be wrong12:42
*** nanjj has joined #heat12:42
*** sgordon has joined #heat12:47
*** sgordon has quit IRC12:47
*** sgordon has joined #heat12:47
*** jdob has joined #heat12:48
*** ajc_ has quit IRC12:48
openstackgerritThomas Herve proposed a change to openstack/heat: Sync olso incubator  https://review.openstack.org/10925712:50
*** mkerrin has joined #heat12:53
*** bnemec has joined #heat12:56
*** mkerrin1 has joined #heat12:56
*** mkerrin has quit IRC12:58
*** achampion has joined #heat13:00
*** otoolee has joined #heat13:01
otooleeHello all, a quick question.  Does heat support stack policies a-la AWS?13:02
therveNope13:02
*** zigo has quit IRC13:03
*** jcoufal has joined #heat13:03
*** jcoufal has quit IRC13:04
*** zigo has joined #heat13:04
otooleeThanks, I thought not but wanted to be sure.13:05
*** Tross has joined #heat13:06
shardymorning all13:06
*** OOjoe is now known as joeroyall13:06
otooleeIs support for stack policies on the radar at all for heat?13:06
Qimingmorning, shardy13:06
joeroyallgmorning13:07
*** jcoufal has joined #heat13:07
shardyblinky_ghost: Your use-case would be much better satisfied with SoftwareConfig and SoftwareDeployment resources13:09
*** aweiteka has joined #heat13:09
shardyIt's probably possible with WaitConditions but the resulting template and user-data implementation will be ugly13:10
*** chandankumar has quit IRC13:10
*** jmckind has joined #heat13:11
shardyhttps://github.com/openstack/heat-templates/blob/master/hot/software-config/example-templates/example-deploy-sequence.yaml13:11
therveotoolee, Not I know. It doesn't seem super useful to me, but maybe someone will get interested.13:11
*** nanjj has quit IRC13:11
openstackgerritTon Ngo proposed a change to openstack/heat: Pass flag to engine service to patch parameters  https://review.openstack.org/10904213:12
openstackgerritTon Ngo proposed a change to openstack/heat: Pass list of parameters to engine service to reset  https://review.openstack.org/10928413:12
*** dims has quit IRC13:13
*** dims has joined #heat13:14
*** ccrouch has joined #heat13:14
*** ccrouch has quit IRC13:14
*** ccrouch has joined #heat13:14
*** alexpilotti has joined #heat13:16
*** PragadeeswaranS has quit IRC13:28
*** piyush has quit IRC13:31
*** blomquisg has joined #heat13:31
*** tspatzier has quit IRC13:33
*** andersonvom has joined #heat13:34
blinky_ghostshardy: this is exactly what I need :) thanks a lot13:34
*** erecio has joined #heat13:35
*** dsneddon has joined #heat13:37
*** erecio has quit IRC13:43
openstackgerritA change was merged to openstack/heat-cfntools: Update for psutil version  https://review.openstack.org/10331913:46
*** Dev_Jin has quit IRC13:47
*** kopparam has joined #heat13:49
*** kopparam has quit IRC13:52
openstackgerritA change was merged to openstack/heat: Refactor ResourceGroup's FnGetAtt()  https://review.openstack.org/10653713:56
openstackgerritA change was merged to openstack/heat: Move glance_utils functions to glance client plugin  https://review.openstack.org/10041913:56
*** radez_g0n3 is now known as radez13:56
*** samstav has joined #heat13:56
*** vijendar has joined #heat14:00
*** tspatzier has joined #heat14:01
*** jstrachan_ has quit IRC14:02
*** ramishra has joined #heat14:03
*** jstrachan has joined #heat14:04
*** aweiteka has quit IRC14:05
*** sjmc7 has joined #heat14:05
*** ramishra has quit IRC14:08
*** piyush has joined #heat14:08
*** avquadri has quit IRC14:10
*** vijendar has quit IRC14:13
*** vijendar has joined #heat14:13
*** aweiteka has joined #heat14:17
*** ramishra has joined #heat14:17
*** hipokrit has joined #heat14:18
*** joeroyall has quit IRC14:19
*** joeroyall has joined #heat14:19
*** kopparam has joined #heat14:21
*** rakesh_hs has quit IRC14:22
*** ramishra has quit IRC14:22
*** nanjj has joined #heat14:22
*** kopparam has quit IRC14:23
ryansbHey folks, I'm working on https://bugs.launchpad.net/heat/+bug/1342487 and have sorta hit a snag. As is we presume JSON must be a map, and we have a separate list type (commaseparatedlist)14:23
uvirtbotLaunchpad bug 1342487 in heat "json parameters require json strings rather than accepting arbitrary json structures" [High,In progress]14:23
*** kopparam has joined #heat14:23
ryansbI'm thinking either a) using the CommaSeparatedListParam, or b) introducing a JsonListParam and JsonMapParam since a list shouldn't inherit from collections.Map14:25
zanebryansb: looking...14:27
*** rwsu has joined #heat14:28
*** kopparam has quit IRC14:28
*** david-lyle has joined #heat14:28
*** derekh_ has joined #heat14:29
ryansbwe have the "schema.LIST" that maps to CommaDelimitedListParam but if you use a JsonParam with a JSON list instead of an object you'll end up with a JsonParam (which is a collection.Mapping) trying to do map operations on a list14:30
ryansbwhich is sad times.14:30
zanebindeed14:30
zanebthat explains why it's implemented like that14:30
*** shakamunyi has joined #heat14:31
zaneband yet it works fine if you decode a list from a JSON string...14:32
ryansbwell, "fine"14:32
zanebheh :)14:32
ryansbsince it's (supposed to be) a map, people could do myparam["foo"]14:33
ryansbwhich will fail if the param is made from a JSON string14:33
ryansbbecause a list index can't be a string14:33
zanebI'm wondering if we ever actually take advantage of the fact that we can theoretically treat a Parameter object as a Mapping or Sequence or whatever14:34
zanebor if we always just call value() and leave it at that14:34
zanebin which case we should probably just do away with all the __getitem__ &c. stuff14:35
openstackgerritThomas Herve proposed a change to openstack/heat: Sync olso incubator  https://review.openstack.org/10925714:35
ryansbzaneb: Maybe, but I feel like that could bite pretty hard later14:35
ryansbesp. if $non_heat_dev tries to do something complex in a template and then someone passes a list14:36
ryansb*a json list14:36
ryansbwhich could break spectacularly14:36
ryansbmake sense, or am I being paranoid?14:38
zanebryansb: it depends how it's being used in the code14:39
zanebif we're never treating it as a dictionary, it doesn't matter whether it is one or not14:40
zanebthe best way to get and idea is to make it not one and see what breaks in the unit tests14:40
*** nkhare has joined #heat14:41
ryansbheh. Actually taking away the collection.Mapping inheritance doesn't break any unit tests. I'll track down where we use it and see if there's anything the tests may be missing.14:43
zanebI suspect that we're not using it and that it was just a giant boondoggle on my part14:45
therveIf you can remove some Mapping inheritances you're my hero14:45
*** andreaf has quit IRC14:47
openstackgerritSteven Hardy proposed a change to openstack/python-heatclient: Add rel field to links display  https://review.openstack.org/9932614:48
*** nati_ueno has joined #heat14:49
ryansbtherve: It's looking like I can, but may I ask why you want them removed?14:49
therveryansb, They give indirection from the consumer side of things14:50
therveWhy have __getitem__ as an API when you can get_object?14:50
*** cody-somerville has quit IRC14:51
*** kopparam has joined #heat14:51
*** che-arne|2 is now known as che-arne14:52
*** kopparam has quit IRC14:53
*** shakamunyi has quit IRC14:53
ryansblord. all of engine.parser.Stack is a mapping14:54
zanebI think at the time I wrote that stuff, I was imagining that one day when we parsed out functions, we would replace get_param with the actual Parameter object, and therefore it would need to act like the type of the parameter14:55
zanebbut in the end I didn't do that14:55
zaneband, in fact, strong typing of intrinsic functions doesn't work :(14:56
zanebnonetheless, there are legitimate uses14:56
zanebe.g. the Parameters (plural) collection is a Mapping, and that is a Good Thing14:57
*** zslot has joined #heat14:59
*** ramishra has joined #heat14:59
*** kebray has joined #heat14:59
thervePossibly. I think a lot could be done with functions instead of having an object15:02
ryansbyeah, going to try making JSONParam not a mapping and see how that goes, since it could be a list.15:02
*** yanyanhu has joined #heat15:02
*** chandankumar has joined #heat15:02
*** ramishra has quit IRC15:03
*** david-ly_ has joined #heat15:04
ryansbzaneb: how likely is it that "the tests aren't failing" actually translates to "making this not a mapping won't wreck things"?15:06
*** david-lyle has quit IRC15:06
zanebI think pretty likely in this case15:07
*** lazy_prince is now known as killer_prince15:07
jpeelershardy: i thought this status code bug would be simple, but since abandon() returns the stack template i can't just raise the appropriate exception. so that's what is taking so long15:09
ryansbAlright. I'll keep looking for uses, thanks for the tip15:09
*** sballe has joined #heat15:11
shardyjpeeler: no worries, do you need any help?15:12
*** kopparam has joined #heat15:13
zanebryansb: Property objects are pretty much only ever accessed through the Properties object afaik. So if that is always calling value() then we're golden15:14
jpeelershardy: not sure yet, will let you know in a few15:18
ryansbzaneb: do you mean the Parameters object?15:19
zanebsigh, yes15:19
zanebit's too early in the morning15:20
* zaneb goes to get water15:20
zanebthat's better15:22
*** dsneddon has quit IRC15:22
ryansbs/water/coffee/15:22
ryansbfixed that for ya15:22
*** kopparam has quit IRC15:23
*** daneyon has joined #heat15:23
*** maxskew has joined #heat15:23
*** jistr has quit IRC15:24
blinky_ghostshardy: does it make sense to use SoftwareConfig feature with Autoscale? I want to use the deployment dependency but I do not have a predefined number of instances, as I use dynamic Autoscale. Thanks15:27
Qiminghi, guys, how am I supposed to refresh the contents in heat.egg-info/entry_points.txt ?15:27
*** wirehead_ has quit IRC15:28
*** wirehead_ has joined #heat15:29
stevebakerblinky_ghost: yes, as long as the deployment resource is inside the scaling unit with the server resource. You'll probably want the config resource outsided the scaling unit15:30
*** yanyanhu has quit IRC15:32
*** nkhare has quit IRC15:34
therveQiming, pip install -e .15:36
* Qiming write down this magic command and hide it in a secure place15:38
*** metral is now known as metral_zzz15:38
*** denis_makogon has quit IRC15:38
*** joeroyall has quit IRC15:40
*** piyush1 has joined #heat15:42
*** randallburt has joined #heat15:43
*** piyush has quit IRC15:44
*** blomquisg has quit IRC15:44
*** randallburt has quit IRC15:44
*** randallburt has joined #heat15:44
*** nanjj has quit IRC15:46
*** nanjj has joined #heat15:46
*** nati_ueno has quit IRC15:50
*** metral_zzz is now known as metral15:52
*** zslot has quit IRC15:55
*** david-ly_ is now known as david-lyle15:57
openstackgerritAlexey Ivanitskiy proposed a change to openstack/heat: Adding log messages to improve error handling  https://review.openstack.org/10933316:01
*** joeroyall has joined #heat16:01
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/10516616:03
*** kebray has quit IRC16:05
*** kebray has joined #heat16:06
*** andersonvom has quit IRC16:07
*** andersonvom has joined #heat16:07
blinky_ghoststevebaker: I'm testing this template https://github.com/openstack/heat-templates/blob/master/hot/software-config/example-templates/example-deploy-sequence.yaml but it get's stuck on deployment_a resource...Any hint?16:07
stevebakerblinky_ghost: you'll need to log into the server and check for errors when you run the following:16:08
stevebakeros-collect-config --one-time16:08
stevebaker# which calls16:08
stevebakeros-refresh-config16:08
stevebaker# which calls16:09
stevebakeros-apply-config16:09
lifelessblinky_ghost: be sure to stop the service first16:09
lifelessstevebaker: ^16:09
stevebakerblinky_ghost: are you running on a recently built image?16:09
blinky_ghoststevebaker: I'm running a centos 6.5 image, but I don't see that command16:09
stevebakerblinky_ghost: oh, did you build an image with diskimage-builder? You'll need to do that. https://github.com/openstack/heat-templates/tree/master/hot/software-config/elements16:10
*** andreaf has joined #heat16:11
*** andreaf has quit IRC16:11
blinky_ghoststevebaker: nopes :P checking16:11
*** andreaf has joined #heat16:11
stevebakerblinky_ghost: try building a fedora image first, the centos element hasn't landed yet16:12
*** andreaf_ has joined #heat16:13
*** jang has joined #heat16:14
blinky_ghoststevebaker: you mean that it won't work on Centos? How about if I try Centos 7?16:16
*** andreaf_ has quit IRC16:16
*** andreaf_ has joined #heat16:16
*** andreaf_ has quit IRC16:16
*** andreaf_ has joined #heat16:17
*** ccrouch has quit IRC16:17
*** andreaf has quit IRC16:17
*** gokrokve has joined #heat16:18
stevebakerblinky_ghost: there is currently no base element to build a custom image based on centos, but there is a centos7 element which looks like it should merge soon https://review.openstack.org/#/c/104449/16:18
stevebakerblinky_ghost: you should read this https://github.com/openstack/diskimage-builder16:19
*** viktors is now known as viktors|afk16:20
blinky_ghoststevebaker: Thanks I'll take a look. I guess that I have to wait, using Fedora is not an option, all my deployment/development is based on Centos instances.16:21
stevebakerwould centos7 be ok?16:22
stevebakerblinky_ghost: I'm curious now, I'm going to build a centos7 image and see if it works16:25
*** Tross has quit IRC16:26
blinky_ghoststevebaker: I guess so, I really don't consider Fedora for production :)16:27
*** ccrouch has joined #heat16:27
*** tspatzier has quit IRC16:29
*** pasquier-s has quit IRC16:29
*** bgorski has quit IRC16:33
*** neophy has joined #heat16:33
*** jcoufal has quit IRC16:34
jpeelershardy: ok do i need to create an HEATAPIException for the 202 status code?16:34
neophyHi all, I am having three node (controller+compute+storage) Openstack Havana. I getting : ERROR: Unknown resource Type : OS::Neutron::SecurityGroup error while creating stack. Here is my HOT : http://paste.openstack.org/show/87968/16:36
*** Qiming has quit IRC16:36
shardyjpeeler: Hmm, I wasn't thinking we'd need to, as it's not an exception, just a normal response16:38
shardyProbably, we need to remove the hard-coded 201 from StackSerializer and pass the specific return code back with the response body from each controller function16:39
shardyI guess that means that the codes for create/update are wrong too16:39
*** alexpilotti has quit IRC16:40
jpeeleris raising an exception for the http status code wrong then?16:40
*** aweiteka has quit IRC16:40
shardyzaneb: What is your view re changing API response codes?  We return 201 for everything which isn't an error atm, but all the asynchronous calls should arguably return 20216:40
zanebmy view is that's a 2.0 thing16:41
shardyjpeeler: well it will be if you want to return a reponse body, e.g as you mentioned before in abandon16:41
jpeelerand delete returns 204 right?16:41
*** nanjj has quit IRC16:42
shardyjpeeler: Yeah, it does do that via raising an exception16:43
*** jcoufal has joined #heat16:43
shardyzaneb: the issue is delete returns 204, and abandon returns 200 (although it's documented as 204, which is definitely wrong because it returns a response)16:43
*** chandankumar has quit IRC16:44
shardyMaybe we just fix the docs and bump the rest to the v2 API16:44
zanebI think it's probably safe to fix abandon16:44
shardybbiab meeting16:45
jpeelerzaneb: well delete is easy to fix since it doesn't return any data16:45
zanebjpeeler: so delete returns 204 but it should be 202, right?16:46
jpeelerright16:46
zanebI don't think we can fix that in the 1.x API16:46
jpeeleroh, well okay16:46
zaneband abandon returns 200, is documented as 204, but should be 202?16:48
jpeeleri'm not sure what it's documented as, but the rest is correct16:48
*** derekh_ has quit IRC16:49
*** jistr has joined #heat16:50
zanebI doubt many people are using abandon because it's so flaky... so I'm more OK with changing that, but I don't actually see a pressing need16:51
zanebdocs should be fixed, obviously16:51
*** bnemec has quit IRC16:52
*** aweiteka has joined #heat16:52
zanebactually the whole abandon thing is badly designed, because it serves up the critical data after it has started a destructive operation16:52
zanebthere's innumerable ways to lose it16:53
zanebwe should ditch that whole API in 2.016:53
*** nati_ueno has joined #heat16:54
jpeelerso i should just update the docs and then ?16:54
zanebprobably just the docs16:55
zanebshardy: thoughts? ^16:56
*** bnemec has joined #heat16:56
*** rwsu has quit IRC16:58
*** alexpilotti has joined #heat16:58
ryansbzaneb: the Property (heat.engine.property.Property) isn't ever used to refer to JSON params, is it?16:58
*** rwsu has joined #heat17:00
*** jdob has quit IRC17:01
*** bvivek has joined #heat17:02
*** jdob has joined #heat17:03
*** nati_uen_ has joined #heat17:05
*** nati_ueno has quit IRC17:05
*** derekh_ has joined #heat17:11
*** akuznetsov has quit IRC17:15
*** andreaf_ has quit IRC17:20
*** andreaf_ has joined #heat17:20
*** lsmola has joined #heat17:21
*** bnemec has quit IRC17:22
*** gokrokve has quit IRC17:22
openstackgerritRyan Brown proposed a change to openstack/heat: Allow JSON parameters in environment files  https://review.openstack.org/10935717:23
*** Tross has joined #heat17:25
openstackgerritRyan Brown proposed a change to openstack/heat: Allow JSON parameters in environment files  https://review.openstack.org/10935717:25
*** gokrokve has joined #heat17:27
*** zackf has joined #heat17:29
*** piyush1 has quit IRC17:33
openstackgerritRandall Burt proposed a change to openstack/heat: Client plugin exception handling methods  https://review.openstack.org/10042117:33
*** harlowja has joined #heat17:35
*** jistr has quit IRC17:42
*** tomek_adamczewsk has quit IRC17:44
*** jstrachan has quit IRC18:05
*** rushiagr has quit IRC18:05
*** piyush has joined #heat18:08
*** piyush1 has joined #heat18:10
shardyzaneb: actually we only proposed abandon/adopt as a preview feature for Icehouse, I'd be +2 on reverting the whole thing for Juno18:10
shardyparticularly because the original author hasn't demonstrated any commitment to maintaining it18:11
shardyjpeeler: if the easiest thing is just to fix the docs, I'm fine with that18:11
zanebshardy: can't disagree with that18:11
shardyI've added the status code thing to https://wiki.openstack.org/wiki/Heat/Blueprints/V2API18:11
zanebryansb: I don't think so. they're related-but-separate18:12
openstackgerritRyan Brown proposed a change to openstack/heat: Remove rst2script.sed and integration.sh  https://review.openstack.org/10839918:12
*** metral is now known as metral_zzz18:13
*** metral_zzz is now known as metral18:13
*** piyush has quit IRC18:13
ryansbzaneb: that's what I suspected but wasn't 100%18:13
jpeelershardy: yeah fixing the docs is the easiest thing to do, though i submitted it as a partial-bug fix. should it just be closed now that you've captured the status code in the wiki?18:15
shardyjpeeler: Yeah that's fine, I assumed it would be easy to fix the API, but if its not then feel free to won't-fix the bug and move on to something more interesting ;)18:15
shardyyou can add openstack-api-site to the bug to track the docs patch if you like18:16
jpeeleryou mean just as a comment?18:17
shardyjpeeler: no with "also affects project", I've just done it :)18:18
*** nati_uen_ has quit IRC18:18
shardyI can propose the docs fix later, unless you're already doing it18:18
jpeelerthis is all i did: https://review.openstack.org/#/c/109371/18:19
*** nati_ueno has joined #heat18:19
*** nati_ueno has quit IRC18:20
shardyjpeeler: Cool, I'd just change that to Closes-Bug and mark the heat line invalid or won't fix18:20
jpeeleralrighty, thanks18:21
*** neophy has quit IRC18:21
shardyjpeeler: thank you, sorry it turned into a bit of a waste of time18:21
*** bandarji has joined #heat18:28
*** rbuilta has quit IRC18:28
*** nati_ueno has joined #heat18:30
*** vijendar has quit IRC18:30
*** vijendar has joined #heat18:31
openstackgerritRandall Burt proposed a change to openstack/heat: Nova use ignore_not_found()  https://review.openstack.org/10042218:31
*** bvivek has quit IRC18:38
*** DaveJ__ has quit IRC18:38
*** bnemec has joined #heat18:40
*** radez is now known as radez_g0n318:42
*** kebray has quit IRC18:44
*** kebray has joined #heat18:46
*** blomquisg has joined #heat18:46
*** blinky_ghost has quit IRC18:48
jpeeleris it worth preserving old docs like this? https://wiki.openstack.org/wiki/Heat/GettingStartedUsingMasterOnUbuntu18:51
* jpeeler is thinking of just deleting it18:51
jpeeleractually it doesn't look deleteable18:52
*** tomek_adamczewsk has joined #heat18:54
*** tomek_adamczewsk has quit IRC18:56
*** tomek_adamczewsk has joined #heat18:56
SpamapSjpeeler: I think it is worth it to leave them there with a glaring disclaimer "THIS IS FOR HISTORICAL POSTERITY ONLY" at the top18:57
jpeeleryeah that's what i'm basically doing now18:57
*** tomek_adamczewsk has quit IRC18:59
*** tomek_adamczewsk has joined #heat18:59
*** bnemec has quit IRC19:02
*** radez_g0n3 is now known as radez19:04
*** kebray has quit IRC19:04
*** kebray has joined #heat19:05
*** tomek_adamczewsk has quit IRC19:05
*** tomek_adamczewsk has joined #heat19:06
openstackgerritRandall Burt proposed a change to openstack/heat: Nova use ignore_not_found()  https://review.openstack.org/10042219:06
*** daneyon has quit IRC19:07
*** vijendar has quit IRC19:08
*** vijendar has joined #heat19:08
*** tomek_adamczewsk has quit IRC19:08
*** tomek_adamczewsk has joined #heat19:08
*** bandarji has quit IRC19:11
*** andreaf_ has quit IRC19:14
*** hipokrit has quit IRC19:15
*** tspatzier has joined #heat19:15
*** tomek_adamczewsk has quit IRC19:15
*** tomek_adamczewsk has joined #heat19:16
*** lsmola has quit IRC19:20
openstackgerritRandall Burt proposed a change to openstack/heat: Nova use ignore_not_found()  https://review.openstack.org/10042219:21
*** daneyon has joined #heat19:23
openstackgerritRandall Burt proposed a change to openstack/heat: Neutron use ignore_not_found()  https://review.openstack.org/10042319:30
*** hipokrit has joined #heat19:31
*** tomek_adamczewsk has quit IRC19:33
*** sgordon has quit IRC19:33
*** tomek_adamczewsk has joined #heat19:33
*** gokrokve has quit IRC19:35
*** tonisbones has quit IRC19:35
*** tomek_adamczewsk has quit IRC19:36
*** tomek_adamczewsk has joined #heat19:36
openstackgerritRyan Brown proposed a change to openstack/heat: Remove rst2script.sed and integration.sh  https://review.openstack.org/10839919:37
*** tomek_adamczewsk has quit IRC19:38
*** tomek_adamczewsk has joined #heat19:39
*** ccrouch has quit IRC19:45
openstackgerritSteven Hardy proposed a change to openstack/heat: SoftwareDeployments move signal reason into resource plugin  https://review.openstack.org/10682519:47
openstackgerritSteven Hardy proposed a change to openstack/heat: Appropriate exception for signal handling failure  https://review.openstack.org/10909619:47
openstackgerritSteven Hardy proposed a change to openstack/heat: Convert CFN waitcondition API to resource_signal  https://review.openstack.org/10682419:47
openstackgerritSteven Hardy proposed a change to openstack/heat: Allow plugins to specify signal event reason  https://review.openstack.org/10682119:47
openstackgerritSteven Hardy proposed a change to openstack/heat: Update test_signal to use stub_keystoneclient  https://review.openstack.org/10682019:47
openstackgerritSteven Hardy proposed a change to openstack/heat: Return metadata from resource_signal RPC interface  https://review.openstack.org/10682319:47
openstackgerritSteven Hardy proposed a change to openstack/heat: WaitConditionHandle resources, create events with reason data  https://review.openstack.org/10682219:47
openstackgerritSteven Hardy proposed a change to openstack/heat: Add native WaitConditionHandle resource  https://review.openstack.org/10288819:47
openstackgerritSteven Hardy proposed a change to openstack/heat: Mark metadata_update RPC call deprecated  https://review.openstack.org/10698519:47
*** alexpilotti has quit IRC19:48
openstackgerritSteven Hardy proposed a change to openstack/heat: Add OS::Ironic::Port resource  https://review.openstack.org/10422419:49
openstackgerritSteven Hardy proposed a change to openstack/heat: Add OS::Ironic::Node resource  https://review.openstack.org/10422319:49
openstackgerritSteven Hardy proposed a change to openstack/heat: Add Ironic resource base class  https://review.openstack.org/10422219:49
openstackgerritSteven Hardy proposed a change to openstack/heat: Add OS::Ironic::Chassis resource  https://review.openstack.org/10313319:49
*** tomek_adamczewsk has quit IRC19:49
*** jang has quit IRC19:50
*** bnemec has joined #heat20:04
*** randallburt has quit IRC20:05
*** kebray has quit IRC20:06
*** gokrokve has joined #heat20:06
*** kebray has joined #heat20:07
*** chandankumar has joined #heat20:11
openstackgerritRyan Brown proposed a change to openstack/heat: Remove deprecated README instructions  https://review.openstack.org/10940420:11
*** gokrokve has quit IRC20:11
openstackgerritVijendar Komalla proposed a change to openstack/heat: Encrypt heat template parameters  https://review.openstack.org/9790020:12
openstackgerritRyan Brown proposed a change to openstack/heat: Remove deprecated tools/README instructions  https://review.openstack.org/10940420:12
jdandreaPossibly silly question: Can outputs be referenced within *other* outputs (in conjunction with str_replace)? Output dependencies, if you will.20:14
zanebjdandrea: no20:16
jdandreaAh well. Thx. :)20:16
shardyjdandrea: can't you just reference the same attributes in multiple outputs?20:17
*** chandankumar has quit IRC20:17
*** hipokrit has quit IRC20:17
jdandreaI can. I was trying to keep things somewhat DRY and not type 4-deep arrays multiple times.20:17
*** bnemec has quit IRC20:20
*** gokrokve has joined #heat20:26
*** hipokrit has joined #heat20:34
*** randallburt has joined #heat20:37
*** bandarji has joined #heat20:37
*** randallburt has quit IRC20:37
*** randallburt1 has joined #heat20:37
*** randallburt1 has quit IRC20:38
*** bnemec has joined #heat20:38
*** randallburt has joined #heat20:38
openstackgerritRandall Burt proposed a change to openstack/heat: Glance, swift use ignore_not_found()  https://review.openstack.org/10042420:38
*** piyush1 has quit IRC20:47
openstackgerritRandall Burt proposed a change to openstack/heat: Remove function get_software_config  https://review.openstack.org/10139620:52
*** uberj has joined #heat20:53
*** jmckind has quit IRC20:56
uberjwhich part of hot puts instance metadata into the metadata api?20:57
*** asalkeld has joined #heat20:58
stevebakeruberj: you'll need to explain which of the 3 metadatas you mean ;)20:59
uberjhaha20:59
*** andersonvom has quit IRC21:00
uberjI've defined a metadata section under an instance resource in a HOT template. The metadata I define isn't showing up with I query http://169.254.169.254/openstack/2013-10-17/meta_data.json21:00
openstackgerritRandall Burt proposed a change to openstack/heat: Cinder, trove, ceilo use ignore_not_found()  https://review.openstack.org/10139721:01
uberjI'm poking around for somewhere to begin debugging things21:01
uberjstevebaker: so to rephrase: which part of heat/hot puts data into the nova-metadata service?21:04
*** bnemec has quit IRC21:05
stevebakeruberj: do you mean the Metadata property from the old cloudformation templates?21:05
uberjstevebaker: something very similar to this https://github.com/openstack/heat-templates/blob/master/hot/autoscaling.yaml#L7121:06
*** cdent has quit IRC21:07
*** derekh_ has quit IRC21:08
stevebakeruberj: that *is* a hot template ;) the "metadata" property is supported in HOT, but not documented because we want to encourage people to use SoftwareConfig/SoftwareDeployment resources for most of the things that Metadata used to be used for21:09
uberjstevebaker: erm, okay, so what is the "right" way for an image to introspect information about itself? I haven't heard of SoftwareConfig/SoftwareDeployment before...21:11
* uberj reads https://wiki.openstack.org/wiki/Heat/Blueprints/hot-software-config-spec21:12
*** bandarji has quit IRC21:12
stevebakeruberj: You'll need to describe exactly what you want to achieve, setting aside the mechanism for now21:12
uberjwhen a machine comes up, I want to be able to introspect its "role"21:13
shardyuberj: If you just want key/value data you can pass that into nova via the metadata property of the OS::Nova::Server resource21:18
*** bandarji has joined #heat21:18
stevebakeruberj: You could set the role in the metadata property of OS::Nova::Server http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server ...21:18
shardyThat data is then availabile inside the instance:21:18
shardyhttp://docs.openstack.org/admin-guide-cloud/content/section_metadata-service.html21:18
stevebakershardy: jinx!!!!21:18
shardylol21:18
stevebakershardy: I know for a fact you did not lol21:18
uberjshardy: stevebaker: fixed my issue. Using http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server-hot as an example, I had the metadata: property under the <the_resource> scope instead of the <properties> scope21:22
uberjonce I moved it to the correct location it showed up in the nova-metatdata service21:22
stevebakeruberj: nice21:23
uberjthanks for documentation hints :)21:24
*** bnemec has joined #heat21:24
uberjthis SoftwareConfig/SoftwareDeployment stuff looks really cool though!21:24
asalkeldanyone read this: [openstack-dev] Thoughts on the patch test failure rate and moving forward21:27
asalkeldsuggesting we move to having functionaltests in tree (not mixed into the unittests tho')21:28
stevebakerasalkeld: yes, trying to reply but too busy. +1 but have questions about how we can forklift the tests into our tree without depending on tempest21:29
shardyasalkeld: +1 to moving the testcases in tree, still run via tempest21:29
openstackgerritSteve Baker proposed a change to openstack/heat: timeutils function retry_backoff_delay  https://review.openstack.org/10847721:30
openstackgerritSteve Baker proposed a change to openstack/heat: Exceptions ResourceInError, ResourceUnknownStatus  https://review.openstack.org/10239421:30
openstackgerritSteve Baker proposed a change to openstack/heat: Retry resource create until success  https://review.openstack.org/10239721:30
asalkeldstevebaker, we don't have to add a actual dep into test-requirements21:31
asalkeldI'll respond too21:31
*** che-arne|2 has joined #heat21:31
*** che-arne has quit IRC21:31
*** cody-somerville has joined #heat21:31
stevebakerasalkeld: that would be fine, but I wonder when you describe what Solum does the response will be DONTDOTHAT21:32
asalkeldreally21:33
stevebakeri hope i'm wrong21:33
asalkeldi like a lot what solum does re: functional tests21:33
asalkeldone issue is the instability of the tempest "library" code21:33
*** aweiteka has quit IRC21:33
asalkeldwe have had breakages cos they rework so client code21:34
stevebakerexactly21:34
openstackgerritJason Dunsmore proposed a change to openstack/heat: Add OS::Swift::Signal resource  https://review.openstack.org/9694721:34
openstackgerritJason Dunsmore proposed a change to openstack/heat: Add utility functions for Swift TempURLs  https://review.openstack.org/10430221:34
asalkeldthey will need to start maintaing an api21:34
*** mkerrin1 has quit IRC21:34
*** Meeral has joined #heat21:36
MeeralI have a question related to using OS::Neutron::LoadBalancer21:37
Meeralif the instances I'm creating are on an internal network21:37
Meeraland the load balancer is using that internal network pool, how do i access the load balancer from outside the network21:38
MeeralI've tried attaching a floating ip to the vip of the pool but i get a "no route to host" error21:38
*** Meeral has quit IRC21:39
*** jdob has quit IRC21:43
*** rwsu has quit IRC21:44
*** jcoufal has quit IRC21:44
*** mkerrin has joined #heat21:45
*** bnemec has quit IRC21:47
*** sjmc7 has quit IRC21:51
*** sjmc7 has joined #heat21:51
*** vpanizo has joined #heat21:52
*** mkerrin has quit IRC21:53
*** vijendar has quit IRC21:55
*** vijendar has joined #heat21:57
*** radez is now known as radez_g0n322:00
*** sjmc7 has quit IRC22:00
*** vijendar has quit IRC22:03
*** hipokrit has quit IRC22:03
openstackgerritSteve Martinelli proposed a change to openstack/python-heatclient: Add a tox job for generating docs  https://review.openstack.org/10943322:08
*** dims_ has joined #heat22:09
*** cody-somerville has quit IRC22:09
openstackgerritSteve Martinelli proposed a change to openstack/python-heatclient: Update theme for docs  https://review.openstack.org/10943422:10
*** dims has quit IRC22:12
*** dims_ has quit IRC22:16
*** achampion has quit IRC22:21
*** Tross has quit IRC22:27
*** m_22 has joined #heat22:32
*** noTHD has joined #heat22:33
*** sballe has quit IRC22:39
*** nati_ueno has quit IRC22:40
*** nati_ueno has joined #heat22:40
*** dims_ has joined #heat22:42
*** tomek_adamczewsk has joined #heat22:43
*** kebray has quit IRC22:47
*** dims_ has quit IRC22:47
openstackgerritRandall Burt proposed a change to openstack/heat: Move nova_utils functions to nova client plugin  https://review.openstack.org/10178222:49
*** m_22 has left #heat22:49
*** tomek_adamczewsk has quit IRC22:52
*** kebray has joined #heat22:52
*** vpanizo has quit IRC22:54
*** tomek_adamczewsk has joined #heat22:54
*** tomek_adamczewsk has quit IRC22:56
*** tomek_adamczewsk has joined #heat22:57
*** nati_ueno has quit IRC23:04
*** nati_ueno has joined #heat23:05
openstackgerritRandall Burt proposed a change to openstack/heat: Use setuptools to install contrib plugins  https://review.openstack.org/10344123:05
*** tomek_adamczewsk has quit IRC23:05
*** daneyon has quit IRC23:07
*** nati_ueno has quit IRC23:08
*** kebray has quit IRC23:09
*** zackf has quit IRC23:11
*** tspatzier has quit IRC23:13
openstackgerritRandall Burt proposed a change to openstack/heat: Port rackspace clients to client plugins  https://review.openstack.org/9868723:15
*** david-lyle has quit IRC23:19
*** joeroyall has quit IRC23:20
*** m_22 has joined #heat23:22
*** m_22 has left #heat23:22
*** bandarji has quit IRC23:26
*** vpanizo has joined #heat23:32
*** m_22 has joined #heat23:42
*** dims_ has joined #heat23:43
*** m_22 has left #heat23:43
*** jcoufal has joined #heat23:45
*** dims_ has quit IRC23:47
*** daneyon has joined #heat23:53
openstackgerritRandall Burt proposed a change to openstack/heat: Implement marconi client plugin  https://review.openstack.org/9868323:53

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