*** livelace has quit IRC | 00:44 | |
*** livelace has joined #openstack-containers | 00:44 | |
*** Nel1x has joined #openstack-containers | 00:45 | |
*** harlowja has quit IRC | 01:06 | |
*** ricolin has joined #openstack-containers | 01:18 | |
*** hongbin has joined #openstack-containers | 01:57 | |
openstackgerrit | ziyu proposed openstack/magnum master: Correct the invalid reference https://review.openstack.org/595388 | 01:57 |
---|---|---|
*** mnasiadka has quit IRC | 02:29 | |
*** rabel has quit IRC | 02:29 | |
*** Nel1x has quit IRC | 02:53 | |
*** hongbin_ has joined #openstack-containers | 03:21 | |
*** hongbin has quit IRC | 03:24 | |
*** udesale has joined #openstack-containers | 03:47 | |
*** ykarel has joined #openstack-containers | 04:14 | |
*** ramishra has joined #openstack-containers | 04:44 | |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum master: import zuul job settings from project-config https://review.openstack.org/595457 | 05:02 |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum master: switch documentation job to new PTI https://review.openstack.org/595458 | 05:02 |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum master: add python 3.6 unit test job https://review.openstack.org/595459 | 05:02 |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum-specs master: import zuul job settings from project-config https://review.openstack.org/595460 | 05:02 |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum-tempest-plugin master: import zuul job settings from project-config https://review.openstack.org/595461 | 05:02 |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum-ui master: import zuul job settings from project-config https://review.openstack.org/595462 | 05:02 |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum-ui master: switch documentation job to new PTI https://review.openstack.org/595463 | 05:02 |
openstackgerrit | Filippo Inzaghi proposed openstack/python-magnumclient master: import zuul job settings from project-config https://review.openstack.org/595464 | 05:02 |
openstackgerrit | Filippo Inzaghi proposed openstack/python-magnumclient master: switch documentation job to new PTI https://review.openstack.org/595465 | 05:02 |
openstackgerrit | Filippo Inzaghi proposed openstack/python-magnumclient master: add python 3.6 unit test job https://review.openstack.org/595466 | 05:02 |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum stable/ocata: import zuul job settings from project-config https://review.openstack.org/595467 | 05:02 |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum-ui stable/ocata: import zuul job settings from project-config https://review.openstack.org/595468 | 05:02 |
openstackgerrit | Filippo Inzaghi proposed openstack/python-magnumclient stable/ocata: import zuul job settings from project-config https://review.openstack.org/595469 | 05:03 |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum stable/pike: import zuul job settings from project-config https://review.openstack.org/595470 | 05:03 |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum-ui stable/pike: import zuul job settings from project-config https://review.openstack.org/595471 | 05:03 |
openstackgerrit | Filippo Inzaghi proposed openstack/python-magnumclient stable/pike: import zuul job settings from project-config https://review.openstack.org/595472 | 05:03 |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum stable/queens: import zuul job settings from project-config https://review.openstack.org/595473 | 05:03 |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum-ui stable/queens: import zuul job settings from project-config https://review.openstack.org/595474 | 05:03 |
openstackgerrit | Filippo Inzaghi proposed openstack/python-magnumclient stable/queens: import zuul job settings from project-config https://review.openstack.org/595475 | 05:03 |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum stable/rocky: import zuul job settings from project-config https://review.openstack.org/595476 | 05:03 |
openstackgerrit | Filippo Inzaghi proposed openstack/magnum-ui stable/rocky: import zuul job settings from project-config https://review.openstack.org/595477 | 05:03 |
openstackgerrit | Filippo Inzaghi proposed openstack/python-magnumclient stable/rocky: import zuul job settings from project-config https://review.openstack.org/595478 | 05:03 |
*** ykarel_ has joined #openstack-containers | 05:17 | |
*** hongbin_ has quit IRC | 05:19 | |
*** ykarel has quit IRC | 05:21 | |
*** janki has joined #openstack-containers | 05:40 | |
openstackgerrit | Shu Muto proposed openstack/magnum-ui stable/queens: Fix horizon dependency from master to stable branch https://review.openstack.org/595485 | 05:41 |
openstackgerrit | Shu Muto proposed openstack/magnum-ui stable/pike: Fix horizon dependency from master to stable branch https://review.openstack.org/595486 | 05:43 |
openstackgerrit | Merged openstack/magnum-ui master: import zuul job settings from project-config https://review.openstack.org/595462 | 05:45 |
openstackgerrit | Merged openstack/magnum-ui stable/rocky: import zuul job settings from project-config https://review.openstack.org/595477 | 05:45 |
openstackgerrit | Merged openstack/magnum-ui master: switch documentation job to new PTI https://review.openstack.org/595463 | 05:46 |
openstackgerrit | Shu Muto proposed openstack/magnum-ui stable/ocata: Fix horizon dependency from master to stable branch https://review.openstack.org/595488 | 05:49 |
*** boris999 has joined #openstack-containers | 06:00 | |
*** jchhatbar has joined #openstack-containers | 06:31 | |
*** janki has quit IRC | 06:31 | |
*** pcaruana has joined #openstack-containers | 06:33 | |
*** ramishra has quit IRC | 06:49 | |
*** rcernin has quit IRC | 06:59 | |
*** mattgo has joined #openstack-containers | 07:00 | |
*** ykarel_ is now known as ykarel|away | 07:02 | |
*** boris999 has quit IRC | 07:02 | |
*** boris999 has joined #openstack-containers | 07:04 | |
*** ykarel|away has quit IRC | 07:07 | |
*** ramishra has joined #openstack-containers | 07:07 | |
*** jchhatba_ has joined #openstack-containers | 07:24 | |
*** jchhatbar has quit IRC | 07:25 | |
*** sfilatov has joined #openstack-containers | 07:30 | |
*** ykarel|away has joined #openstack-containers | 07:36 | |
*** ykarel|away is now known as ykarel | 07:36 | |
*** sfilatov has quit IRC | 07:39 | |
*** jchhatba_ has quit IRC | 07:46 | |
*** jchhatba_ has joined #openstack-containers | 07:48 | |
*** jchhatba_ has quit IRC | 07:50 | |
*** jchhatba_ has joined #openstack-containers | 07:50 | |
openstackgerrit | Shu Muto proposed openstack/magnum-ui stable/queens: import zuul job settings from project-config https://review.openstack.org/595474 | 07:54 |
openstackgerrit | Shu Muto proposed openstack/magnum-ui stable/ocata: import zuul job settings from project-config https://review.openstack.org/595468 | 07:55 |
openstackgerrit | Shu Muto proposed openstack/magnum-ui stable/pike: import zuul job settings from project-config https://review.openstack.org/595471 | 07:55 |
strigazi | sfilatov_ I guess you are not using the system containers from docker.io/openstackmagnum | 08:01 |
openstackgerrit | Merged openstack/magnum-ui stable/ocata: Fix horizon dependency from master to stable branch https://review.openstack.org/595488 | 08:03 |
openstackgerrit | Merged openstack/magnum-ui stable/pike: Fix horizon dependency from master to stable branch https://review.openstack.org/595486 | 08:03 |
*** ktibi has joined #openstack-containers | 08:04 | |
openstackgerrit | Merged openstack/magnum-ui stable/queens: Fix horizon dependency from master to stable branch https://review.openstack.org/595485 | 08:05 |
strigazi | sfilatov_> 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 tls | 08:05 |
*** canori02 has quit IRC | 08:10 | |
strigazi | sfilatov_ are you using fedora atomic or you have a fork of magnum? | 08:15 |
*** ykarel is now known as ykarel|lunch | 08:40 | |
openstackgerrit | Merged openstack/magnum-ui stable/queens: import zuul job settings from project-config https://review.openstack.org/595474 | 08:48 |
openstackgerrit | Merged openstack/magnum-ui stable/ocata: import zuul job settings from project-config https://review.openstack.org/595468 | 08:48 |
openstackgerrit | Merged openstack/magnum-ui stable/pike: import zuul job settings from project-config https://review.openstack.org/595471 | 08:50 |
boris999 | Hi 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 |
strigazi | boris999: the server or the client tries to create a new token? | 09:05 |
boris999 | the client asks server to create new token. It uses original token provided for authentication. | 09:09 |
*** ykarel|lunch is now known as ykarel | 09:10 | |
boris999 | I explicitly specify reauthenticate=False when creating v3.Token | 09:14 |
*** jchhatba_ has quit IRC | 09:14 | |
*** jchhatba_ has joined #openstack-containers | 09:14 | |
strigazi | boris999: I'm lost, you don' | 09:18 |
strigazi | boris999: I'm lost, you don't want the client to request a second token? | 09:18 |
boris999 | correct | 09:19 |
strigazi | boris999: what if you use password authentication? | 09:21 |
strigazi | boris999: do you use this workflow with other clients too? | 09:22 |
strigazi | boris999: and they are different to magnum? | 09:23 |
boris999 | i 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 failure | 09:23 |
boris999 | strigazi: well, this is the first client I am using :) | 09:24 |
strigazi | boris999: it seems that this how the keystone middleware work | 09:24 |
strigazi | boris999: it seems that this how the keystone middleware works | 09:24 |
boris999 | strigazi: thank you very much for info. | 09:30 |
boris999 | strigazi: if by any chance some solution crossed your mind, it would be very welcomed :) | 09:31 |
strigazi | boris999: you can try with password auth | 09:33 |
boris999 | i will think about it, thank you | 09:33 |
strigazi | boris999: or you can try to see if the behaviour is the same using curl or python requests | 09:33 |
strigazi | boris999: but since with postman is different, I guess with curl or python requests should be fine | 09:34 |
*** jchhatbar has joined #openstack-containers | 09:36 | |
*** jchhatba_ has quit IRC | 09:39 | |
*** jchhatbar has quit IRC | 09: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 further | 10:28 |
boris999 | strigazi: 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-containers | 10:45 | |
*** jchhatbar has joined #openstack-containers | 10:46 | |
strigazi | boris999 you weren't using v3.Token before? | 11:07 |
*** udesale has quit IRC | 11:31 | |
boris999 | strigazi: yes, I were. But I did specify only 'token','auth_url','reauthenticate'. Now i added 'project_name' and 'project_domain_id' | 11:34 |
strigazi | oh right | 11:35 |
boris999 | strigazi: one more question. I am encountering following crash when server response is 403. http://paste.openstack.org/show/728673/. magnum client crashes | 11:35 |
boris999 | is it a known issue ? | 11:35 |
strigazi | first time I see it | 11:37 |
boris999 | shall I file bug ? | 11:38 |
strigazi | What is the bug though? | 11:39 |
strigazi | How one can reprocude? | 11:40 |
boris999 | when magnum_clt.clusters.create() fails (server reponse is 403), magnum client crashes | 11:40 |
strigazi | client tag? | 11:41 |
strigazi | server tag? | 11:41 |
boris999 | i don't understand the question | 11:41 |
strigazi | http://git.openstack.org/cgit/openstack/python-magnumclient/refs/ | 11:41 |
strigazi | http://git.openstack.org/cgit/openstack/magnum/refs/ | 11:41 |
strigazi | magnum --version | 11:42 |
strigazi | btw, what are you trying to do? | 11:42 |
boris999 | $ magnum --version 2.10.1 | 11:43 |
strigazi | and server? | 11:43 |
strigazi | magnum-api --version | 11:43 |
strigazi | if you have access to the server | 11:43 |
boris999 | 7.0.1.dev13 | 11:44 |
strigazi | devstack? | 11:44 |
boris999 | yes | 11:44 |
boris999 | queens | 11:44 |
boris999 | strigazi: create a cluster. Which I am able to do. However i encountered the reproducible crash we are talking about | 11:45 |
strigazi | Is the api saying smth? | 11:45 |
strigazi | the log of the magnum api | 11:46 |
boris999 | checking right now | 11:47 |
boris999 | well, nothing interesting, magnum api sends the response with the error | 11:49 |
boris999 | localhost 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:222 | 11:49 |
boris999 | Aug 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 |
boris999 | and the response the causes crash in magnum client | 11:50 |
boris999 | *then | 11:50 |
boris999 | or is it expected ? | 11:52 |
boris999 | then when there is an error, exception is thrown and should be handled by me ? | 11:53 |
boris999 | http://paste.openstack.org/show/728675/ | 11:54 |
strigazi | the client shouldn't crash and for sure the magnum sevrer has a wrong config | 11:55 |
boris999 | http://paste.openstack.org/show/728676/ | 11:56 |
strigazi | openstack catalog list | 11:56 |
boris999 | ignore the first link please | 11:56 |
strigazi | you should be able to see the endpoints | 11:56 |
boris999 | strigazi: well, magnum server has correct config. Issue is hit, when authorized aotken with incorrect scope is used | 11:57 |
boris999 | that results in reported error | 11:57 |
*** josecastroleon has joined #openstack-containers | 11:58 | |
josecastroleon | if you send an unscoped token to a keystone server it will send you an empty catalog | 11:58 |
josecastroleon | there is nothing you can do from there, unless you scope it | 11:59 |
strigazi | maybe the client needs to catch it? | 11:59 |
strigazi | maybe it needs one more except clause? | 12:00 |
boris999 | josecastroleon: 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 |
strigazi | if body is empty | 12:00 |
strigazi | boris999: so yes, we need story in storyboard.openstack.org | 12:02 |
strigazi | boris999: so yes, we need a story in storyboard.openstack.org | 12:02 |
strigazi | boris999: if you can also do the fix, it would be nice :) | 12:02 |
boris999 | strigazi: ok, will do :) | 12:04 |
*** pcaruana has quit IRC | 12:16 | |
*** pcaruana has joined #openstack-containers | 12:16 | |
*** dims_ is now known as dims | 12:37 | |
*** ykarel has quit IRC | 12:51 | |
*** ykarel has joined #openstack-containers | 12:51 | |
*** udesale has joined #openstack-containers | 12:54 | |
*** ktibi has quit IRC | 13:35 | |
*** ktibi_ has joined #openstack-containers | 13:35 | |
openstackgerrit | Merged openstack/magnum master: Deprecate send_cluster_metrics https://review.openstack.org/572249 | 13:37 |
*** jchhatbar has quit IRC | 13:55 | |
*** ianychoi has quit IRC | 13:59 | |
*** ianychoi has joined #openstack-containers | 14:00 | |
*** hongbin has joined #openstack-containers | 14:02 | |
*** kaiokmo has joined #openstack-containers | 14:07 | |
*** pbourke has quit IRC | 14:24 | |
*** pbourke has joined #openstack-containers | 14:26 | |
*** Bhujay has joined #openstack-containers | 14: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 |
strigazi | story: $number | 14:48 |
strigazi | task: $numer_of_task | 14:49 |
boris999 | @strigazi https://storyboard.openstack.org/#!/story/2003533 -> story: 2003533 task:24818 ? | 14:50 |
strigazi | yes, diffrent lines | 14:52 |
boris999 | thank you | 14:53 |
boris999 | @strigazi | 14:57 |
boris999 | bpilka@bpilka-laptop:~/xworks/python-magnumclient$ git push origin 2003533_crash_error_response | 14:57 |
boris999 | ERROR: Permission to openstack/python-magnumclient.git denied to BorisSK. | 14:57 |
boris999 | fatal: Could not read from remote repository. | 14:57 |
boris999 | i have checkouted master, from that new branch to fix, which a am trying to push. | 14:57 |
boris999 | what am I doing wrong ? | 14:58 |
openstackgerrit | Boris Pilka proposed openstack/python-magnumclient master: python-magnumclient crashes when receives error response 403 - Service catalog empty https://review.openstack.org/595809 | 15:01 |
boris999 | got it :) | 15:01 |
*** itlinux__ has joined #openstack-containers | 15:06 | |
strigazi | boris999: the title of commit messages usually is < 50 chars | 15:07 |
boris999 | @strigazi oh, ok. Shall I ammend the message ? | 15:09 |
strigazi | boris999: yes | 15:14 |
*** itlinux__ is now known as itlinux | 15:15 | |
*** itlinux is now known as 59NAABP8D | 15:15 | |
openstackgerrit | Boris Pilka proposed openstack/python-magnumclient master: crash: error response 403: Service catalog empty https://review.openstack.org/595809 | 15:17 |
*** 59NAABP8D has quit IRC | 15:17 | |
*** itlinux has joined #openstack-containers | 15:18 | |
boris999 | thanks guys, bye for now | 15:22 |
*** boris999 has left #openstack-containers | 15:22 | |
*** ktibi_ has quit IRC | 15:23 | |
*** ktibi_ has joined #openstack-containers | 15:23 | |
*** ykarel is now known as ykarel|away | 15:32 | |
*** Bhujay has quit IRC | 15:35 | |
*** pcaruana has quit IRC | 15:36 | |
*** ykarel|away has quit IRC | 15:51 | |
*** mattgo has quit IRC | 15:55 | |
*** imdigitaljim has joined #openstack-containers | 15:56 | |
openstackgerrit | Boris Pilka proposed openstack/python-magnumclient master: Fix crash on Service catalog empty 403 response https://review.openstack.org/595809 | 15:57 |
*** itlinux is now known as itlinux-away | 15:58 | |
*** itlinux-away is now known as itlinux | 16:00 | |
*** itlinux is now known as itlinux-away | 16:00 | |
*** itlinux-away is now known as itlinux | 16:05 | |
*** itlinux is now known as itlinux-away | 16:05 | |
*** itlinux-away is now known as itlinux | 16:06 | |
*** ktibi_ has quit IRC | 16:07 | |
*** itlinux is now known as itlinux-away | 16:07 | |
*** itlinux-away is now known as itlinux | 16:13 | |
*** itlinux is now known as itlinux-away | 16:14 | |
*** harlowja has joined #openstack-containers | 16:17 | |
*** itlinux-away is now known as itlinux | 16:18 | |
*** itlinux is now known as itlinux-away | 16:18 | |
*** Bhujay has joined #openstack-containers | 16:19 | |
*** itlinux-away is now known as itlinux | 16:21 | |
*** ricolin has quit IRC | 16:24 | |
*** udesale has quit IRC | 16:40 | |
*** harlowja has quit IRC | 16:40 | |
*** ricolin has joined #openstack-containers | 16:42 | |
*** ramishra has quit IRC | 16:52 | |
*** Bhujay has quit IRC | 17:08 | |
*** ricolin has quit IRC | 18:07 | |
*** pcaruana has joined #openstack-containers | 18:52 | |
*** pcaruana has quit IRC | 19:09 | |
openstackgerrit | Feilong Wang proposed openstack/magnum stable/rocky: Deprecate send_cluster_metrics https://review.openstack.org/595876 | 19:55 |
colin- | anyone know if there is a precedent for magnum to consume Ironic (MaaS) in openstack? | 21:20 |
colin- | instead of nova | 21:20 |
dims | colin- 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-sjtu | 21:38 |
*** rcernin has joined #openstack-containers | 21:46 | |
colin- | perfect, thank you dims | 22:05 |
*** threestrands has joined #openstack-containers | 22:53 | |
*** ricolin has joined #openstack-containers | 23:29 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!