*** Liang__ has joined #openstack-glance | 01:34 | |
*** Liang__ has quit IRC | 03:06 | |
*** Liang__ has joined #openstack-glance | 03:13 | |
*** Liang__ has quit IRC | 03:34 | |
*** Liang__ has joined #openstack-glance | 03:37 | |
*** Liang__ has quit IRC | 03:44 | |
*** Liang__ has joined #openstack-glance | 03:46 | |
*** bhagyashris|afk is now known as bhagyashris | 04:24 | |
*** udesale has joined #openstack-glance | 04:28 | |
*** evrardjp has quit IRC | 04:33 | |
*** evrardjp has joined #openstack-glance | 04:33 | |
*** ratailor has joined #openstack-glance | 04:39 | |
*** udesale_ has joined #openstack-glance | 04:57 | |
*** udesale has quit IRC | 05:00 | |
*** rcernin has quit IRC | 05:14 | |
openstackgerrit | Abhishek Kekane proposed openstack/glance-specs master: Make cinder driver compatible with multiple stores https://review.opendev.org/695152 | 05:20 |
---|---|---|
*** m75abrams has joined #openstack-glance | 05:26 | |
openstackgerrit | Merged openstack/glance master: Fix: Interrupted copy-image leaking data on subsequent operation https://review.opendev.org/737867 | 05:39 |
*** rcernin has joined #openstack-glance | 05:39 | |
openstackgerrit | Abhishek Kekane proposed openstack/glance stable/ussuri: Fix: Interrupted copy-image leaking data on subsequent operation https://review.opendev.org/739403 | 05:43 |
*** rcernin has quit IRC | 05:47 | |
*** rcernin has joined #openstack-glance | 05:48 | |
*** tosky has joined #openstack-glance | 07:25 | |
*** hoonetorg has joined #openstack-glance | 07:52 | |
*** rcernin has quit IRC | 07:57 | |
openstackgerrit | Abhishek Kekane proposed openstack/glance master: Improve lazy loading mechanism for multiple stores https://review.opendev.org/739423 | 07:58 |
*** amoralej has joined #openstack-glance | 08:36 | |
*** Liang__ has quit IRC | 08:37 | |
*** Liang__ has joined #openstack-glance | 08:41 | |
*** k_mouza has joined #openstack-glance | 08:43 | |
openstackgerrit | Josephine Seifert proposed openstack/glance-specs master: Spec for the Glance part of Image Encryption https://review.opendev.org/609667 | 08:44 |
*** bhagyashris is now known as bhagyashris|afk | 08:50 | |
*** bhagyashris|afk is now known as bhagyashris | 09:19 | |
*** Liang__ has quit IRC | 09:57 | |
*** Liang__ has joined #openstack-glance | 09:58 | |
*** Liang__ has quit IRC | 10:19 | |
*** rcernin has joined #openstack-glance | 10:33 | |
*** tkajinam has quit IRC | 10:37 | |
*** dosaboy_ is now known as dosaboy | 11:00 | |
*** rcernin has quit IRC | 11:04 | |
*** lpetrut has joined #openstack-glance | 11:26 | |
*** Luzi has joined #openstack-glance | 11:31 | |
*** priteau has joined #openstack-glance | 12:22 | |
*** udesale_ has quit IRC | 13:00 | |
*** ratailor has quit IRC | 13:01 | |
*** Luzi has quit IRC | 13:31 | |
openstackgerrit | Dan Smith proposed openstack/glance-specs master: Add copy-unowned-image spec https://review.opendev.org/739062 | 13:36 |
*** lpetrut has quit IRC | 14:32 | |
*** jdillaman has quit IRC | 14:52 | |
*** rajinir_ has joined #openstack-glance | 15:02 | |
*** rosmaita has quit IRC | 15:13 | |
*** m75abrams has quit IRC | 15:19 | |
* abhishekk dinner break, back in 30 mins | 15:19 | |
smcginnis | jokke: Reponded to your question. | 15:20 |
openstackgerrit | Erno Kuvaja proposed openstack/glance master: Cleanup remove api v1 and registry code https://review.opendev.org/738673 | 15:21 |
openstackgerrit | Erno Kuvaja proposed openstack/glance master: Update sample configs post deprecation removals https://review.opendev.org/738674 | 15:21 |
jokke | smcginnis: Thanks, gating | 15:22 |
smcginnis | Thanks! | 15:23 |
jokke | I think that last PS ^^ should fix the grenade and let us finally move on with the cleanup | 15:26 |
*** rosmaita has joined #openstack-glance | 15:34 | |
*** lseki has joined #openstack-glance | 15:37 | |
lseki | hi folks, I'm trying to figure out how I could migrate glance images from an RBD store to an NFS store. Would `glance image-import` command accomplish this? | 15:40 |
rosmaita | lseki: do you want to preserve the image UUIDs? | 15:41 |
lseki | yes I want | 15:41 |
rosmaita | i think there was a discussion about this here last year, maybe you can search the logs ... but roughly the idea is: | 15:45 |
rosmaita | glance images can have multiple locations | 15:45 |
rosmaita | there is a config option in the glance-api.conf that lets you specify a selecition criterion for which location is used to serve out an image | 15:46 |
rosmaita | what you can do is to migrate the image data on the backend and add the new location to each image | 15:46 |
rosmaita | when you are ready, you change the location selection | 15:46 |
rosmaita | and then you should be serving out the data from the new backend | 15:46 |
rosmaita | and then you can remove the old locations if you want | 15:47 |
rosmaita | of course, you need to test this out | 15:47 |
lseki | rosmaita: hmm would it work with NFS? Seems that location-add doesn't support `file://` | 15:47 |
rosmaita | also, what openstack release are you thinking? | 15:47 |
lseki | I'm looking at train release | 15:48 |
rosmaita | yeah, the file:// thing is a security problem | 15:48 |
rosmaita | well, with train, there is multiple store support | 15:49 |
rosmaita | which i am not all that familiar with | 15:49 |
lseki | hmm I'll take a look in the multiple store thing | 15:50 |
rosmaita | better look for abhishekk and jokke -- abhishekk is on india standard time, jokke is in ireland | 15:50 |
lseki | so 1) `glance image-import`won't help, because it would create a new UUID; 2) `glance location-add` won't help, because it doesn't support `file://` | 15:51 |
* lseki looking at ireland timezone | 15:52 | |
lseki | oh it's almost 5pm | 15:52 |
lseki | so I'll read about multiple store until abhishekk arrives | 15:53 |
lseki | thank you rosmaita | 15:53 |
rosmaita | np | 15:53 |
lseki | one thing I noted, python-glanceclient docs shows fewer params for image-import command | 15:54 |
lseki | https://docs.openstack.org/python-glanceclient/latest/cli/details.html#glance-image-import | 15:54 |
rosmaita | lseki: there was a copy-from introduced i think in ussuri, that's another possiblity | 15:54 |
lseki | on the actual CLI it shows | 15:55 |
rosmaita | you'd have to backport it, but it could be worth it | 15:55 |
lseki | https://www.irccloud.com/pastebin/u0ImIHoi/ | 15:55 |
rosmaita | lseki: please file a documentation bug | 15:55 |
lseki | rosmaita: cool, I'll take a look on copy-from as well | 15:55 |
lseki | rosmaita: ok I'll file a bug | 15:56 |
rosmaita | thanks, there have been some people squashing glance doc bugs recently, will be good to keep them busy | 15:56 |
lseki | done https://bugs.launchpad.net/glance/+bug/1886537 | 16:05 |
openstack | Launchpad bug 1886537 in Glance "Missing parameters in python-glanceclient image-import command documentation" [Undecided,New] | 16:05 |
*** k_mouza has quit IRC | 16:07 | |
*** amoralej is now known as amoralej|off | 16:08 | |
abhishekk | lseki, in ussuri we have added copy-image import method which will copy existing image data to new stores | 16:13 |
*** priteau has quit IRC | 16:14 | |
lseki | abhishekk: cool, I'll deploy an ussuri devstack and take a look on it | 16:16 |
abhishekk | lseki, ack you can specify --stores (list of comma separated stores where you want to copy data) or --all-stores true which will copy existing data to all available stores | 16:17 |
lseki | hmm seems that we don't have docs for the command yet | 16:18 |
abhishekk | $ image-import <existing-image-id> --import-method copy-image --stores store1,store2... or --all-stores true | 16:18 |
lseki | abhishekk: thanks! | 16:19 |
abhishekk | just to note, you need to enable this method in glance-api.conf file | 16:19 |
lseki | ack | 16:19 |
abhishekk | enabled_import_methods = ['glance-direct', 'web-download', 'copy-image'] | 16:19 |
abhishekk | I will be around at least next 1 hour, let me know if you need anything | 16:20 |
lseki | great, thanks | 16:21 |
abhishekk | no problem | 16:21 |
lseki | so if I need to move an RBD image to NFS store on train, keeping the UUID, I'll need to manually backport copy-image feature | 16:22 |
lseki | as location-add doesn't support file://; and image-import would create a new image with a new uuid | 16:23 |
abhishekk | lseki, yes | 16:27 |
abhishekk | lseki, you need to backport import image in multiple stores feature as well which is base feature for copy-image | 16:28 |
lseki | abhishekk: I'll ask my customer if he's able to do that | 16:30 |
abhishekk | lseki, ack | 16:31 |
openstackgerrit | Merged openstack/glance stable/ussuri: Fix: Interrupted copy-image leaking data on subsequent operation https://review.opendev.org/739403 | 16:37 |
openstackgerrit | Merged openstack/glance master: Update lower-constraints versions https://review.opendev.org/734665 | 16:38 |
*** priteau has joined #openstack-glance | 17:22 | |
* abhishekk signing out for the day | 18:06 | |
*** priteau has quit IRC | 18:07 | |
*** gregwork has quit IRC | 18:49 | |
openstackgerrit | Cyril Roelandt proposed openstack/glance_store stable/train: Add config for cinder mounting needs https://review.opendev.org/726648 | 20:57 |
openstackgerrit | Cyril Roelandt proposed openstack/glance_store stable/train: Add lock per share for cinder nfs mount/umount https://review.opendev.org/726650 | 20:57 |
*** tkajinam has joined #openstack-glance | 22:42 | |
*** tosky has quit IRC | 22:49 | |
*** rcernin has joined #openstack-glance | 23:01 | |
*** rcernin has quit IRC | 23:07 | |
*** rcernin has joined #openstack-glance | 23:10 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!