Tuesday, 2017-02-14

dharinicdfisher: iirc, no conf option for partial download using Content-Range. Can you please share your stack trace?00:03
dfisherno stack trace.  glance-api just shows the 200 response code00:04
dfisher2017-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.01529700:04
dfisherwrong one, sorry00:04
dfisher2017-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.25522800:04
dfisherthat one.00:04
dfisheri gotta split for the day.  we can pick this up tomorrow if you're available00:06
*** dfisher has quit IRC00:07
*** markvoelker has quit IRC00:16
*** markvoelker has joined #openstack-glance00:17
*** catintheroof has quit IRC00:25
dharinicdfisher: 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 IRC01:03
*** jamielennox is now known as jamielennox|away01:09
*** jamielennox|away is now known as jamielennox01:17
*** TravT has quit IRC01:18
*** cdelatte has quit IRC01:59
dharinicvinaypotluri: 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
dharinicIf 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-glance02:20
vinaypotluridharinic: 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 error02:28
vinaypotluriyes I'm trying set multiple locations for one image02:28
vinaypotluriHere'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
vinaypotluriplease let me know if i'm not doing it the right way02:36
dharinicpath needs to be '/locations/n' vinaypotluri02:41
dharinicwhere n can be '-' or a list index02:42
dharinichttps://specs.openstack.org/openstack/glance-specs/specs/api/v2/http-patch-image-api-v2.html02:42
dharinicthis should help ^02:42
vinaypotlurithank 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
dharinicso, 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
dharinican example could be something like: {'op': 'add', 'path': ['locations', '-'],03:01
dharinic             'value': {'url': ‘some/location’,03:01
dharinic                       'metadata': {}}}03:01
dharinicthe 'value' can differ. Refer the doc for other examples.03:03
vinaypotluriyes the value parameter here is the schema03:03
vinaypotlurilet me try it and get back to you03:04
*** nicolasbock has quit IRC03:04
*** ducttape_ has quit IRC03:04
*** ducttape_ has joined #openstack-glance03:05
dharinicSure. I got to go now though. Hope u get it done. :)03:07
vinaypotluridharinic: Cool. Will keep you updated. Thank You.03:15
dharinicvinaypotluri: you are welcome.03:39
*** ducttape_ has quit IRC03:54
*** david-lyle_ has joined #openstack-glance03:56
*** david-lyle has quit IRC03:58
*** links has joined #openstack-glance03:59
*** lucasxu has joined #openstack-glance04:04
openstackgerritBrian Rosmaita proposed openstack/glance master: Update developer docs for rolling upgrades  https://review.openstack.org/42934104:04
*** ducttape_ has joined #openstack-glance04:13
openstackgerritxurong00037997 proposed openstack/glance master: Update hacking version  https://review.openstack.org/42923904:19
openstackgerritxurong00037997 proposed openstack/glance master: Use https instead of http for git.openstack.org  https://review.openstack.org/43007504:20
*** adisky_ has joined #openstack-glance04:33
*** jose-phillips has joined #openstack-glance04:39
*** cjloader_ has joined #openstack-glance04:45
*** udesale has joined #openstack-glance04:47
*** cjloader_ has quit IRC04:50
*** cjloader_ has joined #openstack-glance04:50
*** cjloade__ has joined #openstack-glance04:52
*** cjloader_ has quit IRC04:52
*** cjloade__ has quit IRC04:53
*** pdeore has joined #openstack-glance04:57
*** pdeore has quit IRC04:57
*** pdeore has joined #openstack-glance04:58
*** zul has quit IRC05:02
*** jose-phillips has quit IRC05:02
*** lucasxu has quit IRC05:09
*** gcb has quit IRC05:20
*** gcb has joined #openstack-glance05:20
*** ratailor has joined #openstack-glance05:24
*** zul has joined #openstack-glance05:25
*** lucasxu has joined #openstack-glance05:28
*** lucasxu has quit IRC05:30
*** lucasxu has joined #openstack-glance05:31
*** aavraham has joined #openstack-glance05:39
*** lucasxu has quit IRC05:47
*** lucasxu has joined #openstack-glance05:49
*** dstepanenko has quit IRC05:52
*** links has quit IRC05:55
*** mfedosin has joined #openstack-glance06:01
*** hyakuhei has quit IRC06:06
*** links has joined #openstack-glance06:12
openstackgerritjazeltq proposed openstack/glance_store master: Support sparse uploads to RBD images  https://review.openstack.org/43064106:23
*** mfedosin has quit IRC06:27
*** lucasxu has quit IRC06:29
*** mosulica has joined #openstack-glance06:32
*** links has quit IRC06:48
*** ezoszed has joined #openstack-glance06:48
*** rcernin has joined #openstack-glance06:54
*** groen692 has joined #openstack-glance06:58
*** links has joined #openstack-glance07:02
*** tshefi has quit IRC07:14
*** tshefi has joined #openstack-glance07:14
*** tesseract has joined #openstack-glance07:15
*** bkopilov has quit IRC07:26
*** bkopilov_ has quit IRC07:27
*** zul has quit IRC07:50
*** links has quit IRC07:50
*** links has joined #openstack-glance07:52
*** pcaruana has joined #openstack-glance08:11
*** knangia has quit IRC08:20
*** zul has joined #openstack-glance08:54
*** mfedosin has joined #openstack-glance08:58
*** zzzeek has quit IRC09:00
*** zzzeek has joined #openstack-glance09:01
*** e0ne has joined #openstack-glance09:17
*** aavraham has quit IRC09:21
*** aarefiev_afk is now known as aarefiev09:22
*** udesale has quit IRC09:26
*** bkopilov has joined #openstack-glance09:26
*** bkopilov_ has joined #openstack-glance09:27
*** aavraham has joined #openstack-glance09:33
*** aavraham has left #openstack-glance09:36
*** aavraham has joined #openstack-glance09:37
*** tesseract-RH has joined #openstack-glance09:56
*** tesseract has quit IRC10:04
*** mvk has quit IRC10:26
*** mvk has joined #openstack-glance10:52
*** dalgaaf has quit IRC10:54
*** dalgaaf has joined #openstack-glance10:59
*** nicolasbock has joined #openstack-glance11:16
*** ratailor has quit IRC11:23
openstackgerritDanny Al-Gaaf proposed openstack/glance master: Adds purge command to glancemanage man page  https://review.openstack.org/42763411:30
*** smatzek has joined #openstack-glance11:40
*** pdeore has quit IRC11:53
*** haplo37 has quit IRC11:59
*** haplo37 has joined #openstack-glance12:08
*** mfedosin has quit IRC12:31
*** bkopilov has quit IRC12:43
*** bkopilov_ has quit IRC12:43
*** catintheroof has joined #openstack-glance13:07
*** jamielennox is now known as jamielennox|away13:21
*** mtanino has quit IRC13:24
*** links has quit IRC13:28
*** mvk has quit IRC13:32
*** burgerk has joined #openstack-glance13:48
*** ezoszed has quit IRC13:57
*** ezoszed has joined #openstack-glance13:58
*** ezoszed has quit IRC13:59
*** ezoszed has joined #openstack-glance14:00
*** knangia has joined #openstack-glance14:07
*** bkopilov has joined #openstack-glance14:24
*** bkopilov_ has joined #openstack-glance14:24
*** mvk has joined #openstack-glance14:26
*** smatzek has quit IRC14:27
*** links has joined #openstack-glance14:29
*** fnordahl has quit IRC14:43
*** fnordahl has joined #openstack-glance14:44
*** bkopilov_ has quit IRC14:47
*** bkopilov has quit IRC14:47
*** smatzek has joined #openstack-glance14:51
*** ducttape_ has quit IRC14:56
*** burgerk has quit IRC14:57
*** cjloader_ has joined #openstack-glance15:01
*** lucasxu has joined #openstack-glance15:02
*** ducttape_ has joined #openstack-glance15:03
*** lucasxu has quit IRC15:04
*** dfisher has joined #openstack-glance15:15
*** bkopilov has joined #openstack-glance15:15
*** bkopilov_ has joined #openstack-glance15:15
*** burgerk has joined #openstack-glance15:25
*** mtanino has joined #openstack-glance15:26
*** aavraham has left #openstack-glance15:33
*** aavraham has joined #openstack-glance15:35
*** cjloader_ has quit IRC15:46
*** cjloader_ has joined #openstack-glance15:46
*** links has quit IRC15:47
*** ezoszed has quit IRC15:52
*** mvk has quit IRC15:54
*** TravT has joined #openstack-glance15:55
*** mosulica has quit IRC16:04
alex_bashrosmaita:16:04
rosmaitaalex_bash:16:05
alex_bashHelp me understand, how can a Newton registry node talk to an Ocata API?16:06
rosmaitait can't, right?16:06
dfisherdharinic: 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
dfisherdharinic: i suspect the csum error stems from comparing the md5sum of the partial download to the entire image16:07
dharinicAhhh, it was the caching.16:08
dfisherdharinic: do you have a rig where you could try this out?  I suspect the functional test isn't setting up the cache16:08
alex_bashI don't think it can, therefore I don't understand your comment on https://review.openstack.org/#/c/429341/5/doc/source/rollingupgrades.rst16:08
dfisheri think api/middleware/cache.py needs to look for the Content-Range header and if found, don't use the cache16:09
alex_bashI 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
dfisheror, teach the cache retrieval to do the partial.  either way16:10
dharinicdfisher: Sure, I can try it out a little later today.16:10
dfisherdharinic: perfect, thanks16:10
dharinicYeah as per your paste, the caching has an issue.16:10
*** rcernin has quit IRC16:11
*** aavraham has quit IRC16:14
dharinicalex_bash: rosmaita has not said in the comment that newton registry node will talk to ocata API node.16:14
dharinichas he? I think he only said newton to newton and ocata to ocata communication of api nodes and reg nodes16:15
alex_bashMy 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 opinion16:18
dharinicI 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
dharinicMaybe we can mention that this doc explains rolling upgrades without registry service being considered16:23
dharinicto 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 glance16:24
dharinicnot having a registry should not be a requirement*16:24
rosmaitaalex_bash: sorry, was in a meeting, reading back now16:26
*** david-lyle has joined #openstack-glance16:26
alex_bashI am just failing to understand what the differences are with and without registry. It's a matter of running:16:27
alex_bashsudo service glance-registry stop/start16:27
alex_bashin addtion to:16:27
alex_bashsudo service glance-api stop/start16:27
rosmaitayou are assuming the registry and api are on the same node16:27
rosmaitaprobably fairly unlikely16:28
rosmaitayou need a bunch of api nodes because of all the data handling16:28
rosmaitaregistry is a simple transaction16:28
rosmaitaso production deployments will have a bunch of API nodes and 1 registry maybe plus a failover for HA16:28
*** david-lyle_ has quit IRC16:29
rosmaitaand the api nodes need to know what registry to talk to16:29
rosmaitaso that's what would complicate a rolling upgrade with registry16:29
alex_bashok that clarifies it16:29
alex_bashI see your point now16:29
rosmaitai'm not saying it's impossible, just harder to explain16:29
rosmaitaok, cool16:29
rosmaitabut i think you have a good point about explicitly saying something about the scope of the doc16:30
rosmaitai was thinking "experimental" was enough, but i'll add a sentence or two16:30
*** lucasxu has joined #openstack-glance16:38
*** mfedosin has joined #openstack-glance16:44
*** rcernin has joined #openstack-glance16:49
*** mvk has joined #openstack-glance16:55
*** faizy has joined #openstack-glance16:58
openstackgerritBrian Rosmaita proposed openstack/glance master: Update developer docs for rolling upgrades  https://review.openstack.org/42934117:01
*** catintheroof has quit IRC17:07
*** catintheroof has joined #openstack-glance17:07
*** aarefiev is now known as aarefiev_afk17:12
*** e0ne has quit IRC17:17
*** tshefi has quit IRC17:18
openstackgerritHemanth Makkapati proposed openstack/glance master: Fix brackets to suggest optionality  https://review.openstack.org/43380617:25
*** pcaruana has quit IRC17:31
*** tshefi has joined #openstack-glance17:46
*** ducttape_ has quit IRC17:51
*** ducttape_ has joined #openstack-glance17:57
*** ducttape_ has quit IRC17:58
*** mfedosin has quit IRC18:03
*** mfedosin has joined #openstack-glance18:04
*** tesseract-RH has quit IRC18:26
*** e0ne has joined #openstack-glance18:29
*** DuncanT has quit IRC18:41
*** e0ne has quit IRC18:42
*** e0ne has joined #openstack-glance18:59
*** e0ne has quit IRC19:12
*** TravT has quit IRC19:14
dharinicdfisher: I could verify what you were telling about. Thanks for reporting this. I will dig some more into this.19:15
*** groen692 has quit IRC19:16
*** dharinic is now known as dharinic|lunch19:20
dfisherdharinic: no problem.  Thanks for digging on it with me.19:20
*** cjloader_ has quit IRC19:35
*** faizy has quit IRC19:47
*** dharinic|lunch is now known as dharinic19:51
*** aunnam has joined #openstack-glance20:02
*** ducttape_ has joined #openstack-glance20:08
*** ducttape_ has quit IRC20:11
*** jamielennox|away is now known as jamielennox20:17
*** openstackgerrit has quit IRC20:18
*** knangia has quit IRC20:25
*** knangia has joined #openstack-glance20:26
*** knangia has quit IRC20:26
*** knangia has joined #openstack-glance20:27
*** mfedosin has quit IRC20:29
*** TravT has joined #openstack-glance20:30
*** hyakuhei has joined #openstack-glance20:31
*** hyakuhei has quit IRC20:31
*** hyakuhei has joined #openstack-glance20:31
*** hyakuhei has quit IRC20:31
*** hyakuhei has joined #openstack-glance20:31
*** tshefi has quit IRC20:33
*** mfedosin has joined #openstack-glance20:39
dharinicdfisher: 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
dfisherok.20:43
dfisherholler when you get a review posted.  I'll take a look / grab the patch and try it20:43
dharinicdfisher: Thanks. :) https://bugs.launchpad.net/glance/+bug/166470920:43
openstackLaunchpad bug 1664709 in Glance "Partial download of image fails when using image caching" [Undecided,New] - Assigned to Dharini Chandrasekar (dharini-chandrasekar)20:43
dharinicSure.20:43
*** smatzek has quit IRC21:30
*** openstackgerrit has joined #openstack-glance21:30
openstackgerritHemanth Makkapati proposed openstack/glance master: Db Sync to Use Expand, Migrate & Contract  https://review.openstack.org/43393421:30
*** hemanthm is now known as hemanthm|bbl21:35
*** rcernin has quit IRC21:44
*** lucasxu has quit IRC21:50
*** lucasxu has joined #openstack-glance21:51
openstackgerritBrian Rosmaita proposed openstack/glance master: Satisfy API Reference documentation deleting tags  https://review.openstack.org/42003821:59
*** flwang has quit IRC22:04
*** flwang has joined #openstack-glance22:04
*** burgerk_ has joined #openstack-glance22:05
*** burgerk has quit IRC22:06
*** burgerk_ has quit IRC22:12
*** smatzek has joined #openstack-glance22:35
*** tonyb_ has joined #openstack-glance22:38
*** ameade_ has joined #openstack-glance22:41
*** dims has joined #openstack-glance22:41
*** mtreinish_ has joined #openstack-glance22:41
*** flwang has quit IRC22:42
*** hyakuhei has quit IRC22:42
*** dims_ has quit IRC22:42
*** mtreinish has quit IRC22:42
*** mnaser has quit IRC22:42
*** ameade has quit IRC22:42
*** tonyb has quit IRC22:42
*** vkmc has quit IRC22:42
*** greghaynes has quit IRC22:42
*** jamielennox has quit IRC22:42
*** fungi has quit IRC22:42
*** mtreinish_ is now known as mtreinish22:42
*** zigo has quit IRC22:46
*** chlong has quit IRC22:46
*** castulo has quit IRC22:46
*** clayton has quit IRC22:46
*** darrenc has quit IRC22:46
*** tonyb_ is now known as tonyb22:46
*** vkmc has joined #openstack-glance22:47
*** castulo has joined #openstack-glance22:48
*** greghaynes has joined #openstack-glance22:49
*** fungi has joined #openstack-glance22:49
*** ameade_ is now known as ameade22:50
*** mnaser has joined #openstack-glance22:50
*** flwang has joined #openstack-glance22:52
*** zigo has joined #openstack-glance22:52
*** chlong has joined #openstack-glance22:52
*** clayton has joined #openstack-glance22:52
*** darrenc has joined #openstack-glance22:52
*** smatzek has quit IRC22:53
*** zigo is now known as Guest2705722:54
*** mfedosin has quit IRC23:06
*** knangia has quit IRC23:07
*** knangia has joined #openstack-glance23:07
openstackgerritMerged openstack/glance master: Fix brackets to suggest optionality  https://review.openstack.org/43380623:32
*** lucasxu has quit IRC23:34

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