Monday, 2014-02-17

*** blomquisg has quit IRC00:07
*** gokrokve has joined #heat00:12
*** gokrokve has quit IRC00:17
*** blomquisg has joined #heat00:21
*** matsuhashi has joined #heat00:23
*** e0ne_ has quit IRC00:31
*** matsuhashi has quit IRC00:33
*** matsuhashi has joined #heat00:34
*** matsuhashi has quit IRC00:38
*** rpothier_ has quit IRC00:42
*** rpothier__ has joined #heat00:42
*** fandi has quit IRC00:59
*** asalkeld has joined #heat01:01
*** matsuhashi has joined #heat01:04
*** nosnos has joined #heat01:05
*** gokrokve has joined #heat01:13
*** gokrokve has quit IRC01:17
*** faramir has joined #heat01:23
*** faramir has quit IRC01:27
*** fandi has joined #heat01:27
*** rpothier__ has quit IRC01:34
*** gokrokve has joined #heat01:40
*** e0ne has joined #heat01:42
*** gokrokve has quit IRC01:45
*** e0ne has quit IRC01:47
*** blomquisg has quit IRC01:48
*** ramishra has joined #heat01:55
*** liang has joined #heat01:56
*** ramishra has joined #heat01:56
*** blomquisg has joined #heat02:02
*** agileclipse has joined #heat02:12
*** fandi has quit IRC02:15
*** matsuhashi has quit IRC02:18
*** erkules_ has joined #heat02:19
*** erkules has quit IRC02:21
*** sgordon has joined #heat02:24
*** sgordon has quit IRC02:24
*** sgordon has joined #heat02:24
*** matsuhashi has joined #heat02:26
*** gokrokve has joined #heat02:28
*** gokrokve_ has joined #heat02:30
*** gokrokve has quit IRC02:33
openstackgerritJun Jie Nan proposed a change to openstack/python-heatclient: Add support for software config resources  https://review.openstack.org/5888502:34
*** fandi has joined #heat02:35
*** gokrokve_ has quit IRC02:35
*** hndak has joined #heat02:49
*** hndak has quit IRC02:51
*** kfox1111 has joined #heat03:11
*** erkules_ is now known as erkules03:12
*** fandi has quit IRC03:13
*** kfox1111 has quit IRC03:27
*** gokrokve has joined #heat03:28
*** fandi has joined #heat03:34
*** matsuhashi has quit IRC03:48
*** nkhare has joined #heat04:01
*** matsuhashi has joined #heat04:32
*** Qiming has joined #heat04:39
*** gokrokve has quit IRC04:41
*** gokrokve has joined #heat04:41
openstackgerritA change was merged to openstack/heat: Rename Openstack to OpenStack  https://review.openstack.org/7317404:43
*** sgordon has quit IRC04:44
*** gokrokve_ has joined #heat04:44
*** edmund has quit IRC04:45
*** gokrokve has quit IRC04:46
*** ramishra has quit IRC04:53
*** rpothier has joined #heat04:55
*** agileclipse has quit IRC04:58
*** chandan_kumar has joined #heat05:02
*** ramishra has joined #heat05:04
*** david-lyle has joined #heat05:09
*** agileclipse has joined #heat05:15
*** gokrokve_ has quit IRC05:19
openstackgerritA change was merged to openstack/heat: Don't try to stop a stack on a dead engine  https://review.openstack.org/7273905:24
*** gokrokve has joined #heat05:27
*** killer_prince has quit IRC05:35
*** tspatzier has joined #heat05:39
*** killer_prince has joined #heat05:39
openstackgerritJun Jie Nan proposed a change to openstack/python-heatclient: Replace try...except with assertRaises  https://review.openstack.org/7391605:50
*** tspatzier has quit IRC05:53
openstackgerritA change was merged to openstack/heat: Updates template_validate call to validate parameter_groups.  https://review.openstack.org/6160106:02
*** ramishra has quit IRC06:06
openstackgerritJenkins proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/7256606:08
*** cmyster has joined #heat06:09
*** cmyster has joined #heat06:09
*** saju_m has joined #heat06:15
*** topol has quit IRC06:17
skraynevmorning ;)06:23
*** akuznetsov has quit IRC06:26
skraynevzaneb, are you around?06:27
*** akuznetsov has joined #heat06:29
*** zpatten has quit IRC06:35
cmystermorning06:39
*** nosnos has quit IRC06:42
*** tspatzier has joined #heat06:43
openstackgerritYongli He proposed a change to openstack/heat: Use six.moves cStringIO instead of cStringIO  https://review.openstack.org/7394006:51
*** nosnos has joined #heat06:52
*** cmyster has quit IRC06:55
openstackgerritLee Li proposed a change to openstack/heat: Remove dependent module py3kcompat  https://review.openstack.org/7376506:57
*** cmyster has joined #heat07:09
*** cmyster has joined #heat07:09
*** zpatten has joined #heat07:13
openstackgerritYongli He proposed a change to openstack/heat: Use six.moves cStringIO instead of cStringIO  https://review.openstack.org/7394007:14
*** asalkeld has quit IRC07:17
*** TonyBurn_ has joined #heat07:28
openstackgerritTon Ngo proposed a change to openstack/heat: Add Heat engine support for troubleshooting failed stack  https://review.openstack.org/7395207:29
*** ifarkas has joined #heat07:30
*** TonyBurn_ has quit IRC07:31
*** TonyBurn_ has joined #heat07:31
*** rmiki has joined #heat07:32
*** zpatten has quit IRC07:40
*** jprovazn has joined #heat07:47
*** akuznetsov has quit IRC07:48
*** akuznetsov has joined #heat07:51
*** bvandenh has joined #heat08:03
*** asalkeld has joined #heat08:07
therveGood morning!08:17
skraynevhi therve ;)08:17
openstackgerritTon Ngo proposed a change to openstack/heat: Add API suppport for troubleshooting failed stack  https://review.openstack.org/7136708:18
*** zpatten has joined #heat08:19
*** pasquier-s has joined #heat08:22
openstackgerritThomas Herve proposed a change to openstack/heat: Implement glance image constraint  https://review.openstack.org/7291908:23
*** pshchelo has joined #heat08:26
*** pshchelo has quit IRC08:27
*** pshchelo has joined #heat08:27
pshchelomorning :)08:27
cmystermorning08:30
*** saju_m has quit IRC08:31
openstackgerritTomas Sedovic proposed a change to openstack/heat: Don't disable SELinux in cloud-init's boothook.sh  https://review.openstack.org/7366908:41
openstackgerritThomas Herve proposed a change to openstack/heat: Implement glance image constraint  https://review.openstack.org/7291908:42
openstackgerritThomas Herve proposed a change to openstack/heat: Enable usage of custom constraint in parameters  https://review.openstack.org/7129508:42
*** gokrokve has quit IRC08:45
*** gokrokve has joined #heat08:46
*** gokrokve has quit IRC08:50
openstackgerritThomas Herve proposed a change to openstack/heat: Remove empty unit test directory  https://review.openstack.org/7397208:51
*** ppetit has joined #heat08:52
*** stannie has joined #heat08:55
*** saju_m has joined #heat08:58
*** jistr has joined #heat09:01
*** e0ne has joined #heat09:02
shardymorning all09:04
skraynevshardy: hello09:06
*** chandan_kumar has quit IRC09:10
skraynevshardy: what do you think about https://review.openstack.org/#/c/72454/ ? I was confused that static method was used instead valid. Unfortunately I have not caught  stevebaker for asking his about it.09:10
*** e0ne has quit IRC09:11
shardyskraynev: I'm not sure I understand your concern, can you explain, or add comments to the review please?09:13
*** e0ne has joined #heat09:13
*** derekh has joined #heat09:14
openstackgerritThomas Herve proposed a change to openstack/heat: Add neutron network constraint  https://review.openstack.org/7397609:14
*** alexheneveld has joined #heat09:15
openstackgerritSteven Hardy proposed a change to openstack/heat: Revert config mocking to cfg.CONF.set_override  https://review.openstack.org/7397709:15
openstackgerritSteven Hardy proposed a change to openstack/heat: Modify stack_user_domain config option to take domain ID  https://review.openstack.org/7397809:15
openstackgerritSteven Hardy proposed a change to openstack/heat: migrate User/AccessKey resources to StackUser base class  https://review.openstack.org/7276309:15
openstackgerritSteven Hardy proposed a change to openstack/heat: StackUser add _delete_keypair function  https://review.openstack.org/7276209:15
openstackgerritSteven Hardy proposed a change to openstack/heat: engine: allow stack_user_project users to retrieve stack  https://review.openstack.org/7130009:15
openstackgerritSteven Hardy proposed a change to openstack/heat: Add test for StackUser._create_keypair  https://review.openstack.org/7276109:15
openstackgerritSteven Hardy proposed a change to openstack/heat: StackUser add suspend/resume support  https://review.openstack.org/7193009:15
openstackgerritSteven Hardy proposed a change to openstack/heat: migrate StackUser base class to stack domain users  https://review.openstack.org/7121009:15
openstackgerritSteven Hardy proposed a change to openstack/heat: heat_keystoneclient add delete_stack_domain_user_keypair  https://review.openstack.org/7192909:15
*** gokrokve has joined #heat09:16
*** gokrokve_ has joined #heat09:18
*** chandan_kumar has joined #heat09:20
*** gokrokve has quit IRC09:21
*** gokrokve_ has quit IRC09:23
*** tomek_adamczewsk has joined #heat09:24
therveshardy, FWIW https://github.com/therve/heat/tree/as-spike09:29
*** zenoway has joined #heat09:33
skraynevshardy: done09:35
shardytherve: Are you planning to post that in time for FPF?09:47
shardytherve: Ideally, I think we need to remove the dependency on ec2tokens signed requests for the native resources09:49
shardyuse your native signal API, and make python-heatclient support sending signals given a username/password from the SignalResponder via instance metadata09:49
therveshardy, I do. And yes, I guess that means changing SignalResponder?09:49
shardytherve: The changes to SignalResponder are there, from the instance-users work09:50
shardythe thing subclassing just needs to set a random password09:50
therveHum..09:51
therveshardy, "There" you mean in master?09:51
shardytherve: Sorry, no in the review queue:09:51
shardyhttps://review.openstack.org/#/c/71210/8/heat/engine/stack_user.py09:51
shardytherve: I need to sync up with stevebaker, as I believe he was looking at using that for the software-config work09:53
*** Qiming has quit IRC09:53
shardybut the last time we spoke I believe the agreed approach was for signalling to happen via python-heatclient, using username/password to request a token from keystone09:53
shardythe only disadvantage is instances need to be able to see keystone09:54
*** matsuhashi has quit IRC09:54
shardybut overall it seems like a reasonable approach which removes the ec2 requirement09:54
shardyand avoid inventing our own auth scheme09:54
shardy*avoids*09:54
* therve nods09:55
therveI can work on the client change then09:55
*** samkottler has quit IRC09:55
*** rmiki has quit IRC09:56
therveshardy, You need something to get a URL?09:57
*** lazy_prince has joined #heat09:57
therveAlthough I guess it's simply the ARN of the resource09:57
*** killer_prince has quit IRC09:58
*** lazy_prince is now known as killer_prince09:58
shardytherve: Yup probably, we just need to provide a resource identifier for the client09:58
shardyand the client needs to be able to parse a username/password optionally from the nova openstack meta_data.json09:58
shardythen we can pass in the credentials when creating the instance09:58
shardyI'm going to look at adding a property to OS::Nova::Server which allows you do do that09:59
shardyI guess we may also want a property which allows you to pass in a username/password shared between a group of instances, e.g from the ScalingPolicy09:59
shardyand the scaling policy needs to expose the credentials as attributes09:59
shardysigh.  This dev cycle seems to have gone very quickly :(10:00
therveYou don't say10:02
*** matsuhashi has joined #heat10:02
*** aignatov is now known as aignatov_10:02
*** liang has quit IRC10:03
*** samkottler has joined #heat10:03
*** agileclipse has quit IRC10:05
*** fandi has quit IRC10:05
shardytherve: http://paste.openstack.org/show/66414/10:07
shardyJust to clarify - that's what I was thinking, and we could do something similar for native wait condition signalling10:08
therveYeah10:08
shardyjust use your native signal API and some common client code for both10:08
therveSome people are going to complain about metadata security10:08
shardywell how is userdata any more secure?10:08
*** akuznetsov has quit IRC10:08
*** akuznetsov has joined #heat10:09
therveOh it's not10:10
therveWait you used metadata10:10
therveI don't remember what it does :)10:10
shardyhttp://docs.openstack.org/grizzly/openstack-compute/admin/content//metadata-service.html10:11
therveOh right10:13
shardyI was planning to work on a native waitcondition patch today, so so if you can do the client part we might be able to get something working :)10:14
*** matsuhashi has quit IRC10:17
*** matsuhashi has joined #heat10:17
*** gokrokve has joined #heat10:18
*** matsuhashi has quit IRC10:22
*** gokrokve has quit IRC10:23
*** mkollaro has joined #heat10:28
*** e0ne_ has joined #heat10:29
openstackgerritA change was merged to openstack/heat: Use integer when appropriate in autoscaling schema  https://review.openstack.org/7294410:29
openstackgerritThomas Herve proposed a change to openstack/python-heatclient: Support the native signal API  https://review.openstack.org/7399610:31
*** e0ne has quit IRC10:33
*** stannie has left #heat10:35
*** aignatov_ is now known as aignatov10:37
*** ramishra has joined #heat10:38
*** denis_makogon has joined #heat10:43
*** jamieh has joined #heat10:44
*** matsuhashi has joined #heat10:47
*** ramishra has quit IRC11:08
*** ramishra has joined #heat11:09
*** gokrokve has joined #heat11:17
shardyskraynev: 72454 update, you are right IMO11:22
*** gokrokve has quit IRC11:22
skraynevshardy: thanks ;)11:23
openstackgerritA change was merged to openstack/heat: Enable usage of custom constraint in parameters  https://review.openstack.org/7129511:29
*** nkhare has quit IRC11:32
openstackgerritA change was merged to openstack/heat: Revert config mocking to cfg.CONF.set_override  https://review.openstack.org/7397711:33
*** e0ne has joined #heat11:37
*** matsuhashi has quit IRC11:37
*** aignatov is now known as aignatov_11:40
*** e0ne_ has quit IRC11:41
*** blomquisg has quit IRC11:43
*** aignatov_ is now known as aignatov11:50
*** aignatov is now known as aignatov_11:51
*** zenoway has quit IRC11:53
*** aignatov_ is now known as aignatov11:57
*** blomquisg has joined #heat11:57
*** killer_prince has quit IRC12:01
*** bvandenh has quit IRC12:01
*** zhiyan_ is now known as zhiyan12:04
*** cmyster has quit IRC12:07
*** alexpilotti has quit IRC12:13
*** rpothier has quit IRC12:13
*** cmyster has joined #heat12:14
*** cmyster has joined #heat12:14
*** topol has joined #heat12:16
*** gokrokve has joined #heat12:17
*** e0ne has quit IRC12:18
*** e0ne_ has joined #heat12:18
openstackgerritA change was merged to openstack/heat: Use six.moves cStringIO instead of cStringIO  https://review.openstack.org/7394012:20
*** gokrokve has quit IRC12:22
ramishrashardy: Hi Steve12:23
*** vvechkanov1 has joined #heat12:25
openstackgerritThomas Herve proposed a change to openstack/python-heatclient: Support the native signal API  https://review.openstack.org/7399612:26
*** e0ne_ has quit IRC12:26
*** e0ne has joined #heat12:26
*** tspatzier has quit IRC12:26
*** e0ne_ has joined #heat12:28
*** e0ne has quit IRC12:28
*** blomquisg has quit IRC12:31
shardyramishra: Hi!12:41
*** e0ne_ has quit IRC12:41
*** e0ne has joined #heat12:42
ramishrashardy: regarding the code review...I have put some comments .let me know if they make sense.. else, I have the changed patch ready and will upload it...12:42
*** blomquisg has joined #heat12:46
*** mkollaro has quit IRC12:52
*** mkollaro1 has joined #heat12:52
*** zhiyan is now known as zhiyan_12:54
*** pafuent has joined #heat12:57
*** nosnos has quit IRC13:08
*** zhiyan_ is now known as zhiyan13:15
*** mkollaro has joined #heat13:17
*** gokrokve has joined #heat13:17
*** gokrokve_ has joined #heat13:19
*** bvandenh has joined #heat13:19
*** mkollaro1 has quit IRC13:21
*** gokrokve has quit IRC13:22
*** alexpilotti has joined #heat13:22
*** gokrokve_ has quit IRC13:24
*** tspatzier has joined #heat13:24
therveIt's gate-sitting day. Again :/13:38
*** cmyster has quit IRC13:39
*** jdob has joined #heat13:41
*** aignatov is now known as aignatov_13:43
openstackgerritRabi Mishra proposed a change to openstack/heat: Add ability to create provider networks (vlan,flat).  https://review.openstack.org/7245413:47
*** funzo has joined #heat13:52
*** aweiteka has joined #heat13:57
*** funzo has quit IRC13:58
*** agileclipse has joined #heat13:58
*** agileclipse has quit IRC13:59
*** ramishra_ has joined #heat14:01
*** sgordon has joined #heat14:01
*** sgordon has quit IRC14:01
*** sgordon has joined #heat14:01
*** topol has quit IRC14:01
*** ramishra has quit IRC14:02
radixdid something change about {get_attr} recently?14:03
*** aignatov_ is now known as aignatov14:03
*** mkollaro has quit IRC14:05
*** ramishra_ has quit IRC14:06
therveradix, Relatively14:06
shardyradix: Yes, most significantly https://review.openstack.org/#/c/67562/14:06
therveI think Zane is trying to revert it14:06
radixhm ok, yeah14:06
radixI guess that's not related to my problem (or rather, the problem of person I'm trying to help)14:07
shardytherve: I think there's a fix for bug #1280526 which doesn't need reverting?14:07
radixtime to actually try to reproduce it14:07
therveshardy, Well no revert, but change the behavior back mostly14:07
therveThat's what I understood at leasst14:08
*** TonyBurn_ has quit IRC14:09
shardytherve: Hmm, well that is not at all clear from the commit message, or lack of reverted docs.. :\14:09
therveI mentioned the latter in the review, yeah14:10
*** Linz has joined #heat14:12
*** lpmulligan has joined #heat14:12
*** funzo has joined #heat14:15
*** ramishra has joined #heat14:15
*** saju_m has quit IRC14:15
*** zhiyan is now known as zhiyan_14:16
*** gokrokve has joined #heat14:17
*** zhiyan_ is now known as zhiyan14:18
*** jdob has quit IRC14:19
*** Linz has quit IRC14:19
*** jdob has joined #heat14:19
*** Linz has joined #heat14:20
*** tomek_adamczewsk has quit IRC14:20
*** gokrokve has quit IRC14:22
*** tomek_adamczewsk has joined #heat14:22
*** jcru has joined #heat14:23
*** sabeen has joined #heat14:24
*** Linz has quit IRC14:24
*** jpeeler has joined #heat14:24
*** jpeeler has quit IRC14:24
*** jpeeler has joined #heat14:24
*** sabeen has left #heat14:24
*** radez_g0n3 is now known as radez14:30
SpamapSHrm14:31
SpamapSlooks like bug 1276517 was deeper than the commit that fixed it14:31
*** ramishra has quit IRC14:31
shardyTreating 500's as acceptable responses is just so wrong IMO :(14:32
shardypaper over the cracks and carry on \o/ :(14:32
zanebskraynev: o/14:34
skraynevzaneb: hi)14:34
SpamapSshardy: 500 is not a permanent error14:35
SpamapSshardy: and right now, without retry, 500 means tear down the entire cloud.14:35
skraynevzaneb: I have addressed my question to shardy yet )14:35
zanebok :)14:35
shardySpamapS: well IME more often than not it means nova broken or misconfigured14:35
skraynevzaneb: it was about using static methods on review https://review.openstack.org/#/c/72454/14:35
shardyso delaying reporting that for the duration of a stack timeout seems really counter productive14:36
zanebskraynev: fwiw I am now in the US, so shardy is probably closer to your time zone :)14:36
SpamapSright now it means that nova has a timeout... we have about a 1% error rate on nova-api... we're digging it out.. but.. just try again works fine.14:36
shardyand also, if we don't fail on 500's (which is *always* the wrong response), how will the bugs get fixed?14:36
skraynevzaneb: Yeap) I had such guess)14:36
SpamapSshardy: I'd say error rates should be measured in logs, not failed stacks. :-P14:36
*** jdob_ has joined #heat14:37
*** jdob has quit IRC14:37
skraynevzaneb: I was wondering why do you work all night in Europe )14:37
*** TonyBurn_ has joined #heat14:37
*** blamar has joined #heat14:38
SpamapSshardy: oh actually.. interesting enough, since last night I turned on debugging .. I think I may have found the bug in nova baremetal that is causing the error rate14:38
SpamapS2014-02-17 11:52:43,410.410 23065 TRACE nova.api.openstack   File "/opt/stack/venvs/nova/local/lib/python2.7/site-packag14:38
SpamapSes/nova/virt/baremetal/db/sqlalchemy/api.py", line 131, in bm_node_get14:38
SpamapS2014-02-17 11:52:43,410.410 23065 TRACE nova.api.openstack     bm_node_id = int(bm_node_id)14:38
SpamapS2014-02-17 11:52:43,410.410 23065 TRACE nova.api.openstack ValueError: invalid literal for int() with base 10: 'ed0363be14:38
*** jdob_ is now known as jdob14:38
SpamapS-e673-4baf-821c-d2c98699b200'14:38
zanebskraynev: lol. I moved from Munich in December14:38
skraynevzaneb: Anyway your opinion about it question is welcome for me14:38
skraynevzaneb: I don't remember when exactly this idea visited my head14:39
*** blamar has quit IRC14:40
SpamapSshardy: so.. still.. 500 is "the servers problem" not "the heat request's problem" .. so I respectfully disagree that it is wrong for Heat to continue retrying when it gets 500's14:40
*** blamar has joined #heat14:40
shardySpamapS: 503 means we should retry, 500 means the server is broken, IMO14:40
SpamapSthe box could be low on RAM too.. or out of disk space.. or partitioned from rabbitmq..14:41
shardySpamapS: so we add to the problem by polling for all stack, by default for an *hour*?14:41
SpamapSshardy: I think that 503 is a nuance that most blanket error handlers aren't quite ready to fully support.14:42
SpamapSshardy: Yes... but its not our fault. :)14:42
SpamapSshardy: I'd be _way_ more inclined to say yeah let's be pedantic about server side errors if we could actually retry once the provider says "ok we fixed it"14:43
shardySpamapS: It's like fixing race conditions by putting sleeps in your code IMO, but.. <shrugs>14:43
shardySpamapS: That's exactly what the retry from failed states stuff is supposed to do isn't it?14:44
SpamapSbut, as zaneb has pointed out, that is a feature which requires a fair amount of re-plumbing for updates. :-/14:44
SpamapSyes retry from failed states is important. I'm kind of shocked nobody has freaked out about using Heat without it actually.14:44
zanebskraynev: NeutronResource.validate_properties is also a staticmethod, so it makes sense to me to override it with another staticmethod14:44
SpamapSshardy: it is non-trivial unfortunately. I was hoping it wouldn't be, but you have to start storing the updated snippets for each resource as the update progresses so that a retried update doesn't retry everything that already worked.14:45
shardySpamapS: Hmm, yeah that sounds messy :(14:46
SpamapSbecause right now.. I have a _perfectly good working openstack cloud_ ...14:46
SpamapSbut its heat stack is broken14:46
SpamapSso I cannot update it14:46
SpamapSHow that isn't a critical feature.. I'm not sure. :-/14:47
shardySpamapS: Yeah, well we first talked about this nearly a year ago IIRC14:47
skraynevzaneb: Yeap. It's really possible, but looks different from other resource implementation at all.14:47
shardyhttps://bugs.launchpad.net/heat/+bug/116005214:47
SpamapSshardy: indeed, and it hasn't gotten fixed because it is non-trivial.14:47
SpamapSI'm poking at abandon/fix/adopt right now as a stop-gap until that feature can land, because I suspect that people will freak out if we do major surgery on updates right before i314:48
zanebskraynev: no other resource has ever overridden that, so anything you do will look different to any other resource implementation14:49
shardyzaneb: But multiple existing neutron resources extend validate() for the same reason14:52
*** killer_prince has joined #heat14:52
*** vijendar has joined #heat14:52
*** tims has quit IRC14:53
zanebshardy: so if we're saying that we shouldn't override it at all, then I would probably agree. I haven't looked into it14:53
*** andersonvom has joined #heat14:53
shardyzaneb: I think either way is probably OK, but it's desirable to keep the resources fairly consistent14:54
zanebif we're arguing about whether it should be static, then that's just not a very interesting argument14:54
*** arbylee has joined #heat14:54
SpamapShm, abandon/adopt haven't landed in heatclient yet?14:54
therveNope14:57
shardyabandon has14:57
therveThe actions are broken server side anyway14:57
thervePlease review!14:57
*** achampion has quit IRC14:57
SpamapS<sigh>14:57
*** david-lyle has quit IRC14:58
skraynevshardy, zaneb: have we any guide or rules for writing new resource?14:58
SpamapSdo we have any actual users?14:58
SpamapSupdate users I should say14:58
SpamapSsorry14:58
SpamapSI suspect no.14:58
*** vvechkanov1 has quit IRC14:58
zanebSpamapS: I suspect you may be right14:58
zanebskraynev: there is a wiki page, and I think there was some added to the developer docs, or at least there was a review up for it14:59
SpamapSzaneb: ok, so perhaps I should attempt surgery..15:00
*** Michalik has quit IRC15:00
SpamapSzaneb: Other than storing the updated snippets so we can assemble a partially updated template for retry... what do you see as a blocker for update retries?15:01
*** skraynev is now known as skraynev_afk15:02
*** skraynev_afk is now known as skraynev_afk_goi15:03
*** skraynev_afk_goi is now known as skraynev_afk15:03
zanebSpamapS: that's the main one that I know of. because the stack is in an inconsistent state after a failed update, we can't safely perform more operations on it15:03
zaneb(including delete, btw, but we still allow that)15:03
zanebsince deleting can't make things worse15:04
zanebso if we can store a consistent template, we would be ok15:04
*** nkhare has joined #heat15:05
shardyWould converge be an alternative solution - where the only allowable update from a failed state is a converge where we inspect the underlying resource and align the resource with the template?15:05
zanebSpamapS: note though that rollback exists and should work15:05
zanebshardy: it's possible to end up with resources that aren't even in the template15:06
SpamapSzaneb: rolling back an updated database schema isn't really something we want to orchestrate15:06
openstackgerritRichard Lee proposed a change to openstack/heat: Add Docker resources to docs  https://review.openstack.org/6875315:06
openstackgerritRichard Lee proposed a change to openstack/heat: Refactor resource loading functions  https://review.openstack.org/7198915:06
openstackgerritRichard Lee proposed a change to openstack/heat: Restructure contrib/ directories  https://review.openstack.org/7341715:06
openstackgerritRichard Lee proposed a change to openstack/heat: Fix resource mapping for Docker  https://review.openstack.org/6874915:06
openstackgerritRichard Lee proposed a change to openstack/heat: Fix resource mapping for Rackspace  https://review.openstack.org/6937415:06
openstackgerritRichard Lee proposed a change to openstack/heat: Change Docker resource mapping name  https://review.openstack.org/6875015:06
openstackgerritRichard Lee proposed a change to openstack/heat: Generate docs for contrib plugins  https://review.openstack.org/6875115:06
openstackgerritZiad Sawalha proposed a change to openstack/heat: Update contrib docstrings to match guidelines  https://review.openstack.org/7307015:06
shardyzaneb: humm, yeah I see15:06
zanebSpamapS: why not? migrations are supposed to work in both directions :p15:07
SpamapSwith the graceful actions thing we'd have to tell the server "you're about to be deleted, but for a rollback, so please run the downgrade part of db_sync"15:07
*** sabeen has joined #heat15:07
SpamapSzaneb: except the previous image doesn't have the new migration on it15:07
*** chandan_kumar has quit IRC15:07
SpamapSso you're manually running a db_sync somewhere .. and hopefully that works15:07
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Add API support for stack preview  https://review.openstack.org/6840615:08
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Add StackResource specific preview behavior  https://review.openstack.org/6840715:08
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Add preview for LoadBalancer  https://review.openstack.org/6841215:08
zanebSpamapS: if a previous image exists and hasn't been deleted yet, it will just be swapped back in15:08
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Add engine preview stack with Template and Params  https://review.openstack.org/6557615:08
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Add preview for NestedStack  https://review.openstack.org/6840815:08
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Add preview for ResourceGroup  https://review.openstack.org/6840915:08
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Add preview for InstanceGroup  https://review.openstack.org/6841015:08
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Add preview for TemplateResource  https://review.openstack.org/6841115:08
*** rustlebee is now known as russellb15:08
SpamapSzaneb: yes, swapped back in, and then the code comes up, and "wtf is this string column that used to be an int?"15:08
*** rwsu has joined #heat15:09
zanebok, I thought you were talking about the DB instance.15:09
* zaneb is just confused15:09
SpamapSNo I'm saying the schema migrations are the devil.15:10
therveshardy, There is a problem with the new signal API15:10
SpamapSWe've been operating under an assumption that if we ever have to do that, we slay a goat first.15:10
therveshardy, The self._load_user_creds call in the engine seems to break it somehow15:10
openstackgerritZiad Sawalha proposed a change to openstack/heat: Update api docstrings to match guidelines  https://review.openstack.org/7351515:11
*** bada has quit IRC15:13
andersonvomwhois radix15:13
openstackgerritZiad Sawalha proposed a change to openstack/heat: Update common docstrings to match guidelines  https://review.openstack.org/7351915:13
shardytherve: doh!15:14
therveshardy, I guess you see why? :)15:15
radixandersonvom: hello :)15:15
*** bada has joined #heat15:15
andersonvomradix: whoops, sorry about that. missed a slash ;)15:15
*** daneyon has joined #heat15:17
shardytherve: https://review.openstack.org/#/c/71300/ will fix it for stack domain users15:17
shardy(I think?)15:17
*** bada_ has joined #heat15:18
shardytherve: oh, hmm, maybe I don't see why :)15:18
therveshardy, Cool, because I don't either15:18
*** gokrokve has joined #heat15:19
*** daneyon has quit IRC15:19
shardytherve: I'm about to start testing a native waitcondition resource, with your client patch, so I guess I'll find out soon enough15:19
*** daneyon has joined #heat15:20
*** bada has quit IRC15:20
therveshardy, I get non-obvious failure. When I try to signal, the server.get() call fails in neutron and nova returns a 50015:20
*** nkhare has quit IRC15:20
therve(using HARestarter)15:20
*** giulivo has joined #heat15:22
*** Michalik has joined #heat15:23
*** gokrokve has quit IRC15:23
*** achampion has joined #heat15:24
*** coolsvap has joined #heat15:26
*** ramishra has joined #heat15:32
*** jergerber has joined #heat15:32
*** beekneemech is now known as bnemec15:34
*** tims has joined #heat15:35
*** david-lyle has joined #heat15:35
*** ramishra has quit IRC15:37
*** e0ne has quit IRC15:38
zanebso if testcase finds a test file that it can't load, it now just skips over it silently and reports that everything passed?15:39
zanebtestr, that is15:39
thervezaneb, Because of import error?15:40
zanebno, just syntax error15:40
therveRight15:40
therveThat's probably true yes15:41
zanebyou have to watch the number of test cases actually run like a hawk, just to know if your "pass" means anything or not15:41
zanebat least pep8 will find it but man, that's horrible15:42
*** topol has joined #heat15:43
*** ramishra has joined #heat15:44
*** edmund has joined #heat15:45
openstackgerritTon Ngo proposed a change to openstack/python-heatclient: Add CLI suppport for troubleshooting failed stack  https://review.openstack.org/7143815:45
*** e0ne has joined #heat15:47
* IgorYozhikov is now away: went away...15:50
*** IgorYozhikov is now known as IYozhikov_away15:50
*** aignatov is now known as aignatov_15:54
*** ramishra has quit IRC15:55
*** jprovazn has quit IRC15:56
*** jergerber has quit IRC15:57
*** e0ne_ has joined #heat15:59
*** e0ne has quit IRC16:02
*** randallburt has joined #heat16:03
*** jergerber has joined #heat16:05
*** rcleere has joined #heat16:05
radixis there some failure condition that would lead to a stack's outputs just showing the unprocessed template chunk specifying the value of the output?16:07
radixe.g. the stack's output includes {"output_value": {"get_attr": ["my-resource", "my-attribute"]}, ...}16:08
therveradix, If your template is wrong?16:09
shardyradix: You forgot to use str_replace?16:10
andersonvomshardy: good morning/afternoon!16:14
radixhrmph16:14
shardyandersonvom: hi16:15
*** jamieh has quit IRC16:15
radixunfortunately this is happening in an internal rackspace QA template for testing rackspace resources, so it won't be reproducible outside of the rax cloud of course :P16:15
radixanyway I am pretty sure there is just something wrong with the template, I just have no idea what16:15
therveCan you share it?16:15
radixprobably, lemme double-check for s3kr1ts16:16
radixnever mind, randallburt just figured it out, the resource name was wrong :P16:16
therve:)16:17
radixthat's a bit strange, perhaps get_attr should fail if the first argument isn't actually a resource that can be found16:17
therveradix, https://review.openstack.org/#/c/70358/ fwiw16:17
*** jamieh has joined #heat16:17
therveMaybe it would help16:17
radixhmm16:18
randallburttherve:  seems like we're waiting too late to validate that. Once the stack is created, its too late IMO.16:18
*** pablosan has joined #heat16:19
andersonvomshardy: so, we're trying to get the keystone v2 shim to work. would you happen to have any suggestions on how to go about that? any caveats or anything?16:19
*** gokrokve has joined #heat16:19
shardyandersonvom: Well basically you can take a lot of the code I just ripped out in the keystone-v3-only BP ;)16:20
shardyand all the stack_domain* functions will need to be mapped to some other non-domain container (heat specific project?)16:20
shardyOr you just use the non-admin client for everything and live with bug #1089261 until you get v316:21
shardyi.e all the stack_domain functions just create users in the stack owning users tenant, as they do in Havana16:22
shardyas that needs admin, I don't really see how you can allow that though, which is the whole reason for all the instance-users stuff16:22
pshchelohi all, how can I use Neutron floating IP with AWS load balancer? or only EIP is working with it?16:22
*** bvandenh has quit IRC16:23
shardyandersonvom: actually forget the stack specific project comment, that won't work16:24
*** gokrokve has quit IRC16:24
*** chandan_kumar has joined #heat16:29
*** chandan_kumar has quit IRC16:29
*** chandan_kumar has joined #heat16:30
*** skraynev_afk is now known as skraynev16:31
andersonvomshardy: ok. I don't think the bug will affect us that much anyway16:31
*** bvandenh has joined #heat16:35
*** jistr has quit IRC16:35
andersonvomshardy: did anything change in terms of the things we set up in heat from keystone v2 to v3 that we need to watch out for? or just using the previous client and adding a way to switch from v3 to v2 should do it?16:35
shardyandersonvom: the only change really is that we create a project per stack (in the heat domain), and all users associated with stack resources are created in that stack-specific project16:36
shardyandersonvom: if you don't required that isolation, you can just use the v2 calls with the stack-owners's project for everything16:37
shardyandersonvom: as mentioned in the bug, I'd suggest making heat_keystoneclient.KeystoneClient pluggable, then you can just plug in an interface compatible replacement16:37
*** alexpilotti has quit IRC16:38
shardywe can't promise interface stability there, but I don't think it's likely to change much after the instance-users patches land (at least for Icehouse)16:38
*** alexpilotti has joined #heat16:38
jpeelershardy: do you have a patch that addresses the failure here for havana? http://lists.openstack.org/pipermail/openstack-stable-maint/2014-February/002162.html16:40
jpeeleri'm told that it's because of the new keystone client release16:41
shardyjpeeler: yes, therve fixed it in master on Friday16:41
jpeelerah i grepped for your name16:41
shardyjpeeler: therve beat me to it ;)16:41
therveI didn't fix any other gate failures happening right now though :/16:41
shardyjpeeler: https://review.openstack.org/#/c/73544/16:42
*** erkules_ has joined #heat16:43
jpeelerhas it been proposed for stable? (assuming that makes sense)16:43
*** erkules has quit IRC16:43
shardyjpeeler: I don't think it has yet, but yes it probably should be based on those test failures16:45
shardyIf you or therve can propose the backport, ping me and I'll review16:46
*** e0ne has joined #heat16:48
jpeelertherve: want to?16:48
jpeelerif not i'll do it16:48
thervejpeeler, Feel free. I'm not used to the backport procedure16:49
therveAlso I try to debug gate failures :/16:49
jpeeleralrighty16:49
*** erkules_ has quit IRC16:50
*** e0ne_ has quit IRC16:50
*** erkules_ has joined #heat16:51
*** blomquisg has quit IRC16:53
*** chandan_kumar has quit IRC16:55
*** Linz has joined #heat16:55
*** Linz has quit IRC16:55
*** gokrokve has joined #heat16:56
*** randallburt has quit IRC17:02
*** blomquisg has joined #heat17:07
*** jamieh has quit IRC17:10
*** randallburt has joined #heat17:13
*** TonyBurn_ has quit IRC17:14
*** e0ne has quit IRC17:16
*** erkules_ is now known as erkules17:18
*** akuznetsov has quit IRC17:26
radixI guess we don't have HOT equivalents for e.g. UpdatePolicy, eh?17:34
radix(no "update_policy")17:34
radixor Metadata -> metadata17:35
*** akuznetsov has joined #heat17:42
*** akuznetsov has quit IRC17:42
radixhm, are nested stacks hidden from stack-list now?17:43
*** randallburt has quit IRC17:46
*** akuznetsov has joined #heat17:47
*** zhiyan is now known as zhiyan_17:50
*** derekh has quit IRC17:54
openstackgerritTim Schnell proposed a change to openstack/heat: Adds Parameter Label to template validate call  https://review.openstack.org/6532517:56
*** akuznetsov has quit IRC17:57
*** ppetit has quit IRC17:58
openstackgerritA change was merged to openstack/heat: Re-enable lazy translation  https://review.openstack.org/6913317:58
*** ppetit has joined #heat17:59
*** randallburt has joined #heat17:59
openstackgerritA change was merged to openstack/heat: Handle API limit exception in OS::Trove::Instance  https://review.openstack.org/7108217:59
*** tomek_adamczewsk has quit IRC17:59
*** ppetit has quit IRC17:59
*** akuznetsov has joined #heat18:00
*** lindsayk has joined #heat18:04
radixrandallburt: do you have an example of a ResourceGroup that scales StackResources?18:05
randallburtradix:  nope.18:05
randallburtand ResourceGroup doesn't scale by itself; you need a stack update to change the number of resources.18:06
radixer, yeah, "scales" was the wrong verb there :)18:06
randallburtradix:  that being said, it should "just work" unless you hit nested stack limits18:06
openstackgerritA change was merged to openstack/heat: Translate constraint description in validation  https://review.openstack.org/7037218:07
jasond`has anybody noticed that there's a huge amount of output from the migration scripts before each failing unit test now?  http://dunsmor.com/pastebin/1392660094.txt18:08
randallburtjasond`:  does one of us still need to raise their hand for the Heat security team or did that get sorted?18:08
jasond`randallburt: one of us still needs to raise our hand18:10
randallburtjasond`:  ok. I don't mind unless you have a preference18:10
*** andrew_plunk has joined #heat18:11
jasond`randallburt: i'll do it.  unless you're really into the idea18:12
randallburtjasond`:  nah. you go for it and thanks!18:12
jasond`ok.  i'll let steve baker know.  thanks18:13
randallburtnp18:13
shardytherve: when you saw signal errors, did you have the latest policy.json?18:13
shardyI saw an error but it was due to resource:signal being missing from my outdated policy18:13
shardyotherwise heat resource-signal appears to work for me18:14
randallburtshardy (or anyone else who knows) what's the process for cutting a release of python-heatclient? I know its on its own cycle. There are some patches for ssl and other fixes that some of our users are asking about.18:14
shardyrandallburt: I haven't actually done it myself, stevebaker is the person to ask as AFAIK he's done most/all of the releases to date18:15
randallburtshardy:  yeah, thought so. I'll shoot him an email in case I miss him this afternoon. Thanks!18:15
*** pvaneck has joined #heat18:25
*** alexheneveld has quit IRC18:27
*** alexheneveld has joined #heat18:29
openstackgerritJason Dunsmore proposed a change to openstack/heat: Move refresh_server() to nova_utils  https://review.openstack.org/7200818:37
openstackgerritJason Dunsmore proposed a change to openstack/heat: Make server resources use nova_utils.refresh_server()  https://review.openstack.org/7200918:37
openstackgerritJason Dunsmore proposed a change to openstack/heat: Handle API limit exception in nova_utils.refresh_server  https://review.openstack.org/7166018:42
openstackgerritCyril Roelandt proposed a change to openstack/python-heatclient: Only call decode() on bytes  https://review.openstack.org/7412318:45
*** aignatov_ is now known as aignatov18:48
*** openstackgerrit has quit IRC18:53
*** openstackgerrit has joined #heat18:54
*** andrew_plunk has quit IRC18:55
*** andrew_plunk has joined #heat18:55
*** e0ne has joined #heat18:57
*** giulivo has quit IRC18:57
*** arbylee has quit IRC18:58
*** arbylee has joined #heat19:04
*** arbylee has quit IRC19:04
*** jprovazn has joined #heat19:04
*** arbylee has joined #heat19:05
*** aignatov is now known as aignatov_19:07
*** gokrokve has quit IRC19:07
*** gokrokve has joined #heat19:08
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Move X-Auth-Url logic to auth_url middleware  https://review.openstack.org/6880019:08
*** e0ne has quit IRC19:09
*** e0ne has joined #heat19:09
stevebakerrandallburt: randallburt releasing heatclient is essentially just doing a git tag and pushing that to gerrit19:11
randallburtstevebaker:  any criteria for doing so? gates and such? votes?19:11
*** gokrokve has quit IRC19:12
*** gokrokve has joined #heat19:13
stevebakerits gated, but what client versions are used for gating seems like a bit of a mess19:13
stevebakerrandallburt: I've been waiting for this to land then I was going to do a release. Maybe also some obvious bug fix changes https://review.openstack.org/#/c/58885/19:14
stevebakerbecause software config is really hard to try out until it does19:14
*** e0ne has quit IRC19:14
jasond`does anybody have time to review https://review.openstack.org/#/c/58043/ ?19:14
randallburtstevebaker:  cool. I'll review that one asap19:15
*** gokrokve has quit IRC19:17
*** alexheneveld has quit IRC19:18
stevebakerjasond`: do you have a way of testing all those cloud-init install methods?19:18
jasond`the configuration scripts?19:19
stevebakeryeah19:19
jasond`we test them in our CI infrastructure19:19
jasond`that way, they're always tested against the latest RS Cloud Servers images19:21
stevebakerjasond`: it would be awesome if you could hook your CI into gerrit commits. Its getting quite common for third-parties to do this. Red Hat has a bunch of these jobs in other projects19:21
jasond`stevebaker: yeah.  we might end up doing that.  i was just looking at https://review.openstack.org/#/c/55987/ this morning19:22
jasond`i'll talk to andrew.  he's been setting all of that up19:23
jasond`andrew_plunk, that is19:23
*** e0ne has joined #heat19:23
randallburtstevebaker:  https://review.openstack.org/#/c/58885/ lgtm. any reservations on approving? The history looks good and Jun's comment has been addressed.19:24
stevebakerjasond`: and its worth pointing out that we would have had that keystone v2 debate much earlier if your CI notified the breakage on that first commit19:24
*** lindsayk has quit IRC19:24
stevebakerrandallburt: I authored the original, so I can't +2. Feel free if you think its done19:25
randallburtstevebaker:  I do.19:25
*** lindsayk has joined #heat19:26
randallburtstevebaker:  approved. any thing else I should look at for the client prior to releasing?19:26
stevebakerrandallburt, jasond`, https://review.openstack.org/#/c/72181/ https://review.openstack.org/#/c/73567/ https://review.openstack.org/#/c/69802/ https://review.openstack.org/#/c/70380/19:28
andersonvomzaneb: you around?19:30
zanebandersonvom: yep19:30
andersonvomzaneb: I had to rebase this patch a couple of times after you and shardy approved it, do you have a few secs to take a look at it again? https://review.openstack.org/#/c/71989/19:31
andersonvomzaneb: no changes though, just non trivial rebases19:31
sdake146 test failures19:32
* sdake ughs19:32
zanebandersonvom: approved19:33
andersonvomzaneb: thanks! =)19:34
randallburtstevebaker:  any heartburn over https://review.openstack.org/#/c/70380?19:37
*** aignatov_ is now known as aignatov19:38
*** yogesh has joined #heat19:38
stevebakerrandallburt: reviewing now, it might need some minor tweaks19:38
*** gokrokve has joined #heat19:38
randallburtstevebaker:  k. lgtm, though. I can +2 and leave approve to you then.19:39
stevebakerrandallburt: can you hold off on that one?19:39
randallburtstevebaker:  sure. I didn't approve19:39
stevebakerI just wonder if it should be possible to specify a URL for the adopt file19:40
*** yogesh has quit IRC19:40
*** yogesh has joined #heat19:41
randallburtstevebaker:  could be helpful, though also could be a pretty easy follow-on.19:41
*** gokrokve_ has joined #heat19:42
stevebakerrandallburt: we can have frequent heatclient releases up to icehouse release19:42
*** aignatov is now known as aignatov_19:42
randallburtso far, the use cases have been abandon->save results->change endpoint->adopt19:42
stevebakerrandallburt: like we can do another release as soon as its possible to do a full abandon/adopt19:43
randallburtstevebaker:  sounds fine to me. The big thing our users are asking about is the ssl fix for Mac anyway, so that's ok by me ;)19:43
*** gokrokv__ has joined #heat19:43
stevebakeryeah, there are already some worthy fixes in there19:44
*** gokrokve has quit IRC19:44
randallburtstevebaker:  IMO, lets release with software config and do another later when abandon/adopt is sorted, then.19:44
stevebakerrandallburt: yep. and all those python3 and cleanup fixes can wait19:45
*** yogesh has quit IRC19:45
randallburtstevebaker:  k. thanks!19:45
*** gokrokve_ has quit IRC19:47
*** e0ne has quit IRC19:47
*** e0ne has joined #heat19:47
*** gokrokv__ has quit IRC19:48
*** samkottler has quit IRC19:48
*** samkottler has joined #heat19:48
*** jcru has quit IRC19:49
*** yogesh has joined #heat19:50
skraynevstevebaker: hey19:50
stevebakerskraynev: ho19:50
*** jcru has joined #heat19:50
skraynevstevebaker: according this review https://review.openstack.org/#/c/72454/19:51
skraynevyou said that it's ok. I only want to know is it good have a resource with validation_properties instead using validate like in other resources?19:53
stevebakerskraynev: Overriding static methods seems odd, but maybe thats just my OldJavaBrain19:55
stevebakerskraynev: I think I agree with shardy, and would prefer overriding validate19:55
skraynevstevebaker: Heh) ok. I have discussed it with him19:56
skraynevand now I am glad to here, that you  agree with that19:57
*** gokrokve has joined #heat19:58
skraynevand other question about https://review.openstack.org/#/c/67836/19:58
skraynevI agree with your last comment, but how about using it in AWS templates?19:59
skraynevAFAIK, only hot support get_attr20:00
stevebakerskraynev: non-hot templates can use Fn::Select20:01
*** lindsayk has quit IRC20:02
stevebakerskraynev: but since it is not an AWS resource there will be no reason not to use HOT20:02
*** lindsayk has joined #heat20:02
skraynevbut in case with first_address it will be combination of some functions20:02
stevebakerskraynev: yes, it sucks. Use HOT ;)20:02
skraynevstevebaker: lol !20:03
*** lindsayk has quit IRC20:03
skraynevstevebaker: I will recommend it all our guys using your quote :)20:03
*** lindsayk has joined #heat20:04
zanebstevebaker: which hotel are you going to book for the summit?20:06
skraynevstevebaker: ok. I will stay it abandon. Also what are planing do with first_address attribute of server resource?20:07
sdakezaneb mind helping me a bit with mox - http://paste.fedoraproject.org/77980/13926675 is the test script - http://paste.fedoraproject.org/77982/26675631 is the results20:07
sdakeAttributeError: 'module' object has no attribute 'call'^M20:07
stevebakerzaneb: maybe the DoubleTree, but I was wondering if it was out of favour now20:07
sdakezaneb I booked option B = free breakfast + free wifi + looks pretty good overall20:08
stevebakerskraynev: maybe deprecated, when that is possible20:08
zanebstevebaker: reading the reviews it sounds questionable. apparently the fire alarm goes off every morning at 1am for 30 minutes(!)20:08
skraynevstevebaker: Hm before icehouse release? or after?20:08
stevebakerzaneb: btw thanks for volunteering to be the sober driver for all the parties20:08
zanebsdake: do you have a link where it mentions free breakfast? I'm leaning towards that one20:08
zanebstevebaker: oh, you wanted a *sober* driver20:09
sdakezaneb ts24 says20:09
zanebawkward...20:09
sdake"free breakfast"20:09
sdaketaht is as much as I know20:09
sdakemarriot generally has a decent free breakfast20:09
zanebah, I never look at ts24 because it is crap20:09
sdakeya I don't like ts24 either20:10
sdakestevebaker I think we would be better off with walking +cabs :)20:10
randallburtAtlanta isn't terribly walk-able.20:10
zanebsdake: they usually have buses put on for all the parties20:11
randallburtand traffic is a wonder to behold.20:11
sdakeso zaneb, about that paste above, could you take al ook :)20:11
* sdake dislikes mox20:12
zanebsigh, reading the TS24 "Quickstart Guide" and it fails to answer my first question, WHERE IS THE WEBSITE?20:12
sdakeactually I think I saw that on the marriot site zaneb20:13
zaneboh, wait... (b) is not the one I am looking at20:13
zaneblooking at (a)20:14
sdakea was the westin, b was the fairfield marriot20:14
zaneb(b) is 50% further away than _all_ of the other hotels, and in a different direction20:14
zaneb(and sounds like it might get a bit stabby)20:15
sdakemen are generally safe in most parts of the US20:15
zaneb(d) is the Westin, but yes, (b) is the fairfield20:15
shardylol20:15
sdakeoh maybe the order changed :)20:15
zanebagree on the safety thing, but I may have an entourage to think about20:16
*** skraynev is now known as skraynev_afk20:19
larskszaneb: The Westin and the Fairfield are approx the same distance from the venue.20:19
sdake.4km takes 10 minutes to walk20:19
zanebas the crow flies, but I'd be more worried about the direction, tbh. it sucks when everybody at the conference heads off to their hotel and you head off in the opposite direction and miss out on all of those conversations20:21
sdakethe alternative is to book everyone at the westin and send 2 less people20:22
zanebok, I just booked at the Hampton. Discovered they have free breakfast too20:25
*** tspatzier has quit IRC20:27
*** daneyon has quit IRC20:27
*** e0ne has quit IRC20:28
*** e0ne has joined #heat20:29
*** akuznetsov has quit IRC20:29
*** lindsayk has quit IRC20:30
*** e0ne has quit IRC20:33
shardyAnyone have any ideas why a routes mapper would not pass the body to the controller method?20:40
shardycan't figure out where it's getting lost...20:40
*** bada_ has quit IRC20:41
zanebshardy: decorator?20:41
shardyzaneb: Yeah, that's what I thought but it doesn't look like the body kwarg is even getting passed into the decorator20:42
* shardy looks again20:42
zanebI got nothin20:42
*** ifarkas has quit IRC20:44
stevebakerzaneb, shardy, a quick review please? https://review.openstack.org/#/c/72181/20:44
*** lindsayk has joined #heat20:44
shardystevebaker: done20:45
stevebakerta20:45
shardystevebaker: Did I see you're planning to extend OS::Nova:Server with StackUser?20:47
stevebakershardy: yes, but currently user will only be created for software-config paths20:47
stevebakerits working locally20:47
shardystevebaker: Ok, cool, I'm working on a OS::Heat::WaitSignal resource, which counts signals (and stores data if I can get it working..) from the native signal API20:48
*** aignatov_ is now known as aignatov20:48
shardyIf we can get credentials into the instance, it could be useful with heatclient resource-signal20:48
stevebakershardy: I'm just deploying the keypair to the os-collect-config config currently20:49
openstackgerritA change was merged to openstack/python-heatclient: Add support for software config resources  https://review.openstack.org/5888520:52
stevebaker\o/20:54
stevebakerof course I have another commit not yet pushed which is needed before a release20:55
zanebsdake: you have this patch, right? https://github.com/openstack/heat/commit/26fe7a961f644e1c93a92c8a73b25d649137f7b921:00
sdakezaneb no but I am using older keystone client atm21:01
sdakeI ended up using somethign liek this:21:01
shardystevebaker: Ok, I guess the de-ec2-keypairification may have to wait until Juno, but I'm trying to move things in the direction where we can just use native auth for all the native resources21:01
sdake+        rpcclient = self.m.CreateMockAnything()21:02
sdake+        rpcclient.call(dummy_req.context, self.topic,21:02
sdakeinstead of the stub out21:02
sdakeseems to work21:02
sdakeatleast the test cases do :)21:02
stevebakershardy: I'm sure fixing that can be framed as a bug ;)21:02
shardy\o/ ;)21:03
*** nati_ueno has joined #heat21:03
*** asalkeld has quit IRC21:04
*** nati_ueno has quit IRC21:06
*** nati_ueno has joined #heat21:06
zanebsdake: self.m.StubOutWithMock(messaging, 'call') seems to be the problem. There is no oslo.messaging.call() function21:07
andrew_plunkhey SpamapS are you around?21:08
sdakezaneb yes I know its in rpc, I tried that as well with no luck21:08
sdakeoslo.messaging.rpc21:08
zanebsdake: it's actually in a class now, isn't it?21:09
zaneboslo.messaging.rpc.RPCClient21:09
*** pafuent has left #heat21:09
stevebakershardy, sdake, zaneb, could you review this? its a serious bug https://review.openstack.org/#/c/70289/21:09
sdakeugh21:09
zanebso you should create an RPCClient, stub out it's call() method, and use that for RPC21:10
sdakestevebaker enjoy21:12
sdakezaneb I already have an rpcclient available in EngineClient called _client21:12
sdakeRPCClient that is21:13
sdakehow do I stub out it's call method there?21:13
zanebsdake: then you want self.m.StubOutWithMock(_client, 'call')21:13
sdakezaneb cool I'll give that a go21:13
sdakethanks21:13
zanebnp21:13
sdakeand _client.call?21:13
stevebakersdake: do you mean to change the help text? The default value will avoid the issue for current catalog sizes21:14
openstackgerritAndrew Plunk proposed a change to openstack/heat: Oslo config option changed by test causing problem  https://review.openstack.org/7415721:14
sdakestevebaker ok, the help seems to imply it doesn't actually set a reasonable default21:14
zanebsdake: the help is copied from Glance21:15
stevebakersdake: to me it says that in the future you'll need an even bigger value since the service catalog size continues to grow21:15
sdakeok then I'll alter the -121:15
sdakealthough the help text needs love imo :) just because it was copied from glance  doesn't mean they were doing it right :)21:16
openstackgerritSteve Baker proposed a change to openstack/python-heatclient: REST method to fetch deployments metadata for a server  https://review.openstack.org/7415921:18
sdakezaneb how does that test_api-cfn_v1.py know to load EngineClient and construct it?21:21
openstackgerritJason Dunsmore proposed a change to openstack/heat: Remove spurious tracebacks from tests, part 2  https://review.openstack.org/7416121:21
sdakei am getting: ./heat/tests/test_api_cfn_v1.py:992:1: F821 undefined name '_client'^M21:21
sdake        self.m.StubOutWithMock(_client, 'call')^M21:21
zanebsdake: you tell me, you said you had a _client object ;)21:22
sdakeEngineClient creates it on init21:23
zanebdo you have a reference to the EngineClient in your unit test?21:23
sdakeno21:23
zanebthat's what you need to get then21:23
sdakehow do the tests operate as is without such reference?21:23
sdakeeg, how are they getting a reference to "call"21:24
openstackgerritA change was merged to openstack/heat-cfntools: Log curl stderr on non-zero exit status  https://review.openstack.org/6924521:25
stevebakerzaneb, sdake, could either of you approve? https://review.openstack.org/#/c/70289/21:26
sdakestevebaker I already +2, someone else needs to approve probably zaneb or shardy21:26
sdakenm i gort it21:27
sdakezaneb can you do something like this:         self.m.StubOutWithMock(rpc_client._client, 'call')21:27
zanebyes21:27
sdakethen on the "call" , I do rpc_client._client.call?21:28
zanebif rpc_client._client is the RPCClient object that is going to get used21:28
zanebyep21:28
sdakecool I'll try serach and replace for the 30th time today21:28
*** alexheneveld has joined #heat21:28
* zaneb wishes all his unit test woes could be fixed by search and replace21:28
*** daneyon has joined #heat21:28
jpeelerok has anybody run the unit tests in havana recently? i'm unsure how master works, but stable doesn't21:29
*** derekh has joined #heat21:31
*** yogesh has quit IRC21:35
*** alexheneveld has quit IRC21:36
*** yogesh has joined #heat21:36
openstackgerritA change was merged to openstack/python-heatclient: Add optional args arg back to do_list  https://review.openstack.org/7218121:37
*** e0ne has joined #heat21:39
*** yogesh has quit IRC21:40
*** dims has joined #heat21:41
*** coolsvap has quit IRC21:44
*** e0ne has quit IRC21:44
*** asalkeld has joined #heat21:47
*** tomek_adamczewsk has joined #heat21:47
*** alexheneveld has joined #heat21:48
*** nati_ueno has quit IRC21:49
stevebakerjpeeler: tests passed for me with tox. I've not tried it with packaged dependencies21:49
*** nati_ueno has joined #heat21:49
jpeelerstevebaker: this is the same thing i'm experiencing, https://bugs.launchpad.net/subunit/+bug/127853921:51
stevebakerjpeeler: testr list-tests fails for me too21:53
stevebakermy lazy fingers are happy "heat list" works again21:54
jpeelerwell i can't run the unit tests either21:54
*** jdob has quit IRC21:54
jpeelera backport has turned into an all day affair, which is just sad21:55
*** jprovazn has quit IRC21:55
stevebakerjpeeler: maybe lifeless can help with subunit issues21:55
lifelesshi21:56
lifelessstevebaker: did you see my thread with Mike from IBM about this on the list ?21:56
*** tomek_adamczewsk has quit IRC21:56
*** tomek_adamczewsk has joined #heat21:57
stevebakerjpeeler: http://lists.openstack.org/pipermail/openstack-dev/2014-February/027246.html21:57
randallburtstevebaker:  how happy will your fingers be when its removed? It is deprecated after all ;)21:59
stevebakerrandallburt: they would be happy strangling your neck D)22:00
randallburtlol22:00
randallburtremind me where you're staying again in ATL? Need to know what hotel *not* to pick :D22:01
stevebakeractually I've been playing with using ipython notebook to run heat commands, so I may never have to type it again22:01
randallburtstevebaker:  good plan22:01
stevebakeripython notebook is the shiz22:01
*** spzala has joined #heat22:02
*** nati_ueno has quit IRC22:04
shardyjpeeler: I don't have that issue, but I can see the backport I asked you do do isn't a straightforward backport, sorry about that22:05
shardyjpeeler: I'm taking a look at it now22:05
openstackgerritZane Bitter proposed a change to openstack/heat: Refactor re-resolving of templates  https://review.openstack.org/7381422:05
openstackgerritZane Bitter proposed a change to openstack/heat: Re-resolve functions during stack update  https://review.openstack.org/7381522:05
openstackgerritZane Bitter proposed a change to openstack/heat: Prevent user introspection of Python objects  https://review.openstack.org/7381222:05
openstackgerritZane Bitter proposed a change to openstack/heat: Add a base class for pluggable functions  https://review.openstack.org/7381322:05
openstackgerritZane Bitter proposed a change to openstack/heat: Replace function resolution with lazy evaluation  https://review.openstack.org/7382222:05
openstackgerritZane Bitter proposed a change to openstack/heat: unit tests: Fix types in Fn::ResourceFacade tests  https://review.openstack.org/7382022:05
openstackgerritZane Bitter proposed a change to openstack/heat: unit tests: Refactor to accomodate lazy evaluation  https://review.openstack.org/7382122:06
openstackgerritZane Bitter proposed a change to openstack/heat: unit tests: Always resolve static functions  https://review.openstack.org/7381822:06
openstackgerritZane Bitter proposed a change to openstack/heat: Fix test_association_eip unit test  https://review.openstack.org/7381922:06
openstackgerritZane Bitter proposed a change to openstack/heat: Calculate dependencies based on unresolved template  https://review.openstack.org/7381622:06
openstackgerritZane Bitter proposed a change to openstack/heat: Evaluate lazy functions in autoscaling launch config  https://review.openstack.org/7381722:06
jpeelershardy: thanks, i think i could have finished it if i could have debugged locally22:07
stevebakerjpeeler: does tox work for you? having a clean venv might help22:08
jpeelernothing works, and this was on a fresh install22:08
jpeelerwell post devstack...22:08
stevebakerjpeeler: using tox should isolate that22:09
*** aignatov is now known as aignatov_22:10
lifelessstevebaker: jpeeler: that bug is a dupe, and fixed.22:11
sdakezaneb this seems to not be working:     @mock.patch.object(rpc_client._client, 'call')22:12
sdakeany suggestions?22:12
zanebsdake: I've never used mock, so I don't know22:12
sdakehrm, some tests are written using mox, and others using mock it appears22:13
*** tomek_adamczewsk has quit IRC22:14
jpeelerusing tox i get 244 failures, so the tests run, but this can't be right22:15
shardysdake: Are you setting the return value of the patched object?22:15
shardysdake: test_api_openstack_v1.py has quite a few examples of mocking rpc responses22:16
sdakeshardy it can't find the object at all, I think because it is constructed at __init_- time22:16
sdakeshardy yes ,I am doing oslo.messaging22:16
sdakeall that shit needs to be rewritten22:16
sdakewhich I am doing atm22:16
shardysdake: Hmm, and yes the tests are a mess22:16
sdakeno what I mean is all the tests need to be rewritten to support oslo.messaging22:16
sdakeor reworked atleast22:17
sdakein EngineClient, i created an _client RPCCLient object22:17
sdakeand use that throughout heat now22:17
*** tomek_adamczewsk has joined #heat22:17
shardysdake: Oh, okay, well the tests are still a mess ;D22:17
sdakeand now I need a way to mock the .call operation in _client22:17
sdakegot Mock part to work, but the patch decorators appear to not work properly22:18
openstackgerritA change was merged to openstack/heat: Raise the default max header to accommodate large tokens  https://review.openstack.org/7028922:18
sdakeevery patch decorator I am using fails because it can't find the _client object (which is created on init EngineClient object22:18
zanebsdake: are you using mock or mox? I'm confused.22:19
sdakezaneb, I am using the existing tests22:19
sdakethe existing tests use BOTH mox and mock apparently22:19
zanebwhich use mox iirc22:19
zaneborly?22:19
*** topol has quit IRC22:20
sdakesrs, check out test_cloudwatch.py22:20
sdakeit inherits HeatTestCase (mox)22:20
sdakeand uses mock22:20
shardyAFAIK "the plan" was to move towards mock openstack wide, and we've seen a few patches converting tests, and new stuff using mock22:21
shardybut then I geuss folks have realized what an unimaginably huge amount of work it is and found other things to do ;)22:21
shardyas I've not seen (m)any porting to mock patches lately22:21
*** tomek_adamczewsk has quit IRC22:22
stevebakerfor a greenfields test I use mock, but use mox when extending/copypasting existing tests22:22
shardyjpeeler: https://review.openstack.org/#/c/74129/222:23
sdakeshardy so how do I beat mock into submission for this particular case?22:23
sdakeI've got like 40 test cases failing in the same way22:23
sdakeundo the patch decorators and muse Mock directory?22:23
sdakedirectly?22:23
shardysdake: I'm sorry but I don't really understand your issue clearly enough to comment22:25
zanebsdake: use "with mock.patch.object(rpc_client._client, 'call'):" instead of @mock.patch.object22:25
* shardy is getting tired also ;)22:25
zanebit can be a decorator _or_ a context manager22:25
sdakeinteresting22:26
zanebhttp://www.voidspace.org.uk/python/mock/patch.html#mock.patch22:26
zanebor, rather, http://www.voidspace.org.uk/python/mock/patch.html#patch-object22:27
sdakezaneb can that be done with a function?22:28
sdakeeg with @mock:22:28
sdakedef abc22:28
zanebno22:28
sdakethat is the situation I got :(22:28
jpeelershardy: thanks, i'm going to go ahead and put that patch in our package. the differences are more than i was expecting, so again thanks22:29
zanebright, but it's a 2-line fix to each function plus some indenting changes22:29
sdakezaneb you mean put at top of def and reindenet  the whole schebang22:29
shardyjpeeler: np, sorry it turned out to be a hassle22:29
zanebsdake: yeah, exactly22:30
zaneb    @mock.patch.object(messaging, 'call')22:30
zaneb    def test_list_rmt_aterr(self, mock_call):22:30
zanebbecomes22:30
sdakeya got it I'll give it a go22:31
zaneb    def test_list_rmt_aterr(self):22:32
zaneb    with mock.patch.object(self.engine._rpcclient, 'call') as mock_call:22:32
zaneband everything gets indented another level22:32
openstackgerritA change was merged to openstack/python-heatclient: Fixes environment file using correct YAML format  https://review.openstack.org/6980222:34
shardyha, found my routes issue - if the body doesn't match the content type it silently discards the data from the request routed to the controller, even though it still exists in the request object22:40
shardysigh22:40
*** vijendar has quit IRC22:40
*** yogesh has joined #heat22:46
*** derekh has quit IRC22:49
*** aweiteka has quit IRC22:50
*** yogesh has quit IRC22:51
stevebakerzaneb, shardy, sdake, any takers for reviewing this? https://review.openstack.org/#/c/72591/22:56
zanebnot today22:56
openstackgerritSteven Dake proposed a change to openstack/heat: Use olso.messaging  https://review.openstack.org/7279822:58
sdakei'm taking a break for awhile been rolling since 5am - bbiaf22:58
randallburtradix:  you about?23:02
radixrandallburt: yo :) just started a VC meeting23:03
randallburtradix:  k. quick question when you have a second.23:03
radixshoot23:04
randallburtradix:  for the rackspace autoscale, does the launch config need image and flavor ID's or can I use names like the other resources?23:08
radixrandallburt: umm, whatever nova accepts for those parameters23:11
*** lindsayk has quit IRC23:11
radixrandallburt: it literally just passes them through to nova's server create request23:11
radixI think they're IDs23:11
randallburtradix:  yeah, finally found the spot in the code. Looks like it just uses the ID's.23:11
*** lindsayk has joined #heat23:13
*** alexheneveld has quit IRC23:16
*** asalkeld has quit IRC23:20
openstackgerritRichard Lee proposed a change to openstack/heat: Make Keystone client pluggable  https://review.openstack.org/7419023:20
openstackgerritRichard Lee proposed a change to openstack/heat: Add Keystone V2 plugin  https://review.openstack.org/7419123:20
*** alexpilotti has quit IRC23:30
*** asalkeld has joined #heat23:31
* zaneb shakes fist at Python 2.623:35
*** rcleere has quit IRC23:36
*** jergerber has quit IRC23:37
openstackgerritZane Bitter proposed a change to openstack/heat: Replace function resolution with lazy evaluation  https://review.openstack.org/7382223:39
openstackgerritZane Bitter proposed a change to openstack/heat: unit tests: Refactor to accomodate lazy evaluation  https://review.openstack.org/7382123:39
*** sabeen has quit IRC23:39
*** pablosan has quit IRC23:39
*** sgordon has quit IRC23:39
*** tims has quit IRC23:42
*** pablosan has joined #heat23:43
*** daneyon has quit IRC23:48
*** jcru has quit IRC23:52
*** alexheneveld has joined #heat23:53
*** jcru has joined #heat23:53
*** jcru has quit IRC23:57
*** andrew_plunk has quit IRC23:58

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