*** LiangFang has quit IRC | 00:00 | |
*** brinzhang has joined #openstack-glance | 01:22 | |
*** brinzhang has quit IRC | 01:33 | |
*** brinzhang has joined #openstack-glance | 01:33 | |
*** Sravan_ has quit IRC | 01:55 | |
*** Sravan has joined #openstack-glance | 02:03 | |
*** Sravan has quit IRC | 02:09 | |
*** MattMan_ has quit IRC | 02:34 | |
*** MattMan_ has joined #openstack-glance | 02:34 | |
*** mhen has quit IRC | 02:50 | |
*** mhen has joined #openstack-glance | 02:52 | |
*** jmlowe has quit IRC | 02:59 | |
*** jmlowe has joined #openstack-glance | 03:00 | |
*** udesale has joined #openstack-glance | 04:17 | |
*** bhagyashris has joined #openstack-glance | 04:18 | |
*** Sravan has joined #openstack-glance | 04:24 | |
*** itlinux has joined #openstack-glance | 04:33 | |
*** pooja_jadhav has joined #openstack-glance | 04:49 | |
*** ratailor has joined #openstack-glance | 05:00 | |
*** bhagyashris has quit IRC | 05:01 | |
*** bhagyashris has joined #openstack-glance | 06:08 | |
*** pooja_jadhav has quit IRC | 06:31 | |
*** Sravan has quit IRC | 06:42 | |
*** bhagyashris has quit IRC | 06:48 | |
*** mosulica has joined #openstack-glance | 06:55 | |
*** bhagyashris has joined #openstack-glance | 07:09 | |
*** rcernin has quit IRC | 07:26 | |
*** mosulica has quit IRC | 08:28 | |
*** mosulica has joined #openstack-glance | 08:30 | |
*** ratailor has quit IRC | 09:12 | |
*** ratailor has joined #openstack-glance | 09:13 | |
*** pcaruana has joined #openstack-glance | 09:48 | |
*** bhagyashris has quit IRC | 09:51 | |
*** priteau has joined #openstack-glance | 10:37 | |
*** mvkr has quit IRC | 11:03 | |
*** Sravan has joined #openstack-glance | 11:25 | |
*** udesale has quit IRC | 11:28 | |
*** Sravan has quit IRC | 11:30 | |
*** mvkr has joined #openstack-glance | 11:43 | |
*** mugsie has joined #openstack-glance | 11:48 | |
*** brinzhang has quit IRC | 12:15 | |
*** brinzhang has joined #openstack-glance | 12:15 | |
*** brinzhang has quit IRC | 12:16 | |
*** brinzhang has joined #openstack-glance | 12:17 | |
*** pvradu has joined #openstack-glance | 12:31 | |
*** pvradu has quit IRC | 12:32 | |
*** pvradu has joined #openstack-glance | 12:33 | |
*** brinzhang has quit IRC | 12:38 | |
*** MattMan_ has quit IRC | 12:57 | |
*** MattMan_ has joined #openstack-glance | 12:57 | |
*** zul has joined #openstack-glance | 13:13 | |
*** ratailor has quit IRC | 13:49 | |
*** pvradu_ has joined #openstack-glance | 14:03 | |
*** pvradu has quit IRC | 14:07 | |
*** pvradu_ has quit IRC | 14:07 | |
*** pvradu has joined #openstack-glance | 14:08 | |
openstackgerrit | ayoung proposed openstack/glance master: Move base policies into code https://review.openstack.org/501360 | 14:16 |
---|---|---|
*** udesale has joined #openstack-glance | 14:39 | |
*** ratailor has joined #openstack-glance | 15:48 | |
*** udesale has quit IRC | 15:58 | |
*** ratailor has quit IRC | 16:24 | |
*** pcaruana has quit IRC | 16:50 | |
*** pvradu has quit IRC | 17:08 | |
*** mosulica has quit IRC | 17:20 | |
*** Sravan has joined #openstack-glance | 17:27 | |
*** Sravan has quit IRC | 17:28 | |
*** Sravan has joined #openstack-glance | 17:28 | |
*** ayoung has joined #openstack-glance | 18:14 | |
ayoung | jokke_, when creating a glance image for a large file (1.5 GiB) over a slow connection, does it make sense to upload the image as a file to Swift, and then use an URL for the image instead? Is there any speed benefit? Does glance know to not double-book for quota, etc? | 18:25 |
openstackgerrit | Brian Rosmaita proposed openstack/python-glanceclient master: Add image-list filter for multihash https://review.openstack.org/594520 | 18:26 |
imacdonn | rosmaita: how familiar are you with the CONF hackery in glance_store's unit tests ? | 18:37 |
imacdonn | meaning things like: # NOTE(flaper87): temporary until we can move to a fully-local lib. (Swift store's fault) | 18:38 |
rosmaita | imacdonn: i'm not sure who the best person is about that anymore ... there's some really weird jumping through hoops you have to do to get the stores initialized correctly | 18:39 |
rosmaita | jokke_ probably knows the most about it at this point | 18:39 |
imacdonn | rosmaita: I don't know if I need that or not ... I was trying to create tests for a new method I added to multi_backend, but I'm confused about how to make config available to it | 18:40 |
imacdonn | When my unit test calls store.method(), it fails with: oslo_config.cfg.NoSuchOptError: no such option enabled_backends in group [DEFAULT] | 18:41 |
rosmaita | are there any tests that deal with default_stores (the old config option, pretty sure that was in DEFAULT) | 18:43 |
imacdonn | default_store was in [glance_store] | 18:44 |
rosmaita | maybe check abhishek's multistores patch, he must have added some tests that use enabled_backends | 18:45 |
imacdonn | I haven't found any that I can make sense of | 18:47 |
imacdonn | side-note: I haven't found anything that seems to actually test having multiple stores of different types | 18:54 |
imacdonn | they all seem to be focused on one particular type (swift, rbd, sheepdog, etc) | 18:54 |
rosmaita | imacdonn: i thought there were some, but maybe they're on the glance side | 18:56 |
imacdonn | I'm sure there must be some really good reason for glance_store to be a separate project ...................... ;) | 18:56 |
rosmaita | imacdonn: guess you'll have to do what abhishek did in the setUp() function in test_multistore_filesystem.py | 18:57 |
rosmaita | imacdonn: don't ask! | 18:57 |
imacdonn | I did that - I copied test_multistore_filesystem.py to test_multistore.py and created my test, keeping the setUp(), but store doesn't seem to see the config | 18:58 |
rosmaita | i think when flavio split it off, the idea was that various services (like an image transfer service) could use glance_store to do stuff directly with the backends | 18:58 |
imacdonn | yeah ... I'm sure it seemed like a good idea at the time ;) | 18:58 |
rosmaita | maybe shoot abhishek an email asking him how he got it to work | 18:59 |
imacdonn | I don't think he did ... I don't think he made any tests that need config to work in this way | 18:59 |
rosmaita | i don't have anything useful to suggest | 19:02 |
imacdonn | k, thanks | 19:02 |
rosmaita | i don't know if this is related or not | 19:02 |
rosmaita | you may have to import the option into oslo.config | 19:02 |
imacdonn | unit tests aside, do you have any opinion on the approach in https://review.openstack.org/618932 and https://review.openstack.org/618933 ? | 19:03 |
rosmaita | iiuc, 618933 will lazy migrate old locations? | 19:06 |
imacdonn | don't think so ... this is to handle the bug you filed, where you add a location to an image without specifying a backend in the metadata | 19:07 |
rosmaita | ok | 19:08 |
rosmaita | yeah, i don't know what i think about that ... it makes sense, but i wonder whether we should just insist on the user explicitly saying which backend | 19:12 |
rosmaita | erno and abhishek have more of the multistore vision than i do, i'll defer to them | 19:13 |
imacdonn | the sucky thing about that is that it breaks compatibility ... something that consumes the API that worked in Rocky will not work in Stein | 19:14 |
imacdonn | especially if you only have one backend! | 19:14 |
rosmaita | yeah, that's a good point | 19:15 |
imacdonn | abhishek seemed OK with my proposal. Have not heard anything from jokke_ | 19:19 |
imacdonn | ... and I think I may have figured out a solution for my unit test config issue | 19:20 |
rosmaita | good job! | 19:20 |
rosmaita | i think the code looks fine, and it's an intelligent way to pick a "missing" backend | 19:22 |
imacdonn | thanks | 19:24 |
*** mvkr has quit IRC | 19:40 | |
openstackgerrit | iain MacDonnell proposed openstack/glance_store master: Add find_backend_for_url() https://review.openstack.org/618932 | 20:22 |
*** mvkr has joined #openstack-glance | 20:35 | |
*** rcernin has joined #openstack-glance | 22:09 | |
*** priteau has quit IRC | 22:16 | |
*** imacdonn has quit IRC | 22:42 | |
*** imacdonn has joined #openstack-glance | 22:42 | |
*** rosmaita has left #openstack-glance | 23:02 | |
*** rm_work has quit IRC | 23:33 | |
*** rm_work has joined #openstack-glance | 23:33 | |
openstackgerrit | iain MacDonnell proposed openstack/glance master: Add backend to location metadata https://review.openstack.org/618933 | 23:35 |
*** lbragstad is now known as lbragstad_turkey | 23:46 | |
*** Sravan has quit IRC | 23:49 | |
*** zul has quit IRC | 23:51 | |
*** lbragstad_turkey has quit IRC | 23:56 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!