dharinic | dfisher: iirc, no conf option for partial download using Content-Range. Can you please share your stack trace? | 00:03 |
---|---|---|
dfisher | no stack trace. glance-api just shows the 200 response code | 00:04 |
dfisher | 2017-02-13 15:35:29.705 INFO eventlet.wsgi.server [-] 10.134.13.191 - - [13/Feb/2017 15:35:29] "GET /v2/images/4087d052-9f06-4ea0-b9cc-5a738bb12dc3/file HTTP/1.1" 401 469 0.015297 | 00:04 |
dfisher | wrong one, sorry | 00:04 |
dfisher | 2017-02-13 13:36:28.088 INFO eventlet.wsgi.server [req-18cc16d7-9623-43c2-a0ea-ff24167b7796 admin admin] 10.134.13.103 - - [13/Feb/2017 13:36:28] "GET /v2/images/1c90bd3a-b82c-4748-a680-6c01ec49d56f/file HTTP/1.1" 200 989819140 2.255228 | 00:04 |
dfisher | that one. | 00:04 |
dfisher | i gotta split for the day. we can pick this up tomorrow if you're available | 00:06 |
*** dfisher has quit IRC | 00:07 | |
*** markvoelker has quit IRC | 00:16 | |
*** markvoelker has joined #openstack-glance | 00:17 | |
*** catintheroof has quit IRC | 00:25 | |
dharinic | dfisher: Sure. Can you please try a curl GET with the header? I am not sure why your paste that uses requests, isnt picking up Content-Range. | 00:40 |
*** gcb has quit IRC | 01:03 | |
*** jamielennox is now known as jamielennox|away | 01:09 | |
*** jamielennox|away is now known as jamielennox | 01:17 | |
*** TravT has quit IRC | 01:18 | |
*** cdelatte has quit IRC | 01:59 | |
dharinic | vinaypotluri: I guess you were confused between using multiple directories to store glance images in file system vs having multiple locations for one image irrespective of the store. | 02:19 |
dharinic | If doing the latter, follow the steps I mentioned above. If former, i guess you have what you need to have. | 02:19 |
*** gcb has joined #openstack-glance | 02:20 | |
vinaypotluri | dharinic: sorry for my late response. I tried to PATCH with a new location. I get an error saying "Invalid JSON pointer for this resource: '/var/lib/glance/images3' with 400 error | 02:28 |
vinaypotluri | yes I'm trying set multiple locations for one image | 02:28 |
vinaypotluri | Here's what i have given curl -i -X PATCH -H 'Content-Type: application/openstack-images-v2.1-json-patch' -H "X-Auth-Token:03fe4916f2e442b6a6017ec9dd341466" http://10.0.2.15:9292/v2/images/c3c58805-e107-4816-ba73-af42252c8ec2 -d '[{"op": "add", "path": “/var/lib/glance/images3”, "value": "/v2/schemas/image" }]' | 02:32 |
vinaypotluri | please let me know if i'm not doing it the right way | 02:36 |
dharinic | path needs to be '/locations/n' vinaypotluri | 02:41 |
dharinic | where n can be '-' or a list index | 02:42 |
dharinic | https://specs.openstack.org/openstack/glance-specs/specs/api/v2/http-patch-image-api-v2.html | 02:42 |
dharinic | this should help ^ | 02:42 |
vinaypotluri | thank you but I've been referring to the same doc and i still get the same error. Can you give me an example? | 02:55 |
dharinic | so, the value for path needs to be what you wanna change. for example 'locations' or 'tags' etc. I see that you have given some path instead. | 02:58 |
dharinic | an example could be something like: {'op': 'add', 'path': ['locations', '-'], | 03:01 |
dharinic | 'value': {'url': ‘some/location’, | 03:01 |
dharinic | 'metadata': {}}} | 03:01 |
dharinic | the 'value' can differ. Refer the doc for other examples. | 03:03 |
vinaypotluri | yes the value parameter here is the schema | 03:03 |
vinaypotluri | let me try it and get back to you | 03:04 |
*** nicolasbock has quit IRC | 03:04 | |
*** ducttape_ has quit IRC | 03:04 | |
*** ducttape_ has joined #openstack-glance | 03:05 | |
dharinic | Sure. I got to go now though. Hope u get it done. :) | 03:07 |
vinaypotluri | dharinic: Cool. Will keep you updated. Thank You. | 03:15 |
dharinic | vinaypotluri: you are welcome. | 03:39 |
*** ducttape_ has quit IRC | 03:54 | |
*** david-lyle_ has joined #openstack-glance | 03:56 | |
*** david-lyle has quit IRC | 03:58 | |
*** links has joined #openstack-glance | 03:59 | |
*** lucasxu has joined #openstack-glance | 04:04 | |
openstackgerrit | Brian Rosmaita proposed openstack/glance master: Update developer docs for rolling upgrades https://review.openstack.org/429341 | 04:04 |
*** ducttape_ has joined #openstack-glance | 04:13 | |
openstackgerrit | xurong00037997 proposed openstack/glance master: Update hacking version https://review.openstack.org/429239 | 04:19 |
openstackgerrit | xurong00037997 proposed openstack/glance master: Use https instead of http for git.openstack.org https://review.openstack.org/430075 | 04:20 |
*** adisky_ has joined #openstack-glance | 04:33 | |
*** jose-phillips has joined #openstack-glance | 04:39 | |
*** cjloader_ has joined #openstack-glance | 04:45 | |
*** udesale has joined #openstack-glance | 04:47 | |
*** cjloader_ has quit IRC | 04:50 | |
*** cjloader_ has joined #openstack-glance | 04:50 | |
*** cjloade__ has joined #openstack-glance | 04:52 | |
*** cjloader_ has quit IRC | 04:52 | |
*** cjloade__ has quit IRC | 04:53 | |
*** pdeore has joined #openstack-glance | 04:57 | |
*** pdeore has quit IRC | 04:57 | |
*** pdeore has joined #openstack-glance | 04:58 | |
*** zul has quit IRC | 05:02 | |
*** jose-phillips has quit IRC | 05:02 | |
*** lucasxu has quit IRC | 05:09 | |
*** gcb has quit IRC | 05:20 | |
*** gcb has joined #openstack-glance | 05:20 | |
*** ratailor has joined #openstack-glance | 05:24 | |
*** zul has joined #openstack-glance | 05:25 | |
*** lucasxu has joined #openstack-glance | 05:28 | |
*** lucasxu has quit IRC | 05:30 | |
*** lucasxu has joined #openstack-glance | 05:31 | |
*** aavraham has joined #openstack-glance | 05:39 | |
*** lucasxu has quit IRC | 05:47 | |
*** lucasxu has joined #openstack-glance | 05:49 | |
*** dstepanenko has quit IRC | 05:52 | |
*** links has quit IRC | 05:55 | |
*** mfedosin has joined #openstack-glance | 06:01 | |
*** hyakuhei has quit IRC | 06:06 | |
*** links has joined #openstack-glance | 06:12 | |
openstackgerrit | jazeltq proposed openstack/glance_store master: Support sparse uploads to RBD images https://review.openstack.org/430641 | 06:23 |
*** mfedosin has quit IRC | 06:27 | |
*** lucasxu has quit IRC | 06:29 | |
*** mosulica has joined #openstack-glance | 06:32 | |
*** links has quit IRC | 06:48 | |
*** ezoszed has joined #openstack-glance | 06:48 | |
*** rcernin has joined #openstack-glance | 06:54 | |
*** groen692 has joined #openstack-glance | 06:58 | |
*** links has joined #openstack-glance | 07:02 | |
*** tshefi has quit IRC | 07:14 | |
*** tshefi has joined #openstack-glance | 07:14 | |
*** tesseract has joined #openstack-glance | 07:15 | |
*** bkopilov has quit IRC | 07:26 | |
*** bkopilov_ has quit IRC | 07:27 | |
*** zul has quit IRC | 07:50 | |
*** links has quit IRC | 07:50 | |
*** links has joined #openstack-glance | 07:52 | |
*** pcaruana has joined #openstack-glance | 08:11 | |
*** knangia has quit IRC | 08:20 | |
*** zul has joined #openstack-glance | 08:54 | |
*** mfedosin has joined #openstack-glance | 08:58 | |
*** zzzeek has quit IRC | 09:00 | |
*** zzzeek has joined #openstack-glance | 09:01 | |
*** e0ne has joined #openstack-glance | 09:17 | |
*** aavraham has quit IRC | 09:21 | |
*** aarefiev_afk is now known as aarefiev | 09:22 | |
*** udesale has quit IRC | 09:26 | |
*** bkopilov has joined #openstack-glance | 09:26 | |
*** bkopilov_ has joined #openstack-glance | 09:27 | |
*** aavraham has joined #openstack-glance | 09:33 | |
*** aavraham has left #openstack-glance | 09:36 | |
*** aavraham has joined #openstack-glance | 09:37 | |
*** tesseract-RH has joined #openstack-glance | 09:56 | |
*** tesseract has quit IRC | 10:04 | |
*** mvk has quit IRC | 10:26 | |
*** mvk has joined #openstack-glance | 10:52 | |
*** dalgaaf has quit IRC | 10:54 | |
*** dalgaaf has joined #openstack-glance | 10:59 | |
*** nicolasbock has joined #openstack-glance | 11:16 | |
*** ratailor has quit IRC | 11:23 | |
openstackgerrit | Danny Al-Gaaf proposed openstack/glance master: Adds purge command to glancemanage man page https://review.openstack.org/427634 | 11:30 |
*** smatzek has joined #openstack-glance | 11:40 | |
*** pdeore has quit IRC | 11:53 | |
*** haplo37 has quit IRC | 11:59 | |
*** haplo37 has joined #openstack-glance | 12:08 | |
*** mfedosin has quit IRC | 12:31 | |
*** bkopilov has quit IRC | 12:43 | |
*** bkopilov_ has quit IRC | 12:43 | |
*** catintheroof has joined #openstack-glance | 13:07 | |
*** jamielennox is now known as jamielennox|away | 13:21 | |
*** mtanino has quit IRC | 13:24 | |
*** links has quit IRC | 13:28 | |
*** mvk has quit IRC | 13:32 | |
*** burgerk has joined #openstack-glance | 13:48 | |
*** ezoszed has quit IRC | 13:57 | |
*** ezoszed has joined #openstack-glance | 13:58 | |
*** ezoszed has quit IRC | 13:59 | |
*** ezoszed has joined #openstack-glance | 14:00 | |
*** knangia has joined #openstack-glance | 14:07 | |
*** bkopilov has joined #openstack-glance | 14:24 | |
*** bkopilov_ has joined #openstack-glance | 14:24 | |
*** mvk has joined #openstack-glance | 14:26 | |
*** smatzek has quit IRC | 14:27 | |
*** links has joined #openstack-glance | 14:29 | |
*** fnordahl has quit IRC | 14:43 | |
*** fnordahl has joined #openstack-glance | 14:44 | |
*** bkopilov_ has quit IRC | 14:47 | |
*** bkopilov has quit IRC | 14:47 | |
*** smatzek has joined #openstack-glance | 14:51 | |
*** ducttape_ has quit IRC | 14:56 | |
*** burgerk has quit IRC | 14:57 | |
*** cjloader_ has joined #openstack-glance | 15:01 | |
*** lucasxu has joined #openstack-glance | 15:02 | |
*** ducttape_ has joined #openstack-glance | 15:03 | |
*** lucasxu has quit IRC | 15:04 | |
*** dfisher has joined #openstack-glance | 15:15 | |
*** bkopilov has joined #openstack-glance | 15:15 | |
*** bkopilov_ has joined #openstack-glance | 15:15 | |
*** burgerk has joined #openstack-glance | 15:25 | |
*** mtanino has joined #openstack-glance | 15:26 | |
*** aavraham has left #openstack-glance | 15:33 | |
*** aavraham has joined #openstack-glance | 15:35 | |
*** cjloader_ has quit IRC | 15:46 | |
*** cjloader_ has joined #openstack-glance | 15:46 | |
*** links has quit IRC | 15:47 | |
*** ezoszed has quit IRC | 15:52 | |
*** mvk has quit IRC | 15:54 | |
*** TravT has joined #openstack-glance | 15:55 | |
*** mosulica has quit IRC | 16:04 | |
alex_bash | rosmaita: | 16:04 |
rosmaita | alex_bash: | 16:05 |
alex_bash | Help me understand, how can a Newton registry node talk to an Ocata API? | 16:06 |
rosmaita | it can't, right? | 16:06 |
dfisher | dharinic: re: content-range, it seems to be an issue with the cache. I unstack'd/stack'd and started all over. I uploaded a file to glance and immediately tried to download the partial range. It fails with a checksum error: http://paste.openstack.org/show/598853/ | 16:07 |
dfisher | dharinic: i suspect the csum error stems from comparing the md5sum of the partial download to the entire image | 16:07 |
dharinic | Ahhh, it was the caching. | 16:08 |
dfisher | dharinic: do you have a rig where you could try this out? I suspect the functional test isn't setting up the cache | 16:08 |
alex_bash | I don't think it can, therefore I don't understand your comment on https://review.openstack.org/#/c/429341/5/doc/source/rollingupgrades.rst | 16:08 |
dfisher | i think api/middleware/cache.py needs to look for the Content-Range header and if found, don't use the cache | 16:09 |
alex_bash | I agree with you that we should "ignore" the registry service. But I guess our ideas of how to ignore differ slightly. I would not call it out at all. It is implied when you talk about starting/stopping services that it means both api and registry. | 16:10 |
dfisher | or, teach the cache retrieval to do the partial. either way | 16:10 |
dharinic | dfisher: Sure, I can try it out a little later today. | 16:10 |
dfisher | dharinic: perfect, thanks | 16:10 |
dharinic | Yeah as per your paste, the caching has an issue. | 16:10 |
*** rcernin has quit IRC | 16:11 | |
*** aavraham has quit IRC | 16:14 | |
dharinic | alex_bash: rosmaita has not said in the comment that newton registry node will talk to ocata API node. | 16:14 |
dharinic | has he? I think he only said newton to newton and ocata to ocata communication of api nodes and reg nodes | 16:15 |
alex_bash | My point is we shouldn't call out "not having registry service" as a requirement. I think that muddies the waters more than not mentioning it at all. But that's just my opinion | 16:18 |
dharinic | I guess not having a registry should be a requirement. But, taking it out of there might make the rest of the doc incomplete. | 16:22 |
dharinic | Maybe we can mention that this doc explains rolling upgrades without registry service being considered | 16:23 |
dharinic | to limit its scope.. And then just as rosmaita suggested we can probably have a detailed doc explaining how to achieve this when registry service is being used by glance | 16:24 |
dharinic | not having a registry should not be a requirement* | 16:24 |
rosmaita | alex_bash: sorry, was in a meeting, reading back now | 16:26 |
*** david-lyle has joined #openstack-glance | 16:26 | |
alex_bash | I am just failing to understand what the differences are with and without registry. It's a matter of running: | 16:27 |
alex_bash | sudo service glance-registry stop/start | 16:27 |
alex_bash | in addtion to: | 16:27 |
alex_bash | sudo service glance-api stop/start | 16:27 |
rosmaita | you are assuming the registry and api are on the same node | 16:27 |
rosmaita | probably fairly unlikely | 16:28 |
rosmaita | you need a bunch of api nodes because of all the data handling | 16:28 |
rosmaita | registry is a simple transaction | 16:28 |
rosmaita | so production deployments will have a bunch of API nodes and 1 registry maybe plus a failover for HA | 16:28 |
*** david-lyle_ has quit IRC | 16:29 | |
rosmaita | and the api nodes need to know what registry to talk to | 16:29 |
rosmaita | so that's what would complicate a rolling upgrade with registry | 16:29 |
alex_bash | ok that clarifies it | 16:29 |
alex_bash | I see your point now | 16:29 |
rosmaita | i'm not saying it's impossible, just harder to explain | 16:29 |
rosmaita | ok, cool | 16:29 |
rosmaita | but i think you have a good point about explicitly saying something about the scope of the doc | 16:30 |
rosmaita | i was thinking "experimental" was enough, but i'll add a sentence or two | 16:30 |
*** lucasxu has joined #openstack-glance | 16:38 | |
*** mfedosin has joined #openstack-glance | 16:44 | |
*** rcernin has joined #openstack-glance | 16:49 | |
*** mvk has joined #openstack-glance | 16:55 | |
*** faizy has joined #openstack-glance | 16:58 | |
openstackgerrit | Brian Rosmaita proposed openstack/glance master: Update developer docs for rolling upgrades https://review.openstack.org/429341 | 17:01 |
*** catintheroof has quit IRC | 17:07 | |
*** catintheroof has joined #openstack-glance | 17:07 | |
*** aarefiev is now known as aarefiev_afk | 17:12 | |
*** e0ne has quit IRC | 17:17 | |
*** tshefi has quit IRC | 17:18 | |
openstackgerrit | Hemanth Makkapati proposed openstack/glance master: Fix brackets to suggest optionality https://review.openstack.org/433806 | 17:25 |
*** pcaruana has quit IRC | 17:31 | |
*** tshefi has joined #openstack-glance | 17:46 | |
*** ducttape_ has quit IRC | 17:51 | |
*** ducttape_ has joined #openstack-glance | 17:57 | |
*** ducttape_ has quit IRC | 17:58 | |
*** mfedosin has quit IRC | 18:03 | |
*** mfedosin has joined #openstack-glance | 18:04 | |
*** tesseract-RH has quit IRC | 18:26 | |
*** e0ne has joined #openstack-glance | 18:29 | |
*** DuncanT has quit IRC | 18:41 | |
*** e0ne has quit IRC | 18:42 | |
*** e0ne has joined #openstack-glance | 18:59 | |
*** e0ne has quit IRC | 19:12 | |
*** TravT has quit IRC | 19:14 | |
dharinic | dfisher: I could verify what you were telling about. Thanks for reporting this. I will dig some more into this. | 19:15 |
*** groen692 has quit IRC | 19:16 | |
*** dharinic is now known as dharinic|lunch | 19:20 | |
dfisher | dharinic: no problem. Thanks for digging on it with me. | 19:20 |
*** cjloader_ has quit IRC | 19:35 | |
*** faizy has quit IRC | 19:47 | |
*** dharinic|lunch is now known as dharinic | 19:51 | |
*** aunnam has joined #openstack-glance | 20:02 | |
*** ducttape_ has joined #openstack-glance | 20:08 | |
*** ducttape_ has quit IRC | 20:11 | |
*** jamielennox|away is now known as jamielennox | 20:17 | |
*** openstackgerrit has quit IRC | 20:18 | |
*** knangia has quit IRC | 20:25 | |
*** knangia has joined #openstack-glance | 20:26 | |
*** knangia has quit IRC | 20:26 | |
*** knangia has joined #openstack-glance | 20:27 | |
*** mfedosin has quit IRC | 20:29 | |
*** TravT has joined #openstack-glance | 20:30 | |
*** hyakuhei has joined #openstack-glance | 20:31 | |
*** hyakuhei has quit IRC | 20:31 | |
*** hyakuhei has joined #openstack-glance | 20:31 | |
*** hyakuhei has quit IRC | 20:31 | |
*** hyakuhei has joined #openstack-glance | 20:31 | |
*** tshefi has quit IRC | 20:33 | |
*** mfedosin has joined #openstack-glance | 20:39 | |
dharinic | dfisher: The issue is with image caching. Will work on it. With no image caching enabled, it should work fine if you wanna use it. | 20:42 |
dfisher | ok. | 20:43 |
dfisher | holler when you get a review posted. I'll take a look / grab the patch and try it | 20:43 |
dharinic | dfisher: Thanks. :) https://bugs.launchpad.net/glance/+bug/1664709 | 20:43 |
openstack | Launchpad bug 1664709 in Glance "Partial download of image fails when using image caching" [Undecided,New] - Assigned to Dharini Chandrasekar (dharini-chandrasekar) | 20:43 |
dharinic | Sure. | 20:43 |
*** smatzek has quit IRC | 21:30 | |
*** openstackgerrit has joined #openstack-glance | 21:30 | |
openstackgerrit | Hemanth Makkapati proposed openstack/glance master: Db Sync to Use Expand, Migrate & Contract https://review.openstack.org/433934 | 21:30 |
*** hemanthm is now known as hemanthm|bbl | 21:35 | |
*** rcernin has quit IRC | 21:44 | |
*** lucasxu has quit IRC | 21:50 | |
*** lucasxu has joined #openstack-glance | 21:51 | |
openstackgerrit | Brian Rosmaita proposed openstack/glance master: Satisfy API Reference documentation deleting tags https://review.openstack.org/420038 | 21:59 |
*** flwang has quit IRC | 22:04 | |
*** flwang has joined #openstack-glance | 22:04 | |
*** burgerk_ has joined #openstack-glance | 22:05 | |
*** burgerk has quit IRC | 22:06 | |
*** burgerk_ has quit IRC | 22:12 | |
*** smatzek has joined #openstack-glance | 22:35 | |
*** tonyb_ has joined #openstack-glance | 22:38 | |
*** ameade_ has joined #openstack-glance | 22:41 | |
*** dims has joined #openstack-glance | 22:41 | |
*** mtreinish_ has joined #openstack-glance | 22:41 | |
*** flwang has quit IRC | 22:42 | |
*** hyakuhei has quit IRC | 22:42 | |
*** dims_ has quit IRC | 22:42 | |
*** mtreinish has quit IRC | 22:42 | |
*** mnaser has quit IRC | 22:42 | |
*** ameade has quit IRC | 22:42 | |
*** tonyb has quit IRC | 22:42 | |
*** vkmc has quit IRC | 22:42 | |
*** greghaynes has quit IRC | 22:42 | |
*** jamielennox has quit IRC | 22:42 | |
*** fungi has quit IRC | 22:42 | |
*** mtreinish_ is now known as mtreinish | 22:42 | |
*** zigo has quit IRC | 22:46 | |
*** chlong has quit IRC | 22:46 | |
*** castulo has quit IRC | 22:46 | |
*** clayton has quit IRC | 22:46 | |
*** darrenc has quit IRC | 22:46 | |
*** tonyb_ is now known as tonyb | 22:46 | |
*** vkmc has joined #openstack-glance | 22:47 | |
*** castulo has joined #openstack-glance | 22:48 | |
*** greghaynes has joined #openstack-glance | 22:49 | |
*** fungi has joined #openstack-glance | 22:49 | |
*** ameade_ is now known as ameade | 22:50 | |
*** mnaser has joined #openstack-glance | 22:50 | |
*** flwang has joined #openstack-glance | 22:52 | |
*** zigo has joined #openstack-glance | 22:52 | |
*** chlong has joined #openstack-glance | 22:52 | |
*** clayton has joined #openstack-glance | 22:52 | |
*** darrenc has joined #openstack-glance | 22:52 | |
*** smatzek has quit IRC | 22:53 | |
*** zigo is now known as Guest27057 | 22:54 | |
*** mfedosin has quit IRC | 23:06 | |
*** knangia has quit IRC | 23:07 | |
*** knangia has joined #openstack-glance | 23:07 | |
openstackgerrit | Merged openstack/glance master: Fix brackets to suggest optionality https://review.openstack.org/433806 | 23:32 |
*** lucasxu has quit IRC | 23:34 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!