Wednesday, 2015-11-11

jerrygbIt seems glance registry reports a 404 for /images/detail00:00
jerrygbbut not sure which image is causing this issue00:00
jerrygbwhen did an image-delete it just hanged on me. The backend is a ceph pool00:00
nikhilI see, other calls are working then?00:01
nikhillike create and show?00:01
jerrygbno none actually00:01
nikhilok00:01
jerrygblet me check show00:01
nikhilso something most likely with connection somewhere00:01
jerrygbdocker save busybox | openstack image create busybox --public --container-format docker --disk-format raw00:02
jerrygbthat gives me this00:02
jerrygbERROR: 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
nikhilwell00:02
jerrygbIt seems the openstack client is broken as well00:02
nikhilyeah00:02
nikhilthat's not glance yet00:02
jerrygbright let me try glance image-create00:03
nikhilsure00:03
nikhiltry using glance clint00:03
*** willsama has quit IRC00:04
jerrygbsame00:05
nikhiljerrygb: so I have a feeling g-api cant reach registry00:05
jerrygbeven image-create shows 404 .. hmm .. kinda wierd00:05
nikhilbased on logs you sent00:05
jerrygbRight but registry is on the same machine00:05
nikhilah00:05
jerrygbdoes it use the openstack endpoint api ?00:05
nikhilno00:05
nikhilit's private service00:06
jerrygbokay. What do you normally suggest if the python modules are messed up? Do I do something like piprot to rectify it?00:06
nikhildo you reg logs?00:06
nikhilhave*00:06
jerrygbthere is nothing there apparently .. which leads me to believe the same thing you said ..00:06
jerrygbits not reachable from api00:06
nikhilhm00:06
jerrygbhow do you get the registry endpoint?00:07
jerrygbis it from glance-api.conf?00:07
nikhilcan you check the processes running for reg?00:07
nikhiljerrygb: yeah00:07
*** sgotliv_ has quit IRC00:07
nikhiljust check how many, it may be that you have bunch of zombies. have seen that happen before00:07
jerrygbregistry_host = 0.0.0.0 -- registry_port = 1919100:08
*** dims has joined #openstack-glance00:08
nikhilweird00:08
nikhilthat's all wrong :/00:08
jerrygbwait... we have haproxy with offset of +1000000:09
jerrygbbut both haproxy and registry and running00:09
nikhiloh00:09
nikhilok, can you ping your proxy?00:10
nikhilmanually I mean?00:10
jerrygbyes00:10
jerrygbwhen you have haproxy for glance-api .. it is active-active right?00:10
nikhilyeah00:11
jerrygbI mean .. on all nodes the api/registry services run...00:11
jerrygbotherwise there is no lb ..00:11
jerrygbbah00:11
nikhilyep00:11
jerrygbnot sure why this is happening00:11
jerrygbanother thing I noticed00:11
jerrygbhttps://github.com/openstack/glance/blob/stable/kilo/requirements.txt00:11
nikhilwhat in that?00:13
jerrygbpython-keystoneclient<1.4.0,>=1.2.000:14
jerrygbwe use python-keystoneclient==1.6.000:14
jerrygbBut apparently that is not the issue since we have environments working with 1.6.000:16
*** dims has quit IRC00:16
nikhilhmm, yeah I doubt it it's keystone client00:17
nikhiljerrygb: your conn is prolly timing out to registry00:17
jerrygbhm okay00:18
jerrygbbut it is not mq request right?00:18
jerrygbits http call ?00:18
nikhilyeah00:18
jerrygbbecause mq is on another machine00:18
nikhiltry calling this manually to see if your proxy is fine00:18
nikhilGET on http://0.0.0.0:19191/images/detail?sort_key=name&sort_dir=asc&limit=2000:18
nikhilif possible from the same m/c as api00:19
nikhilgiven there may be firewall rules00:19
nikhilI 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 proxy00:20
jerrygbokay00:20
jerrygbGiven no access tokens, it gives me a 40100:21
nikhilthats good00:21
*** azbiswas has quit IRC00:21
nikhilat least it's reachable00:21
*** EinstCrazy has quit IRC00:23
jerrygbhmm .. is there something else we can do00:29
jerrygblike pdb like flaper87 was mentioning?00:29
jerrygbbut how come only 401 is logged in registry logs00:29
jerrygblet me check the debug mode for the registry00:29
*** achanda has joined #openstack-glance00:36
*** ducttape_ has joined #openstack-glance00:42
*** flwang1 has quit IRC00:58
*** harshs has joined #openstack-glance00:59
*** harshs_ has joined #openstack-glance01:04
*** harshs has quit IRC01:07
*** harshs_ is now known as harshs01:07
*** EinstCrazy has joined #openstack-glance01:12
*** _ducttape_ has joined #openstack-glance01:15
*** ducttape_ has quit IRC01:18
*** dims has joined #openstack-glance01:27
*** _ducttape_ has quit IRC01:29
*** mtanino has quit IRC01:30
*** terryyao has joined #openstack-glance01:33
*** harlowja has quit IRC01:38
*** harlowja_ has joined #openstack-glance01:38
*** EinstCra_ has joined #openstack-glance01:40
*** changbl has joined #openstack-glance01:43
*** EinstCrazy has quit IRC01:43
*** edmondsw has quit IRC02:04
*** kebray has quit IRC02:05
*** mingdang1 has joined #openstack-glance02:12
*** mingdang1 has quit IRC02:13
*** mingdang1 has joined #openstack-glance02:13
*** MattMan has quit IRC02:15
*** MattMan has joined #openstack-glance02:15
*** haomaiwang has joined #openstack-glance02:21
jerrygbHey Nikhil02:38
jerrygbmanaged to get the registry debug outout02:39
jerrygboutput*02:39
jerrygbAre you still there?02:39
jerrygbI receive a 404 --- "GET /images/detail?sort_key=name&sort_dir=asc&limit=20 HTTP/1.1" 404 246 0.14547302:39
*** gonzalo2kx has joined #openstack-glance02:45
*** spzala has quit IRC02:56
*** jamielennox is now known as jamielennox|away03:00
*** haomaiwang has quit IRC03:01
*** haomaiwang has joined #openstack-glance03:01
*** jamielennox|away is now known as jamielennox03:10
openstackgerritSrinivas Sakhamuri proposed openstack/glance_store: Make the image uploads atomic  https://review.openstack.org/24208403:25
*** pumaranikar has joined #openstack-glance03:29
*** houming-wang has joined #openstack-glance03:32
*** harshs has quit IRC03:32
*** jerrygb has quit IRC03:33
*** houming-wang has quit IRC03:33
*** jerrygb has joined #openstack-glance03:34
*** agireud has joined #openstack-glance03:34
*** houming-wang has joined #openstack-glance03:34
*** gonzalo2kx has left #openstack-glance03:34
*** harshs has joined #openstack-glance03:35
*** agireud has quit IRC03:39
*** houming-wang has quit IRC03:39
*** agireud has joined #openstack-glance03:41
jerrygbHi anyone here who can help with a glance issue?03:44
*** dims has quit IRC03:46
*** r-daneel has quit IRC03:47
*** pumaranikar has quit IRC03:49
*** harshs has quit IRC03:53
*** houming-wang has joined #openstack-glance03:54
*** gberginc has joined #openstack-glance03:59
*** haomaiwang has quit IRC04:01
*** haomaiwang has joined #openstack-glance04:01
openstackgerritOpenStack Proposal Bot proposed openstack/glance: Updated from global requirements  https://review.openstack.org/24306704:02
*** azbiswas has joined #openstack-glance04:03
*** spzala has joined #openstack-glance04:06
*** houming-wang has quit IRC04:07
nikhilhey jerrygb, I am partially here and for a few mins before I need to hit the road.04:12
*** houming-wang has joined #openstack-glance04:12
jerrygbhey Nikhil! happy to see you sir04:12
jerrygbhttps://github.com/openstack/glance/blob/a64c9167004ba3913e6aa6c7488927e4ceac37ed/glance/registry/api/v1/images.py#L17204:12
jerrygbI tried placing a pdb at the equivalent on my code, but it doesnt hit it04:13
jerrygbthat is kilo version04:13
*** stevemar_ has joined #openstack-glance04:13
nikhilI see, so you get a 404 from registry or in registry?04:14
nikhilI receive a 404 --- "GET /images/detail?sort_key=name&sort_dir=asc&limit=20 HTTP/1.1" 404 246 0.14547304:14
nikhiltalking about this ^04:14
jerrygbYes I found that I get 404 in the registry logs04:14
nikhiljerrygb: anything else?04:15
jerrygbBut 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 IRC04:16
jerrygbnothing else on registry logs04:16
jerrygbjust the 404 ..04:16
jerrygbI do have some images under /var/lib/glance/images/04:17
nikhilI unable to make if you are getting 404 from the DB or from somewhere else04:17
nikhilbut from the info you have given me, my best guess is that your user doesn't have access or any images at all04:18
jerrygbAlso, 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.17278504:18
jerrygbI am accessing as admin user04:18
jerrygband the admin endpoint04:18
nikhilhuh04:19
jerrygbcould the db be corrupt?04:19
nikhilI don't know tbh04:19
nikhila bad connection to DB should ideally give you 500 or some 5xx04:19
jerrygbI am running a Galera cluster, shall I take a backup and run the db-sync?04:19
jerrygbor maybe inconsistent details?04:20
nikhilno please don't, at least not yet. try to narrow down on the issue first04:20
jerrygbcuz I received a problem initially with image-delete getting stuck .. with ceph not responding04:20
nikhilI see04:20
nikhilwhat happened then? have you tried the regular endpoint with normal user?04:21
jerrygbno actually as admin user04:21
jerrygbbut the ceph cluster has been having some issues04:21
nikhilso sometimes people disallow admin access for consistency reasons04:21
nikhilceph shouldn't create problems with details call04:21
jerrygbso my question is maybe it wasnt a tidy cleanup after the image-delete interrupt (ctrl^c) from me04:21
nikhilthat call doen't interact with backend stores04:22
jerrygbokay no i mean the db itself04:22
nikhilthat shouldn't hurt the GET calls04:22
nikhilah04:22
nikhilwell, I've heard a one too many issues with galera04:22
jerrygbhmm04:22
jerrygbif there anyway to check if details function is called ?04:23
jerrygbI used the logging api and I receive nothing04:23
nikhiloh yes, it is04:23
nikhilthe log line says that04:23
jerrygbwhich images.py should I use?04:23
jerrygbI see one from glanceclient glance etc.. now I am editing /usr/lib/python2.7/dist-packages/glance/api/v1/images.py04:24
nikhilfor?04:24
*** houming-wang has quit IRC04:24
nikhilthat'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-glance04:28
jerrygbSo confirmed that it is spitting out even though I have log at __init__ of the Controller on registry/v1/images.py04:30
jerrygbcould it be using v2?04:30
jerrygbit is not spitting* out any logs04:31
jerrygbIs there a way to check the python paths for the eventlet.wsgi.server for registry04:32
jerrygbmaybe these files are not loaded?04:32
*** hogepodge has quit IRC04:35
*** azbiswas has quit IRC04:38
*** azbiswas has joined #openstack-glance04:55
*** houming-wang has joined #openstack-glance04:59
*** haomaiwang has quit IRC05:01
*** haomaiwa_ has joined #openstack-glance05:01
*** houming-wang has quit IRC05:10
*** houming-wang has joined #openstack-glance05:11
openstackgerritMerged openstack/glance: Remove default=None for config options  https://review.openstack.org/24303605:13
*** azbiswas has quit IRC05:20
*** links has quit IRC05:26
*** jerrygb has quit IRC05:28
*** stevemar_ has joined #openstack-glance05:29
*** jerrygb has joined #openstack-glance05:29
*** frickler has quit IRC05:31
*** stevemar_ has quit IRC05:31
*** jerrygb has quit IRC05:33
*** houming-wang has quit IRC05:35
*** spzala has quit IRC05:36
*** houming-wang has joined #openstack-glance05:36
*** sgotliv_ has joined #openstack-glance05:37
*** harshs has joined #openstack-glance05:41
*** houming-wang has quit IRC05:44
*** houming-wang has joined #openstack-glance05:45
*** achanda has quit IRC05:54
*** links has joined #openstack-glance05:58
*** haomaiwa_ has quit IRC06:01
*** haomaiwang has joined #openstack-glance06:01
*** nikhil has quit IRC06:02
*** nikhil has joined #openstack-glance06:02
*** jamielennox is now known as jamielennox|away06:29
*** harshs has quit IRC06:32
*** achanda has joined #openstack-glance06:34
*** harshs has joined #openstack-glance06:41
*** frickler has joined #openstack-glance06:49
*** harshs has quit IRC06:52
*** haomaiwang has quit IRC07:01
*** 16WAAQM31 has joined #openstack-glance07:01
*** houming-wang has quit IRC07:03
*** groen692 has joined #openstack-glance07:13
*** houming-wang has joined #openstack-glance07:16
*** stevemar_ has joined #openstack-glance07:29
*** jerrygb has joined #openstack-glance07:30
*** stevemar_ has quit IRC07:32
*** ninag has joined #openstack-glance07:35
*** jerrygb has quit IRC07:36
*** ninag has quit IRC07:40
*** gberginc has quit IRC07:40
*** jamielennox|away has quit IRC07:41
*** whydidyoustealmy has joined #openstack-glance07:43
*** barra204 has quit IRC07:43
*** mordred has quit IRC07:44
*** achanda has quit IRC07:51
*** achanda has joined #openstack-glance07:57
*** 16WAAQM31 has quit IRC08:01
*** haomaiwang has joined #openstack-glance08:01
*** gberginc has joined #openstack-glance08:02
*** gb21 has joined #openstack-glance08:15
*** jamielennox|away has joined #openstack-glance08:31
*** jamielennox|away is now known as jamielennox08:31
*** stevemar_ has joined #openstack-glance08:35
*** achanda has quit IRC08:36
*** stevemar_ has quit IRC08:38
*** achanda has joined #openstack-glance08:39
*** sgotliv_ has quit IRC08:45
*** achanda has quit IRC08:57
*** mfedosin has joined #openstack-glance08:57
*** e0ne has joined #openstack-glance08:59
openstackgerritMike Fedosin proposed openstack/glance: Implement trust support for api v2  https://review.openstack.org/24198608:59
*** haomaiwang has quit IRC09:01
*** haomaiwang has joined #openstack-glance09:01
*** houming-wang has quit IRC09:40
*** belmoreira has joined #openstack-glance09:41
*** terryyao has quit IRC09:45
*** jistr has joined #openstack-glance09:45
*** mordred has joined #openstack-glance09:45
*** dshakhray has joined #openstack-glance09:50
*** mfedosin has quit IRC09:52
openstackgerritDarja Shakhray proposed openstack/python-glanceclient: Fix typo in 'help' in python-glanceclient  https://review.openstack.org/23478909:57
*** haomaiwang has quit IRC10:01
*** haomaiwa_ has joined #openstack-glance10:01
*** aix has joined #openstack-glance10:08
*** sgotliv_ has joined #openstack-glance10:19
*** stevemar_ has joined #openstack-glance10:36
*** nikhil has quit IRC10:36
*** nikhil has joined #openstack-glance10:36
*** stevemar_ has quit IRC10:38
*** mingdang1 has quit IRC10:51
kairatFolks! Do I understand correctly that we should not store compressed (.tar and .gz) images in Glance.10:55
kairatI see that Horizon has a note that these formats are supported but it seems that Nova doesn't support it at all.10:56
kairatI have found the code that is related to gzip compression as middleware10:56
*** haomaiwa_ has quit IRC11:01
*** haomaiwa_ has joined #openstack-glance11:01
*** EinstCra_ has quit IRC11:07
*** haomaiwa_ has quit IRC11:21
*** haomaiwa_ has joined #openstack-glance11:21
*** stevemar_ has joined #openstack-glance11:23
*** stevemar_ has quit IRC11:26
*** EinstCrazy has joined #openstack-glance11:31
*** dims has joined #openstack-glance11:41
*** mingdang1 has joined #openstack-glance11:53
*** haomaiwa_ has quit IRC11:55
*** smatzek has joined #openstack-glance11:55
kairatkrotscheck, hello11:59
kairatkrotscheck, I am interesting in cors feature for glance but i have found that work is still in progress11:59
kairati am wondering if there is some problems with cors implementation in glance12:00
*** stevemar_ has joined #openstack-glance12:00
kairatkrotscheck, perhaps you need help on this?12:03
*** e0ne has quit IRC12:11
Jokke_kairat: compressed images are supported _only_ on Images API v1 copy_from case12:12
*** pennerc has joined #openstack-glance12:12
kairatJokke_, how is it detected that the image is compressed?12:15
*** mfedosin has joined #openstack-glance12:15
Jokke_That I do not know. Would need to look into the code12:16
kairatJokke_, thanks for info, btw12:17
kairatI found the code where we compress an image when transmitting it to client12:17
kairatbut it seems that it is not the place I need to look at12:18
*** e0ne has joined #openstack-glance12:18
*** pennerc has quit IRC12:20
*** pennerc has joined #openstack-glance12:25
*** pennerc has quit IRC12:27
*** openstackgerrit has quit IRC12:31
*** openstackgerrit has joined #openstack-glance12:31
*** jerrygb has joined #openstack-glance12:37
*** pennerc has joined #openstack-glance12:57
*** dims has quit IRC12:59
*** pennerc has quit IRC13:03
*** delattec has joined #openstack-glance13:10
*** takedakn has joined #openstack-glance13:11
*** cdelatte has quit IRC13:13
*** ducttape_ has joined #openstack-glance13:13
*** achanda has joined #openstack-glance13:15
*** achanda has quit IRC13:19
*** tenshi has joined #openstack-glance13:24
kairatJokke_, FYI it seems that we store compressed files as it is13:30
kairatApparently this works as I expected13:30
*** edmondsw has joined #openstack-glance13:31
kairator I missed something but when I tried to upload tar.gz archive with copy-from13:31
kairatI have got the same error when booting an image13:31
kairatimage size has not changed13:31
*** ducttape_ has quit IRC13:34
*** ninag has joined #openstack-glance13:37
*** haomaiwang has joined #openstack-glance13:41
*** spzala has joined #openstack-glance13:55
*** haomaiwang has quit IRC14:01
*** haomaiwang has joined #openstack-glance14:01
*** gb21 has quit IRC14:02
*** links has quit IRC14:04
Jokke_hmm-m14:06
*** pennerc has joined #openstack-glance14:06
*** pennerc has quit IRC14:06
*** agireud has quit IRC14:08
*** arif-ali has quit IRC14:08
*** pennerc has joined #openstack-glance14:08
*** houming-wang has joined #openstack-glance14:10
*** pennerc has quit IRC14:10
*** bdossant has joined #openstack-glance14:10
kairatIt seems that we can gzip data when transmitting data between glance and nova14:12
Jokke_mfedosin, flaper87, nikhil: ping14:12
*** dims has joined #openstack-glance14:15
*** agireud has joined #openstack-glance14:15
*** arif-ali has joined #openstack-glance14:15
*** aix has quit IRC14:18
mfedosinJokke_: anyway we store image as-is, without any modifications14:20
mfedosinit has to be decompressed on client side14:21
Jokke_mfedosin: not pinging about that14:22
mfedosinabout what? :)14:22
Jokke_mfedosin: is there something absolutely blocking v2 trusts without this one https://review.openstack.org/#/c/233601/714:22
*** dims has quit IRC14:23
mfedosinno14:23
mfedosinit can be rebased14:23
Jokke_cool lets drop it then ;)14:23
mfedosindrop what?14:23
Jokke_that v1 patch14:23
mfedosinwhy?14:23
mfedosinI thought it can be backported to liberty and kilo14: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 v214:24
mfedosintechnically it's a bugfix14:24
Jokke_and no we can't ... it's a feature ;)14:24
mfedosinit's not a feature14:25
Jokke_well it's kind of borderline we probably can get agreement on14:25
mfedosinit doesn't extend functionality14:25
openstackgerritDarja Shakhray proposed openstack/python-glanceclient: Fix show warnings in console from SSL  https://review.openstack.org/24204914:25
Jokke_it's implementing spec, not fixing a bug ;)14:25
openstackgerritNiall Bunting proposed openstack/python-glanceclient: Clean up exceptions  https://review.openstack.org/24412714:25
Jokke_it's using features we haven't been supporting before14:25
*** dims has joined #openstack-glance14:26
*** pennerc has joined #openstack-glance14:26
mfedosinlet's discuss it on tomorrow meeting14:26
Jokke_yup :P14:27
Jokke_and even your commit message says """Implements bp trust-authentication""" not Closes-Bug: #XXXXXXX14:27
kairatSo I am wondering what is more important policy or solution quality14:27
*** haomaiwang has quit IRC14:28
Jokke_tbh ... one of the reasons I wasn't originally too fond of making this spec rather than bug14:28
*** haomaiwang has joined #openstack-glance14:28
Jokke_kairat: encouraging deployers moving away from v1 is incredible important14:28
Jokke_thus we have had the principle not bringing any new functionality to v114:29
flaper87Jokke_: pong14:29
*** itisha has joined #openstack-glance14:29
Jokke_flaper87: good morning14:29
flaper87Jokke_: hellloooooooooooooooo14:29
* flaper87 is replying to openstack-dev:*14:29
Jokke_flaper87: last 7min of backlog ;)14:29
* flaper87 reads14:29
*** pennerc has quit IRC14:29
flaper87ah yeah, no v114:31
flaper87this is a new feature and we can't backport it anyway14:31
flaper87and v1 is in frozen-in-stone-age mode14:31
flaper87mfedosin: Jokke_ ^14:31
kairatflaper87, this feature closes a bug for v114:32
kairatAre we going to make exception for such cases14:32
kairatbecause the bug is quite important14:32
Jokke_flaper87: that's what I tought as well14:32
kairatit allows to download big images14:32
flaper87kairat: I know what the patch does and no, I don't think the bug is critical enough to deserve an exception14:32
flaper87others might differ, of course14:33
kairatok, thanks for response14:33
mfedosinwhy you didn't tell me about it in the summit? :)14:34
flaper87kairat: 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" v114:34
flaper87mfedosin: It was my bad. I assumed it was going to be just for v214:34
Jokke_so did I ... sorry14:35
flaper87and I forgot that assuming things is the mother of all f@!$@# up14:35
mfedosinI wonder if someone uses registry in v214:35
flaper87mfedosin: there are folks using registry in v214:35
Jokke_mfedosin: yes ;)14:35
flaper87as long as it's in the code base, I'm happy to *assume* people are using it14:35
Jokke_mfedosin: any implementation that has v1 and v2 enabled14:35
kairatflaper87, sometimes yes14:35
mfedosinflaper87: they are crazy :)14:35
flaper87mfedosin: just like those using v114:35
flaper87:P14:36
kairatsometimes, policy should be ignored as you said14:36
Jokke_because you can configure your api node to contact the db directly only if v1 is not enabled14:36
mfedosinusing v1 is necessity14:36
flaper87kairat: everything in our industry depends on the context and has to be evaluated in a case-by-case bsais14:36
mfedosinbecause Nova doesn't support v214:37
flaper87mfedosin: well, it will in mitaka, right?14:37
flaper87it's not like this work can be backported to liberty14:37
flaper87as it's a feature14:37
flaper87"feature"14:37
Jokke_not in upstream14:37
flaper87well, yeah, not in upstream14:37
johnthetubaguyI think we use v2 already in a few select places already, but yeah, +1 to flaper87's other points14:38
Jokke_the backporting part should not be _that_ difficult if your deployment will hugely benefit from it14:38
mfedosinfeature must add new functionality imho14:38
flaper87mfedosin: it's fine to have a link to the v1 patch somewhere for folks interested14:38
mfedosintrusts just allow not to rely on token expiration time14:38
flaper87mfedosin: but it adds support for trusts :)14:38
Jokke_mfedosin: this does ... we haven't been using this keystone trusts functionality before14:38
flaper87also, as bad as it sounds, there are ways to workaround this in existing deployments and I'm sure most folks have done that already14:40
mfedosinI will rebase Kairat's patch then14:40
flaper87I'm not advising that a workaround is better than a proper path but this does weights into the severity of this issue14:40
kairatSo the best case would be find the bug for v114:40
kairatI have seen one14:41
kairatAnd put the reference to Mike's patch14:41
*** david-ly_ has joined #openstack-glance14:41
*** takedakn has quit IRC14:41
kairatIMO, of course)14:41
flaper87kairat: yup, that's what I recommended a couple of lines above.14:41
flaper87I'd wait for this work to land first14: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 downstream14:41
*** david-lyle has quit IRC14:42
kairatflaper87, BTW, I saw you did some work on gzip middleware for glance14:42
flaper87kairat: yeah, that was ages ago, though14:43
flaper87:D14:43
mfedosinin 201314:43
mfedosinage of dinosaurs :)14:43
kairatDo I understand correctly that do not uncompress any .gz images in glance14:44
flaper87mfedosin: hey, I know I know, I'm getting old14:44
flaper87:D14:44
kairatHeh14:44
kairatI mean look here: https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/images/templates/images/images/_create.html14:44
kairatCurrently 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
kairatIs smd will try to do this  and boot an instance after that14:45
flaper87kairat: yeah, the gzip middleware is supposed to support doing gzip requests to glance-api but it won't untar any request from glance14:45
flaper87oh uh14:45
mfedosinflaper87: in short - there is a bug https://bugs.launchpad.net/glance/+bug/148243614:45
openstackLaunchpad bug 1482436 in Glance "Support for compressed/archive file is broken with image-create" [Undecided,Invalid] - Assigned to Kairat Kushaev (kkushaev)14:45
flaper87o.014:45
flaper87mfedosin: I don't think glance should be uncompressing images. That's exploitable14:45
flaper87kairat: ^14:45
kairatAgree14:46
*** pennerc has joined #openstack-glance14:46
kairatThat's why I marked the bug as Invalid.14:46
mfedosinso bug is invalid14:46
*** ducttape_ has joined #openstack-glance14:46
*** pennerc has quit IRC14:47
*** mingdang1 has quit IRC14:47
flaper87cool14:48
mfedosinwe can add it to glanceclient btw14:48
kairatthanks, just wanted to double check14:48
*** pennerc has joined #openstack-glance14:48
mfedosindecomressing14:48
kairatmfedosin, not sure we can decompress gzip on the fly14:48
*** _ducttape_ has joined #openstack-glance14:48
*** mingdang1 has joined #openstack-glance14:49
kairatAFAIK, the table is at the end of the file14:49
flaper87mfedosin: that was the missing part of the gzip work14:49
*** aix has joined #openstack-glance14:49
flaper87we had support for it on the server but not the client14:49
kairatAlthough we have one tar file usually14:49
flaper87and that's why I started migrating glanceclient to requests14:49
flaper87because requests does have support for that14:49
flaper87unless mfedosin meant decompressing gz image data and not http requests14:50
*** ducttape_ has quit IRC14:50
*** mingdang1 has quit IRC14:51
openstackgerritKairat Kushaev proposed openstack/glance: Implement trust support for api v2  https://review.openstack.org/24198614:52
*** bpoulos has joined #openstack-glance14:52
*** pt_15 has joined #openstack-glance14:57
*** takedakn has joined #openstack-glance15:00
*** haomaiwang has quit IRC15:01
*** haomaiwang has joined #openstack-glance15:01
*** dims has quit IRC15:03
*** ducttape_ has joined #openstack-glance15:09
*** _ducttape_ has quit IRC15:13
krotscheckkairat: 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
kairatkrotscheck, so glance has a meeting tomorrow15:15
kairatkrotscheck, perhaps it can discussed there with all cores and PTL15:15
kairator you think that the questions is more global>15:16
kairat?15:16
*** spzala has quit IRC15:22
*** takedakn has quit IRC15:26
*** sigmavirus24_awa is now known as sigmavirus2415:27
openstackgerritNiall Bunting proposed openstack/python-glanceclient: Clean up exceptions  https://review.openstack.org/24412715:27
*** HenryG has quit IRC15:34
*** burgerk has joined #openstack-glance15:37
*** spzala has joined #openstack-glance15:37
*** HenryG has joined #openstack-glance15:38
*** vijendar has joined #openstack-glance15:38
*** mtanino has joined #openstack-glance15:56
*** ninag has quit IRC16:00
*** ninag has joined #openstack-glance16:00
*** haomaiwang has quit IRC16:01
openstackgerritNiall Bunting proposed openstack/glance: Reactivating admin public image returns 500  https://review.openstack.org/24417516:01
*** haomaiwang has joined #openstack-glance16:01
*** _ducttape_ has joined #openstack-glance16:02
*** openstackgerrit has quit IRC16:02
*** openstackgerrit has joined #openstack-glance16:02
*** hogepodge has joined #openstack-glance16:03
*** ducttape_ has quit IRC16:04
*** ninag has quit IRC16:05
*** ninag has joined #openstack-glance16:06
*** david-ly_ is now known as david-lyle16:07
*** pennerc has quit IRC16:07
*** ninag has quit IRC16:08
*** ninag has joined #openstack-glance16:08
*** delatte has joined #openstack-glance16:11
*** harshs has joined #openstack-glance16:12
*** belmoreira has quit IRC16:13
*** pt_15_ has joined #openstack-glance16:13
*** boris-42_ has joined #openstack-glance16:14
*** harshs has quit IRC16:14
openstackgerritOpenStack Proposal Bot proposed openstack/glance: Updated from global requirements  https://review.openstack.org/24306716:14
*** houming-wang_ has joined #openstack-glance16:14
*** kebray has joined #openstack-glance16:16
*** houming-wang has quit IRC16:16
*** houming-wang_ is now known as houming-wang16:16
*** EmilienM has quit IRC16:17
*** pt_15 has quit IRC16:17
*** delattec has quit IRC16:17
*** boris-42 has quit IRC16:17
*** sileht has quit IRC16:17
*** EmilienM_ has joined #openstack-glance16:17
*** pennerc has joined #openstack-glance16:17
*** pt_15_ is now known as pt_1516:17
*** EmilienM_ is now known as EmilienM16:18
*** sileht has joined #openstack-glance16:18
*** ayoung has joined #openstack-glance16:18
*** boris-42_ is now known as boris-4216:19
openstackgerritSrinivas Sakhamuri proposed openstack/glance_store: Make the image uploads atomic  https://review.openstack.org/24208416:33
*** pennerc has quit IRC16:37
*** haomaiwang has quit IRC16:40
*** ducttape_ has joined #openstack-glance16:45
*** _ducttape_ has quit IRC16:46
*** _ducttape_ has joined #openstack-glance16:47
*** ducttap__ has joined #openstack-glance16:49
*** ducttape_ has quit IRC16:49
*** ducttape_ has joined #openstack-glance16:51
*** _ducttape_ has quit IRC16:51
*** _ducttape_ has joined #openstack-glance16:53
*** ducttap__ has quit IRC16:54
*** ducttape_ has quit IRC16:56
*** _ducttape_ has quit IRC16:56
*** ducttape_ has joined #openstack-glance16:57
*** kebray has quit IRC16:57
*** kebray has joined #openstack-glance16:58
*** houming-wang has quit IRC17:01
*** bdossant has quit IRC17:05
*** nikhil_k has joined #openstack-glance17:09
*** mfedosin has quit IRC17:12
*** nikhil has quit IRC17:12
*** jistr is now known as jistr|off17:16
*** jistr|off has quit IRC17:16
openstackgerritOpenStack Proposal Bot proposed openstack/glance: Updated from global requirements  https://review.openstack.org/24306717:18
*** pennerc has joined #openstack-glance17:22
*** harshs has joined #openstack-glance17:24
*** sayali has quit IRC17:24
*** tpeoples has quit IRC17:26
*** tdp has joined #openstack-glance17:26
*** tdp has quit IRC17:27
*** tpeoples has joined #openstack-glance17:27
*** ayoung has quit IRC17:27
*** flwang1 has joined #openstack-glance17:35
*** sayali has joined #openstack-glance17:36
*** harshs has quit IRC17:37
*** e0ne has quit IRC17:47
*** pennerc has quit IRC17:52
*** achanda has joined #openstack-glance17:54
*** achanda has quit IRC17:58
*** flwang1 has quit IRC18:00
*** achanda has joined #openstack-glance18:00
*** ninag has quit IRC18:02
*** ninag has joined #openstack-glance18:02
*** ninag_ has joined #openstack-glance18:04
*** ducttape_ has quit IRC18:05
*** ninag has quit IRC18:06
*** harlowja_ has quit IRC18:08
*** ninag_ has quit IRC18:09
*** sgotliv_ has quit IRC18:09
*** ninag has joined #openstack-glance18:18
*** groen692 has quit IRC18:20
*** e0ne has joined #openstack-glance18:22
*** jaypipes has quit IRC18:22
*** ducttape_ has joined #openstack-glance18:25
*** dshakhray has quit IRC18:25
*** boris-42 has quit IRC18:28
*** groen692 has joined #openstack-glance18:35
*** harlowja has joined #openstack-glance18:42
*** jaypipes has joined #openstack-glance18:42
*** sgotliv_ has joined #openstack-glance18:42
*** harlowja_ has joined #openstack-glance18:44
*** harlowja has quit IRC18:44
*** dims has joined #openstack-glance18:48
*** bpoulos has quit IRC18:48
*** _ducttape_ has joined #openstack-glance18:52
*** azbiswas has joined #openstack-glance18:53
*** azbiswas_ has joined #openstack-glance18:54
*** ducttape_ has quit IRC18:54
*** azbiswas has quit IRC18:57
*** ayoung has joined #openstack-glance18:58
*** gberginc has quit IRC19:12
*** achanda has quit IRC19:16
*** flwang1 has joined #openstack-glance19:23
*** davideagnello has quit IRC19:29
*** davideagnello has joined #openstack-glance19:29
*** aix has quit IRC19:33
*** achanda has joined #openstack-glance19:34
*** davideag_ has joined #openstack-glance19:37
*** davideagnello has quit IRC19:40
*** achanda has quit IRC19:42
*** davideagnello has joined #openstack-glance19:42
*** davideag_ has quit IRC19:45
*** pt_15 has quit IRC19:58
*** itisha has quit IRC20:01
*** ducttape_ has joined #openstack-glance20:01
*** sgotliv_ has quit IRC20:01
*** _ducttape_ has quit IRC20:05
*** e0ne has quit IRC20:06
*** _ducttape_ has joined #openstack-glance20:07
*** ducttape_ has quit IRC20:08
*** kebray has quit IRC20:11
*** jaypipes has quit IRC20:17
*** mfedosin has joined #openstack-glance20:47
*** bpoulos has joined #openstack-glance20:49
*** belmoreira has joined #openstack-glance20:53
*** zao has left #openstack-glance20:59
*** lnxnut has joined #openstack-glance20:59
*** sigmavirus24 is now known as sigmavirus24_awa21:03
*** pennerc has joined #openstack-glance21:08
*** spzala has quit IRC21:15
*** mfedosin has quit IRC21:17
*** dshakhray has joined #openstack-glance21:29
*** lnxnut has quit IRC21:29
*** kebray has joined #openstack-glance21:43
*** kebray has quit IRC21:45
*** belmoreira has quit IRC21:46
*** pennerc has quit IRC21:49
*** pennerc has joined #openstack-glance21:53
*** achanda has joined #openstack-glance21:53
*** marcusvrn_ has quit IRC21:55
*** smatzek has quit IRC22:00
*** kebray has joined #openstack-glance22:02
*** achanda has quit IRC22:05
*** ninag has quit IRC22:08
*** ninag has joined #openstack-glance22:08
*** ninag has quit IRC22:13
*** pennerc has quit IRC22:17
*** edmondsw has quit IRC22:23
*** pennerc has joined #openstack-glance22:26
*** groen692 has quit IRC22:32
*** achanda has joined #openstack-glance22:33
*** ninag has joined #openstack-glance22:38
*** kebray has quit IRC22:39
*** achanda has quit IRC22:42
*** wxy__ has quit IRC22:45
*** wxy__ has joined #openstack-glance22:46
*** pennerc has quit IRC22:50
openstackgerritBrianna Poulos proposed openstack/glance: Add support for ECC signatures  https://review.openstack.org/24434722:50
*** burgerk has quit IRC22:51
*** ninag has quit IRC22:57
*** ninag has joined #openstack-glance22:57
*** ducttape_ has joined #openstack-glance23:01
*** ninag has quit IRC23:02
*** _ducttape_ has quit IRC23:04
*** dshakhray has quit IRC23:15
*** vijendar has quit IRC23:17
*** boris-42 has joined #openstack-glance23:33
*** ducttape_ has quit IRC23:39
*** ducttape_ has joined #openstack-glance23:39
openstackgerritDrew Varner proposed openstack/glance: Assert problems in Glance raised by Bandit  https://review.openstack.org/24136323:41
*** azbiswas_ has quit IRC23:54

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