*** jamielennox is now known as jamielennox|away | 00:07 | |
*** harlowja has quit IRC | 00:09 | |
*** jamielennox|away is now known as jamielennox | 00:11 | |
*** markvoelker has quit IRC | 00:12 | |
*** markvoelker has joined #openstack-glance | 00:12 | |
*** jroll has quit IRC | 00:14 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/glance: Updated from global requirements https://review.openstack.org/415961 | 00:16 |
---|---|---|
*** jroll has joined #openstack-glance | 00:21 | |
*** harlowja has joined #openstack-glance | 00:25 | |
*** dirk has joined #openstack-glance | 01:33 | |
*** briancurtin has joined #openstack-glance | 01:35 | |
*** namnh has joined #openstack-glance | 01:39 | |
*** markvoelker has quit IRC | 01:43 | |
*** markvoelker has joined #openstack-glance | 01:44 | |
*** markvoelker has quit IRC | 01:49 | |
*** cdelatte has quit IRC | 01:54 | |
*** jose-phillips has quit IRC | 02:12 | |
*** chlong has quit IRC | 02:32 | |
*** nicolasbock has quit IRC | 03:31 | |
*** markvoelker has joined #openstack-glance | 03:36 | |
*** links has joined #openstack-glance | 03:47 | |
*** flwang1 has quit IRC | 03:59 | |
*** gb21 has joined #openstack-glance | 04:21 | |
*** jose-phillips has joined #openstack-glance | 04:27 | |
*** jose-phillips has quit IRC | 04:30 | |
*** ccesario has quit IRC | 05:02 | |
*** adisky_ has joined #openstack-glance | 05:11 | |
*** gcb has quit IRC | 05:13 | |
*** ccesario has joined #openstack-glance | 05:14 | |
openstackgerrit | M V P Nitesh proposed openstack/python-glanceclient: Added a check for the length of the tag to be less than 255 Closes-Bug: #1640442 https://review.openstack.org/418686 | 05:30 |
openstack | bug 1640442 in Glance "glance image-tag-update, not updating a tag whose length is more than 255" [Undecided,Confirmed] https://launchpad.net/bugs/1640442 - Assigned to M V P Nitesh (m-nitesh) | 05:30 |
*** ratailor has joined #openstack-glance | 05:45 | |
*** bkopilov has joined #openstack-glance | 06:06 | |
*** itisha has quit IRC | 06:12 | |
*** dims has quit IRC | 06:13 | |
*** pcaruana has joined #openstack-glance | 06:25 | |
*** ezoszed has joined #openstack-glance | 06:35 | |
*** groen692 has joined #openstack-glance | 06:42 | |
*** bhagyashris has joined #openstack-glance | 06:51 | |
*** mfedosin has joined #openstack-glance | 06:54 | |
*** groen692 has quit IRC | 07:02 | |
*** mosulica has joined #openstack-glance | 07:03 | |
*** mosulica has quit IRC | 07:08 | |
*** tesseract has joined #openstack-glance | 07:08 | |
openstackgerrit | Abhishek Kekane proposed openstack/python-glanceclient: Add request id to returned objects https://review.openstack.org/352892 | 07:10 |
*** mosulica has joined #openstack-glance | 07:15 | |
*** udesale has joined #openstack-glance | 07:19 | |
*** mosulica has quit IRC | 07:24 | |
*** tshefi has joined #openstack-glance | 07:26 | |
*** groen692 has joined #openstack-glance | 07:30 | |
*** bkopilov has quit IRC | 07:55 | |
*** hogepodge has quit IRC | 07:56 | |
*** mosulica has joined #openstack-glance | 07:56 | |
*** mosulica has quit IRC | 08:03 | |
*** mosulica has joined #openstack-glance | 08:07 | |
*** mfedosin has quit IRC | 08:31 | |
*** bkopilov has joined #openstack-glance | 08:51 | |
*** zzzeek has quit IRC | 09:00 | |
*** zzzeek has joined #openstack-glance | 09:00 | |
*** namnh has quit IRC | 09:20 | |
*** mvk has quit IRC | 09:32 | |
*** gb21 has quit IRC | 09:40 | |
*** gb21 has joined #openstack-glance | 09:46 | |
*** gb21 has quit IRC | 09:48 | |
*** gb21 has joined #openstack-glance | 09:48 | |
*** e0ne has joined #openstack-glance | 10:02 | |
*** mvk has joined #openstack-glance | 10:10 | |
*** udesale has quit IRC | 10:17 | |
ccard | I am trying to use python-glanceclient to load an image from a local file using the glance v2 client. With the v1 client I can successfully load an image from a 'location' url, what is the syntax for glance.images.create() to load an image from a local file? | 10:20 |
*** ezoszed has quit IRC | 10:35 | |
*** thiagolib has joined #openstack-glance | 10:39 | |
*** aarefiev has joined #openstack-glance | 10:47 | |
*** aarefiev_afk has quit IRC | 10:50 | |
*** ezoszed has joined #openstack-glance | 10:51 | |
*** ezoszed has quit IRC | 11:00 | |
*** smatzek has joined #openstack-glance | 11:18 | |
*** smatzek has quit IRC | 11:21 | |
*** smatzek has joined #openstack-glance | 11:21 | |
*** bhagyashris has quit IRC | 11:22 | |
*** nicolasbock has joined #openstack-glance | 11:35 | |
*** dims has joined #openstack-glance | 11:39 | |
*** ezoszed has joined #openstack-glance | 11:39 | |
*** ratailor has quit IRC | 11:57 | |
*** mvk has quit IRC | 12:03 | |
*** ezoszed has quit IRC | 12:09 | |
*** mvk has joined #openstack-glance | 12:15 | |
*** ezoszed has joined #openstack-glance | 12:42 | |
*** gb21 has quit IRC | 12:53 | |
*** smatzek has quit IRC | 13:02 | |
*** ezoszed has quit IRC | 13:05 | |
*** chlong has joined #openstack-glance | 13:08 | |
*** ezoszed has joined #openstack-glance | 13:08 | |
*** smatzek has joined #openstack-glance | 13:12 | |
*** ducttape_ has quit IRC | 13:14 | |
*** ducttape_ has joined #openstack-glance | 13:17 | |
*** mvk has quit IRC | 13:21 | |
openstackgerrit | Ian Cordasco proposed openstack/python-glanceclient: Handle formatting of subcommand name in error output https://review.openstack.org/408318 | 13:32 |
*** mvk has joined #openstack-glance | 13:33 | |
*** ccesario has quit IRC | 13:50 | |
*** david-lyle has quit IRC | 13:56 | |
*** david-lyle has joined #openstack-glance | 13:59 | |
sigmavirus | ccard: so image creation and image upload are two separate steps in V2, if I remember correctly | 14:00 |
*** links has quit IRC | 14:02 | |
*** itisha has joined #openstack-glance | 14:11 | |
*** ducttape_ has quit IRC | 14:14 | |
*** jamielennox is now known as jamielennox|away | 14:14 | |
*** david-lyle has quit IRC | 14:16 | |
*** udesale has joined #openstack-glance | 14:22 | |
*** mosulica has quit IRC | 14:35 | |
*** chlong has quit IRC | 14:37 | |
*** ducttape_ has joined #openstack-glance | 14:45 | |
jokke_ | v2 definitely v1 as well iirc | 14:52 |
rosmaita | ccard: you need to create the image first and then use upload() | 14:55 |
*** mosulica has joined #openstack-glance | 14:55 | |
*** ezoszed has quit IRC | 14:56 | |
*** ezoszed has joined #openstack-glance | 15:02 | |
*** david-lyle has joined #openstack-glance | 15:17 | |
*** TravT has joined #openstack-glance | 15:20 | |
*** david-lyle has quit IRC | 15:21 | |
*** ezoszed has quit IRC | 15:26 | |
*** markvoelker has quit IRC | 15:28 | |
*** markvoelker has joined #openstack-glance | 15:29 | |
*** markvoelker has quit IRC | 15:35 | |
*** udesale has quit IRC | 15:36 | |
*** mvk has quit IRC | 15:48 | |
rosmaita | jokke_: need your opinion on whether https://review.openstack.org/#/c/418993/ is a good backport candidate | 15:50 |
*** wxy| has joined #openstack-glance | 15:50 | |
*** mosulica has quit IRC | 15:56 | |
*** markvoelker has joined #openstack-glance | 15:57 | |
*** chlong has joined #openstack-glance | 16:11 | |
*** ccesario has joined #openstack-glance | 16:13 | |
jokke_ | looking | 16:16 |
*** bkopilov has quit IRC | 16:16 | |
jokke_ | rosmaita: I'm not convinced. What do you think | 16:17 |
jokke_ | I'd challenge that being a bug. | 16:17 |
rosmaita | jokke_: well, that fix is already in Ocata, so I'm ok with it being a bug | 16:20 |
rosmaita | just wondering whether it makes sense to backport | 16:20 |
rosmaita | though i guess maybe if the rolling upgrade stuff happens, the ocata script may not be compatible with newton ? | 16:21 |
jokke_ | rosmaita: I did not mean that. I noticed that it had been merged to master against the bug, which is fineish ... My point was I'm not convinced that something backportable | 16:21 |
rosmaita | so maybe we do need to have a newton version available | 16:21 |
rosmaita | ok, sorry, i misunderstood | 16:22 |
rosmaita | i'm thinking under normal circumstances, it would not be | 16:22 |
rosmaita | but i guess we need hemanthm and alex_bash to weigh in on whether the glance-manage script database operations in ocata will make the script not work in newton | 16:23 |
jokke_ | but that's just to change the behavior of feature that was already flagged as security risk and should not be used. True it's pretty well contained change, but why should we backport it? | 16:23 |
rosmaita | well, that's a good point | 16:24 |
rosmaita | though if we allow people to delete everything up to 1 day old, why not everything? | 16:24 |
rosmaita | the thing that convinced me that this was ok for ocata is when it's used in testing scenarios | 16:25 |
rosmaita | allows you to clean out the db easily | 16:25 |
jokke_ | true but that's how it was originally designed. It's not buggy behavior, it was bad design, which imo is questionable why we should allow backporting it and then we have already adviced to not use the feature in first place due to security issues, I just don't see any reason what so ever why it would be good idea to backport with our current backport policies | 16:26 |
*** bkopilov has joined #openstack-glance | 16:28 | |
jokke_ | even the logic "Why not allow it" is valid it does not make it valid backport candidate | 16:32 |
rosmaita | jokke_: thanks ... i asked for your opinion, and i got it! That's why you are "Mr. Stability" for glance | 16:33 |
rosmaita | i'll put a comment on cyril's patch | 16:33 |
jokke_ | ;) | 16:34 |
*** tshefi has quit IRC | 16:48 | |
jcook | hemanthm so with the CacheFilter, upon request, if the image is cached or caching, the middleware returns the response with an iterator to the cached / caching image? | 16:52 |
jcook | hemanthm where does the code end up if the middleware returns None as there is no cache / caching image? | 16:52 |
hemanthm | jcook: yes to your first question | 16:54 |
hemanthm | jcook: let me look into the code | 16:54 |
*** mfedosin has joined #openstack-glance | 16:55 | |
*** groen692 has quit IRC | 16:55 | |
jcook | hemanthm righteous, thanks! | 16:56 |
*** groen692 has joined #openstack-glance | 16:57 | |
* jcook doesn't fully grok the middleware or pipeline in glance | 16:57 | |
jokke_ | jcook: anything specific about it? | 17:00 |
jokke_ | it's really quite simple system when you get grasp of it | 17:00 |
jcook | jokke_ just in general, I haven't looked into it much. Like entry and exit points, how responses from middleware are processed. Is there a doc on it? | 17:04 |
*** e0ne has quit IRC | 17:06 | |
ccard | rosmaita: thanks, I did work that out by looking at the code for the glance cli. But trying that I'm getting an error "'dict' object has no attribute 'read'" when I call upload() | 17:07 |
hemanthm | jcook: https://github.com/openstack/glance/blob/master/etc/glance-api-paste.ini#L22-L23 | 17:08 |
jcook | hemanthm I don't follow, maybe my question was poorly worded | 17:08 |
hemanthm | if that's the pipeline we are using and there is no cache hit, the request will be handled by the rootapp, which is the glance API | 17:08 |
jcook | hemanthm I'm curious where downloading occurs | 17:09 |
*** wxy| has quit IRC | 17:09 | |
jokke_ | jcook: so each middleware just have a hook where it's called and when it returns the output will be sent to the hook of the next one in pipeline | 17:09 |
jcook | jokke_ so a cache iterator is passed along to the end of the pipeline or some such, and then downloaded and returned with the response? If ti's not set, then the response is created by some other code? | 17:10 |
jokke_ | jcook: and they get called both ways so request comes in to first middleware, unless any middleware does not provide response it lands finally to the wsgi app. and returnes comes back via the middlewares in reverse order | 17:10 |
jcook | interesting | 17:10 |
*** briancurtin has quit IRC | 17:11 | |
jcook | hemanthm I'm really curious where the download is initiated if it's not already in progress | 17:11 |
jokke_ | but for example the healthcheck middleware returns response so we just reverse the order at that point instead of processing the request through the whole stack | 17:12 |
*** groen692 has quit IRC | 17:12 | |
hemanthm | jcook: if it's a cache miss, the rootapp will serve the request | 17:12 |
hemanthm | https://github.com/openstack/glance/blob/master/etc/glance-api-paste.ini#L37-L50 | 17:12 |
*** pcaruana has quit IRC | 17:12 | |
hemanthm | depending upon whether it is v1 or v2, it will hit the respective router | 17:13 |
jcook | oh so a response causes it to immediately about face? | 17:13 |
*** jose-phillips has joined #openstack-glance | 17:13 | |
*** wxy has quit IRC | 17:14 | |
jokke_ | jcook: I'm 95% sure it was like that when I dug in it at some point | 17:14 |
hemanthm | jcook: yes | 17:14 |
sigmavirus | rosmaita: forgive my terrible memory, for lite specs, is one core's approval enough? re Iac2f8ad018aed19219e3250cb516e660fb348dcd | 17:14 |
jcook | hemanthm so glance.api.v2.image_data:download for example? | 17:14 |
hemanthm | any of the middlewares in the pipeline can intercept the request and return the response without letting the request hit the rootapp | 17:15 |
hemanthm | jcook: aye, eventually | 17:15 |
hemanthm | but the entry point into the rootapp will be the router | 17:16 |
*** tesseract has quit IRC | 17:20 | |
rosmaita | sigmavirus: needs regular 2 +2 ... the "lightness" comes from the size of the spec | 17:26 |
rosmaita | sigmavirus: looking at it now | 17:26 |
rosmaita | but, typo corrections only require a single +2 | 17:27 |
sigmavirus | Thanks rosmaita | 17:30 |
rosmaita | sigmavirus: lgtm | 17:37 |
sigmavirus | Not my spec, but thanks | 17:38 |
sigmavirus | That'll help dharinic since this person is removing mox for us ;) | 17:38 |
dharinic | sigmavirus :D That reminds me to share this with you guys: https://review.openstack.org/#/c/414361/ | 17:40 |
dharinic | No failure ever since | 17:40 |
dharinic | sigmavirus: lite-sepc to remove mox? | 17:40 |
dharinic | spec* | 17:40 |
sigmavirus | dharinic: i don't know how to explain it | 17:41 |
sigmavirus | But those tests were failing with regularity for a period of time there | 17:41 |
openstackgerrit | Merged openstack/glance-specs: Replace mox with mock https://review.openstack.org/411049 | 17:41 |
sigmavirus | dharinic: that ^ is what we're talking about | 17:41 |
dharinic | Cool. | 17:41 |
dharinic | Thanks sigmavirus | 17:43 |
*** aarefiev is now known as aarefiev_afk | 17:54 | |
*** mvk has joined #openstack-glance | 17:59 | |
openstackgerrit | Dirk Mueller proposed openstack/glance: Invoke monkey_patching early enough for eventlet 0.20.1 https://review.openstack.org/419074 | 18:04 |
*** david-lyle has joined #openstack-glance | 18:15 | |
*** david-lyle has quit IRC | 18:16 | |
*** david-lyle has joined #openstack-glance | 18:16 | |
*** antwash has joined #openstack-glance | 18:24 | |
antwash | stevelle : rosmaita : hemathm : sigmavirus : Hey there working on adding multi node jobs for glance using grenade in order to test previous & newer version communication compatibility (rolling upgrades) -- was wondering could I get some feedback about it. | 18:32 |
rosmaita | antwash: sure, very glad to hear you are working on it! | 18:32 |
rosmaita | what kind of feedback do you need? | 18:32 |
*** dharinic is now known as dharinic|lunch | 18:36 | |
*** adisky_ has quit IRC | 18:39 | |
*** chlong has quit IRC | 18:46 | |
*** jlwhite has joined #openstack-glance | 18:51 | |
antwash | rosmaita : Here's the review link I posted https://review.openstack.org/#/c/414326/3 -- just trying to make sure I'm going about testing it right really. | 18:53 |
*** thiagolib has quit IRC | 18:58 | |
*** chlong has joined #openstack-glance | 18:59 | |
*** mtanino has joined #openstack-glance | 19:02 | |
rosmaita | antwash: ack -- will look | 19:02 |
*** briancurtin has joined #openstack-glance | 19:09 | |
*** ccesario has quit IRC | 19:12 | |
*** wxy has joined #openstack-glance | 19:12 | |
*** tshefi has joined #openstack-glance | 19:23 | |
*** dharinic|lunch is now known as dharinic | 19:26 | |
openstackgerrit | Dharini Chandrasekar proposed openstack/glance_store: Buffered reader: Upload recovery for swift store https://review.openstack.org/120866 | 19:50 |
*** tshefi has quit IRC | 19:52 | |
*** flwang1 has joined #openstack-glance | 20:13 | |
*** e0ne has joined #openstack-glance | 20:14 | |
*** e0ne has quit IRC | 20:43 | |
*** TravT has quit IRC | 20:53 | |
*** jamielennox|away is now known as jamielennox | 21:01 | |
*** smatzek has quit IRC | 21:13 | |
*** mfedosin has quit IRC | 21:25 | |
*** markvoelker has quit IRC | 22:29 | |
*** markvoelker has joined #openstack-glance | 22:32 | |
*** markvoelker has quit IRC | 22:34 | |
*** markvoelker has joined #openstack-glance | 22:34 | |
*** markvoelker_ has joined #openstack-glance | 22:39 | |
*** markvoelker has quit IRC | 22:39 | |
*** kberger has joined #openstack-glance | 22:41 | |
*** catintheroof has quit IRC | 22:50 | |
*** catintheroof has joined #openstack-glance | 22:51 | |
*** chlong has quit IRC | 22:55 | |
*** catintheroof has quit IRC | 22:55 | |
dharinic | Swift multi-tenant backport proposals: | 23:14 |
dharinic | https://review.openstack.org/#/c/417329/ | 23:14 |
dharinic | https://review.openstack.org/#/c/417197/ | 23:14 |
*** markvoelker_ has quit IRC | 23:32 | |
*** markvoelker has joined #openstack-glance | 23:40 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!