Thursday, 2018-08-23

*** livelace has quit IRC00:44
*** livelace has joined #openstack-containers00:44
*** Nel1x has joined #openstack-containers00:45
*** harlowja has quit IRC01:06
*** ricolin has joined #openstack-containers01:18
*** hongbin has joined #openstack-containers01:57
openstackgerritziyu proposed openstack/magnum master: Correct the invalid reference  https://review.openstack.org/59538801:57
*** mnasiadka has quit IRC02:29
*** rabel has quit IRC02:29
*** Nel1x has quit IRC02:53
*** hongbin_ has joined #openstack-containers03:21
*** hongbin has quit IRC03:24
*** udesale has joined #openstack-containers03:47
*** ykarel has joined #openstack-containers04:14
*** ramishra has joined #openstack-containers04:44
openstackgerritFilippo Inzaghi proposed openstack/magnum master: import zuul job settings from project-config  https://review.openstack.org/59545705:02
openstackgerritFilippo Inzaghi proposed openstack/magnum master: switch documentation job to new PTI  https://review.openstack.org/59545805:02
openstackgerritFilippo Inzaghi proposed openstack/magnum master: add python 3.6 unit test job  https://review.openstack.org/59545905:02
openstackgerritFilippo Inzaghi proposed openstack/magnum-specs master: import zuul job settings from project-config  https://review.openstack.org/59546005:02
openstackgerritFilippo Inzaghi proposed openstack/magnum-tempest-plugin master: import zuul job settings from project-config  https://review.openstack.org/59546105:02
openstackgerritFilippo Inzaghi proposed openstack/magnum-ui master: import zuul job settings from project-config  https://review.openstack.org/59546205:02
openstackgerritFilippo Inzaghi proposed openstack/magnum-ui master: switch documentation job to new PTI  https://review.openstack.org/59546305:02
openstackgerritFilippo Inzaghi proposed openstack/python-magnumclient master: import zuul job settings from project-config  https://review.openstack.org/59546405:02
openstackgerritFilippo Inzaghi proposed openstack/python-magnumclient master: switch documentation job to new PTI  https://review.openstack.org/59546505:02
openstackgerritFilippo Inzaghi proposed openstack/python-magnumclient master: add python 3.6 unit test job  https://review.openstack.org/59546605:02
openstackgerritFilippo Inzaghi proposed openstack/magnum stable/ocata: import zuul job settings from project-config  https://review.openstack.org/59546705:02
openstackgerritFilippo Inzaghi proposed openstack/magnum-ui stable/ocata: import zuul job settings from project-config  https://review.openstack.org/59546805:02
openstackgerritFilippo Inzaghi proposed openstack/python-magnumclient stable/ocata: import zuul job settings from project-config  https://review.openstack.org/59546905:03
openstackgerritFilippo Inzaghi proposed openstack/magnum stable/pike: import zuul job settings from project-config  https://review.openstack.org/59547005:03
openstackgerritFilippo Inzaghi proposed openstack/magnum-ui stable/pike: import zuul job settings from project-config  https://review.openstack.org/59547105:03
openstackgerritFilippo Inzaghi proposed openstack/python-magnumclient stable/pike: import zuul job settings from project-config  https://review.openstack.org/59547205:03
openstackgerritFilippo Inzaghi proposed openstack/magnum stable/queens: import zuul job settings from project-config  https://review.openstack.org/59547305:03
openstackgerritFilippo Inzaghi proposed openstack/magnum-ui stable/queens: import zuul job settings from project-config  https://review.openstack.org/59547405:03
openstackgerritFilippo Inzaghi proposed openstack/python-magnumclient stable/queens: import zuul job settings from project-config  https://review.openstack.org/59547505:03
openstackgerritFilippo Inzaghi proposed openstack/magnum stable/rocky: import zuul job settings from project-config  https://review.openstack.org/59547605:03
openstackgerritFilippo Inzaghi proposed openstack/magnum-ui stable/rocky: import zuul job settings from project-config  https://review.openstack.org/59547705:03
openstackgerritFilippo Inzaghi proposed openstack/python-magnumclient stable/rocky: import zuul job settings from project-config  https://review.openstack.org/59547805:03
*** ykarel_ has joined #openstack-containers05:17
*** hongbin_ has quit IRC05:19
*** ykarel has quit IRC05:21
*** janki has joined #openstack-containers05:40
openstackgerritShu Muto proposed openstack/magnum-ui stable/queens: Fix horizon dependency from master to stable branch  https://review.openstack.org/59548505:41
openstackgerritShu Muto proposed openstack/magnum-ui stable/pike: Fix horizon dependency from master to stable branch  https://review.openstack.org/59548605:43
openstackgerritMerged openstack/magnum-ui master: import zuul job settings from project-config  https://review.openstack.org/59546205:45
openstackgerritMerged openstack/magnum-ui stable/rocky: import zuul job settings from project-config  https://review.openstack.org/59547705:45
openstackgerritMerged openstack/magnum-ui master: switch documentation job to new PTI  https://review.openstack.org/59546305:46
openstackgerritShu Muto proposed openstack/magnum-ui stable/ocata: Fix horizon dependency from master to stable branch  https://review.openstack.org/59548805:49
*** boris999 has joined #openstack-containers06:00
*** jchhatbar has joined #openstack-containers06:31
*** janki has quit IRC06:31
*** pcaruana has joined #openstack-containers06:33
*** ramishra has quit IRC06:49
*** rcernin has quit IRC06:59
*** mattgo has joined #openstack-containers07:00
*** ykarel_ is now known as ykarel|away07:02
*** boris999 has quit IRC07:02
*** boris999 has joined #openstack-containers07:04
*** ykarel|away has quit IRC07:07
*** ramishra has joined #openstack-containers07:07
*** jchhatba_ has joined #openstack-containers07:24
*** jchhatbar has quit IRC07:25
*** sfilatov has joined #openstack-containers07:30
*** ykarel|away has joined #openstack-containers07:36
*** ykarel|away is now known as ykarel07:36
*** sfilatov has quit IRC07:39
*** jchhatba_ has quit IRC07:46
*** jchhatba_ has joined #openstack-containers07:48
*** jchhatba_ has quit IRC07:50
*** jchhatba_ has joined #openstack-containers07:50
openstackgerritShu Muto proposed openstack/magnum-ui stable/queens: import zuul job settings from project-config  https://review.openstack.org/59547407:54
openstackgerritShu Muto proposed openstack/magnum-ui stable/ocata: import zuul job settings from project-config  https://review.openstack.org/59546807:55
openstackgerritShu Muto proposed openstack/magnum-ui stable/pike: import zuul job settings from project-config  https://review.openstack.org/59547107:55
strigazisfilatov_ I guess you are not using the system containers from docker.io/openstackmagnum08:01
openstackgerritMerged openstack/magnum-ui stable/ocata: Fix horizon dependency from master to stable branch  https://review.openstack.org/59548808:03
openstackgerritMerged openstack/magnum-ui stable/pike: Fix horizon dependency from master to stable branch  https://review.openstack.org/59548608:03
*** ktibi has joined #openstack-containers08:04
openstackgerritMerged openstack/magnum-ui stable/queens: Fix horizon dependency from master to stable branch  https://review.openstack.org/59548508:05
strigazisfilatov_> I guess when you tested 1.11 compatibility, you did it without TLS enabled RE: kubernetes deployed by magnum doesn't work without certficates. So let's not make assumptions that we are not using tls08:05
*** canori02 has quit IRC08:10
strigazi sfilatov_ are you using fedora atomic or you have a fork of magnum?08:15
*** ykarel is now known as ykarel|lunch08:40
openstackgerritMerged openstack/magnum-ui stable/queens: import zuul job settings from project-config  https://review.openstack.org/59547408:48
openstackgerritMerged openstack/magnum-ui stable/ocata: import zuul job settings from project-config  https://review.openstack.org/59546808:48
openstackgerritMerged openstack/magnum-ui stable/pike: import zuul job settings from project-config  https://review.openstack.org/59547108:50
boris999Hi guys, I would like to ask, how to force python-magnumclient to use provided token for all subsequent request ? What happens is following: 1. I create session, pass it as a parameter to MagnumClient. 2. Magnum uses the token provided to obtain new token from keystone. This is not desirable in my case. How to avoid that ?09:02
strigaziboris999: the server or the client tries to create a new token?09:05
boris999the client asks server to create new token. It uses original token provided for authentication.09:09
*** ykarel|lunch is now known as ykarel09:10
boris999I explicitly specify reauthenticate=False when creating v3.Token09:14
*** jchhatba_ has quit IRC09:14
*** jchhatba_ has joined #openstack-containers09:14
strigaziboris999: I'm lost, you don'09:18
strigaziboris999: I'm lost, you don't want the client to request a second token?09:18
boris999correct09:19
strigaziboris999: what if you use password authentication?09:21
strigaziboris999: do you use this workflow with other clients too?09:22
strigaziboris999: and they are different to magnum?09:23
boris999i am afraid that's not an option for me. I receive the token from end-user. Received token has a scope. The token which client asks does not have needed scope -> subsequent request end with failure09:23
boris999strigazi: well, this is the first client I am using :)09:24
strigaziboris999: it seems that this how the keystone middleware work09:24
strigaziboris999: it seems that this how the keystone middleware works09:24
boris999strigazi: thank you very much for info.09:30
boris999strigazi: if by any chance some solution crossed your mind, it would be very welcomed :)09:31
strigaziboris999: you can try with password auth09:33
boris999i will think about it, thank you09:33
strigaziboris999: or you can try to see if the behaviour is the same using curl or python requests09:33
strigaziboris999: but since with postman is different, I guess with curl or python requests should be fine09:34
*** jchhatbar has joined #openstack-containers09:36
*** jchhatba_ has quit IRC09:39
*** jchhatbar has quit IRC09:58
boris999 strigazi: yes, with python requests it works. that might be used as last resort. However I would really like to use that python-magnumclient if possible. I'll dig into it a bit further10:28
boris999strigazi: the solution is to specify scope of v3.token, which is passed to session. That way client still asks for new token, however as the scope is the same, subsequent request works. Thank you.10:45
*** dave-mccowan has joined #openstack-containers10:45
*** jchhatbar has joined #openstack-containers10:46
strigaziboris999 you weren't using v3.Token before?11:07
*** udesale has quit IRC11:31
boris999strigazi: yes, I were. But I did specify only 'token','auth_url','reauthenticate'. Now i added 'project_name' and 'project_domain_id'11:34
strigazioh right11:35
boris999strigazi: one more question. I am encountering following crash when server response is 403. http://paste.openstack.org/show/728673/. magnum client crashes11:35
boris999is it a known issue ?11:35
strigazifirst time I see it11:37
boris999shall I file bug ?11:38
strigaziWhat is the bug though?11:39
strigaziHow one can reprocude?11:40
boris999when magnum_clt.clusters.create() fails (server reponse is 403), magnum client crashes11:40
strigaziclient tag?11:41
strigaziserver tag?11:41
boris999i don't understand the question11:41
strigazihttp://git.openstack.org/cgit/openstack/python-magnumclient/refs/11:41
strigazihttp://git.openstack.org/cgit/openstack/magnum/refs/11:41
strigazimagnum --version11:42
strigazibtw, what are you trying to do?11:42
boris999$ magnum --version 2.10.111:43
strigaziand server?11:43
strigazimagnum-api --version11:43
strigaziif you have access to the server11:43
boris9997.0.1.dev1311:44
strigazidevstack?11:44
boris999yes11:44
boris999queens11:44
boris999strigazi: create a cluster. Which I am able to do. However i encountered the reproducible crash we are talking about11:45
strigaziIs the api saying smth?11:45
strigazithe log of the magnum api11:46
boris999checking right now11:47
boris999well, nothing interesting, magnum api sends the response with the error11:49
boris999localhost magnum-api[7435]: 2018-08-23 11:46:45.717 DEBUG wsme.api [req-92c02503-0281-4709-b6f9-1f7fd01344b6 None None] Client-side error: unexpected keystone client error occurred: The service catalog is empty. format_exception /usr/local/lib/python2.7/dist-packages/wsme/api.py:22211:49
boris999Aug 23 11:46:45 localhost magnum-api[7435]: 2018-08-23 11:46:45.723 INFO werkzeug [req-92c02503-0281-4709-b6f9-1f7fd01344b6 None None] 195.28.94.38 - - [23/Aug/2018 11:46:45] "#033[1m#033[31mPOST /v1/clusters HTTP/1.1#033[0m" 403 -11:49
boris999and the response the causes crash in magnum client11:50
boris999*then11:50
boris999or is it expected ?11:52
boris999then when there is an error, exception is thrown and should be handled by me ?11:53
boris999http://paste.openstack.org/show/728675/11:54
strigazithe client shouldn't crash and for sure the magnum sevrer has a wrong config11:55
boris999http://paste.openstack.org/show/728676/11:56
strigaziopenstack catalog list11:56
boris999ignore the first link please11:56
strigaziyou should be able to see the endpoints11:56
boris999strigazi: well, magnum server has correct config. Issue is hit, when authorized aotken with incorrect scope is used11:57
boris999that results in reported error11:57
*** josecastroleon has joined #openstack-containers11:58
josecastroleonif you send an unscoped token to a keystone server it will send you an empty catalog11:58
josecastroleonthere is nothing you can do from there, unless you scope it11:59
strigazimaybe the client needs to catch it?11:59
strigazimaybe it needs one more except clause?12:00
boris999josecastroleon: that's fine. I am not complaining about that. What I am saying is, when that happens, and this error is being sent back to client, client should not crash. Or am I missing something ?12:00
strigaziif body is empty12:00
strigaziboris999: so yes, we need story in storyboard.openstack.org12:02
strigaziboris999: so yes, we need a story in storyboard.openstack.org12:02
strigaziboris999: if you can also do the fix, it would be nice :)12:02
boris999strigazi: ok, will do :)12:04
*** pcaruana has quit IRC12:16
*** pcaruana has joined #openstack-containers12:16
*** dims_ is now known as dims12:37
*** ykarel has quit IRC12:51
*** ykarel has joined #openstack-containers12:51
*** udesale has joined #openstack-containers12:54
*** ktibi has quit IRC13:35
*** ktibi_ has joined #openstack-containers13:35
openstackgerritMerged openstack/magnum master: Deprecate send_cluster_metrics  https://review.openstack.org/57224913:37
*** jchhatbar has quit IRC13:55
*** ianychoi has quit IRC13:59
*** ianychoi has joined #openstack-containers14:00
*** hongbin has joined #openstack-containers14:02
*** kaiokmo has joined #openstack-containers14:07
*** pbourke has quit IRC14:24
*** pbourke has joined #openstack-containers14:26
*** Bhujay has joined #openstack-containers14:39
boris999@strigazi I have the fix, all the unit tests are passing. Does commit message need to  contain anything else than task number from story board ?14:47
strigazistory: $number14:48
strigazitask: $numer_of_task14:49
boris999@strigazi https://storyboard.openstack.org/#!/story/2003533 -> story: 2003533 task:24818  ?14:50
strigaziyes, diffrent lines14:52
boris999thank you14:53
boris999@strigazi14:57
boris999bpilka@bpilka-laptop:~/xworks/python-magnumclient$ git push origin 2003533_crash_error_response14:57
boris999ERROR: Permission to openstack/python-magnumclient.git denied to BorisSK.14:57
boris999fatal: Could not read from remote repository.14:57
boris999i have checkouted master, from that new branch to fix, which a am trying to push.14:57
boris999what am I doing wrong ?14:58
openstackgerritBoris Pilka proposed openstack/python-magnumclient master: python-magnumclient crashes when receives error response  403 - Service catalog empty  https://review.openstack.org/59580915:01
boris999got it :)15:01
*** itlinux__ has joined #openstack-containers15:06
strigaziboris999: the title of commit messages usually is < 50 chars15:07
boris999@strigazi oh, ok. Shall I ammend the message ?15:09
strigaziboris999: yes15:14
*** itlinux__ is now known as itlinux15:15
*** itlinux is now known as 59NAABP8D15:15
openstackgerritBoris Pilka proposed openstack/python-magnumclient master: crash: error response 403: Service catalog empty  https://review.openstack.org/59580915:17
*** 59NAABP8D has quit IRC15:17
*** itlinux has joined #openstack-containers15:18
boris999thanks guys, bye for now15:22
*** boris999 has left #openstack-containers15:22
*** ktibi_ has quit IRC15:23
*** ktibi_ has joined #openstack-containers15:23
*** ykarel is now known as ykarel|away15:32
*** Bhujay has quit IRC15:35
*** pcaruana has quit IRC15:36
*** ykarel|away has quit IRC15:51
*** mattgo has quit IRC15:55
*** imdigitaljim has joined #openstack-containers15:56
openstackgerritBoris Pilka proposed openstack/python-magnumclient master: Fix crash on Service catalog empty 403 response  https://review.openstack.org/59580915:57
*** itlinux is now known as itlinux-away15:58
*** itlinux-away is now known as itlinux16:00
*** itlinux is now known as itlinux-away16:00
*** itlinux-away is now known as itlinux16:05
*** itlinux is now known as itlinux-away16:05
*** itlinux-away is now known as itlinux16:06
*** ktibi_ has quit IRC16:07
*** itlinux is now known as itlinux-away16:07
*** itlinux-away is now known as itlinux16:13
*** itlinux is now known as itlinux-away16:14
*** harlowja has joined #openstack-containers16:17
*** itlinux-away is now known as itlinux16:18
*** itlinux is now known as itlinux-away16:18
*** Bhujay has joined #openstack-containers16:19
*** itlinux-away is now known as itlinux16:21
*** ricolin has quit IRC16:24
*** udesale has quit IRC16:40
*** harlowja has quit IRC16:40
*** ricolin has joined #openstack-containers16:42
*** ramishra has quit IRC16:52
*** Bhujay has quit IRC17:08
*** ricolin has quit IRC18:07
*** pcaruana has joined #openstack-containers18:52
*** pcaruana has quit IRC19:09
openstackgerritFeilong Wang proposed openstack/magnum stable/rocky: Deprecate send_cluster_metrics  https://review.openstack.org/59587619:55
colin-anyone know if there is a precedent for magnum to consume Ironic (MaaS) in openstack?21:20
colin-instead of nova21:20
dimscolin- i believe so, i remember a talk - https://www.openstack.org/videos/boston-2017/build-bare-metal-kubernetes-cluster-for-hpc-on-openstack-in-translational-medicine-research-at-sjtu21:38
*** rcernin has joined #openstack-containers21:46
colin-perfect, thank you dims22:05
*** threestrands has joined #openstack-containers22:53
*** ricolin has joined #openstack-containers23:29

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