Wednesday, 2021-07-21

*** pmannidi is now known as pmannidi|brb04:28
*** pmannidi|brb is now known as pmannidi05:34
opendevreviewRoman Dobosz proposed openstack/kuryr-kubernetes master: Fix multinode gate, separate variations for OVN and OVS.  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/80161812:55
digitalsimboja@maysams: Quite confusing. I can not see on the implementation where the _reconcile_lbass() is processing list of lists17:57
digitalsimbojahttps://paste.opendev.org/show/807628/17:58
digitalsimbojaThe above is the implementation17:58
digitalsimbojaI feel my challenge is on this lines18:07
digitalsimbojacrds_to_reconcile_selflink = ['/apis/openstack.org/v1/namespaces/default/kuryrloadbalancers/test',18:07
digitalsimboja                                      '/apis/openstack.org/v1/namespaces/default/kuryrloadbalancers/demo']18:07
digitalsimboja        m_get_res_link.return_value = crds_to_reconcile_selflink18:07
digitalsimbojaI doubt if I am getting the return value of the get_res_link(loadbalancer_crd) right?18:08
maysamsdigitalsimboja: try not mocking get_res_link and see what happens18:30
digitalsimbojatrying that18:31
maysamsdigitalsimboja: the issue might be because get_res_link is called twice due to the loop18:32
digitalsimbojaI guess so18:32
digitalsimbojalet me  see without mocking it18:32
maysamsdigitalsimboja: so in this case it would need to use has_calls, or side_effect18:32
maysamsinstead of defining the return_value18:32
maysamsbut you can try without mocking first and see what happens18:33
digitalsimbojaI tried without mocking it and it passed18:33
digitalsimbojacheck tmux18:33
maysamsgood18:33
*** maysams is now known as maysams-afk18:33
maysams-afkneed to disconnect, see you o/18:34
digitalsimbojaThanks maysams18:34
digitalsimbojasee you18:34
opendevreviewSunday Mgbogu proposed openstack/kuryr-kubernetes master: wip: Loadbalancers reconciliation  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/79890418:35
maysams-afkdigitalsimboja: note that there are a couple of assert_calleds that can be performed18:37
maysams-afkand there seems to be some leftovers on the test18:37
digitalsimbojaokay I will work on that 18:39

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!