*** salmon_ has quit IRC | 00:22 | |
*** openstackgerrit has quit IRC | 06:17 | |
*** openstackgerrit_ is now known as openstackgerrit | 06:17 | |
*** openstackgerrit_ has joined #openstack-solar | 06:18 | |
*** openstackgerrit_ is now known as openstackgerrit | 06:18 | |
*** openstackgerrit_ has joined #openstack-solar | 06:19 | |
*** salmon_ has joined #openstack-solar | 08:18 | |
*** dshulyak has joined #openstack-solar | 08:34 | |
*** dshulyak has quit IRC | 10:31 | |
*** dshulyak has joined #openstack-solar | 10:48 | |
pigmej | dshulyak: salmon_ I need short summary about last week changes in f2s stuff | 10:50 |
---|---|---|
dshulyak | no changes in f2s from me | 10:51 |
dshulyak | except this one - https://github.com/Mirantis/f2s/commit/9d40ed5dee56598ceaacc3b97c1396c107708411 | 10:51 |
pigmej | yeah but this is also in solar reviews | 10:51 |
pigmej | ;) | 10:51 |
dshulyak | but until solar part is merged - it is mostly irrelevant | 10:52 |
pigmej | does something block us from merging? | 10:52 |
dshulyak | i dont think so, riak and hosts example passed on both riak and pg backends | 10:54 |
dshulyak | and i did some manual testing, that i can re-stage or process partially | 10:55 |
pigmej | salmon_: opinions? | 10:55 |
salmon_ | pigmej: about? | 10:57 |
pigmej | https://review.openstack.org/#/c/291675/ | 10:57 |
pigmej | dshulyak: normal workflow is not affected at all, right? | 10:57 |
salmon_ | I didn't test it | 10:57 |
pigmej | I did, it works, (at least it didn't break anything) | 11:00 |
salmon_ | then merge it :P | 11:02 |
salmon_ | or add +2 | 11:02 |
pigmej | k, merging then | 11:05 |
pigmej | dshulyak: merged | 11:05 |
dshulyak | can someone run solar/test/test_events.py on master? | 11:05 |
dshulyak | they are failing somehow :) | 11:06 |
pigmej | on that refactored stuff? | 11:06 |
dshulyak | nope | 11:06 |
dshulyak | before that | 11:06 |
pigmej | I wish I could now, but libvirt broke... | 11:06 |
pigmej | ;d | 11:06 |
pigmej | ok checking | 11:08 |
pigmej | dshulyak: works for me | 11:10 |
dshulyak | from_dict constructor is broken for me | 11:10 |
pigmej | how? | 11:10 |
dshulyak | TypeError: key must be a string, instead got {'name': 'riak_service1', 'key': 'riak_service1'} | 11:10 |
pigmej | eeeeeee | 11:10 |
pigmej | werird | 11:11 |
pigmej | weird | 11:11 |
dshulyak | can u check if u have latest master? | 11:11 |
pigmej | I do have | 11:11 |
pigmej | what test is failing exactly ? | 11:11 |
dshulyak | almost all of them in test_events, for example test_nova_api | 11:12 |
pigmej | https://bpaste.net/show/2bbc9e3d24a2 | 11:13 |
pigmej | also jenkins says that everything works... | 11:13 |
dshulyak | pigmej: http://paste.openstack.org/show/491241/ | 11:13 |
dshulyak | backend maybe? | 11:14 |
pigmej | wtf | 11:14 |
pigmej | checking | 11:15 |
pigmej | but it shouldn't depend on backend | 11:15 |
dshulyak | i am on riak | 11:15 |
pigmej | oh | 11:15 |
pigmej | it fails on riak | 11:15 |
pigmej | wtf | 11:16 |
dshulyak | from_dict usage in test_events is definitely broken | 11:16 |
pigmej | why? | 11:16 |
pigmej | it should be fine, because if key is a dict, then key == dict['key'] | 11:16 |
pigmej | weird | 11:17 |
dshulyak | the problem in on L838 in solar_models.py :) | 11:19 |
pigmej | yeah | 11:19 |
dshulyak | 837 | 11:19 |
pigmej | but it's because of get_or_create | 11:19 |
dshulyak | no | 11:19 |
dshulyak | because you passed key and not ret[0] | 11:19 |
dshulyak | and key is dict | 11:19 |
pigmej | hmm, we have different files... | 11:19 |
openstackgerrit | Merged openstack/solar: Rework staging procedure to support both implicit and explicit stages https://review.openstack.org/291675 | 11:20 |
dshulyak | pigmej: https://github.com/openstack/solar/blob/master/solar/dblayer/solar_models.py#L836-L837 | 11:20 |
dshulyak | https://github.com/openstack/solar/blob/master/solar/dblayer/solar_models.py#L839-L840 | 11:20 |
dshulyak | :) | 11:20 |
pigmej | ah fuck | 11:20 |
pigmej | it should return 2 items :D | 11:20 |
pigmej | hmm | 11:20 |
pigmej | wait | 11:20 |
pigmej | it's ok | 11:20 |
pigmej | dshulyak: this one is ok | 11:21 |
dshulyak | 839 returns ret, but on next like you do .get(key) and key is dict | 11:21 |
pigmej | https://github.com/openstack/solar/blob/master/solar/dblayer/model.py#L873 | 11:21 |
pigmej | ah... | 11:21 |
pigmej | right | 11:21 |
pigmej | ret should be key, data | 11:22 |
pigmej | and return should be return key, data | 11:22 |
pigmej | :) | 11:22 |
pigmej | good spot | 11:22 |
pigmej | dshulyak: are you going to fix it | 11:22 |
pigmej | ? | 11:22 |
dshulyak | pigmej: yeap, will do in a moment | 11:25 |
pigmej | cool :) | 11:26 |
pigmej | I will merge it immediately :) | 11:26 |
pigmej | what a stupid error by me :D:D:D | 11:26 |
openstackgerrit | Dmitry Shulyak proposed openstack/solar: Fix typo in Resource._pre_from_dict_check https://review.openstack.org/295224 | 11:30 |
pigmej | dshulyak: thx!! | 11:31 |
dshulyak | just wait until ci will pass :) | 11:31 |
pigmej | I checked it by hand :P | 11:33 |
openstackgerrit | Merged openstack/solar: Fix typo in Resource._pre_from_dict_check https://review.openstack.org/295224 | 11:47 |
dshulyak | pigmej: :D https://github.com/openstack/solar/blob/master/solar/dblayer/proxy.py#L37 | 12:37 |
salmon_ | :) | 12:38 |
pigmej | oh that was fucking smart.. | 12:38 |
pigmej | ;D | 12:39 |
pigmej | Nov 23, 2015 nice ... | 12:39 |
dshulyak | crap, scheduling based on subgraph is not easy, i need to be able to filter inprogress tasks for each policy type | 14:24 |
pigmej | ? | 14:25 |
openstackgerrit | Dmitry Shulyak proposed openstack/solar: Refactoring of graph.py and usage of it in scheduler https://review.openstack.org/294605 | 14:48 |
openstackgerrit | Dmitry Shulyak proposed openstack/solar: Refactoring of graph.py and usage of it in scheduler https://review.openstack.org/294605 | 14:51 |
openstackgerrit | Dmitry Shulyak proposed openstack/solar: Implement traversal based on number of childs https://review.openstack.org/295348 | 15:20 |
dshulyak | pigmej: nevermind :) it will take too long to explan in chat | 15:22 |
*** dshulyak has quit IRC | 15:22 | |
pigmej | :D | 15:22 |
pigmej | and he went :P | 15:22 |
pigmej | salmon_: ^ :D | 15:22 |
salmon_ | :) | 15:39 |
*** dshulyak has joined #openstack-solar | 15:41 | |
*** dshulyak has quit IRC | 16:34 | |
*** angdraug has joined #openstack-solar | 19:31 | |
*** openstackgerrit has quit IRC | 23:03 | |
*** openstackgerrit_ is now known as openstackgerrit | 23:03 | |
*** openstackgerrit has quit IRC | 23:03 | |
*** openstackgerrit_ has joined #openstack-solar | 23:03 | |
*** openstackgerrit_ is now known as openstackgerrit | 23:04 | |
*** openstackgerrit_ has joined #openstack-solar | 23:08 | |
*** salmon_ has quit IRC | 23:13 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!