Friday, 2017-10-27

*** ppiela has joined #openstack-horizon00:04
*** ppiela_ has quit IRC00:06
*** hughhalf has joined #openstack-horizon00:07
*** itlinux has joined #openstack-horizon00:10
*** catintheroof has joined #openstack-horizon00:11
*** rcernin has joined #openstack-horizon00:21
*** catintheroof has quit IRC00:32
*** catintheroof has joined #openstack-horizon00:38
*** gyee has quit IRC00:40
*** catintheroof has quit IRC00:42
*** catintheroof has joined #openstack-horizon00:44
*** catintheroof has quit IRC00:55
*** catintheroof has joined #openstack-horizon00:56
*** catintheroof has quit IRC01:20
*** namnh has joined #openstack-horizon01:21
*** catintheroof has joined #openstack-horizon01:21
*** ppiela_ has joined #openstack-horizon01:22
*** ppiela has quit IRC01:23
*** catintheroof has quit IRC01:24
*** dave-mccowan has quit IRC01:26
*** dave-mccowan has joined #openstack-horizon01:27
*** rcernin has quit IRC01:43
*** yamamoto has joined #openstack-horizon01:43
*** rcernin has joined #openstack-horizon01:44
*** yamamoto has quit IRC01:49
*** catintheroof has joined #openstack-horizon01:55
*** catintheroof has quit IRC02:00
*** ppiela has joined #openstack-horizon02:20
*** ppiela_ has quit IRC02:22
*** catintheroof has joined #openstack-horizon02:28
*** catintheroof has quit IRC02:33
*** yamamoto has joined #openstack-horizon02:45
*** yamamoto has quit IRC02:51
*** dave-mccowan has quit IRC03:14
*** yamamoto has joined #openstack-horizon03:16
*** yamamoto has quit IRC03:36
*** gugl has quit IRC03:42
*** yamamoto has joined #openstack-horizon03:54
*** yamamoto has quit IRC03:54
*** yamamoto has joined #openstack-horizon03:55
*** udesale has joined #openstack-horizon03:58
*** catintheroof has joined #openstack-horizon04:01
*** catintheroof has quit IRC04:05
*** ppiela_ has joined #openstack-horizon04:14
*** ppiela has quit IRC04:17
*** masco has joined #openstack-horizon04:27
*** logan- has quit IRC04:38
*** logan- has joined #openstack-horizon04:42
*** shu-mutou has joined #openstack-horizon05:02
*** yamamoto has quit IRC05:21
*** ratailor has joined #openstack-horizon06:03
openstackgerritOpenStack Proposal Bot proposed openstack/horizon master: Imported Translations from Zanata  https://review.openstack.org/51560806:13
*** spectr has joined #openstack-horizon06:22
*** ratailor has quit IRC06:24
*** kei-ichi has quit IRC06:31
*** kei-ichi has joined #openstack-horizon06:32
*** ratailor has joined #openstack-horizon06:37
*** kei-ichi has quit IRC06:40
*** kei-ichi has joined #openstack-horizon06:41
*** lajoskatona has joined #openstack-horizon06:44
openstackgerritMerged openstack/horizon master: Imported Translations from Zanata  https://review.openstack.org/51560806:50
*** makowals has joined #openstack-horizon06:54
*** makowals has quit IRC06:56
*** ratailor has quit IRC06:56
*** ratailor has joined #openstack-horizon06:57
*** kei-ichi has quit IRC07:03
*** kei-ichi has joined #openstack-horizon07:03
*** mrch has joined #openstack-horizon07:06
*** tesseract has joined #openstack-horizon07:22
openstackgerritMerged openstack/horizon master: doc: Update the URL of noVNC  https://review.openstack.org/51529607:28
*** namnh has quit IRC07:34
*** rmart04 has joined #openstack-horizon07:38
*** ratailor has quit IRC07:41
*** ttrifonov has quit IRC07:42
*** itlinux has quit IRC07:43
*** e0ne has joined #openstack-horizon07:45
*** ttrifonov has joined #openstack-horizon07:46
*** hoangcx has quit IRC07:53
*** ratailor has joined #openstack-horizon07:54
*** rcernin has quit IRC07:58
*** makowals has joined #openstack-horizon07:58
*** itxaka has joined #openstack-horizon08:08
*** itxaka has quit IRC08:08
*** itxaka has joined #openstack-horizon08:08
*** itxaka has quit IRC08:09
*** itxaka has joined #openstack-horizon08:09
*** udesale has quit IRC08:35
e0neamotoki: hi. sorry, I'm busy with downstream tasks this morning:(. I'll ping you about mocks on Monday08:45
*** shu-mutou is now known as shu-mutou-AWAY08:46
amotokie0ne: I am not sure I am available next week though08:49
amotokie0ne: I don't think it is what we need to rush08:49
e0neamotoki: agree. but I would like to get some agreement with codestyle on this to get things move forward08:50
*** namnh has joined #openstack-horizon08:51
*** udesale has joined #openstack-horizon08:53
*** masco has quit IRC09:15
*** tosky has joined #openstack-horizon09:17
*** rmart04 has quit IRC09:37
*** ratailor is now known as rtailor09:45
*** ppiela__ has joined #openstack-horizon10:03
*** ppiela_ has quit IRC10:07
amotokie0ne: if you have time today, you can ping me. perhaps i will be online until around 1400UTC10:22
*** vladiskuz has quit IRC10:24
*** yamamoto has joined #openstack-horizon10:24
e0neamotoki: I'm here10:35
e0neamotoki: I'm interesting in your concerns according to custom decorators10:35
*** namnh has quit IRC10:36
amotokie0ne: it is not a special concern.10:36
amotokie0ne: the custom mock adds attributes to a test instance. It is based on the horizon-specific pattern10:37
amotokie0ne: my point is to keep the standard mock usage as much as possible.10:38
amotokie0ne: if there is no much difference the standard mock usage would be nice as developers need not to learn horizon-specifc way10:38
e0neI understand thit and totally agree10:38
e0nebut in other case, if code is simple enough and keep LoC less - it's good for me10:39
amotokion the other hand, in the current horizon UT we use assert_called variants. it means we need variables which points to mock object, so the number of variables tends to be high.10:40
amotokiI think that is your point on LoC10:40
amotokihonestly I am okay with either way. Your approach also can save the diff when converting mox to mock.10:42
e0neok, I understan your opinion now10:42
amotokiperhaps migration cost will be lower10:42
amotokie0ne: we now discussed pros and cons.10:43
e0neI think it's a good idea for me to summarize all ideas to some note or blog post. I'll do it early next week10:43
amotokie0ne: i think your approach has enough pros and I am okay to introduce the convenient wrapper decorator.10:44
e0nemy biggest argument against a lot of '@mock.patch' and 'with mock()' for one tests that it makes code more messy10:45
*** yamamoto has quit IRC10:45
e0neit's easier to my to read code with less decorators and complex 'with statements'10:45
e0nebut maybe it's only for me10:46
amotokihehe. i think you are not alone.10:46
e0ne:)10:47
amotokia bit different idea is to introduce a decorator like you and it sets a single class attribute with a dict10:47
amotokithe dict contains corresponding mock object10:47
ethfcihi10:48
e0nefrom other perspective, we already have some customization on top of django (e.g. forms, fields, tables) and it makes our code less complex10:48
e0neamotoki: good idea, I'll play with it too10:48
e0neethfci: hi10:48
amotokior something like "with mutiple_mock({api.nova: ('server_get', 'server_list'), api.cinder: (....)}) as mocked_method:"10:49
*** rtailor has quit IRC10:49
amotokiand you can access the mocked methods like mocked_methods['api.nova.server_get"].call_count10:49
e0neamotoki: yes, I thought about this too10:49
e0nejust didn't have time to implement it10:50
amotokiit is better if we have less implicit variables and the context will be clear.10:50
e0neamotoki: with one note: it prefer decorator that adds mocked_mothods param to the function to save one indentation with 4 spaces:)10:51
e0neamotoki: +110:51
amotokie0ne: tend to agree.10:52
e0ne:)10:52
amotokie0ne: in addition, if we have only one extra argument, i think we can add it to the usual method arguments rather than setting it as an instance attribute.10:53
e0neamotoki: thanks for interesting and productive conversation10:53
amotokie0ne: if i have time, i try to update your patch for better exploration.10:54
e0neamotoki: don't worry. it's enough to add link to IRC logs10:54
amotokiwe can compare several approaches using patch sets in your change10:54
amotokie0ne: 'update' I mean is to update the code itself10:54
-amotoki- is going to be offline10:55
e0neamotoki: oh.. cool. don't hesitate to add yourself as co-author10:55
*** rtailor has joined #openstack-horizon11:02
*** robcresswell has quit IRC11:03
*** yamamoto has joined #openstack-horizon11:05
*** rtailor has quit IRC11:15
*** yamamoto has quit IRC11:21
*** marlinc has quit IRC11:28
*** rtailor has joined #openstack-horizon11:34
*** rtailor has quit IRC11:37
*** ratailor has joined #openstack-horizon11:37
*** marlinc has joined #openstack-horizon11:38
openstackgerritMateusz Kowalski proposed openstack/horizon master: Make API calls in Volumes view parallel  https://review.openstack.org/42649311:38
*** belmoreira has joined #openstack-horizon11:45
*** yamamoto has joined #openstack-horizon11:50
*** ratailor has quit IRC11:58
*** ratailor has joined #openstack-horizon11:58
*** yamamoto has quit IRC11:59
*** lahari has joined #openstack-horizon12:08
*** lahari has left #openstack-horizon12:11
*** yamamoto has joined #openstack-horizon12:14
*** ratailor has quit IRC12:17
*** lahari has joined #openstack-horizon12:27
lahariHello all12:27
laharican anyone of you confirm the bug https://bugs.launchpad.net/horizon/+bug/172803112:27
openstackLaunchpad bug 1728031 in OpenStack Dashboard (Horizon) "unable to change user password" [Undecided,New]12:27
*** lahari has quit IRC12:27
*** jtriley has joined #openstack-horizon12:39
*** lblanchard has joined #openstack-horizon12:51
*** wolverineav has joined #openstack-horizon12:52
openstackgerritMateusz Kowalski proposed openstack/horizon master: Make API calls in Volumes view parallel  https://review.openstack.org/42649312:55
*** catintheroof has joined #openstack-horizon13:04
*** udesale has quit IRC13:08
*** lblanchard has quit IRC13:16
*** jtriley has quit IRC13:24
openstackgerritBence Romsics proposed openstack/horizon master: Trunks panel: create button  https://review.openstack.org/46839613:25
openstackgerritBence Romsics proposed openstack/horizon master: Trunks panel: edit button  https://review.openstack.org/48547313:25
openstackgerritBence Romsics proposed openstack/horizon master: Trunks panel: default to enabled  https://review.openstack.org/48918613:25
openstackgerritwei.ying proposed openstack/horizon master: Hide some actions when the instance is locked for non-admin users  https://review.openstack.org/51201913:28
*** catintheroof has quit IRC13:34
*** catintheroof has joined #openstack-horizon13:42
*** jtriley has joined #openstack-horizon13:45
*** spectr has quit IRC13:49
*** dave-mccowan has joined #openstack-horizon13:53
*** jtriley has quit IRC13:58
*** jtriley has joined #openstack-horizon14:01
*** tosky has quit IRC14:06
*** tosky has joined #openstack-horizon14:08
*** spectr has joined #openstack-horizon14:09
*** ratailor has joined #openstack-horizon14:17
*** dave-mccowan has quit IRC14:20
*** rmart04 has joined #openstack-horizon14:22
*** felipemonteiro_ has joined #openstack-horizon14:26
*** felipemonteiro__ has joined #openstack-horizon14:32
openstackgerritBence Romsics proposed openstack/horizon master: Trunks panel: edit button  https://review.openstack.org/48547314:35
openstackgerritBence Romsics proposed openstack/horizon master: Trunks panel: default to enabled  https://review.openstack.org/48918614:35
*** felipemonteiro_ has quit IRC14:36
*** spectr has quit IRC14:39
*** e0ne has quit IRC14:45
*** e0ne has joined #openstack-horizon14:53
*** e0ne has quit IRC14:53
*** e0ne has joined #openstack-horizon14:54
*** jtriley has quit IRC14:54
*** e0ne has quit IRC14:54
*** e0ne has joined #openstack-horizon14:55
*** e0ne has quit IRC14:56
*** e0ne has joined #openstack-horizon14:56
*** e0ne has quit IRC14:57
*** ethfci has quit IRC14:57
*** rmart04 has quit IRC15:06
*** belmoreira has quit IRC15:09
*** dave-mccowan has joined #openstack-horizon15:11
*** tosky has quit IRC15:12
*** dave-mccowan has quit IRC15:21
*** yamamoto has quit IRC15:24
*** wolverineav has quit IRC15:50
*** wolverineav has joined #openstack-horizon15:51
*** itlinux has joined #openstack-horizon15:57
*** yamamoto has joined #openstack-horizon16:01
*** dave-mccowan has joined #openstack-horizon16:03
*** ratailor has quit IRC16:06
*** robcresswell has joined #openstack-horizon16:19
*** ChanServ sets mode: +o robcresswell16:19
*** tosky has joined #openstack-horizon16:19
*** e0ne has joined #openstack-horizon16:21
*** catintheroof has quit IRC16:23
*** dave-mccowan has quit IRC16:26
*** catintheroof has joined #openstack-horizon16:27
*** catintheroof has quit IRC16:35
*** catintheroof has joined #openstack-horizon16:36
*** catintheroof has quit IRC16:39
*** catintheroof has joined #openstack-horizon16:39
*** dave-mccowan has joined #openstack-horizon16:50
*** mrch has quit IRC16:56
*** dave-mccowan has quit IRC17:03
*** dave-mccowan has joined #openstack-horizon17:03
*** Matias has joined #openstack-horizon17:05
*** yamamoto has quit IRC17:13
*** ianychoi_ has quit IRC17:17
*** yamamoto has joined #openstack-horizon17:21
*** itlinux has quit IRC17:28
*** dave-mccowan has quit IRC17:29
*** lajoskatona has quit IRC17:38
*** jtriley has joined #openstack-horizon17:43
*** yamamoto has quit IRC17:49
*** yamamoto has joined #openstack-horizon17:53
*** itlinux has joined #openstack-horizon17:53
openstackgerritTrygve Vea proposed openstack/horizon master: Remove deprecated and unused API function from Nova API  https://review.openstack.org/51579517:56
*** yamamoto has quit IRC17:59
*** rmart04 has joined #openstack-horizon18:02
*** harlowja has quit IRC18:05
*** harlowja has joined #openstack-horizon18:05
*** e0ne has quit IRC18:15
*** dave-mccowan has joined #openstack-horizon18:38
*** dave-mccowan has quit IRC18:44
*** jtriley has quit IRC18:45
*** jtriley has joined #openstack-horizon18:45
*** yamamoto has joined #openstack-horizon18:59
*** yamamoto has quit IRC19:06
*** rmart04 has quit IRC19:27
*** catintheroof has quit IRC19:29
*** e0ne has joined #openstack-horizon19:29
*** e0ne has quit IRC19:30
*** tesseract has quit IRC19:33
*** dave-mccowan has joined #openstack-horizon19:37
*** catintheroof has joined #openstack-horizon19:41
*** catintheroof has quit IRC19:45
*** dave-mccowan has quit IRC19:49
*** rcernin has joined #openstack-horizon19:57
*** itlinux has quit IRC20:01
*** yamamoto has joined #openstack-horizon20:02
*** rmart04 has joined #openstack-horizon20:03
*** yamamoto has quit IRC20:08
*** wolverineav has quit IRC20:18
*** wolverineav has joined #openstack-horizon20:18
*** dave-mccowan has joined #openstack-horizon20:33
*** dave-mccowan has quit IRC20:38
*** itlinux has joined #openstack-horizon20:41
*** jtriley has quit IRC20:42
*** felipemonteiro__ has quit IRC20:48
openstackgerritTrygve Vea proposed openstack/django_openstack_auth master: Add user_domain_name to logs regarding authentication  https://review.openstack.org/51546421:01
*** yamamoto has joined #openstack-horizon21:05
*** itlinux has quit IRC21:07
*** yamamoto has quit IRC21:10
*** itlinux has joined #openstack-horizon21:15
*** rcernin has quit IRC21:28
*** itxaka has quit IRC21:36
*** itlinux has quit IRC21:44
*** wolverineav has quit IRC21:50
*** wolverineav has joined #openstack-horizon21:50
*** wolverineav has quit IRC21:54
*** yamamoto has joined #openstack-horizon22:06
*** yamamoto has quit IRC22:11
*** jtomasek has quit IRC22:14
*** dave-mccowan has joined #openstack-horizon22:15
*** dave-mccowan has quit IRC22:24
*** itlinux has joined #openstack-horizon22:33
*** itlinux has quit IRC22:46
*** wolverineav has joined #openstack-horizon22:46
*** tosky has quit IRC23:00
*** yamamoto has joined #openstack-horizon23:07
*** yamamoto has quit IRC23:12
*** ianychoi has joined #openstack-horizon23:56

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