*** ducttape_ has joined #openstack-glance | 00:02 | |
*** lucas_ has quit IRC | 00:05 | |
*** ducttape_ has quit IRC | 00:09 | |
*** jamielennox is now known as jamielennox|away | 00:24 | |
*** ducttape_ has joined #openstack-glance | 00:26 | |
*** jlwhite has quit IRC | 00:28 | |
*** jlwhite has joined #openstack-glance | 00:28 | |
*** mdbooth has quit IRC | 00:29 | |
*** mdbooth has joined #openstack-glance | 00:30 | |
*** catintheroof has joined #openstack-glance | 00:36 | |
*** catintheroof has quit IRC | 00:37 | |
*** lucas_ has joined #openstack-glance | 00:38 | |
*** jamielennox|away is now known as jamielennox | 00:50 | |
*** ducttape_ has quit IRC | 01:07 | |
*** ducttape_ has joined #openstack-glance | 01:09 | |
*** sileht has quit IRC | 01:19 | |
*** sileht has joined #openstack-glance | 01:22 | |
*** ducttape_ has quit IRC | 01:27 | |
*** ducttape_ has joined #openstack-glance | 01:39 | |
*** ducttape_ has quit IRC | 02:38 | |
*** tovin07_ has joined #openstack-glance | 02:57 | |
*** ducttape_ has joined #openstack-glance | 03:18 | |
*** ducttape_ has quit IRC | 03:43 | |
*** ducttape_ has joined #openstack-glance | 04:07 | |
*** Dinesh_Bhor has joined #openstack-glance | 04:08 | |
*** lucas_ has quit IRC | 04:20 | |
*** hoonetorg has quit IRC | 04:34 | |
*** ducttape_ has quit IRC | 04:41 | |
*** faizy has joined #openstack-glance | 04:46 | |
*** hoonetorg has joined #openstack-glance | 04:48 | |
*** lucas_ has joined #openstack-glance | 04:51 | |
*** adisky_ has joined #openstack-glance | 05:00 | |
*** udesale has joined #openstack-glance | 05:01 | |
*** lucas_ has quit IRC | 05:01 | |
*** tshefi has joined #openstack-glance | 05:11 | |
*** pdeore has joined #openstack-glance | 05:11 | |
*** mtreinish has quit IRC | 05:20 | |
*** ratailor has joined #openstack-glance | 05:27 | |
*** mtreinish has joined #openstack-glance | 05:31 | |
*** ducttape_ has joined #openstack-glance | 05:41 | |
*** aavraham has joined #openstack-glance | 05:41 | |
*** ducttape_ has quit IRC | 05:46 | |
*** bkopilov_ has quit IRC | 05:58 | |
*** bkopilov_ has joined #openstack-glance | 05:59 | |
*** gcb has joined #openstack-glance | 06:00 | |
*** bkopilov_ has quit IRC | 06:04 | |
*** bkopilov_ has joined #openstack-glance | 06:04 | |
*** openstackgerrit has joined #openstack-glance | 06:05 | |
openstackgerrit | Dinesh Bhor proposed openstack/glance master: Provide user friendly message for FK failure https://review.openstack.org/299209 | 06:05 |
---|---|---|
*** lucas_ has joined #openstack-glance | 06:12 | |
*** faizy has quit IRC | 06:31 | |
*** ezoszed has joined #openstack-glance | 06:31 | |
*** faizy has joined #openstack-glance | 06:31 | |
*** faizy has quit IRC | 06:35 | |
*** faizy has joined #openstack-glance | 06:36 | |
*** faizy has quit IRC | 06:37 | |
*** faizy has joined #openstack-glance | 06:38 | |
*** faizy has quit IRC | 06:41 | |
*** faizy has joined #openstack-glance | 06:41 | |
*** itisha has quit IRC | 06:42 | |
*** lucas_ has quit IRC | 06:46 | |
*** groen692 has joined #openstack-glance | 06:58 | |
*** rcernin has joined #openstack-glance | 07:15 | |
*** tesseract has joined #openstack-glance | 07:28 | |
*** tesseract is now known as tesseract-RH | 07:29 | |
*** newmember has quit IRC | 07:30 | |
*** newmember has joined #openstack-glance | 07:31 | |
*** ducttape_ has joined #openstack-glance | 07:43 | |
*** ducttape_ has quit IRC | 07:47 | |
*** pcaruana has joined #openstack-glance | 07:49 | |
*** gcb has quit IRC | 07:57 | |
*** faizy has quit IRC | 08:19 | |
*** faizy has joined #openstack-glance | 08:20 | |
*** mfedosin has joined #openstack-glance | 08:50 | |
*** zzzeek has quit IRC | 09:00 | |
*** zzzeek has joined #openstack-glance | 09:00 | |
*** faizy has quit IRC | 09:01 | |
*** faizy has joined #openstack-glance | 09:02 | |
*** faizy_ has joined #openstack-glance | 09:11 | |
*** faizy has quit IRC | 09:15 | |
*** faizy_ has quit IRC | 09:24 | |
*** udesale__ has joined #openstack-glance | 09:26 | |
*** udesale has quit IRC | 09:29 | |
*** faizy has joined #openstack-glance | 09:42 | |
*** ducttape_ has joined #openstack-glance | 09:44 | |
*** faizy has quit IRC | 09:47 | |
*** jamielennox is now known as jamielennox|away | 09:48 | |
*** ducttape_ has quit IRC | 09:48 | |
*** e0ne has joined #openstack-glance | 09:52 | |
*** e0ne has quit IRC | 09:54 | |
*** e0ne has joined #openstack-glance | 09:58 | |
*** e0ne has quit IRC | 10:02 | |
*** e0ne has joined #openstack-glance | 10:07 | |
*** e0ne has quit IRC | 10:09 | |
*** e0ne has joined #openstack-glance | 10:13 | |
*** e0ne_ has joined #openstack-glance | 10:15 | |
*** e0ne has quit IRC | 10:15 | |
*** dims_ has quit IRC | 10:16 | |
*** e0ne_ has quit IRC | 10:21 | |
*** udesale has joined #openstack-glance | 10:22 | |
*** dims has joined #openstack-glance | 10:23 | |
*** udesale__ has quit IRC | 10:23 | |
*** jamielennox|away is now known as jamielennox | 10:24 | |
*** e0ne has joined #openstack-glance | 10:25 | |
*** e0ne has quit IRC | 10:27 | |
*** e0ne has joined #openstack-glance | 10:32 | |
*** pdeore has quit IRC | 10:35 | |
*** ezoszed has quit IRC | 10:37 | |
*** udesale has quit IRC | 10:39 | |
*** mvk has quit IRC | 10:40 | |
*** e0ne has quit IRC | 10:41 | |
*** e0ne has joined #openstack-glance | 10:45 | |
*** e0ne has quit IRC | 10:51 | |
*** dalgaaf has quit IRC | 10:58 | |
*** dalgaaf has joined #openstack-glance | 11:01 | |
*** pdeore has joined #openstack-glance | 11:02 | |
*** mvk has joined #openstack-glance | 11:09 | |
*** openstackgerrit has quit IRC | 11:18 | |
*** nicolasbock has joined #openstack-glance | 11:31 | |
*** e0ne has joined #openstack-glance | 11:34 | |
*** ratailor has quit IRC | 11:36 | |
*** ducttape_ has joined #openstack-glance | 11:44 | |
*** e0ne has quit IRC | 11:45 | |
*** e0ne has joined #openstack-glance | 11:47 | |
*** e0ne has quit IRC | 11:48 | |
*** e0ne has joined #openstack-glance | 11:48 | |
*** e0ne has quit IRC | 11:48 | |
*** e0ne has joined #openstack-glance | 11:49 | |
*** ducttape_ has quit IRC | 11:49 | |
*** e0ne has quit IRC | 11:49 | |
*** e0ne has joined #openstack-glance | 11:50 | |
*** e0ne has quit IRC | 11:50 | |
*** e0ne has joined #openstack-glance | 11:50 | |
*** e0ne has quit IRC | 11:51 | |
*** e0ne has joined #openstack-glance | 11:51 | |
*** e0ne has quit IRC | 11:52 | |
*** smatzek_ has joined #openstack-glance | 11:52 | |
*** groen692 has quit IRC | 12:03 | |
*** dims has quit IRC | 12:23 | |
*** groen692 has joined #openstack-glance | 12:27 | |
*** haplo37 has quit IRC | 12:36 | |
*** catintheroof has joined #openstack-glance | 12:41 | |
*** ducttape_ has joined #openstack-glance | 12:45 | |
*** haplo37 has joined #openstack-glance | 12:46 | |
*** gcb has joined #openstack-glance | 12:50 | |
*** pdeore has quit IRC | 12:53 | |
*** tshefi has quit IRC | 13:07 | |
*** dims has joined #openstack-glance | 13:20 | |
*** ducttape_ has quit IRC | 13:20 | |
*** aavraham has quit IRC | 13:21 | |
*** rosmaita_ has joined #openstack-glance | 13:30 | |
*** ndonegan_ has joined #openstack-glance | 13:31 | |
*** ndonegan has quit IRC | 13:32 | |
*** hyakuhei has quit IRC | 13:32 | |
*** rosmaita has quit IRC | 13:32 | |
*** fnordahl has quit IRC | 13:32 | |
*** fnordahl has joined #openstack-glance | 13:32 | |
*** hyakuhei has joined #openstack-glance | 13:32 | |
*** hyakuhei has quit IRC | 13:32 | |
*** hyakuhei has joined #openstack-glance | 13:32 | |
*** hyakuhei has quit IRC | 13:32 | |
*** hyakuhei has joined #openstack-glance | 13:32 | |
*** pumaranikar has quit IRC | 13:34 | |
*** rosmaita_ is now known as rosmaita | 13:34 | |
*** pumaranikar has joined #openstack-glance | 13:38 | |
*** dims_ has joined #openstack-glance | 13:43 | |
*** dims has quit IRC | 13:45 | |
*** mtanino has joined #openstack-glance | 13:49 | |
*** mvk has quit IRC | 14:03 | |
*** ducttape_ has joined #openstack-glance | 14:07 | |
*** ducttape_ has quit IRC | 14:07 | |
*** ducttape_ has joined #openstack-glance | 14:07 | |
*** ducttape_ has quit IRC | 14:14 | |
*** mvk has joined #openstack-glance | 14:18 | |
*** cdelatte has joined #openstack-glance | 14:21 | |
*** smatzek_ has quit IRC | 14:33 | |
*** jamielennox is now known as jamielennox|away | 14:39 | |
*** ducttape_ has joined #openstack-glance | 14:44 | |
*** pcaruana has quit IRC | 14:50 | |
*** smatzek_ has joined #openstack-glance | 14:52 | |
*** pcaruana has joined #openstack-glance | 14:55 | |
*** mfedosin has quit IRC | 14:59 | |
*** jose-phillips has joined #openstack-glance | 15:00 | |
*** mfedosin has joined #openstack-glance | 15:00 | |
*** udesale has joined #openstack-glance | 15:03 | |
*** cjloader_ has joined #openstack-glance | 15:03 | |
*** burgerk has joined #openstack-glance | 15:09 | |
*** jose-phi_ has joined #openstack-glance | 15:15 | |
*** jose-phillips has quit IRC | 15:16 | |
*** lucas_ has joined #openstack-glance | 15:18 | |
*** _ducttape_ has joined #openstack-glance | 15:21 | |
*** ducttape_ has quit IRC | 15:25 | |
*** lucas_ is now known as lucasxu | 15:34 | |
*** lucasxu has quit IRC | 15:42 | |
*** lucas_ has joined #openstack-glance | 15:43 | |
*** lucas_ has quit IRC | 15:44 | |
*** lucasxu has joined #openstack-glance | 15:44 | |
*** lucasxu has quit IRC | 15:48 | |
*** lucasxu has joined #openstack-glance | 15:49 | |
-openstackstatus- NOTICE: We are currently investigating an issue with our AFS mirrors which is causing some projects jobs to fail. We are working to correct the issue. | 15:49 | |
*** cjloader_ has quit IRC | 15:49 | |
*** cjloader_ has joined #openstack-glance | 15:50 | |
*** mvk has quit IRC | 15:53 | |
*** ratailor has joined #openstack-glance | 15:54 | |
*** jose-phi_ has quit IRC | 15:56 | |
*** _ducttape_ has quit IRC | 15:58 | |
*** ducttape_ has joined #openstack-glance | 15:59 | |
*** dstepanenko has joined #openstack-glance | 16:00 | |
dstepanenko | Hi all | 16:04 |
dstepanenko | I was going to work on https://specs.openstack.org/openstack/glance-specs/specs/ocata/approved/glance/database-strategy-for-rolling-upgrades.html and found that there're 2 patches which are already merged - https://review.openstack.org/#/c/392993 and https://review.openstack.org/#/c/424774 | 16:06 |
dstepanenko | as far as I see all the changes related to that blueprint was already implemented. Did I miss something? | 16:06 |
rosmaita | the key missing things are the grenade tests to do upgrade testing in the gate | 16:07 |
rosmaita | and we also need to doc everything, both for operators and devs | 16:08 |
*** rcernin has quit IRC | 16:19 | |
*** dims_ has quit IRC | 16:19 | |
*** pcaruana has quit IRC | 16:20 | |
dstepanenko | rosmaita: is there any doc describing how it should be done and where it should be merged? | 16:21 |
dstepanenko | so far I don't understand clearly what is the proper place to store such docs | 16:21 |
rosmaita | dstepanenko: will you be at the PTG next week, by chance? | 16:21 |
dstepanenko | rosmaita: unfortunately, no | 16:22 |
rosmaita | we're going to discuss doc re-org with the docs PTL | 16:22 |
rosmaita | ok | 16:22 |
rosmaita | well, basically, in glance/docs | 16:22 |
rosmaita | there are some docs aimed at devs, some aimed at operators | 16:22 |
*** dims has joined #openstack-glance | 16:24 | |
*** tshefi has joined #openstack-glance | 16:29 | |
*** pcaruana has joined #openstack-glance | 16:34 | |
*** e0ne has joined #openstack-glance | 16:35 | |
*** haplo37 has quit IRC | 16:36 | |
dstepanenko | rosmaita: thanks for your help. Could you please send me a link to one of such docs? The thing is that I see some docs inside glance repository but didn't see if any of them was marked for devs or for operators | 16:36 |
*** _ducttape_ has joined #openstack-glance | 16:37 | |
rosmaita | dstepanenko: yes, it is not obvious | 16:37 |
*** groen692 has quit IRC | 16:37 | |
rosmaita | dstepanenko: take a look at http://git.openstack.org/cgit/openstack/glance/tree/doc/source/index.rst , it roughly divides up the pages | 16:38 |
rosmaita | dstepanenko: also, there's a patch up with some of the rolling upgrades docs, has not merged yet: https://review.openstack.org/#/c/429341/ | 16:39 |
*** ducttape_ has quit IRC | 16:40 | |
*** haplo37 has joined #openstack-glance | 16:45 | |
*** udesale has quit IRC | 16:47 | |
*** groen692 has joined #openstack-glance | 16:47 | |
*** dims has quit IRC | 16:51 | |
*** e0ne has quit IRC | 16:54 | |
*** dims has joined #openstack-glance | 16:55 | |
*** tesseract-RH has quit IRC | 16:55 | |
*** ratailor has quit IRC | 16:56 | |
*** tshefi has quit IRC | 16:58 | |
*** _ducttape_ has quit IRC | 16:58 | |
*** pcaruana has quit IRC | 16:58 | |
*** pcaruana has joined #openstack-glance | 16:58 | |
*** _ducttape_ has joined #openstack-glance | 17:03 | |
*** openstackgerrit has joined #openstack-glance | 17:04 | |
openstackgerrit | Merged openstack/python-glanceclient master: Updated from global requirements https://review.openstack.org/432672 | 17:04 |
*** dims_ has joined #openstack-glance | 17:06 | |
*** dims has quit IRC | 17:07 | |
*** groen692 has quit IRC | 17:14 | |
-openstackstatus- NOTICE: AFS replication issue has been addressed. Mirrors are currently re-syncing and coming back online. | 17:18 | |
openstackgerrit | Merged openstack/glance_store master: Updated from global requirements https://review.openstack.org/423665 | 17:25 |
*** mvk has joined #openstack-glance | 17:38 | |
*** pcaruana has quit IRC | 17:44 | |
*** lucasxu has quit IRC | 17:47 | |
openstackgerrit | Brian Rosmaita proposed openstack/glance master: Update developer docs for rolling upgrades https://review.openstack.org/429341 | 17:53 |
*** david-lyle has joined #openstack-glance | 17:58 | |
*** david-lyle_ has joined #openstack-glance | 18:08 | |
*** david-lyle has quit IRC | 18:09 | |
*** david-lyle_ is now known as david-lyle | 18:12 | |
*** lucasxu has joined #openstack-glance | 18:19 | |
*** newmember has quit IRC | 18:25 | |
*** newmember has joined #openstack-glance | 18:26 | |
*** e0ne has joined #openstack-glance | 18:30 | |
*** e0ne has quit IRC | 18:44 | |
*** cjloader_ has quit IRC | 18:57 | |
*** cjloader_ has joined #openstack-glance | 18:58 | |
*** cjloader_ has quit IRC | 19:00 | |
*** cjloader_ has joined #openstack-glance | 19:00 | |
*** newmember has quit IRC | 19:08 | |
*** tshefi has joined #openstack-glance | 19:14 | |
*** hemanthm is now known as hemanthm|lunch | 19:14 | |
*** dharinic is now known as dharinic|lunch | 19:19 | |
*** vinaypotluri has joined #openstack-glance | 19:35 | |
*** dfisher has joined #openstack-glance | 19:43 | |
dfisher | good afternoon - i'm looking at an old patch (https://review.openstack.org/#/c/103068) that introduced the Content-Range header which Flavio pushed. It says in the commit message: ' | 19:46 |
dfisher | Note that not all stores support random access to image data….' and I'm trying to figure out which stores DO support Content-Range. | 19:46 |
dfisher | grepping for 'Content-Range' in glance_store/* returns nothing at all. The swift store supports 'Range', however | 19:46 |
dfisher | is anybody around that would know which stores support Content-Range? | 19:47 |
*** dharinic|lunch is now known as dharinic | 19:57 | |
*** TravT has joined #openstack-glance | 20:01 | |
*** hemanthm|lunch is now known as hemanthm | 20:08 | |
*** mfedosin has quit IRC | 20:13 | |
dharinic | dfisher: Partial download of image data with Content-Range is available for use with v2 api. The default file store for example, supports it for sure. | 20:16 |
dfisher | hmm. ok. i'm having issues getting it to work with the file store. | 20:16 |
dfisher | i think i'm looking at your latest putback on this (https://review.openstack.org/#/c/367528) | 20:17 |
dharinic | dfisher: okay. The Content-Range and Range work differently with formats. A headsup just in case. | 20:19 |
dfisher | cool, ok. | 20:20 |
dfisher | i'll be back! :) | 20:20 |
dfisher | dharinic: ok, I've got nothing here. I keep getting the entire image and a 200 response :( http://paste.openstack.org/show/598699/ | 20:33 |
dfisher | dharinic: any assistance would be greatly appreciated | 20:34 |
dharinic | Sure dfisher. Looking. | 20:34 |
dfisher | if i do 'print len(response.content)', I get 989818880 | 20:36 |
dharinic | so is it with response.headers['Content-Length'] ? | 20:40 |
dfisher | not sure I understand the question | 20:40 |
dharinic | wanted to ask if you got the same with response.headers['Content-Length'] | 20:41 |
dfisher | oh. | 20:41 |
dfisher | uh. lemme try to figure out what to set that to | 20:41 |
dharinic | I do not see anythinng obviously different in your paste that would result in a 200 instead of a 206. | 20:41 |
dharinic | sure | 20:42 |
dfisher | do you mean Content-Length instead of Content-Range? or a third header entry? | 20:42 |
dfisher | (sorry for being thick here. I'm not the best at REST stuff) | 20:42 |
dharinic | No no, I wanted to check what the Content-Length was returned with. Whether you got t 98981888 | 20:42 |
dharinic | Not an issue dfisher. | 20:43 |
dfisher | oh! | 20:43 |
dfisher | [admin@openstack-x62-2 tmp]$ ./test.py | 20:43 |
dfisher | <Response [200]> | 20:43 |
dfisher | {'Content-Length': '989818880', 'Content-Md5': 'cb2fcbef08155d74da740f41197504f2', 'Connection': 'keep-alive', 'Date': 'Mon, 13 Feb 2017 20:42:29 GMT', 'Content-Type': 'application/octet-stream', 'X-Openstack-Request-Id': 'req-f257cdaa-7570-4205-822d-57bf19130aaf'} | 20:43 |
dharinic | Ah, you are getting the entire image. | 20:43 |
dfisher | i just did a 'print response.headers' | 20:43 |
dfisher | right. | 20:43 |
dharinic | Let me try to check whats happening. You should be getting the partial image.. | 20:44 |
dfisher | right. that's why I'm in here :) | 20:45 |
sigmavirus | dfisher: what version of Glance are you using? | 20:59 |
dfisher | devstack set it up last week? | 20:59 |
dfisher | not entirely sure how to tell :/ | 21:00 |
sigmavirus | Just making sure =) | 21:00 |
dfisher | last commit: | 21:00 |
dfisher | commit b628acec24b256c7121f1fe85e0a2ab25fe335df | 21:00 |
dfisher | Author: Andreas Jaeger <aj@suse.com> | 21:00 |
dfisher | Date: Fri Feb 3 20:11:39 2017 +0100 | 21:00 |
dfisher | so I should have https://review.openstack.org/#/c/367528/9 as it merged on Jan 5 | 21:00 |
dfisher | (and in checking the code, I do) | 21:01 |
*** jamielennox|away is now known as jamielennox | 21:02 | |
*** _ducttape_ has quit IRC | 21:05 | |
dharinic | dfisher: So i use something like this http://paste.openstack.org/show/598706/ and I seem to be getting what I should: the bytes i requested and a 206. | 21:07 |
dfisher | hmm. I saw that in the tests | 21:08 |
dfisher | i'll add the extra headers and see what happens... | 21:08 |
dharinic | yeah, have a look at the functional test to see if it helps | 21:09 |
dfisher | that's where I started :/ | 21:09 |
dharinic | lol. | 21:10 |
dfisher | my image is a 'raw' image. would that matter? | 21:13 |
dharinic | That should not matter. And I do not see anything wrong with your request header. | 21:16 |
dfisher | adding the extra headers didn't make a difference :( | 21:17 |
dharinic | But what i can tell is that your Content-Range is not getting identified from the request header | 21:17 |
dfisher | right | 21:17 |
dfisher | well, i guess I can start dumping in pdb / rpdb :( | 21:18 |
* dfisher gag | 21:18 | |
*** adisky_ has quit IRC | 21:19 | |
*** smatzek_ has quit IRC | 21:31 | |
*** tshefi has quit IRC | 21:48 | |
*** smatzek has joined #openstack-glance | 21:56 | |
vinaypotluri | Good Afternoon Glance folks, I am referring to OSSN-0065 and trying to reproduce it. I'm able to enable locations option but unable to set multiple locations for any image. I've been following an old post to set multiple locations but was unsuccessful (http://egonzalez.org/multiple-store-locations-for-glance-images/). Any help would be greatly appreciated ? | 21:57 |
vinaypotluri | rosmaita: ^^ | 21:57 |
*** lucasxu has quit IRC | 21:58 | |
*** smatzek has quit IRC | 22:00 | |
*** smatzek has joined #openstack-glance | 22:00 | |
dharinic | Have you set show_image_direct_url to False? | 22:07 |
dfisher | it's commented out and False in all glance.conf files | 22:08 |
dfisher | oh, you might have not been talking to me. :( | 22:09 |
vinaypotluri | dharinic: I set it to true. Should that be changed back to False? | 22:11 |
dharinic | I am so sorry dfisher. That was for vinaypotluri. Yes it should be False vinaypotluri | 22:12 |
dfisher | no worries. I can not seem to get this to go : ( | 22:12 |
dharinic | dfisher: Any progress? | 22:12 |
dfisher | none. | 22:12 |
dfisher | it's totally ignoring Content-Range | 22:12 |
*** cjloader_ has quit IRC | 22:14 | |
*** cjloader_ has joined #openstack-glance | 22:14 | |
dharinic | Thats weird. sigmavirus and I had tested it. I am fairly confident it is something to do outside of Glance but i am not sure what. | 22:14 |
dharinic | vinaypotluri: show_image_direct_url and show_multiple_locations do not go together. | 22:15 |
*** tshefi has joined #openstack-glance | 22:15 | |
*** cjloader_ has quit IRC | 22:16 | |
vinaypotluri | dharinic: i assume show_multiple_locations will override show_direct_url | 22:16 |
dharinic | You are required it to set it to False explicitly | 22:16 |
vinaypotluri | okay | 22:18 |
*** catintheroof has quit IRC | 22:20 | |
vinaypotluri | dharinic: will i need to make any other changes ? | 22:21 |
*** smatzek has quit IRC | 22:24 | |
dharinic | with respect to show_multiple_locations, nope vinaypotluri. depending on how you want to use the image data from those locations, you can set "location_strategy". The default is good enough if you have not configured backend stores. | 22:25 |
*** burgerk_ has joined #openstack-glance | 22:28 | |
vinaypotluri | dharinic: so, according to this post(http://egonzalez.org/multiple-store-locations-for-glance-images/) , multiple locations can be set with priority. Will that work with this version of glance ? | 22:31 |
*** burgerk has quit IRC | 22:31 | |
dharinic | which version? | 22:33 |
vinaypotluri | 2.5.0 | 22:33 |
*** burgerk_ has quit IRC | 22:34 | |
*** lucasxu has joined #openstack-glance | 22:35 | |
dharinic | vinaypotluri: I think the post you are referring to is slightly outdated. It does not talk anything about the opt 'show_multiple_locations' etc. | 22:35 |
dharinic | Please refer to the glance docs/help text in glance-api.conf | 22:36 |
*** ducttape_ has joined #openstack-glance | 22:39 | |
*** dhellmann has left #openstack-glance | 22:43 | |
vinaypotluri | dharinic: The post was explaining how to set multiple store locations for an image. We know that Glance uses default location set in the .conf file. Can you please point me to the document which shows how to set multiple locations ? | 22:44 |
dharinic | vinaypotluri: You have misunderstood something or i am missing something here. What do you mean by "we know that glance uses default location set in the .conf file"? | 23:00 |
dharinic | which option are you referring to? | 23:00 |
*** lucasxu has quit IRC | 23:02 | |
*** lucasxu has joined #openstack-glance | 23:02 | |
*** dhellmann has joined #openstack-glance | 23:03 | |
*** dhellmann has quit IRC | 23:05 | |
vinaypotluri | dharinic: According to the documentation filesystem_store_datadir is set to "/var/lib/glance/images" . Isn't this the default location for storing images ? | 23:08 |
dharinic | Thats where images will be added if you are using file store, yes | 23:14 |
*** jamielennox is now known as jamielennox|away | 23:15 | |
dharinic | to use multiple locations, set the option filesystem_store_datadirs | 23:16 |
dharinic | and as you said earlier, you can give priority | 23:16 |
dharinic | btu u cannot configure both filesystem_store_datadir and filesystem_store_datadirs | 23:16 |
vinaypotluri | Yes. I left filesystem_store_datadir blank and set only filesystem_store_datadirs with priority. | 23:17 |
vinaypotluri | Thats what this blog post http://egonzalez.org/multiple-store-locations-for-glance-images/ was explaining | 23:17 |
dharinic | cool. Since you specifically mentioned in your previous messages about the default location, I was inlcined to believe that you wanted that too | 23:18 |
vinaypotluri | but i'm still not able to see the additional locations | 23:20 |
*** jamielennox|away is now known as jamielennox | 23:20 | |
dharinic | what does the locations property for the image show? | 23:23 |
*** lucasxu has quit IRC | 23:28 | |
vinaypotluri | It shows only one location. Something like [{"url": "swift+config://ref1/glance/c3b2e14d-8122-4602-be90-5d10605c29dd", "metadata": {}}] | 23:28 |
dharinic | If you have set the options properly (show_multiple_location to True and show_image_direct_url to False) and have added locations, the 'locations' property will get populated for the image. | 23:28 |
dharinic | You can access the image_locations table in Glance db to check/debug | 23:28 |
dharinic | ah, so why do you have swift set as your default store | 23:29 |
dharinic | As per your location, i am guessing you have set default_store to swift? | 23:29 |
vinaypotluri | yes it's swift by default | 23:31 |
vinaypotluri | should that be changed to "file" ? | 23:32 |
dharinic | default is not swift. | 23:33 |
dharinic | you can use anything: file, swift, rbd. But if using swift "filesystem_store_datadirs" wont be considered | 23:34 |
vinaypotluri | okay | 23:34 |
dharinic | at this point, it is upto you which store you wanna use. | 23:35 |
dharinic | Either change the default_store to file and try | 23:35 |
*** knangia has joined #openstack-glance | 23:35 | |
dharinic | or keep it as swift and use PATCH to add locations | 23:35 |
vinaypotluri | it does store the image in one the locations i mentioned but not both. | 23:36 |
dharinic | Then go ahead and check your locations for the image. Or check the same in glance db under image_locations table | 23:36 |
vinaypotluri | i set the filesystem_store_datadirs = /var/lib/glance/images2:200 & filesystem_store_datadirs = /var/lib/glance/images3:100 but store only in "images2" | 23:37 |
dharinic | add a location for that image using PATCH. | 23:43 |
*** rerobot is now known as redrobot | 23:43 | |
dfisher | dharinic: just to make sure, there's no configuration variables I need to set to enable Content-Range, is there? I'm putting rpdb breaks into common/wsgi.Request.get_content_range() and i'm never ever tripping it. | 23:52 |
*** catintheroof has joined #openstack-glance | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!