Friday, 2019-02-22

*** dave-mccowan has joined #openstack-containers00:04
*** hongbin has quit IRC00:06
*** sdake_ has quit IRC00:08
*** mrodriguez has quit IRC00:22
*** sdake has joined #openstack-containers00:25
*** dave-mccowan has quit IRC00:53
*** sdake has quit IRC01:44
*** sdake has joined #openstack-containers01:45
openstackgerritFeilong Wang proposed openstack/magnum master: [WIP] Support <cluster>/actions/resize API  https://review.openstack.org/63857202:01
openstackgerritFeilong Wang proposed openstack/magnum master: [WIP] Support <cluster>/actions/resize API  https://review.openstack.org/63857202:08
*** imdigitaljim has quit IRC02:09
*** _fragatina has quit IRC02:11
*** sdake has quit IRC02:32
*** sdake has joined #openstack-containers02:33
*** sdake has quit IRC02:38
*** sdake_ has joined #openstack-containers02:39
*** ArchiFleKs has quit IRC02:51
*** sdake_ has quit IRC03:03
*** ArchiFleKs has joined #openstack-containers03:08
*** sdake has joined #openstack-containers03:09
*** janki has joined #openstack-containers03:20
*** sdake has quit IRC03:33
openstackgerritFeilong Wang proposed openstack/magnum master: [WIP] Support <cluster>/actions/resize API  https://review.openstack.org/63857203:39
*** _fragatina has joined #openstack-containers03:40
*** udesale has joined #openstack-containers03:53
*** _fragatina has quit IRC03:57
*** _fragatina has joined #openstack-containers03:57
openstackgerritJake Yip proposed openstack/python-magnumclient master: python3 fixes  https://review.openstack.org/63807704:08
*** ramishra has joined #openstack-containers04:48
*** lpetrut has joined #openstack-containers04:49
jakeyiphey flwang I just found out that https://review.openstack.org/#/c/572897/ fails python3.7 tox due to async being a keyword.04:54
jakeyipnot sure how to patch it if you want to retain compatibility with older clients.04:54
*** _fragatina has quit IRC05:05
eanderssonjakeyip, the parameter async=None ?05:12
jakeyipyeap05:12
eanderssonYea that needs to be fixed :'(05:12
jakeyipupstream has fixed it https://github.com/kubernetes-client/python/commit/b10c7b6a175ab96291a6f74d68ea6027151f3b71 but I'm guessing flwang is keeping that parameter for backwards compatibility with older clients.05:15
eanderssonjakeyip, those aren't even passed on?05:18
eanderssonWe can just add **kwargs at the end of call_api to handle backwards comp05:18
jakeyipyeah that could work. was wondering if he has something else in mind, or it was just a copy-pasta. the async/async_req is ignored anyway. can just let **kwargs handle them05:24
*** lpetrut has quit IRC05:25
jakeyipI think I could do this, wrote something running tox now.05:34
jakeyipbtw @eandersson I wrote tests like you asked me to :P05:34
openstackgerritJake Yip proposed openstack/magnum master: Fix async reserved word in python3.7  https://review.openstack.org/63858405:42
*** lpetrut has joined #openstack-containers05:54
*** _fragatina has joined #openstack-containers06:07
*** _fragatina has quit IRC06:24
*** ykarel|pto has joined #openstack-containers06:38
*** ykarel|pto is now known as ykarel06:40
*** sdake has joined #openstack-containers06:59
*** ivve has joined #openstack-containers07:14
*** sdake has quit IRC07:33
*** ykarel is now known as ykarel|lunch07:46
eanderssonlooks good jakeyip did you try with and without the patch to make sure the tests catch that?07:52
*** belmoreira has quit IRC07:54
*** belmoreira has joined #openstack-containers08:05
*** ykarel|lunch is now known as ykarel08:10
*** sdake has joined #openstack-containers08:17
jakeyipeandersson: yes test caught it. turns out the whole part of writing certs to config file wasn't being tested previously because tls_disabled = true in the test08:20
*** alisanhaji has joined #openstack-containers08:25
*** ykarel is now known as ykarel|lunch08:59
*** sdake has quit IRC09:26
*** ivve has quit IRC09:34
*** ArchiFleKs has quit IRC09:37
*** ykarel|lunch is now known as ykarel09:41
openstackgerritSpyros Trigazis proposed openstack/magnum master: Add reno for flannle reboot fix  https://review.openstack.org/63861309:45
*** ArchiFleKs has joined #openstack-containers09:48
*** alisanhaji has quit IRC10:05
openstackgerritSpyros Trigazis proposed openstack/magnum master: Add reno for flannel reboot fix  https://review.openstack.org/63861310:08
*** alisanhaji has joined #openstack-containers10:16
openstackgerritColleen Murphy proposed openstack/magnum-tempest-plugin master: Fix skipping of tests  https://review.openstack.org/63861910:19
*** rcernin has quit IRC10:31
*** udesale has quit IRC10:59
*** sdake has joined #openstack-containers11:11
*** suanand has joined #openstack-containers11:13
openstackgerritMerged openstack/magnum stable/queens: Rename scripts  https://review.openstack.org/63124611:20
*** janki has quit IRC12:01
*** sdake_ has joined #openstack-containers12:03
*** sdake has quit IRC12:03
*** _fragatina has joined #openstack-containers12:03
*** udesale has joined #openstack-containers12:16
*** suanand has quit IRC12:27
*** ivve has joined #openstack-containers12:35
*** dave-mccowan has joined #openstack-containers13:20
*** udesale has quit IRC13:25
*** jmlowe has quit IRC13:30
*** udesale has joined #openstack-containers13:41
*** dave-mccowan has quit IRC13:43
*** dioguerra has joined #openstack-containers13:43
*** ArchiFleKs has quit IRC13:46
*** ArchiFleKs has joined #openstack-containers13:49
*** sdake_ has quit IRC13:51
*** mrodriguez has joined #openstack-containers14:10
*** sdake has joined #openstack-containers14:17
*** alisanhaji has quit IRC14:24
*** alisanhaji has joined #openstack-containers14:29
*** dave-mccowan has joined #openstack-containers14:38
*** sdake has quit IRC14:43
*** sdake has joined #openstack-containers14:46
*** dioguerra has quit IRC14:49
*** hongbin has joined #openstack-containers14:54
*** jmlowe has joined #openstack-containers15:02
*** dioguerra has joined #openstack-containers15:03
*** ArchiFleKs has quit IRC15:09
*** ykarel is now known as ykarel|away15:10
*** ArchiFleKs has joined #openstack-containers15:10
*** udesale has quit IRC15:18
*** sdake has quit IRC15:21
*** sdake has joined #openstack-containers15:22
*** jmlowe has quit IRC15:49
*** ykarel|away has quit IRC15:55
*** flwang1 has joined #openstack-containers15:56
flwang1strigazi: around?15:56
strigaziflwang1: yes15:57
flwang1strigazi: did you see the patch I proposed for resize?15:57
strigaziyes15:58
strigazilooks good15:58
flwang1is that generally OK15:58
flwang1cool15:58
strigaziright direction15:58
strigaziI left comments in the story15:58
flwang1will your upgrade api be right for review this week?15:58
strigaziyes15:59
strigazis/right/ready15:59
flwang1sorry, typo, but you got my point ;)16:00
flwang1i can't see your comments https://storyboard.openstack.org/#!/story/200505216:01
strigazihttps://storyboard.openstack.org/#!/story/200505416:01
flwang1ah, right16:01
*** jmlowe has joined #openstack-containers16:02
flwang1thanks, there are several things i'd like to discuss16:04
flwang11. PUT or PATCH16:04
strigaziPATCH16:04
strigaziput needs to creates something in the api16:04
strigaziput needs to create something in the api16:05
flwang1but PATCH generally means you're updating an existing attribute16:05
strigazinode_count in our case16:05
flwang1but it doesn't really matter, i don't have strong preference16:05
flwang12. size/node_count16:06
strigaziwe can go for node_count, size doesn't exist anywhere16:06
flwang1do we need to have it?   e.g.   current node_count is   3,     new node_count is also 3, but I'm give nodes_to_remove=['a']16:07
flwang1which for me, means i'd like to remove node 'a', but i would like to bring the node count back to 3,   so it's like a replacement16:07
strigaziyes, it is like a replacement16:08
*** belmoreira has quit IRC16:08
flwang1i'm not asking using 'size' or 'node_count', i'm asking how do we want to design this api16:08
strigazigo tit16:08
strigazigot it16:08
strigaziyou described a corner case that node_count is the same16:09
strigaziIn another case, current is 316:09
strigaziI want to drop nodeA and go to 516:09
strigaziI think it reasonable16:09
strigaziI think it is reasonable16:09
flwang1but this is 'breaking' the api semantic a bit16:09
strigazihow?16:10
flwang1same node_count16:10
strigazithat resize won't resize?16:10
flwang1yep16:10
flwang13->5, that's OK, but 3->3, hmm...16:10
flwang1but personally, i like it16:10
strigazithat is true. What would you prefer?16:10
strigaziwait to go to 2 and then do another call to go to 3 again?16:11
flwang1i think it could be a great feature, which make magnum api smart from some PoV16:11
flwang1yep, that's another option16:11
strigazion ther other hand, think this16:11
strigaziyou say node_to_remove=nodeA and you do not pass node_count16:12
strigaziit will decrease to 216:12
flwang1yes16:13
strigaziin the case of node_count 3 -> 3 , node_count acts as a desired node_count16:13
strigazilike in kubernetes16:13
flwang1yes16:13
flwang1that's my point16:13
flwang1like declarative api16:14
strigazi3->3 is less surpising16:14
*** ykarel|away has joined #openstack-containers16:14
strigazifor some maybe less, for others more, don't know16:14
flwang1we just need good api document16:15
strigaziif something is similar to kubernetes, it might be better? :)16:15
flwang1for people playing k8s, no surprise i think16:15
flwang1true, that's my point16:15
strigazimagnum users are also kubernetes users, right?16:15
strigazi95% :)16:16
* strigazi will be right back16:16
flwang1ok16:17
strigaziback16:18
strigaziso sold, node_count=3 nodes_to_remove=a result 316:19
strigazinodes_to_remove=a node_count not passed, result?16:20
strigaziflwang1: ^^16:21
flwang1deal, i will write a spec to document16:22
flwang1btw, yesterday, i was testing the auto healing16:23
flwang1using latest code of PR 169016:23
strigaziflwang1 node_count mandatory16:23
flwang1in the CA's log, i can see CA is trying to delete minion0, but finally my minion1 is deleted, any thoughts?16:23
strigazinodes_to_remove optional16:23
flwang1though my heat is debug mode, i can't see the request body, so no clue now16:24
strigaziI know16:24
strigazione sec16:24
flwang1known issue?16:24
strigaziyes16:24
flwang1oh.......16:24
flwang1my toe16:24
strigazihttps://github.com/openstack/magnum/commit/3ca2eb30369a00240a92c254c95bea6c7a60fee116:25
strigaziwe need to make it {get_resource: kube-minion}16:25
flwang1so that's the last comment you left on https://storyboard.openstack.org/#!/story/2005054 ?16:26
strigaziit is not exactly an issue16:26
flwang1do you have a patch already?16:26
strigaziit is an issue if you use the heat-api16:26
strigazino16:26
flwang1yep, i'm using heat-api16:26
flwang1btw, PR 1690 doesn't work for Heat Queens, which is a pain for us16:26
strigaziwe can do this patch, {get_resource: kube-minion}16:27
strigaziand tell thomas to swicth to uuid16:27
strigazinot deletion by ip16:27
flwang1strigazi: will it break the feature if we're using heat queens16:27
strigaziwe can backport16:27
strigazino?16:27
flwang1my testing is based on nova UUID16:27
flwang1btw, PR 1690 doesn't work for Heat Queens, which is a pain for us   ---- this could be a gophercloud problem16:28
strigaziwhat doesn't work?16:28
strigazithe issue the deletes a different node?16:28
strigazithe issue that deletes a different node?16:28
flwang1the request body CA sends to Heat Queens, will get 400 error16:28
strigaziwe have heat queens as well16:29
strigaziand it works16:29
flwang1it's weird16:29
flwang1i tested on our production, it failed, then i tested it on devstack, and it 'worked', at least no 40016:29
strigazido you agree to do the change to uuid and backport?16:29
flwang1strigazi: sure, any potential risk?16:30
strigazitwo very low risks. I'll explain16:31
flwang1ok16:32
openstackgerritFeilong Wang proposed openstack/magnum master: [fedora_atomic] Support auto healing for k8s  https://review.openstack.org/63137816:33
*** ricolin has joined #openstack-containers16:37
*** ricolin has quit IRC16:37
*** flwang1 has quit IRC16:41
*** itlinux has joined #openstack-containers16:47
*** flwang1 has joined #openstack-containers16:48
flwang1sorry, i lost connection16:49
*** mgariepy has joined #openstack-containers16:53
strigaziactually one risk, users that rely on the nested stack id for deleting nodes will have to start using the nodes uuid17:06
strigaziflwang1: only this issue ^^17:06
*** ykarel_ has joined #openstack-containers17:08
flwang1strigazi: but generally, our users won't talk to that api for deleting, right?17:09
flwang1will it break your existing script or something?17:09
strigaziit won't beak something that we use17:10
*** ykarel|away has quit IRC17:10
flwang1ok, then let's do it17:14
strigazicool, anything else? I need to leave17:16
*** flwang1 has quit IRC17:19
*** flwang1 has joined #openstack-containers17:22
*** cranges has joined #openstack-containers17:29
flwang1strigazi: no, all good17:37
flwang1strigazi: i will propose the patch to speed it up17:37
*** _fragatina has quit IRC17:42
*** jmlowe has quit IRC17:51
*** sdake has quit IRC17:54
*** sdake has joined #openstack-containers17:56
*** cranges has quit IRC18:00
*** dave-mccowan has quit IRC18:15
*** _fragatina has joined #openstack-containers18:32
eanderssonjakeyip, awesome18:38
eanderssongreat find18:38
eanderssonI think strigazi was asking me about that a few weeks ago18:38
*** ramishra has quit IRC18:40
*** lpetrut has quit IRC18:51
*** colby_ has quit IRC19:02
*** lpetrut has joined #openstack-containers19:07
*** ykarel_ is now known as ykarel19:28
*** sdake has quit IRC19:31
*** ykarel is now known as ykarel|away19:32
*** _fragatina has quit IRC19:41
*** itlinux has quit IRC19:41
*** dave-mccowan has joined #openstack-containers19:43
*** ykarel|away has quit IRC19:46
*** lpetrut has quit IRC20:08
*** itlinux has joined #openstack-containers20:25
*** alisanhaji has quit IRC20:32
*** itlinux has quit IRC20:51
*** itlinux has joined #openstack-containers21:01
*** itlinux has quit IRC21:02
*** itlinux has joined #openstack-containers21:13
*** henriqueof has quit IRC21:20
*** itlinux has quit IRC21:20
*** itlinux has joined #openstack-containers21:40
*** ivve has quit IRC21:47
*** dave-mccowan has quit IRC21:55
*** _fragatina has joined #openstack-containers22:21
*** spiette has quit IRC22:27
*** spiette has joined #openstack-containers22:31
*** sdake has joined #openstack-containers22:37
*** itlinux has quit IRC23:35
openstackgerritFeilong Wang proposed openstack/magnum master: [WIP] Support <cluster>/actions/resize API  https://review.openstack.org/63857223:52
*** itlinux has joined #openstack-containers23:57

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