jerrygb | It seems glance registry reports a 404 for /images/detail | 00:00 |
---|---|---|
jerrygb | but not sure which image is causing this issue | 00:00 |
jerrygb | when did an image-delete it just hanged on me. The backend is a ceph pool | 00:00 |
nikhil | I see, other calls are working then? | 00:01 |
nikhil | like create and show? | 00:01 |
jerrygb | no none actually | 00:01 |
nikhil | ok | 00:01 |
jerrygb | let me check show | 00:01 |
nikhil | so something most likely with connection somewhere | 00:01 |
jerrygb | docker save busybox | openstack image create busybox --public --container-format docker --disk-format raw | 00:02 |
jerrygb | that gives me this | 00:02 |
jerrygb | ERROR: openstackclient.shell Exception raised: (python-neutronclient 3.1.0 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('python-neutronclient<3,>=2.3.11')) | 00:02 |
nikhil | well | 00:02 |
jerrygb | It seems the openstack client is broken as well | 00:02 |
nikhil | yeah | 00:02 |
nikhil | that's not glance yet | 00:02 |
jerrygb | right let me try glance image-create | 00:03 |
nikhil | sure | 00:03 |
nikhil | try using glance clint | 00:03 |
*** willsama has quit IRC | 00:04 | |
jerrygb | same | 00:05 |
nikhil | jerrygb: so I have a feeling g-api cant reach registry | 00:05 |
jerrygb | even image-create shows 404 .. hmm .. kinda wierd | 00:05 |
nikhil | based on logs you sent | 00:05 |
jerrygb | Right but registry is on the same machine | 00:05 |
nikhil | ah | 00:05 |
jerrygb | does it use the openstack endpoint api ? | 00:05 |
nikhil | no | 00:05 |
nikhil | it's private service | 00:06 |
jerrygb | okay. What do you normally suggest if the python modules are messed up? Do I do something like piprot to rectify it? | 00:06 |
nikhil | do you reg logs? | 00:06 |
nikhil | have* | 00:06 |
jerrygb | there is nothing there apparently .. which leads me to believe the same thing you said .. | 00:06 |
jerrygb | its not reachable from api | 00:06 |
nikhil | hm | 00:06 |
jerrygb | how do you get the registry endpoint? | 00:07 |
jerrygb | is it from glance-api.conf? | 00:07 |
nikhil | can you check the processes running for reg? | 00:07 |
nikhil | jerrygb: yeah | 00:07 |
*** sgotliv_ has quit IRC | 00:07 | |
nikhil | just check how many, it may be that you have bunch of zombies. have seen that happen before | 00:07 |
jerrygb | registry_host = 0.0.0.0 -- registry_port = 19191 | 00:08 |
*** dims has joined #openstack-glance | 00:08 | |
nikhil | weird | 00:08 |
nikhil | that's all wrong :/ | 00:08 |
jerrygb | wait... we have haproxy with offset of +10000 | 00:09 |
jerrygb | but both haproxy and registry and running | 00:09 |
nikhil | oh | 00:09 |
nikhil | ok, can you ping your proxy? | 00:10 |
nikhil | manually I mean? | 00:10 |
jerrygb | yes | 00:10 |
jerrygb | when you have haproxy for glance-api .. it is active-active right? | 00:10 |
nikhil | yeah | 00:11 |
jerrygb | I mean .. on all nodes the api/registry services run... | 00:11 |
jerrygb | otherwise there is no lb .. | 00:11 |
jerrygb | bah | 00:11 |
nikhil | yep | 00:11 |
jerrygb | not sure why this is happening | 00:11 |
jerrygb | another thing I noticed | 00:11 |
jerrygb | https://github.com/openstack/glance/blob/stable/kilo/requirements.txt | 00:11 |
nikhil | what in that? | 00:13 |
jerrygb | python-keystoneclient<1.4.0,>=1.2.0 | 00:14 |
jerrygb | we use python-keystoneclient==1.6.0 | 00:14 |
jerrygb | But apparently that is not the issue since we have environments working with 1.6.0 | 00:16 |
*** dims has quit IRC | 00:16 | |
nikhil | hmm, yeah I doubt it it's keystone client | 00:17 |
nikhil | jerrygb: your conn is prolly timing out to registry | 00:17 |
jerrygb | hm okay | 00:18 |
jerrygb | but it is not mq request right? | 00:18 |
jerrygb | its http call ? | 00:18 |
nikhil | yeah | 00:18 |
jerrygb | because mq is on another machine | 00:18 |
nikhil | try calling this manually to see if your proxy is fine | 00:18 |
nikhil | GET on http://0.0.0.0:19191/images/detail?sort_key=name&sort_dir=asc&limit=20 | 00:18 |
nikhil | if possible from the same m/c as api | 00:19 |
nikhil | given there may be firewall rules | 00:19 |
nikhil | I checked the timing in the logs and it's not the timeout, api can't find that HTTP resource and most likely isn't able to connect to the proxy | 00:20 |
jerrygb | okay | 00:20 |
jerrygb | Given no access tokens, it gives me a 401 | 00:21 |
nikhil | thats good | 00:21 |
*** azbiswas has quit IRC | 00:21 | |
nikhil | at least it's reachable | 00:21 |
*** EinstCrazy has quit IRC | 00:23 | |
jerrygb | hmm .. is there something else we can do | 00:29 |
jerrygb | like pdb like flaper87 was mentioning? | 00:29 |
jerrygb | but how come only 401 is logged in registry logs | 00:29 |
jerrygb | let me check the debug mode for the registry | 00:29 |
*** achanda has joined #openstack-glance | 00:36 | |
*** ducttape_ has joined #openstack-glance | 00:42 | |
*** flwang1 has quit IRC | 00:58 | |
*** harshs has joined #openstack-glance | 00:59 | |
*** harshs_ has joined #openstack-glance | 01:04 | |
*** harshs has quit IRC | 01:07 | |
*** harshs_ is now known as harshs | 01:07 | |
*** EinstCrazy has joined #openstack-glance | 01:12 | |
*** _ducttape_ has joined #openstack-glance | 01:15 | |
*** ducttape_ has quit IRC | 01:18 | |
*** dims has joined #openstack-glance | 01:27 | |
*** _ducttape_ has quit IRC | 01:29 | |
*** mtanino has quit IRC | 01:30 | |
*** terryyao has joined #openstack-glance | 01:33 | |
*** harlowja has quit IRC | 01:38 | |
*** harlowja_ has joined #openstack-glance | 01:38 | |
*** EinstCra_ has joined #openstack-glance | 01:40 | |
*** changbl has joined #openstack-glance | 01:43 | |
*** EinstCrazy has quit IRC | 01:43 | |
*** edmondsw has quit IRC | 02:04 | |
*** kebray has quit IRC | 02:05 | |
*** mingdang1 has joined #openstack-glance | 02:12 | |
*** mingdang1 has quit IRC | 02:13 | |
*** mingdang1 has joined #openstack-glance | 02:13 | |
*** MattMan has quit IRC | 02:15 | |
*** MattMan has joined #openstack-glance | 02:15 | |
*** haomaiwang has joined #openstack-glance | 02:21 | |
jerrygb | Hey Nikhil | 02:38 |
jerrygb | managed to get the registry debug outout | 02:39 |
jerrygb | output* | 02:39 |
jerrygb | Are you still there? | 02:39 |
jerrygb | I receive a 404 --- "GET /images/detail?sort_key=name&sort_dir=asc&limit=20 HTTP/1.1" 404 246 0.145473 | 02:39 |
*** gonzalo2kx has joined #openstack-glance | 02:45 | |
*** spzala has quit IRC | 02:56 | |
*** jamielennox is now known as jamielennox|away | 03:00 | |
*** haomaiwang has quit IRC | 03:01 | |
*** haomaiwang has joined #openstack-glance | 03:01 | |
*** jamielennox|away is now known as jamielennox | 03:10 | |
openstackgerrit | Srinivas Sakhamuri proposed openstack/glance_store: Make the image uploads atomic https://review.openstack.org/242084 | 03:25 |
*** pumaranikar has joined #openstack-glance | 03:29 | |
*** houming-wang has joined #openstack-glance | 03:32 | |
*** harshs has quit IRC | 03:32 | |
*** jerrygb has quit IRC | 03:33 | |
*** houming-wang has quit IRC | 03:33 | |
*** jerrygb has joined #openstack-glance | 03:34 | |
*** agireud has joined #openstack-glance | 03:34 | |
*** houming-wang has joined #openstack-glance | 03:34 | |
*** gonzalo2kx has left #openstack-glance | 03:34 | |
*** harshs has joined #openstack-glance | 03:35 | |
*** agireud has quit IRC | 03:39 | |
*** houming-wang has quit IRC | 03:39 | |
*** agireud has joined #openstack-glance | 03:41 | |
jerrygb | Hi anyone here who can help with a glance issue? | 03:44 |
*** dims has quit IRC | 03:46 | |
*** r-daneel has quit IRC | 03:47 | |
*** pumaranikar has quit IRC | 03:49 | |
*** harshs has quit IRC | 03:53 | |
*** houming-wang has joined #openstack-glance | 03:54 | |
*** gberginc has joined #openstack-glance | 03:59 | |
*** haomaiwang has quit IRC | 04:01 | |
*** haomaiwang has joined #openstack-glance | 04:01 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/glance: Updated from global requirements https://review.openstack.org/243067 | 04:02 |
*** azbiswas has joined #openstack-glance | 04:03 | |
*** spzala has joined #openstack-glance | 04:06 | |
*** houming-wang has quit IRC | 04:07 | |
nikhil | hey jerrygb, I am partially here and for a few mins before I need to hit the road. | 04:12 |
*** houming-wang has joined #openstack-glance | 04:12 | |
jerrygb | hey Nikhil! happy to see you sir | 04:12 |
jerrygb | https://github.com/openstack/glance/blob/a64c9167004ba3913e6aa6c7488927e4ceac37ed/glance/registry/api/v1/images.py#L172 | 04:12 |
jerrygb | I tried placing a pdb at the equivalent on my code, but it doesnt hit it | 04:13 |
jerrygb | that is kilo version | 04:13 |
*** stevemar_ has joined #openstack-glance | 04:13 | |
nikhil | I see, so you get a 404 from registry or in registry? | 04:14 |
nikhil | I receive a 404 --- "GET /images/detail?sort_key=name&sort_dir=asc&limit=20 HTTP/1.1" 404 246 0.145473 | 04:14 |
nikhil | talking about this ^ | 04:14 |
jerrygb | Yes I found that I get 404 in the registry logs | 04:14 |
nikhil | jerrygb: anything else? | 04:15 |
jerrygb | But another problem I have now is service glance-api/registry doesn't keep the service alive nor does it log anything .. On the other hand, manually running /usr/bin/python /usr/bin/glance-api --config-file=/etc/glance/glance-api.conf --log-file=/var/log/glance/glance-api.log works fine. | 04:16 |
*** stevemar_ has quit IRC | 04:16 | |
jerrygb | nothing else on registry logs | 04:16 |
jerrygb | just the 404 .. | 04:16 |
jerrygb | I do have some images under /var/lib/glance/images/ | 04:17 |
nikhil | I unable to make if you are getting 404 from the DB or from somewhere else | 04:17 |
nikhil | but from the info you have given me, my best guess is that your user doesn't have access or any images at all | 04:18 |
jerrygb | Also, registry silently gives the 404 as INFO --- 2015-11-11 04:07:26.442 6368 INFO eventlet.wsgi.server [req-e212c3c1-2648-4f44-afb5-3f5d7e265e8f 7ccf307badb6464fa15a3ef5201b7e8a dd1adec900c04dbaa27f42afcbbeb131 - - -] 127.0.0.1 - - [11/Nov/2015 04:07:26] "GET /images/detail?sort_key=name&sort_dir=asc&limit=20 HTTP/1.1" 404 246 0.172785 | 04:18 |
jerrygb | I am accessing as admin user | 04:18 |
jerrygb | and the admin endpoint | 04:18 |
nikhil | huh | 04:19 |
jerrygb | could the db be corrupt? | 04:19 |
nikhil | I don't know tbh | 04:19 |
nikhil | a bad connection to DB should ideally give you 500 or some 5xx | 04:19 |
jerrygb | I am running a Galera cluster, shall I take a backup and run the db-sync? | 04:19 |
jerrygb | or maybe inconsistent details? | 04:20 |
nikhil | no please don't, at least not yet. try to narrow down on the issue first | 04:20 |
jerrygb | cuz I received a problem initially with image-delete getting stuck .. with ceph not responding | 04:20 |
nikhil | I see | 04:20 |
nikhil | what happened then? have you tried the regular endpoint with normal user? | 04:21 |
jerrygb | no actually as admin user | 04:21 |
jerrygb | but the ceph cluster has been having some issues | 04:21 |
nikhil | so sometimes people disallow admin access for consistency reasons | 04:21 |
nikhil | ceph shouldn't create problems with details call | 04:21 |
jerrygb | so my question is maybe it wasnt a tidy cleanup after the image-delete interrupt (ctrl^c) from me | 04:21 |
nikhil | that call doen't interact with backend stores | 04:22 |
jerrygb | okay no i mean the db itself | 04:22 |
nikhil | that shouldn't hurt the GET calls | 04:22 |
nikhil | ah | 04:22 |
nikhil | well, I've heard a one too many issues with galera | 04:22 |
jerrygb | hmm | 04:22 |
jerrygb | if there anyway to check if details function is called ? | 04:23 |
jerrygb | I used the logging api and I receive nothing | 04:23 |
nikhil | oh yes, it is | 04:23 |
nikhil | the log line says that | 04:23 |
jerrygb | which images.py should I use? | 04:23 |
jerrygb | I see one from glanceclient glance etc.. now I am editing /usr/lib/python2.7/dist-packages/glance/api/v1/images.py | 04:24 |
nikhil | for? | 04:24 |
*** houming-wang has quit IRC | 04:24 | |
nikhil | that's the first part of the call, then it goes to reg client and then registry server and then to DB ( glance/registry/api/v1/images.py ) | 04:25 |
*** links has joined #openstack-glance | 04:28 | |
jerrygb | So confirmed that it is spitting out even though I have log at __init__ of the Controller on registry/v1/images.py | 04:30 |
jerrygb | could it be using v2? | 04:30 |
jerrygb | it is not spitting* out any logs | 04:31 |
jerrygb | Is there a way to check the python paths for the eventlet.wsgi.server for registry | 04:32 |
jerrygb | maybe these files are not loaded? | 04:32 |
*** hogepodge has quit IRC | 04:35 | |
*** azbiswas has quit IRC | 04:38 | |
*** azbiswas has joined #openstack-glance | 04:55 | |
*** houming-wang has joined #openstack-glance | 04:59 | |
*** haomaiwang has quit IRC | 05:01 | |
*** haomaiwa_ has joined #openstack-glance | 05:01 | |
*** houming-wang has quit IRC | 05:10 | |
*** houming-wang has joined #openstack-glance | 05:11 | |
openstackgerrit | Merged openstack/glance: Remove default=None for config options https://review.openstack.org/243036 | 05:13 |
*** azbiswas has quit IRC | 05:20 | |
*** links has quit IRC | 05:26 | |
*** jerrygb has quit IRC | 05:28 | |
*** stevemar_ has joined #openstack-glance | 05:29 | |
*** jerrygb has joined #openstack-glance | 05:29 | |
*** frickler has quit IRC | 05:31 | |
*** stevemar_ has quit IRC | 05:31 | |
*** jerrygb has quit IRC | 05:33 | |
*** houming-wang has quit IRC | 05:35 | |
*** spzala has quit IRC | 05:36 | |
*** houming-wang has joined #openstack-glance | 05:36 | |
*** sgotliv_ has joined #openstack-glance | 05:37 | |
*** harshs has joined #openstack-glance | 05:41 | |
*** houming-wang has quit IRC | 05:44 | |
*** houming-wang has joined #openstack-glance | 05:45 | |
*** achanda has quit IRC | 05:54 | |
*** links has joined #openstack-glance | 05:58 | |
*** haomaiwa_ has quit IRC | 06:01 | |
*** haomaiwang has joined #openstack-glance | 06:01 | |
*** nikhil has quit IRC | 06:02 | |
*** nikhil has joined #openstack-glance | 06:02 | |
*** jamielennox is now known as jamielennox|away | 06:29 | |
*** harshs has quit IRC | 06:32 | |
*** achanda has joined #openstack-glance | 06:34 | |
*** harshs has joined #openstack-glance | 06:41 | |
*** frickler has joined #openstack-glance | 06:49 | |
*** harshs has quit IRC | 06:52 | |
*** haomaiwang has quit IRC | 07:01 | |
*** 16WAAQM31 has joined #openstack-glance | 07:01 | |
*** houming-wang has quit IRC | 07:03 | |
*** groen692 has joined #openstack-glance | 07:13 | |
*** houming-wang has joined #openstack-glance | 07:16 | |
*** stevemar_ has joined #openstack-glance | 07:29 | |
*** jerrygb has joined #openstack-glance | 07:30 | |
*** stevemar_ has quit IRC | 07:32 | |
*** ninag has joined #openstack-glance | 07:35 | |
*** jerrygb has quit IRC | 07:36 | |
*** ninag has quit IRC | 07:40 | |
*** gberginc has quit IRC | 07:40 | |
*** jamielennox|away has quit IRC | 07:41 | |
*** whydidyoustealmy has joined #openstack-glance | 07:43 | |
*** barra204 has quit IRC | 07:43 | |
*** mordred has quit IRC | 07:44 | |
*** achanda has quit IRC | 07:51 | |
*** achanda has joined #openstack-glance | 07:57 | |
*** 16WAAQM31 has quit IRC | 08:01 | |
*** haomaiwang has joined #openstack-glance | 08:01 | |
*** gberginc has joined #openstack-glance | 08:02 | |
*** gb21 has joined #openstack-glance | 08:15 | |
*** jamielennox|away has joined #openstack-glance | 08:31 | |
*** jamielennox|away is now known as jamielennox | 08:31 | |
*** stevemar_ has joined #openstack-glance | 08:35 | |
*** achanda has quit IRC | 08:36 | |
*** stevemar_ has quit IRC | 08:38 | |
*** achanda has joined #openstack-glance | 08:39 | |
*** sgotliv_ has quit IRC | 08:45 | |
*** achanda has quit IRC | 08:57 | |
*** mfedosin has joined #openstack-glance | 08:57 | |
*** e0ne has joined #openstack-glance | 08:59 | |
openstackgerrit | Mike Fedosin proposed openstack/glance: Implement trust support for api v2 https://review.openstack.org/241986 | 08:59 |
*** haomaiwang has quit IRC | 09:01 | |
*** haomaiwang has joined #openstack-glance | 09:01 | |
*** houming-wang has quit IRC | 09:40 | |
*** belmoreira has joined #openstack-glance | 09:41 | |
*** terryyao has quit IRC | 09:45 | |
*** jistr has joined #openstack-glance | 09:45 | |
*** mordred has joined #openstack-glance | 09:45 | |
*** dshakhray has joined #openstack-glance | 09:50 | |
*** mfedosin has quit IRC | 09:52 | |
openstackgerrit | Darja Shakhray proposed openstack/python-glanceclient: Fix typo in 'help' in python-glanceclient https://review.openstack.org/234789 | 09:57 |
*** haomaiwang has quit IRC | 10:01 | |
*** haomaiwa_ has joined #openstack-glance | 10:01 | |
*** aix has joined #openstack-glance | 10:08 | |
*** sgotliv_ has joined #openstack-glance | 10:19 | |
*** stevemar_ has joined #openstack-glance | 10:36 | |
*** nikhil has quit IRC | 10:36 | |
*** nikhil has joined #openstack-glance | 10:36 | |
*** stevemar_ has quit IRC | 10:38 | |
*** mingdang1 has quit IRC | 10:51 | |
kairat | Folks! Do I understand correctly that we should not store compressed (.tar and .gz) images in Glance. | 10:55 |
kairat | I see that Horizon has a note that these formats are supported but it seems that Nova doesn't support it at all. | 10:56 |
kairat | I have found the code that is related to gzip compression as middleware | 10:56 |
*** haomaiwa_ has quit IRC | 11:01 | |
*** haomaiwa_ has joined #openstack-glance | 11:01 | |
*** EinstCra_ has quit IRC | 11:07 | |
*** haomaiwa_ has quit IRC | 11:21 | |
*** haomaiwa_ has joined #openstack-glance | 11:21 | |
*** stevemar_ has joined #openstack-glance | 11:23 | |
*** stevemar_ has quit IRC | 11:26 | |
*** EinstCrazy has joined #openstack-glance | 11:31 | |
*** dims has joined #openstack-glance | 11:41 | |
*** mingdang1 has joined #openstack-glance | 11:53 | |
*** haomaiwa_ has quit IRC | 11:55 | |
*** smatzek has joined #openstack-glance | 11:55 | |
kairat | krotscheck, hello | 11:59 |
kairat | krotscheck, I am interesting in cors feature for glance but i have found that work is still in progress | 11:59 |
kairat | i am wondering if there is some problems with cors implementation in glance | 12:00 |
*** stevemar_ has joined #openstack-glance | 12:00 | |
kairat | krotscheck, perhaps you need help on this? | 12:03 |
*** e0ne has quit IRC | 12:11 | |
Jokke_ | kairat: compressed images are supported _only_ on Images API v1 copy_from case | 12:12 |
*** pennerc has joined #openstack-glance | 12:12 | |
kairat | Jokke_, how is it detected that the image is compressed? | 12:15 |
*** mfedosin has joined #openstack-glance | 12:15 | |
Jokke_ | That I do not know. Would need to look into the code | 12:16 |
kairat | Jokke_, thanks for info, btw | 12:17 |
kairat | I found the code where we compress an image when transmitting it to client | 12:17 |
kairat | but it seems that it is not the place I need to look at | 12:18 |
*** e0ne has joined #openstack-glance | 12:18 | |
*** pennerc has quit IRC | 12:20 | |
*** pennerc has joined #openstack-glance | 12:25 | |
*** pennerc has quit IRC | 12:27 | |
*** openstackgerrit has quit IRC | 12:31 | |
*** openstackgerrit has joined #openstack-glance | 12:31 | |
*** jerrygb has joined #openstack-glance | 12:37 | |
*** pennerc has joined #openstack-glance | 12:57 | |
*** dims has quit IRC | 12:59 | |
*** pennerc has quit IRC | 13:03 | |
*** delattec has joined #openstack-glance | 13:10 | |
*** takedakn has joined #openstack-glance | 13:11 | |
*** cdelatte has quit IRC | 13:13 | |
*** ducttape_ has joined #openstack-glance | 13:13 | |
*** achanda has joined #openstack-glance | 13:15 | |
*** achanda has quit IRC | 13:19 | |
*** tenshi has joined #openstack-glance | 13:24 | |
kairat | Jokke_, FYI it seems that we store compressed files as it is | 13:30 |
kairat | Apparently this works as I expected | 13:30 |
*** edmondsw has joined #openstack-glance | 13:31 | |
kairat | or I missed something but when I tried to upload tar.gz archive with copy-from | 13:31 |
kairat | I have got the same error when booting an image | 13:31 |
kairat | image size has not changed | 13:31 |
*** ducttape_ has quit IRC | 13:34 | |
*** ninag has joined #openstack-glance | 13:37 | |
*** haomaiwang has joined #openstack-glance | 13:41 | |
*** spzala has joined #openstack-glance | 13:55 | |
*** haomaiwang has quit IRC | 14:01 | |
*** haomaiwang has joined #openstack-glance | 14:01 | |
*** gb21 has quit IRC | 14:02 | |
*** links has quit IRC | 14:04 | |
Jokke_ | hmm-m | 14:06 |
*** pennerc has joined #openstack-glance | 14:06 | |
*** pennerc has quit IRC | 14:06 | |
*** agireud has quit IRC | 14:08 | |
*** arif-ali has quit IRC | 14:08 | |
*** pennerc has joined #openstack-glance | 14:08 | |
*** houming-wang has joined #openstack-glance | 14:10 | |
*** pennerc has quit IRC | 14:10 | |
*** bdossant has joined #openstack-glance | 14:10 | |
kairat | It seems that we can gzip data when transmitting data between glance and nova | 14:12 |
Jokke_ | mfedosin, flaper87, nikhil: ping | 14:12 |
*** dims has joined #openstack-glance | 14:15 | |
*** agireud has joined #openstack-glance | 14:15 | |
*** arif-ali has joined #openstack-glance | 14:15 | |
*** aix has quit IRC | 14:18 | |
mfedosin | Jokke_: anyway we store image as-is, without any modifications | 14:20 |
mfedosin | it has to be decompressed on client side | 14:21 |
Jokke_ | mfedosin: not pinging about that | 14:22 |
mfedosin | about what? :) | 14:22 |
Jokke_ | mfedosin: is there something absolutely blocking v2 trusts without this one https://review.openstack.org/#/c/233601/7 | 14:22 |
*** dims has quit IRC | 14:23 | |
mfedosin | no | 14:23 |
mfedosin | it can be rebased | 14:23 |
Jokke_ | cool lets drop it then ;) | 14:23 |
mfedosin | drop what? | 14:23 |
Jokke_ | that v1 patch | 14:23 |
mfedosin | why? | 14:23 |
mfedosin | I thought it can be backported to liberty and kilo | 14:24 |
Jokke_ | the agreement has been as long as I've been part of glance team that v1 is in maintenance only and all new functionality goes to v2 | 14:24 |
mfedosin | technically it's a bugfix | 14:24 |
Jokke_ | and no we can't ... it's a feature ;) | 14:24 |
mfedosin | it's not a feature | 14:25 |
Jokke_ | well it's kind of borderline we probably can get agreement on | 14:25 |
mfedosin | it doesn't extend functionality | 14:25 |
openstackgerrit | Darja Shakhray proposed openstack/python-glanceclient: Fix show warnings in console from SSL https://review.openstack.org/242049 | 14:25 |
Jokke_ | it's implementing spec, not fixing a bug ;) | 14:25 |
openstackgerrit | Niall Bunting proposed openstack/python-glanceclient: Clean up exceptions https://review.openstack.org/244127 | 14:25 |
Jokke_ | it's using features we haven't been supporting before | 14:25 |
*** dims has joined #openstack-glance | 14:26 | |
*** pennerc has joined #openstack-glance | 14:26 | |
mfedosin | let's discuss it on tomorrow meeting | 14:26 |
Jokke_ | yup :P | 14:27 |
Jokke_ | and even your commit message says """Implements bp trust-authentication""" not Closes-Bug: #XXXXXXX | 14:27 |
kairat | So I am wondering what is more important policy or solution quality | 14:27 |
*** haomaiwang has quit IRC | 14:28 | |
Jokke_ | tbh ... one of the reasons I wasn't originally too fond of making this spec rather than bug | 14:28 |
*** haomaiwang has joined #openstack-glance | 14:28 | |
Jokke_ | kairat: encouraging deployers moving away from v1 is incredible important | 14:28 |
Jokke_ | thus we have had the principle not bringing any new functionality to v1 | 14:29 |
flaper87 | Jokke_: pong | 14:29 |
*** itisha has joined #openstack-glance | 14:29 | |
Jokke_ | flaper87: good morning | 14:29 |
flaper87 | Jokke_: hellloooooooooooooooo | 14:29 |
* flaper87 is replying to openstack-dev:* | 14:29 | |
Jokke_ | flaper87: last 7min of backlog ;) | 14:29 |
* flaper87 reads | 14:29 | |
*** pennerc has quit IRC | 14:29 | |
flaper87 | ah yeah, no v1 | 14:31 |
flaper87 | this is a new feature and we can't backport it anyway | 14:31 |
flaper87 | and v1 is in frozen-in-stone-age mode | 14:31 |
flaper87 | mfedosin: Jokke_ ^ | 14:31 |
kairat | flaper87, this feature closes a bug for v1 | 14:32 |
kairat | Are we going to make exception for such cases | 14:32 |
kairat | because the bug is quite important | 14:32 |
Jokke_ | flaper87: that's what I tought as well | 14:32 |
kairat | it allows to download big images | 14:32 |
flaper87 | kairat: I know what the patch does and no, I don't think the bug is critical enough to deserve an exception | 14:32 |
flaper87 | others might differ, of course | 14:33 |
kairat | ok, thanks for response | 14:33 |
mfedosin | why you didn't tell me about it in the summit? :) | 14:34 |
flaper87 | kairat: fwiw, sometimes enforcing policies is more important than "fixing a bug". Fixing a bug doesn't necessarily mean you're providing quality. In Glance's case, moving to v2 would be better than getting stuck on v1 and we would e encouraging ppl to do that if we keep "fixing" v1 | 14:34 |
flaper87 | mfedosin: It was my bad. I assumed it was going to be just for v2 | 14:34 |
Jokke_ | so did I ... sorry | 14:35 |
flaper87 | and I forgot that assuming things is the mother of all f@!$@# up | 14:35 |
mfedosin | I wonder if someone uses registry in v2 | 14:35 |
flaper87 | mfedosin: there are folks using registry in v2 | 14:35 |
Jokke_ | mfedosin: yes ;) | 14:35 |
flaper87 | as long as it's in the code base, I'm happy to *assume* people are using it | 14:35 |
Jokke_ | mfedosin: any implementation that has v1 and v2 enabled | 14:35 |
kairat | flaper87, sometimes yes | 14:35 |
mfedosin | flaper87: they are crazy :) | 14:35 |
flaper87 | mfedosin: just like those using v1 | 14:35 |
flaper87 | :P | 14:36 |
kairat | sometimes, policy should be ignored as you said | 14:36 |
Jokke_ | because you can configure your api node to contact the db directly only if v1 is not enabled | 14:36 |
mfedosin | using v1 is necessity | 14:36 |
flaper87 | kairat: everything in our industry depends on the context and has to be evaluated in a case-by-case bsais | 14:36 |
mfedosin | because Nova doesn't support v2 | 14:37 |
flaper87 | mfedosin: well, it will in mitaka, right? | 14:37 |
flaper87 | it's not like this work can be backported to liberty | 14:37 |
flaper87 | as it's a feature | 14:37 |
flaper87 | "feature" | 14:37 |
Jokke_ | not in upstream | 14:37 |
flaper87 | well, yeah, not in upstream | 14:37 |
johnthetubaguy | I think we use v2 already in a few select places already, but yeah, +1 to flaper87's other points | 14:38 |
Jokke_ | the backporting part should not be _that_ difficult if your deployment will hugely benefit from it | 14:38 |
mfedosin | feature must add new functionality imho | 14:38 |
flaper87 | mfedosin: it's fine to have a link to the v1 patch somewhere for folks interested | 14:38 |
mfedosin | trusts just allow not to rely on token expiration time | 14:38 |
flaper87 | mfedosin: but it adds support for trusts :) | 14:38 |
Jokke_ | mfedosin: this does ... we haven't been using this keystone trusts functionality before | 14:38 |
flaper87 | also, as bad as it sounds, there are ways to workaround this in existing deployments and I'm sure most folks have done that already | 14:40 |
mfedosin | I will rebase Kairat's patch then | 14:40 |
flaper87 | I'm not advising that a workaround is better than a proper path but this does weights into the severity of this issue | 14:40 |
kairat | So the best case would be find the bug for v1 | 14:40 |
kairat | I have seen one | 14:41 |
kairat | And put the reference to Mike's patch | 14:41 |
*** david-ly_ has joined #openstack-glance | 14:41 | |
*** takedakn has quit IRC | 14:41 | |
kairat | IMO, of course) | 14:41 |
flaper87 | kairat: yup, that's what I recommended a couple of lines above. | 14:41 |
flaper87 | I'd wait for this work to land first | 14:41 |
flaper87 | :) | 14:41 |
Jokke_ | mfedosin: I do feel your pain, there is just moments we need to evaluate what's right for upstream and we need to make the decision if it's worth of carrying locally for those critical cases in downstream | 14:41 |
*** david-lyle has quit IRC | 14:42 | |
kairat | flaper87, BTW, I saw you did some work on gzip middleware for glance | 14:42 |
flaper87 | kairat: yeah, that was ages ago, though | 14:43 |
flaper87 | :D | 14:43 |
mfedosin | in 2013 | 14:43 |
mfedosin | age of dinosaurs :) | 14:43 |
kairat | Do I understand correctly that do not uncompress any .gz images in glance | 14:44 |
flaper87 | mfedosin: hey, I know I know, I'm getting old | 14:44 |
flaper87 | :D | 14:44 |
kairat | Heh | 14:44 |
kairat | I mean look here: https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/images/templates/images/images/_create.html | 14:44 |
kairat | Currently only images available via an HTTP/HTTPS URL are supported. The image location must be accessible to the Image Service. Compressed image binaries are supported (.zip and .tar.gz.) | 14:44 |
kairat | Is smd will try to do this and boot an instance after that | 14:45 |
flaper87 | kairat: yeah, the gzip middleware is supposed to support doing gzip requests to glance-api but it won't untar any request from glance | 14:45 |
flaper87 | oh uh | 14:45 |
mfedosin | flaper87: in short - there is a bug https://bugs.launchpad.net/glance/+bug/1482436 | 14:45 |
openstack | Launchpad bug 1482436 in Glance "Support for compressed/archive file is broken with image-create" [Undecided,Invalid] - Assigned to Kairat Kushaev (kkushaev) | 14:45 |
flaper87 | o.0 | 14:45 |
flaper87 | mfedosin: I don't think glance should be uncompressing images. That's exploitable | 14:45 |
flaper87 | kairat: ^ | 14:45 |
kairat | Agree | 14:46 |
*** pennerc has joined #openstack-glance | 14:46 | |
kairat | That's why I marked the bug as Invalid. | 14:46 |
mfedosin | so bug is invalid | 14:46 |
*** ducttape_ has joined #openstack-glance | 14:46 | |
*** pennerc has quit IRC | 14:47 | |
*** mingdang1 has quit IRC | 14:47 | |
flaper87 | cool | 14:48 |
mfedosin | we can add it to glanceclient btw | 14:48 |
kairat | thanks, just wanted to double check | 14:48 |
*** pennerc has joined #openstack-glance | 14:48 | |
mfedosin | decomressing | 14:48 |
kairat | mfedosin, not sure we can decompress gzip on the fly | 14:48 |
*** _ducttape_ has joined #openstack-glance | 14:48 | |
*** mingdang1 has joined #openstack-glance | 14:49 | |
kairat | AFAIK, the table is at the end of the file | 14:49 |
flaper87 | mfedosin: that was the missing part of the gzip work | 14:49 |
*** aix has joined #openstack-glance | 14:49 | |
flaper87 | we had support for it on the server but not the client | 14:49 |
kairat | Although we have one tar file usually | 14:49 |
flaper87 | and that's why I started migrating glanceclient to requests | 14:49 |
flaper87 | because requests does have support for that | 14:49 |
flaper87 | unless mfedosin meant decompressing gz image data and not http requests | 14:50 |
*** ducttape_ has quit IRC | 14:50 | |
*** mingdang1 has quit IRC | 14:51 | |
openstackgerrit | Kairat Kushaev proposed openstack/glance: Implement trust support for api v2 https://review.openstack.org/241986 | 14:52 |
*** bpoulos has joined #openstack-glance | 14:52 | |
*** pt_15 has joined #openstack-glance | 14:57 | |
*** takedakn has joined #openstack-glance | 15:00 | |
*** haomaiwang has quit IRC | 15:01 | |
*** haomaiwang has joined #openstack-glance | 15:01 | |
*** dims has quit IRC | 15:03 | |
*** ducttape_ has joined #openstack-glance | 15:09 | |
*** _ducttape_ has quit IRC | 15:13 | |
krotscheck | kairat: Sorry I missed your message. Yes, I do need help, but frankly it's more a question about politics and each project being a special unique snowflake than code written. | 15:14 |
kairat | krotscheck, so glance has a meeting tomorrow | 15:15 |
kairat | krotscheck, perhaps it can discussed there with all cores and PTL | 15:15 |
kairat | or you think that the questions is more global> | 15:16 |
kairat | ? | 15:16 |
*** spzala has quit IRC | 15:22 | |
*** takedakn has quit IRC | 15:26 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 15:27 | |
openstackgerrit | Niall Bunting proposed openstack/python-glanceclient: Clean up exceptions https://review.openstack.org/244127 | 15:27 |
*** HenryG has quit IRC | 15:34 | |
*** burgerk has joined #openstack-glance | 15:37 | |
*** spzala has joined #openstack-glance | 15:37 | |
*** HenryG has joined #openstack-glance | 15:38 | |
*** vijendar has joined #openstack-glance | 15:38 | |
*** mtanino has joined #openstack-glance | 15:56 | |
*** ninag has quit IRC | 16:00 | |
*** ninag has joined #openstack-glance | 16:00 | |
*** haomaiwang has quit IRC | 16:01 | |
openstackgerrit | Niall Bunting proposed openstack/glance: Reactivating admin public image returns 500 https://review.openstack.org/244175 | 16:01 |
*** haomaiwang has joined #openstack-glance | 16:01 | |
*** _ducttape_ has joined #openstack-glance | 16:02 | |
*** openstackgerrit has quit IRC | 16:02 | |
*** openstackgerrit has joined #openstack-glance | 16:02 | |
*** hogepodge has joined #openstack-glance | 16:03 | |
*** ducttape_ has quit IRC | 16:04 | |
*** ninag has quit IRC | 16:05 | |
*** ninag has joined #openstack-glance | 16:06 | |
*** david-ly_ is now known as david-lyle | 16:07 | |
*** pennerc has quit IRC | 16:07 | |
*** ninag has quit IRC | 16:08 | |
*** ninag has joined #openstack-glance | 16:08 | |
*** delatte has joined #openstack-glance | 16:11 | |
*** harshs has joined #openstack-glance | 16:12 | |
*** belmoreira has quit IRC | 16:13 | |
*** pt_15_ has joined #openstack-glance | 16:13 | |
*** boris-42_ has joined #openstack-glance | 16:14 | |
*** harshs has quit IRC | 16:14 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/glance: Updated from global requirements https://review.openstack.org/243067 | 16:14 |
*** houming-wang_ has joined #openstack-glance | 16:14 | |
*** kebray has joined #openstack-glance | 16:16 | |
*** houming-wang has quit IRC | 16:16 | |
*** houming-wang_ is now known as houming-wang | 16:16 | |
*** EmilienM has quit IRC | 16:17 | |
*** pt_15 has quit IRC | 16:17 | |
*** delattec has quit IRC | 16:17 | |
*** boris-42 has quit IRC | 16:17 | |
*** sileht has quit IRC | 16:17 | |
*** EmilienM_ has joined #openstack-glance | 16:17 | |
*** pennerc has joined #openstack-glance | 16:17 | |
*** pt_15_ is now known as pt_15 | 16:17 | |
*** EmilienM_ is now known as EmilienM | 16:18 | |
*** sileht has joined #openstack-glance | 16:18 | |
*** ayoung has joined #openstack-glance | 16:18 | |
*** boris-42_ is now known as boris-42 | 16:19 | |
openstackgerrit | Srinivas Sakhamuri proposed openstack/glance_store: Make the image uploads atomic https://review.openstack.org/242084 | 16:33 |
*** pennerc has quit IRC | 16:37 | |
*** haomaiwang has quit IRC | 16:40 | |
*** ducttape_ has joined #openstack-glance | 16:45 | |
*** _ducttape_ has quit IRC | 16:46 | |
*** _ducttape_ has joined #openstack-glance | 16:47 | |
*** ducttap__ has joined #openstack-glance | 16:49 | |
*** ducttape_ has quit IRC | 16:49 | |
*** ducttape_ has joined #openstack-glance | 16:51 | |
*** _ducttape_ has quit IRC | 16:51 | |
*** _ducttape_ has joined #openstack-glance | 16:53 | |
*** ducttap__ has quit IRC | 16:54 | |
*** ducttape_ has quit IRC | 16:56 | |
*** _ducttape_ has quit IRC | 16:56 | |
*** ducttape_ has joined #openstack-glance | 16:57 | |
*** kebray has quit IRC | 16:57 | |
*** kebray has joined #openstack-glance | 16:58 | |
*** houming-wang has quit IRC | 17:01 | |
*** bdossant has quit IRC | 17:05 | |
*** nikhil_k has joined #openstack-glance | 17:09 | |
*** mfedosin has quit IRC | 17:12 | |
*** nikhil has quit IRC | 17:12 | |
*** jistr is now known as jistr|off | 17:16 | |
*** jistr|off has quit IRC | 17:16 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/glance: Updated from global requirements https://review.openstack.org/243067 | 17:18 |
*** pennerc has joined #openstack-glance | 17:22 | |
*** harshs has joined #openstack-glance | 17:24 | |
*** sayali has quit IRC | 17:24 | |
*** tpeoples has quit IRC | 17:26 | |
*** tdp has joined #openstack-glance | 17:26 | |
*** tdp has quit IRC | 17:27 | |
*** tpeoples has joined #openstack-glance | 17:27 | |
*** ayoung has quit IRC | 17:27 | |
*** flwang1 has joined #openstack-glance | 17:35 | |
*** sayali has joined #openstack-glance | 17:36 | |
*** harshs has quit IRC | 17:37 | |
*** e0ne has quit IRC | 17:47 | |
*** pennerc has quit IRC | 17:52 | |
*** achanda has joined #openstack-glance | 17:54 | |
*** achanda has quit IRC | 17:58 | |
*** flwang1 has quit IRC | 18:00 | |
*** achanda has joined #openstack-glance | 18:00 | |
*** ninag has quit IRC | 18:02 | |
*** ninag has joined #openstack-glance | 18:02 | |
*** ninag_ has joined #openstack-glance | 18:04 | |
*** ducttape_ has quit IRC | 18:05 | |
*** ninag has quit IRC | 18:06 | |
*** harlowja_ has quit IRC | 18:08 | |
*** ninag_ has quit IRC | 18:09 | |
*** sgotliv_ has quit IRC | 18:09 | |
*** ninag has joined #openstack-glance | 18:18 | |
*** groen692 has quit IRC | 18:20 | |
*** e0ne has joined #openstack-glance | 18:22 | |
*** jaypipes has quit IRC | 18:22 | |
*** ducttape_ has joined #openstack-glance | 18:25 | |
*** dshakhray has quit IRC | 18:25 | |
*** boris-42 has quit IRC | 18:28 | |
*** groen692 has joined #openstack-glance | 18:35 | |
*** harlowja has joined #openstack-glance | 18:42 | |
*** jaypipes has joined #openstack-glance | 18:42 | |
*** sgotliv_ has joined #openstack-glance | 18:42 | |
*** harlowja_ has joined #openstack-glance | 18:44 | |
*** harlowja has quit IRC | 18:44 | |
*** dims has joined #openstack-glance | 18:48 | |
*** bpoulos has quit IRC | 18:48 | |
*** _ducttape_ has joined #openstack-glance | 18:52 | |
*** azbiswas has joined #openstack-glance | 18:53 | |
*** azbiswas_ has joined #openstack-glance | 18:54 | |
*** ducttape_ has quit IRC | 18:54 | |
*** azbiswas has quit IRC | 18:57 | |
*** ayoung has joined #openstack-glance | 18:58 | |
*** gberginc has quit IRC | 19:12 | |
*** achanda has quit IRC | 19:16 | |
*** flwang1 has joined #openstack-glance | 19:23 | |
*** davideagnello has quit IRC | 19:29 | |
*** davideagnello has joined #openstack-glance | 19:29 | |
*** aix has quit IRC | 19:33 | |
*** achanda has joined #openstack-glance | 19:34 | |
*** davideag_ has joined #openstack-glance | 19:37 | |
*** davideagnello has quit IRC | 19:40 | |
*** achanda has quit IRC | 19:42 | |
*** davideagnello has joined #openstack-glance | 19:42 | |
*** davideag_ has quit IRC | 19:45 | |
*** pt_15 has quit IRC | 19:58 | |
*** itisha has quit IRC | 20:01 | |
*** ducttape_ has joined #openstack-glance | 20:01 | |
*** sgotliv_ has quit IRC | 20:01 | |
*** _ducttape_ has quit IRC | 20:05 | |
*** e0ne has quit IRC | 20:06 | |
*** _ducttape_ has joined #openstack-glance | 20:07 | |
*** ducttape_ has quit IRC | 20:08 | |
*** kebray has quit IRC | 20:11 | |
*** jaypipes has quit IRC | 20:17 | |
*** mfedosin has joined #openstack-glance | 20:47 | |
*** bpoulos has joined #openstack-glance | 20:49 | |
*** belmoreira has joined #openstack-glance | 20:53 | |
*** zao has left #openstack-glance | 20:59 | |
*** lnxnut has joined #openstack-glance | 20:59 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 21:03 | |
*** pennerc has joined #openstack-glance | 21:08 | |
*** spzala has quit IRC | 21:15 | |
*** mfedosin has quit IRC | 21:17 | |
*** dshakhray has joined #openstack-glance | 21:29 | |
*** lnxnut has quit IRC | 21:29 | |
*** kebray has joined #openstack-glance | 21:43 | |
*** kebray has quit IRC | 21:45 | |
*** belmoreira has quit IRC | 21:46 | |
*** pennerc has quit IRC | 21:49 | |
*** pennerc has joined #openstack-glance | 21:53 | |
*** achanda has joined #openstack-glance | 21:53 | |
*** marcusvrn_ has quit IRC | 21:55 | |
*** smatzek has quit IRC | 22:00 | |
*** kebray has joined #openstack-glance | 22:02 | |
*** achanda has quit IRC | 22:05 | |
*** ninag has quit IRC | 22:08 | |
*** ninag has joined #openstack-glance | 22:08 | |
*** ninag has quit IRC | 22:13 | |
*** pennerc has quit IRC | 22:17 | |
*** edmondsw has quit IRC | 22:23 | |
*** pennerc has joined #openstack-glance | 22:26 | |
*** groen692 has quit IRC | 22:32 | |
*** achanda has joined #openstack-glance | 22:33 | |
*** ninag has joined #openstack-glance | 22:38 | |
*** kebray has quit IRC | 22:39 | |
*** achanda has quit IRC | 22:42 | |
*** wxy__ has quit IRC | 22:45 | |
*** wxy__ has joined #openstack-glance | 22:46 | |
*** pennerc has quit IRC | 22:50 | |
openstackgerrit | Brianna Poulos proposed openstack/glance: Add support for ECC signatures https://review.openstack.org/244347 | 22:50 |
*** burgerk has quit IRC | 22:51 | |
*** ninag has quit IRC | 22:57 | |
*** ninag has joined #openstack-glance | 22:57 | |
*** ducttape_ has joined #openstack-glance | 23:01 | |
*** ninag has quit IRC | 23:02 | |
*** _ducttape_ has quit IRC | 23:04 | |
*** dshakhray has quit IRC | 23:15 | |
*** vijendar has quit IRC | 23:17 | |
*** boris-42 has joined #openstack-glance | 23:33 | |
*** ducttape_ has quit IRC | 23:39 | |
*** ducttape_ has joined #openstack-glance | 23:39 | |
openstackgerrit | Drew Varner proposed openstack/glance: Assert problems in Glance raised by Bandit https://review.openstack.org/241363 | 23:41 |
*** azbiswas_ has quit IRC | 23:54 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!