*** cody-somerville has joined #heat | 00:05 | |
*** alexpilotti has quit IRC | 00:12 | |
*** lnxnut has joined #heat | 00:35 | |
*** lnxnut has quit IRC | 00:40 | |
*** mkollaro has quit IRC | 00:50 | |
*** rwsu has joined #heat | 01:20 | |
*** lnxnut has joined #heat | 01:35 | |
*** lnxnut has quit IRC | 01:41 | |
*** yogesh has joined #heat | 01:55 | |
*** yogesh has quit IRC | 02:02 | |
*** nati_ueno has joined #heat | 02:16 | |
openstackgerrit | Jun Jie Nan proposed a change to openstack/python-heatclient: Encode binary files in base64 encoding https://review.openstack.org/76443 | 02:17 |
---|---|---|
*** erkules has quit IRC | 02:20 | |
*** alexheneveld has quit IRC | 02:27 | |
*** erkules has joined #heat | 02:33 | |
*** lnxnut has joined #heat | 02:35 | |
*** nati_ueno has quit IRC | 02:36 | |
*** nati_ueno has joined #heat | 02:37 | |
*** lnxnut has quit IRC | 02:40 | |
*** nati_ueno has quit IRC | 02:42 | |
*** rwsu has quit IRC | 03:06 | |
openstackgerrit | Jun Jie Nan proposed a change to openstack/python-heatclient: Enable --help for each command https://review.openstack.org/77380 | 03:09 |
*** kfox1111 has quit IRC | 03:20 | |
*** kfox1111 has joined #heat | 03:21 | |
*** lnxnut has joined #heat | 03:35 | |
*** lnxnut has quit IRC | 03:40 | |
openstackgerrit | Steven Dake proposed a change to openstack/heat: Convert empty filter dictionary to None https://review.openstack.org/77382 | 03:56 |
openstackgerrit | Steven Dake proposed a change to openstack/heat: Use olso.messaging https://review.openstack.org/72798 | 03:56 |
*** lnxnut has joined #heat | 03:57 | |
*** bvandenh has joined #heat | 04:22 | |
*** bvandenh has quit IRC | 04:41 | |
*** lazy_prince is now known as killer_prince | 04:45 | |
*** mspreitz has joined #heat | 04:58 | |
*** lnxnut has quit IRC | 04:59 | |
mspreitz | radix: are you there? | 04:59 |
*** david_lyle_ has quit IRC | 05:11 | |
*** david_lyle_ has joined #heat | 05:12 | |
*** david_lyle_ is now known as david-lyle | 05:13 | |
*** kfox1111 has quit IRC | 05:17 | |
*** e0ne has quit IRC | 05:47 | |
openstackgerrit | Jenkins proposed a change to openstack/heat: Imported Translations from Transifex https://review.openstack.org/72566 | 06:09 |
*** gokrokve has quit IRC | 06:21 | |
*** gokrokve has joined #heat | 06:28 | |
*** killer_prince is now known as lazy_prince | 06:41 | |
*** cmyster has joined #heat | 06:41 | |
*** cmyster has joined #heat | 06:41 | |
cmyster | morning | 06:44 |
*** gokrokve has quit IRC | 06:57 | |
mspreitz | good evening | 07:07 |
*** akuznetsov has quit IRC | 07:12 | |
*** akuznetsov has joined #heat | 07:14 | |
*** lazy_prince is now known as killer_prince | 07:19 | |
*** gokrokve has joined #heat | 07:28 | |
*** gokrokve has quit IRC | 07:33 | |
*** david-lyle has quit IRC | 07:36 | |
*** bvandenh has joined #heat | 07:50 | |
*** killer_prince is now known as lazy_prince | 07:53 | |
*** mspreitz has left #heat | 07:56 | |
openstackgerrit | Steven Dake proposed a change to openstack/heat: Always lowercase the action when setting state_reason https://review.openstack.org/77406 | 08:03 |
openstackgerrit | Steven Dake proposed a change to openstack/heat: Use olso.messaging https://review.openstack.org/72798 | 08:03 |
openstackgerrit | Steven Dake proposed a change to openstack/heat: Convert empty filter dictionary to None https://review.openstack.org/77382 | 08:03 |
*** yogesh has joined #heat | 08:12 | |
*** gokrokve has joined #heat | 08:29 | |
*** gokrokve has quit IRC | 08:34 | |
*** e0ne has joined #heat | 08:42 | |
*** e0ne has quit IRC | 08:47 | |
*** e0ne has joined #heat | 08:47 | |
openstackgerrit | Liang Chen proposed a change to openstack/heat: Tidy up urlfetch.py exception handling https://review.openstack.org/77413 | 08:47 |
openstackgerrit | Liang Chen proposed a change to openstack/heat: Replace str with six.text_type https://review.openstack.org/75795 | 08:47 |
openstackgerrit | Liang Chen proposed a change to openstack/heat: Enable lazy translation in unit tests https://review.openstack.org/75798 | 08:47 |
openstackgerrit | Liang Chen proposed a change to openstack/heat: sync oslo.db to bring in fixes to message handling https://review.openstack.org/75799 | 08:47 |
openstackgerrit | Liang Chen proposed a change to openstack/heat: Avoid referencing Message.__str__ in exceptions https://review.openstack.org/75796 | 08:47 |
openstackgerrit | Liang Chen proposed a change to openstack/heat: Replace str with six.text_type in tests https://review.openstack.org/75797 | 08:47 |
openstackgerrit | Liang Chen proposed a change to openstack/heat: Re-enable lazy translation https://review.openstack.org/75800 | 08:47 |
*** yogesh has quit IRC | 08:53 | |
openstackgerrit | Jun Jie Nan proposed a change to openstack/python-heatclient: Enable --help for each command https://review.openstack.org/77380 | 09:11 |
*** akuznetsov has quit IRC | 09:22 | |
openstackgerrit | Jun Jie Nan proposed a change to openstack/python-heatclient: Enable --help for each command https://review.openstack.org/77380 | 09:27 |
*** gokrokve has joined #heat | 09:30 | |
*** ramishra has joined #heat | 09:31 | |
*** gokrokve has quit IRC | 09:35 | |
*** lazy_prince is now known as killer_prince | 09:36 | |
*** tspatzier has joined #heat | 09:39 | |
*** akuznetsov has joined #heat | 09:56 | |
*** ramishra has quit IRC | 10:02 | |
*** gokrokve has joined #heat | 10:29 | |
*** gokrokve_ has joined #heat | 10:31 | |
*** killer_prince is now known as lazy_prince | 10:33 | |
*** gokrokve has quit IRC | 10:34 | |
*** gokrokve_ has quit IRC | 10:35 | |
*** e0ne has quit IRC | 10:35 | |
*** e0ne has joined #heat | 10:36 | |
*** e0ne has quit IRC | 10:37 | |
*** e0ne has joined #heat | 10:40 | |
*** mkollaro has joined #heat | 11:16 | |
*** alexpilotti has joined #heat | 11:22 | |
*** mkollaro has quit IRC | 11:26 | |
*** gokrokve has joined #heat | 11:28 | |
*** tspatzier__ has joined #heat | 11:31 | |
*** gokrokve has quit IRC | 11:33 | |
*** tspatzier has quit IRC | 11:34 | |
*** e0ne has quit IRC | 11:36 | |
*** che-arne has quit IRC | 11:38 | |
*** gokrokve has joined #heat | 12:28 | |
openstackgerrit | Clint "SpamapS" Byrum proposed a change to openstack/heat: WIP: Record resource actions in a journal https://review.openstack.org/77374 | 12:29 |
*** gokrokve has quit IRC | 12:33 | |
*** maxskew has quit IRC | 12:36 | |
*** tspatzier___ has joined #heat | 12:51 | |
*** jamieh has joined #heat | 12:52 | |
*** e0ne has joined #heat | 12:52 | |
*** tspatzier__ has quit IRC | 12:54 | |
*** e0ne has quit IRC | 12:54 | |
*** tspatzier___ has quit IRC | 12:57 | |
*** akuznetsov has quit IRC | 13:11 | |
*** akuznetsov has joined #heat | 13:12 | |
*** e0ne has joined #heat | 13:17 | |
*** mkollaro has joined #heat | 13:18 | |
*** alexpilotti has quit IRC | 13:19 | |
openstackgerrit | Clint "SpamapS" Byrum proposed a change to openstack/heat: WIP: Record resource actions in a journal https://review.openstack.org/77374 | 13:27 |
*** bvandenh has quit IRC | 13:28 | |
*** gokrokve has joined #heat | 13:28 | |
*** e0ne has quit IRC | 13:30 | |
*** achampion has quit IRC | 13:32 | |
*** gokrokve has quit IRC | 13:33 | |
*** david-lyle has joined #heat | 13:33 | |
*** cmyster has quit IRC | 13:34 | |
*** david-lyle has quit IRC | 13:38 | |
*** sileht has quit IRC | 13:48 | |
*** sileht has joined #heat | 13:50 | |
*** achampion has joined #heat | 13:59 | |
*** achampion has quit IRC | 14:06 | |
*** gokrokve has joined #heat | 14:28 | |
*** achampion has joined #heat | 14:31 | |
*** gokrokve has quit IRC | 14:33 | |
*** achampion has quit IRC | 14:36 | |
*** achampion has joined #heat | 15:07 | |
*** gokrokve has joined #heat | 15:28 | |
*** gokrokve has quit IRC | 15:33 | |
*** gokrokve has joined #heat | 16:28 | |
*** gokrokve has quit IRC | 16:33 | |
*** cody-somerville has quit IRC | 17:13 | |
*** tspatzier___ has joined #heat | 17:13 | |
*** gokrokve has joined #heat | 17:28 | |
*** gokrokve has quit IRC | 17:33 | |
*** e0ne has joined #heat | 17:49 | |
*** gokrokve has joined #heat | 17:52 | |
*** e0ne has quit IRC | 18:03 | |
*** wchrisj has joined #heat | 18:14 | |
*** kfox1111 has joined #heat | 18:24 | |
*** amritanshu_ has joined #heat | 18:30 | |
*** amritanshu_ has joined #heat | 18:31 | |
*** kfox1111 has quit IRC | 18:32 | |
*** amritanshu_ has joined #heat | 18:32 | |
*** rpothier has quit IRC | 18:57 | |
*** wchrisj has quit IRC | 18:58 | |
*** tspatzier___ has quit IRC | 18:59 | |
openstackgerrit | Steven Dake proposed a change to openstack/heat: Use olso.messaging https://review.openstack.org/72798 | 19:08 |
openstackgerrit | Steven Dake proposed a change to openstack/heat: Always lowercase the action when setting state_reason https://review.openstack.org/77406 | 19:08 |
openstackgerrit | Steven Dake proposed a change to openstack/heat: Convert empty filter dictionary to None https://review.openstack.org/77382 | 19:08 |
*** tspatzier___ has joined #heat | 19:12 | |
*** jamieh has quit IRC | 19:15 | |
stevebaker | morning | 19:16 |
*** tspatzier___ has quit IRC | 19:19 | |
*** david-lyle has joined #heat | 19:21 | |
*** gokrokve has quit IRC | 19:22 | |
*** e0ne has joined #heat | 19:25 | |
*** tspatzier___ has joined #heat | 19:27 | |
*** gokrokve has joined #heat | 19:38 | |
*** tspatzier___ has quit IRC | 19:52 | |
therve | stevebaker, 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 |
therve | It should be relatively straightforward | 19:55 |
stevebaker | therve: I'd consider that. Would it be much more than renaming the type and props? | 19:56 |
therve | stevebaker, No that's pretty much it | 19:57 |
stevebaker | therve: that would be the last AWSism with no native equivalent would it not? | 19:58 |
therve | stevebaker, Yes I hope so :) | 19:58 |
stevebaker | \o/ | 19:58 |
therve | stevebaker, WaitCondition too maybe | 19:58 |
therve | I think shardy had a plan, I don't know if we can do it too or not | 19:59 |
stevebaker | therve: OS::Heat::SoftwareDeployment should replace WaitCondition in most cases | 19:59 |
therve | stevebaker, Oh, can it? Okay I need to check it out | 19:59 |
*** gokrokve has quit IRC | 20:21 | |
*** gokrokve_ has joined #heat | 20:23 | |
*** e0ne has quit IRC | 20:28 | |
*** gokrokve_ has quit IRC | 20:31 | |
*** tomek_adamczewsk has quit IRC | 20:47 | |
*** tomek_adamczewsk has joined #heat | 20:48 | |
*** nszceta has joined #heat | 20:50 | |
nszceta | I 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 |
stevebaker | therve: Can you attach your policy resource changes to https://blueprints.launchpad.net/heat/+spec/as-intermediate-resources ? | 20:53 |
*** tomek_adamczewsk has quit IRC | 20:54 | |
*** tomek_adamczewsk has joined #heat | 20:57 | |
*** Tross has joined #heat | 20:57 | |
*** Tross has quit IRC | 20:58 | |
*** wchrisj has joined #heat | 20:59 | |
*** Tross has joined #heat | 21:02 | |
*** Tross has left #heat | 21:05 | |
openstackgerrit | A change was merged to openstack/heat: add OS::Heat::AutoScalingGroup https://review.openstack.org/74229 | 21:06 |
*** e0ne has joined #heat | 21:20 | |
*** wchrisj has quit IRC | 21:22 | |
*** gokrokve has joined #heat | 21:31 | |
*** rbuilta has joined #heat | 21:35 | |
*** gokrokve has quit IRC | 21:36 | |
*** wchrisj has joined #heat | 21:41 | |
*** nszceta has quit IRC | 21:42 | |
*** nszceta has joined #heat | 21:45 | |
*** e0ne has quit IRC | 21:47 | |
*** e0ne has joined #heat | 21:48 | |
*** e0ne has quit IRC | 21:48 | |
*** rbuilta has quit IRC | 21:50 | |
openstackgerrit | Steve Baker proposed a change to openstack/heat: Allow getting attributes on suspended resources. https://review.openstack.org/77452 | 21:52 |
openstackgerrit | Steve Baker proposed a change to openstack/heat: Allow signalling during SUSPEND and DELETE https://review.openstack.org/77453 | 21:52 |
*** e0ne has joined #heat | 21:54 | |
*** e0ne has quit IRC | 21:56 | |
*** e0ne_ has joined #heat | 21:58 | |
*** e0ne_ has quit IRC | 22:04 | |
*** wchrisj has quit IRC | 22:06 | |
openstackgerrit | Steven Dake proposed a change to openstack/heat: Use olso.messaging https://review.openstack.org/72798 | 22:08 |
sdake_ | stevebaker around for a quick question? | 22:08 |
stevebaker | sdake_: yes | 22:08 |
sdake_ | its about mock | 22:09 |
stevebaker | oh :) | 22:09 |
sdake_ | https://review.openstack.org/#/c/72798/34/heat/engine/service.py | 22:10 |
sdake_ | line 516 on the right side of the diff | 22:10 |
sdake_ | there is a prepare call | 22:10 |
sdake_ | oslo.messaging uses prepare to generate a new rpc context for passing topic version and timeout | 22:10 |
sdake_ | the problem is this is done at runtime, not during the object's initialization | 22: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.py | 22:12 |
sdake_ | ine 750 on the right side | 22:12 |
sdake_ | there is no way to mock because self.cctxt is set to None | 22:14 |
sdake_ | and mock can't find a "call" there | 22:14 |
stevebaker | sdake_: you mean ep.cctxt is None? | 22:15 |
sdake_ | right | 22:15 |
sdake_ | it gets set during runtime | 22:15 |
sdake_ | it was a local variable before | 22:15 |
sdake_ | but I changed it to self.ep.cctxt | 22:15 |
sdake_ | to see if I could access it | 22:15 |
sdake_ | but mock looks at it before it is initialized | 22:15 |
sdake_ | so it thinks its None | 22:16 |
sdake_ | it is initialized by the prepare operation | 22:16 |
stevebaker | instead of self.ep.cctxt.call...AndRaise | 22:17 |
stevebaker | can you messaging.rpc.client._CallContext.call...AndRaise? | 22:17 |
sdake_ | I can try | 22:17 |
sdake_ | will that work with mock? | 22:17 |
SpamapS | stevebaker: 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 |
SpamapS | of 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 hump | 22:18 |
stevebaker | sdake_: I'm not actually sure | 22:18 |
sdake_ | _CallContext takes a parameter self | 22:18 |
stevebaker | SpamapS: has adopt landed? I'm happy to do a release | 22:18 |
SpamapS | because what do you do when your state is causing problems? MOAR STATE | 22:19 |
SpamapS | stevebaker: yeah it's been in trunk for a while now. | 22:19 |
stevebaker | SpamapS: what does a journal entry actually store? | 22:19 |
SpamapS | stevebaker: just the resources that have had the current action applied to them | 22:19 |
sdake_ | stevebaker eg CallContext expects to be working with something that is initialized, eg that self.ep.cctxt | 22:19 |
sdake_ | call is not static | 22:20 |
stevebaker | SpamapS: what identifier of the resources? their names? | 22:20 |
sdake_ | def call(self, ctxt, method, **kwargs): | 22:20 |
SpamapS | stevebaker: 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 |
SpamapS | stevebaker: yes names | 22:21 |
SpamapS | because id's would fail | 22:21 |
SpamapS | since they change in replacement | 22:21 |
SpamapS | it is entirely a template centric journal | 22:21 |
*** daneyon has joined #heat | 22:21 | |
stevebaker | SpamapS: sounds good | 22:21 |
SpamapS | stevebaker: 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 review | 22:21 |
SpamapS | stevebaker: it should be _very_ tiny amounts of actual change to the existing code. Just working through fixing tests now | 22:22 |
SpamapS | and 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 #heat | 22:23 | |
SpamapS | stevebaker: 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 |
SpamapS | stevebaker: 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 |
SpamapS | But this should at least give us an escape hatch. | 22:24 |
stevebaker | SpamapS: right. I have some bikeshedding for your change, but it looks good | 22:25 |
SpamapS | anyway.. I need to do house stuff.. and then packing for sunnyvale stuff.. and then I can put a couple more hours in.. hopefully | 22:25 |
SpamapS | stevebaker: Yeah, WIP WIP WIP ;) | 22:25 |
SpamapS | stevebaker: my sqlalchemy knowledge is TERRIBLE | 22:25 |
SpamapS | stevebaker: so any feedback on that bit is especially helpful | 22:25 |
*** gokrokve has quit IRC | 22:27 | |
*** rcleere has joined #heat | 22:28 | |
sdake_ | stevebaker I dont see how the oslo folks intend for people to mock test cases with the need for a prepare method | 22:40 |
stevebaker | sdake_: I suppose you could always make remote_stop a class method, and just mock that. Its not up to you to unit test oslo.messaging | 22:42 |
*** blamar has quit IRC | 22:43 | |
stevebaker | SpamapS: heatclient release is working through zuul | 22:43 |
sdake_ | stevebaker at some point we are going to have to tackle how to actually mock the use of a client generated with prepare | 22:44 |
sdake_ | oslo intends that to be used for all versioning and topic changes | 22:45 |
stevebaker | sdake_: maybe dhellmann would have a suggestion | 22:46 |
sdake_ | agree just running short on time | 22:46 |
sdake_ | and this is my last blocker | 22:46 |
sdake_ | so re mocking remote_stop that might work as a short term solution | 22:47 |
sdake_ | since that is the only place I use prepare | 22:47 |
stevebaker | SpamapS: 0.2.8 is out | 22: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 rpc | 22:49 |
sdake_ | the test cases test for the exceptions | 22:49 |
stevebaker | sdake_: can't you just call self._remote_stop(acquire_result) and mock that? | 22:50 |
sdake_ | self._remote_stop calls stop_stack | 22:53 |
sdake_ | this is the part I dont quite understand how to mock | 22:53 |
stevebaker | sdake_: just mock self._remote_stop, so you don't have to mock stop_stack | 22:57 |
*** e0ne has joined #heat | 22:58 | |
*** e0ne has quit IRC | 23:02 | |
sdake_ | but the rpc call to stop_stack is what is actually raising the exception | 23:09 |
sdake_ | (that is being tested by the test case) | 23:09 |
stevebaker | could you raise that same exception with your mock of _remote_stop? | 23:11 |
sdake_ | that wouldn't really test it properly | 23:17 |
sdake_ | but wfm :) | 23:18 |
sdake_ | stevebaker 4th is deadline for patches to be merged, or ready to be reviewed? | 23:23 |
stevebaker | sdake_: to be merged, but and High priority blueprint should be considered for getting an extension | 23:23 |
sdake_ | i would like to requesst that if you can do so :) | 23:24 |
stevebaker | sdake_: we currently have 7 High, which I think all deserve to get in, including oslo.messaging | 23:25 |
sdake_ | thanks | 23:25 |
*** tomek_adamczewsk has quit IRC | 23:25 | |
*** zns has joined #heat | 23:29 | |
*** david-lyle has quit IRC | 23:29 | |
openstackgerrit | Steven Dake proposed a change to openstack/heat: Migrate to oslo.messaging from oslo-incubator rpc https://review.openstack.org/72798 | 23:32 |
*** topol has joined #heat | 23:32 | |
*** david-lyle has joined #heat | 23:34 | |
openstackgerrit | Steven Dake proposed a change to openstack/heat: Migrate to oslo.messaging from oslo-incubator rpc https://review.openstack.org/72798 | 23:40 |
openstackgerrit | Steven Dake proposed a change to openstack/heat: Always lowercase the action when setting state_reason https://review.openstack.org/77406 | 23:40 |
openstackgerrit | Steven Dake proposed a change to openstack/heat: Convert empty filter dictionary to None https://review.openstack.org/77382 | 23:40 |
*** daneyon has quit IRC | 23:50 | |
*** mkollaro has quit IRC | 23:51 | |
*** nszceta has quit IRC | 23:53 | |
*** asalkeld has joined #heat | 23:55 | |
*** nszceta has joined #heat | 23:55 | |
*** e0ne has joined #heat | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!