Sunday, 2014-03-02

*** cody-somerville has joined #heat00:05
*** alexpilotti has quit IRC00:12
*** lnxnut has joined #heat00:35
*** lnxnut has quit IRC00:40
*** mkollaro has quit IRC00:50
*** rwsu has joined #heat01:20
*** lnxnut has joined #heat01:35
*** lnxnut has quit IRC01:41
*** yogesh has joined #heat01:55
*** yogesh has quit IRC02:02
*** nati_ueno has joined #heat02:16
openstackgerritJun Jie Nan proposed a change to openstack/python-heatclient: Encode binary files in base64 encoding  https://review.openstack.org/7644302:17
*** erkules has quit IRC02:20
*** alexheneveld has quit IRC02:27
*** erkules has joined #heat02:33
*** lnxnut has joined #heat02:35
*** nati_ueno has quit IRC02:36
*** nati_ueno has joined #heat02:37
*** lnxnut has quit IRC02:40
*** nati_ueno has quit IRC02:42
*** rwsu has quit IRC03:06
openstackgerritJun Jie Nan proposed a change to openstack/python-heatclient: Enable --help for each command  https://review.openstack.org/7738003:09
*** kfox1111 has quit IRC03:20
*** kfox1111 has joined #heat03:21
*** lnxnut has joined #heat03:35
*** lnxnut has quit IRC03:40
openstackgerritSteven Dake proposed a change to openstack/heat: Convert empty filter dictionary to None  https://review.openstack.org/7738203:56
openstackgerritSteven Dake proposed a change to openstack/heat: Use olso.messaging  https://review.openstack.org/7279803:56
*** lnxnut has joined #heat03:57
*** bvandenh has joined #heat04:22
*** bvandenh has quit IRC04:41
*** lazy_prince is now known as killer_prince04:45
*** mspreitz has joined #heat04:58
*** lnxnut has quit IRC04:59
mspreitzradix: are you there?04:59
*** david_lyle_ has quit IRC05:11
*** david_lyle_ has joined #heat05:12
*** david_lyle_ is now known as david-lyle05:13
*** kfox1111 has quit IRC05:17
*** e0ne has quit IRC05:47
openstackgerritJenkins proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/7256606:09
*** gokrokve has quit IRC06:21
*** gokrokve has joined #heat06:28
*** killer_prince is now known as lazy_prince06:41
*** cmyster has joined #heat06:41
*** cmyster has joined #heat06:41
cmystermorning06:44
*** gokrokve has quit IRC06:57
mspreitzgood evening07:07
*** akuznetsov has quit IRC07:12
*** akuznetsov has joined #heat07:14
*** lazy_prince is now known as killer_prince07:19
*** gokrokve has joined #heat07:28
*** gokrokve has quit IRC07:33
*** david-lyle has quit IRC07:36
*** bvandenh has joined #heat07:50
*** killer_prince is now known as lazy_prince07:53
*** mspreitz has left #heat07:56
openstackgerritSteven Dake proposed a change to openstack/heat: Always lowercase the action when setting state_reason  https://review.openstack.org/7740608:03
openstackgerritSteven Dake proposed a change to openstack/heat: Use olso.messaging  https://review.openstack.org/7279808:03
openstackgerritSteven Dake proposed a change to openstack/heat: Convert empty filter dictionary to None  https://review.openstack.org/7738208:03
*** yogesh has joined #heat08:12
*** gokrokve has joined #heat08:29
*** gokrokve has quit IRC08:34
*** e0ne has joined #heat08:42
*** e0ne has quit IRC08:47
*** e0ne has joined #heat08:47
openstackgerritLiang Chen proposed a change to openstack/heat: Tidy up urlfetch.py exception handling  https://review.openstack.org/7741308:47
openstackgerritLiang Chen proposed a change to openstack/heat: Replace str with six.text_type  https://review.openstack.org/7579508:47
openstackgerritLiang Chen proposed a change to openstack/heat: Enable lazy translation in unit tests  https://review.openstack.org/7579808:47
openstackgerritLiang Chen proposed a change to openstack/heat: sync oslo.db to bring in fixes to message handling  https://review.openstack.org/7579908:47
openstackgerritLiang Chen proposed a change to openstack/heat: Avoid referencing Message.__str__ in exceptions  https://review.openstack.org/7579608:47
openstackgerritLiang Chen proposed a change to openstack/heat: Replace str with six.text_type in tests  https://review.openstack.org/7579708:47
openstackgerritLiang Chen proposed a change to openstack/heat: Re-enable lazy translation  https://review.openstack.org/7580008:47
*** yogesh has quit IRC08:53
openstackgerritJun Jie Nan proposed a change to openstack/python-heatclient: Enable --help for each command  https://review.openstack.org/7738009:11
*** akuznetsov has quit IRC09:22
openstackgerritJun Jie Nan proposed a change to openstack/python-heatclient: Enable --help for each command  https://review.openstack.org/7738009:27
*** gokrokve has joined #heat09:30
*** ramishra has joined #heat09:31
*** gokrokve has quit IRC09:35
*** lazy_prince is now known as killer_prince09:36
*** tspatzier has joined #heat09:39
*** akuznetsov has joined #heat09:56
*** ramishra has quit IRC10:02
*** gokrokve has joined #heat10:29
*** gokrokve_ has joined #heat10:31
*** killer_prince is now known as lazy_prince10:33
*** gokrokve has quit IRC10:34
*** gokrokve_ has quit IRC10:35
*** e0ne has quit IRC10:35
*** e0ne has joined #heat10:36
*** e0ne has quit IRC10:37
*** e0ne has joined #heat10:40
*** mkollaro has joined #heat11:16
*** alexpilotti has joined #heat11:22
*** mkollaro has quit IRC11:26
*** gokrokve has joined #heat11:28
*** tspatzier__ has joined #heat11:31
*** gokrokve has quit IRC11:33
*** tspatzier has quit IRC11:34
*** e0ne has quit IRC11:36
*** che-arne has quit IRC11:38
*** gokrokve has joined #heat12:28
openstackgerritClint "SpamapS" Byrum proposed a change to openstack/heat: WIP: Record resource actions in a journal  https://review.openstack.org/7737412:29
*** gokrokve has quit IRC12:33
*** maxskew has quit IRC12:36
*** tspatzier___ has joined #heat12:51
*** jamieh has joined #heat12:52
*** e0ne has joined #heat12:52
*** tspatzier__ has quit IRC12:54
*** e0ne has quit IRC12:54
*** tspatzier___ has quit IRC12:57
*** akuznetsov has quit IRC13:11
*** akuznetsov has joined #heat13:12
*** e0ne has joined #heat13:17
*** mkollaro has joined #heat13:18
*** alexpilotti has quit IRC13:19
openstackgerritClint "SpamapS" Byrum proposed a change to openstack/heat: WIP: Record resource actions in a journal  https://review.openstack.org/7737413:27
*** bvandenh has quit IRC13:28
*** gokrokve has joined #heat13:28
*** e0ne has quit IRC13:30
*** achampion has quit IRC13:32
*** gokrokve has quit IRC13:33
*** david-lyle has joined #heat13:33
*** cmyster has quit IRC13:34
*** david-lyle has quit IRC13:38
*** sileht has quit IRC13:48
*** sileht has joined #heat13:50
*** achampion has joined #heat13:59
*** achampion has quit IRC14:06
*** gokrokve has joined #heat14:28
*** achampion has joined #heat14:31
*** gokrokve has quit IRC14:33
*** achampion has quit IRC14:36
*** achampion has joined #heat15:07
*** gokrokve has joined #heat15:28
*** gokrokve has quit IRC15:33
*** gokrokve has joined #heat16:28
*** gokrokve has quit IRC16:33
*** cody-somerville has quit IRC17:13
*** tspatzier___ has joined #heat17:13
*** gokrokve has joined #heat17:28
*** gokrokve has quit IRC17:33
*** e0ne has joined #heat17:49
*** gokrokve has joined #heat17:52
*** e0ne has quit IRC18:03
*** wchrisj has joined #heat18:14
*** kfox1111 has joined #heat18:24
*** amritanshu_ has joined #heat18:30
*** amritanshu_ has joined #heat18:31
*** kfox1111 has quit IRC18:32
*** amritanshu_ has joined #heat18:32
*** rpothier has quit IRC18:57
*** wchrisj has quit IRC18:58
*** tspatzier___ has quit IRC18:59
openstackgerritSteven Dake proposed a change to openstack/heat: Use olso.messaging  https://review.openstack.org/7279819:08
openstackgerritSteven Dake proposed a change to openstack/heat: Always lowercase the action when setting state_reason  https://review.openstack.org/7740619:08
openstackgerritSteven Dake proposed a change to openstack/heat: Convert empty filter dictionary to None  https://review.openstack.org/7738219:08
*** tspatzier___ has joined #heat19:12
*** jamieh has quit IRC19:15
stevebakermorning19:16
*** tspatzier___ has quit IRC19:19
*** david-lyle has joined #heat19:21
*** gokrokve has quit IRC19:22
*** e0ne has joined #heat19:25
*** tspatzier___ has joined #heat19:27
*** gokrokve has joined #heat19:38
*** tspatzier___ has quit IRC19:52
thervestevebaker, Hi! I'd like us to have a native scaling policy resource, do you think we can still put it up before the freeze?19:55
therveIt should be relatively straightforward19:55
stevebakertherve: I'd consider that. Would it be much more than renaming the type and props?19:56
thervestevebaker, No that's pretty much it19:57
stevebakertherve: that would be the last AWSism with no native equivalent would it not?19:58
thervestevebaker, Yes I hope so :)19:58
stevebaker\o/19:58
thervestevebaker, WaitCondition too maybe19:58
therveI think shardy had a plan, I don't know if we can do it too or not19:59
stevebakertherve: OS::Heat::SoftwareDeployment should replace WaitCondition in most cases19:59
thervestevebaker, Oh, can it? Okay I need to check it out19:59
*** gokrokve has quit IRC20:21
*** gokrokve_ has joined #heat20:23
*** e0ne has quit IRC20:28
*** gokrokve_ has quit IRC20:31
*** tomek_adamczewsk has quit IRC20:47
*** tomek_adamczewsk has joined #heat20:48
*** nszceta has joined #heat20:50
nszcetaI would like to build a server cluster that serves 100 PCs with Windows 7 x64 instances served over the network to rdesktop terminals. I would appreciate any suggestions or insights on this matter. I have 10 years of experience with Linux but not so much experience with cloud deployments.20:51
stevebakertherve: Can you attach your policy resource changes to https://blueprints.launchpad.net/heat/+spec/as-intermediate-resources ?20:53
*** tomek_adamczewsk has quit IRC20:54
*** tomek_adamczewsk has joined #heat20:57
*** Tross has joined #heat20:57
*** Tross has quit IRC20:58
*** wchrisj has joined #heat20:59
*** Tross has joined #heat21:02
*** Tross has left #heat21:05
openstackgerritA change was merged to openstack/heat: add OS::Heat::AutoScalingGroup  https://review.openstack.org/7422921:06
*** e0ne has joined #heat21:20
*** wchrisj has quit IRC21:22
*** gokrokve has joined #heat21:31
*** rbuilta has joined #heat21:35
*** gokrokve has quit IRC21:36
*** wchrisj has joined #heat21:41
*** nszceta has quit IRC21:42
*** nszceta has joined #heat21:45
*** e0ne has quit IRC21:47
*** e0ne has joined #heat21:48
*** e0ne has quit IRC21:48
*** rbuilta has quit IRC21:50
openstackgerritSteve Baker proposed a change to openstack/heat: Allow getting attributes on suspended resources.  https://review.openstack.org/7745221:52
openstackgerritSteve Baker proposed a change to openstack/heat: Allow signalling during SUSPEND and DELETE  https://review.openstack.org/7745321:52
*** e0ne has joined #heat21:54
*** e0ne has quit IRC21:56
*** e0ne_ has joined #heat21:58
*** e0ne_ has quit IRC22:04
*** wchrisj has quit IRC22:06
openstackgerritSteven Dake proposed a change to openstack/heat: Use olso.messaging  https://review.openstack.org/7279822:08
sdake_stevebaker around for a quick question?22:08
stevebakersdake_: yes22:08
sdake_its about mock22:09
stevebakeroh :)22:09
sdake_https://review.openstack.org/#/c/72798/34/heat/engine/service.py22:10
sdake_line 516 on the right side of the diff22:10
sdake_there is a prepare call22:10
sdake_oslo.messaging uses prepare to generate a new rpc context for passing topic version and timeout22:10
sdake_the problem is this is done at runtime, not during the object's initialization22:11
sdake_and I'm not sure how to mock out the actual call eg:22:11
sdake_https://review.openstack.org/#/c/72798/34/heat/tests/test_engine_service.py22:12
sdake_ine 750 on the right side22:12
sdake_there is no way to mock because self.cctxt is set to None22:14
sdake_and mock can't find a "call" there22:14
stevebakersdake_: you mean ep.cctxt is None?22:15
sdake_right22:15
sdake_it gets set during runtime22:15
sdake_it was a local variable before22:15
sdake_but I changed it to self.ep.cctxt22:15
sdake_to see if I could access it22:15
sdake_but mock looks at it before it is initialized22:15
sdake_so it thinks its None22:16
sdake_it is initialized by the prepare operation22:16
stevebakerinstead of self.ep.cctxt.call...AndRaise22:17
stevebakercan you messaging.rpc.client._CallContext.call...AndRaise?22:17
sdake_I can try22:17
sdake_will that work with mock?22:17
SpamapSstevebaker: hey, I may have a desperate need to test stack-adopt .. but it is not released yet in python-heatclient .. would be much easier to test if it were released...22:18
SpamapSof course my journal idea is actually taking shape now.. I may try to squeeze it in before FF if I can find another 2 hours to push it over the hump22:18
stevebakersdake_: I'm not actually sure22:18
sdake__CallContext takes a parameter self22:18
stevebakerSpamapS: has adopt landed? I'm happy to do a release22:18
SpamapSbecause what do you do when your state is causing problems? MOAR STATE22:19
SpamapSstevebaker: yeah it's been in trunk for a while now.22:19
stevebakerSpamapS: what does a journal entry actually store?22:19
SpamapSstevebaker: just the resources that have had the current action applied to them22:19
sdake_stevebaker eg CallContext expects to be working with something that is initialized, eg that self.ep.cctxt22:19
sdake_call is not static22:20
stevebakerSpamapS: what identifier of the resources? their names?22:20
sdake_    def call(self, ctxt, method, **kwargs):22:20
SpamapSstevebaker: the journal is per-stack.. and when the action goes to COMPLETE, the journal is deleted. So when we have an UPDATE_FAILED state, we can skip all actions on resources that are in the journal.22:20
SpamapSstevebaker: yes names22:21
SpamapSbecause id's would fail22:21
SpamapSsince they change in replacement22:21
SpamapSit is entirely a template centric journal22:21
*** daneyon has joined #heat22:21
stevebakerSpamapS: sounds good22:21
SpamapSstevebaker: the base of it is up here: https://review.openstack.org/#/c/77374/ but the actual bits that store on update and skip things are not in that review22:21
SpamapSstevebaker: it should be _very_ tiny amounts of actual change to the existing code. Just working through fixing tests now22:22
SpamapSand I'll probably break that patch up into 2 patches (one to add DB stuff, second to add integration w/ existing Stack object)22:22
*** gokrokve has joined #heat22:23
SpamapSstevebaker: I'm also going to have to assume that the second time you do an update, you are submitting a template that does not try and change anything that was already completed.22:23
SpamapSstevebaker: which is why this is only a temporary fix, as the long term fix will record the actual template and parameters that are active per resource, so that a third template can be diffed with what is the effective template at the time of fail.22:24
SpamapSBut this should at least give us an escape hatch.22:24
stevebakerSpamapS: right. I have some bikeshedding for your change, but it looks good22:25
SpamapSanyway.. I need to do house stuff.. and then packing for sunnyvale stuff.. and then I can put a couple more hours in.. hopefully22:25
SpamapSstevebaker: Yeah, WIP WIP WIP ;)22:25
SpamapSstevebaker: my sqlalchemy knowledge is TERRIBLE22:25
SpamapSstevebaker: so any feedback on that bit is especially helpful22:25
*** gokrokve has quit IRC22:27
*** rcleere has joined #heat22:28
sdake_stevebaker I dont see how the oslo folks intend for people to mock test cases with the need for a prepare method22:40
stevebakersdake_: I suppose you could always make remote_stop a class method, and just mock that. Its not up to you to unit test oslo.messaging22:42
*** blamar has quit IRC22:43
stevebakerSpamapS: heatclient release is working through zuul22:43
sdake_stevebaker at some point we are going to have to tackle how to actually mock the use of a client generated with prepare22:44
sdake_oslo intends that to be used for all versioning and topic changes22:45
stevebakersdake_: maybe dhellmann would have a suggestion22:46
sdake_agree just  running short on time22:46
sdake_and this is my last blocker22:46
sdake_so re mocking remote_stop that might work as a short term solution22:47
sdake_since that is the only place I use prepare22:47
stevebakerSpamapS: 0.2.8 is out22:48
sdake_since stop_stack is intended to be delivered to a different topic, how would I mock remote_stop?22:48
sdake_eg, stop_stack does some work, and could possibly raise exceptions thorugh rpc22:49
sdake_the test cases test for the exceptions22:49
stevebakersdake_: can't you just call self._remote_stop(acquire_result) and mock that?22:50
sdake_self._remote_stop calls stop_stack22:53
sdake_this is the part I dont quite understand how to mock22:53
stevebakersdake_: just mock self._remote_stop, so you don't have to mock stop_stack22:57
*** e0ne has joined #heat22:58
*** e0ne has quit IRC23:02
sdake_but the rpc call to stop_stack is what is actually raising the exception23:09
sdake_(that is being tested by the test case)23:09
stevebakercould you raise that same exception with your mock of _remote_stop?23:11
sdake_that wouldn't really test it properly23:17
sdake_but wfm :)23:18
sdake_stevebaker 4th is deadline for patches to be merged, or ready to be reviewed?23:23
stevebakersdake_: to be merged, but and High priority blueprint should be considered for getting an extension23:23
sdake_i would like to requesst that if you can do so :)23:24
stevebakersdake_: we currently have 7 High, which I think all deserve to get in, including oslo.messaging23:25
sdake_thanks23:25
*** tomek_adamczewsk has quit IRC23:25
*** zns has joined #heat23:29
*** david-lyle has quit IRC23:29
openstackgerritSteven Dake proposed a change to openstack/heat: Migrate to oslo.messaging from oslo-incubator rpc  https://review.openstack.org/7279823:32
*** topol has joined #heat23:32
*** david-lyle has joined #heat23:34
openstackgerritSteven Dake proposed a change to openstack/heat: Migrate to oslo.messaging from oslo-incubator rpc  https://review.openstack.org/7279823:40
openstackgerritSteven Dake proposed a change to openstack/heat: Always lowercase the action when setting state_reason  https://review.openstack.org/7740623:40
openstackgerritSteven Dake proposed a change to openstack/heat: Convert empty filter dictionary to None  https://review.openstack.org/7738223:40
*** daneyon has quit IRC23:50
*** mkollaro has quit IRC23:51
*** nszceta has quit IRC23:53
*** asalkeld has joined #heat23:55
*** nszceta has joined #heat23:55
*** e0ne has joined #heat23:59

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