Monday, 2020-07-06

*** Liang__ has joined #openstack-glance01:34
*** Liang__ has quit IRC03:06
*** Liang__ has joined #openstack-glance03:13
*** Liang__ has quit IRC03:34
*** Liang__ has joined #openstack-glance03:37
*** Liang__ has quit IRC03:44
*** Liang__ has joined #openstack-glance03:46
*** bhagyashris|afk is now known as bhagyashris04:24
*** udesale has joined #openstack-glance04:28
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-glance04:33
*** ratailor has joined #openstack-glance04:39
*** udesale_ has joined #openstack-glance04:57
*** udesale has quit IRC05:00
*** rcernin has quit IRC05:14
openstackgerritAbhishek Kekane proposed openstack/glance-specs master: Make cinder driver compatible with multiple stores  https://review.opendev.org/69515205:20
*** m75abrams has joined #openstack-glance05:26
openstackgerritMerged openstack/glance master: Fix: Interrupted copy-image leaking data on subsequent operation  https://review.opendev.org/73786705:39
*** rcernin has joined #openstack-glance05:39
openstackgerritAbhishek Kekane proposed openstack/glance stable/ussuri: Fix: Interrupted copy-image leaking data on subsequent operation  https://review.opendev.org/73940305:43
*** rcernin has quit IRC05:47
*** rcernin has joined #openstack-glance05:48
*** tosky has joined #openstack-glance07:25
*** hoonetorg has joined #openstack-glance07:52
*** rcernin has quit IRC07:57
openstackgerritAbhishek Kekane proposed openstack/glance master: Improve lazy loading mechanism for multiple stores  https://review.opendev.org/73942307:58
*** amoralej has joined #openstack-glance08:36
*** Liang__ has quit IRC08:37
*** Liang__ has joined #openstack-glance08:41
*** k_mouza has joined #openstack-glance08:43
openstackgerritJosephine Seifert proposed openstack/glance-specs master: Spec for the Glance part of Image Encryption  https://review.opendev.org/60966708:44
*** bhagyashris is now known as bhagyashris|afk08:50
*** bhagyashris|afk is now known as bhagyashris09:19
*** Liang__ has quit IRC09:57
*** Liang__ has joined #openstack-glance09:58
*** Liang__ has quit IRC10:19
*** rcernin has joined #openstack-glance10:33
*** tkajinam has quit IRC10:37
*** dosaboy_ is now known as dosaboy11:00
*** rcernin has quit IRC11:04
*** lpetrut has joined #openstack-glance11:26
*** Luzi has joined #openstack-glance11:31
*** priteau has joined #openstack-glance12:22
*** udesale_ has quit IRC13:00
*** ratailor has quit IRC13:01
*** Luzi has quit IRC13:31
openstackgerritDan Smith proposed openstack/glance-specs master: Add copy-unowned-image spec  https://review.opendev.org/73906213:36
*** lpetrut has quit IRC14:32
*** jdillaman has quit IRC14:52
*** rajinir_ has joined #openstack-glance15:02
*** rosmaita has quit IRC15:13
*** m75abrams has quit IRC15:19
* abhishekk dinner break, back in 30 mins15:19
smcginnisjokke: Reponded to your question.15:20
openstackgerritErno Kuvaja proposed openstack/glance master: Cleanup remove api v1 and registry code  https://review.opendev.org/73867315:21
openstackgerritErno Kuvaja proposed openstack/glance master: Update sample configs post deprecation removals  https://review.opendev.org/73867415:21
jokkesmcginnis: Thanks, gating15:22
smcginnisThanks!15:23
jokkeI think that last PS ^^ should fix the grenade and let us finally move on with the cleanup15:26
*** rosmaita has joined #openstack-glance15:34
*** lseki has joined #openstack-glance15:37
lsekihi 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
rosmaitalseki: do you want to preserve the image UUIDs?15:41
lsekiyes I want15:41
rosmaitai think there was a discussion about this here last year, maybe you can search the logs ... but roughly the idea is:15:45
rosmaitaglance images can have multiple locations15:45
rosmaitathere 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 image15:46
rosmaitawhat you can do is to migrate the image data on the backend and add the new location to each image15:46
rosmaitawhen you are ready, you change the location selection15:46
rosmaitaand then you should be serving out the data from the new backend15:46
rosmaitaand then you can remove the old locations if you want15:47
rosmaitaof course, you need to test this out15:47
lsekirosmaita: hmm would it work with NFS? Seems that location-add doesn't support `file://`15:47
rosmaitaalso, what openstack release are you thinking?15:47
lsekiI'm looking at train release15:48
rosmaitayeah, the file:// thing is a security problem15:48
rosmaitawell, with train, there is multiple store support15:49
rosmaitawhich i am not all that familiar with15:49
lsekihmm I'll take a look in the multiple store thing15:50
rosmaitabetter look for abhishekk and jokke -- abhishekk is on india standard time, jokke is in ireland15:50
lsekiso 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 timezone15:52
lsekioh it's almost 5pm15:52
lsekiso I'll read about multiple store until abhishekk arrives15:53
lsekithank you rosmaita15:53
rosmaitanp15:53
lsekione thing I noted, python-glanceclient docs shows fewer params for image-import command15:54
lsekihttps://docs.openstack.org/python-glanceclient/latest/cli/details.html#glance-image-import15:54
rosmaitalseki: there was a copy-from introduced i think in ussuri, that's another possiblity15:54
lsekion the actual CLI it shows15:55
rosmaitayou'd have to backport it, but it could be worth it15:55
lsekihttps://www.irccloud.com/pastebin/u0ImIHoi/15:55
rosmaitalseki: please file a documentation bug15:55
lsekirosmaita: cool, I'll take a look on copy-from as well15:55
lsekirosmaita: ok I'll file a bug15:56
rosmaitathanks, there have been some people squashing glance doc bugs recently, will be good to keep them busy15:56
lsekidone https://bugs.launchpad.net/glance/+bug/188653716:05
openstackLaunchpad bug 1886537 in Glance "Missing parameters in python-glanceclient image-import command documentation" [Undecided,New]16:05
*** k_mouza has quit IRC16:07
*** amoralej is now known as amoralej|off16:08
abhishekklseki, in ussuri we have added copy-image import method which will copy existing image data to new stores16:13
*** priteau has quit IRC16:14
lsekiabhishekk: cool, I'll deploy an ussuri devstack and take a look on it16:16
abhishekklseki, 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 stores16:17
lsekihmm seems that we don't have docs for the command yet16:18
abhishekk$ image-import <existing-image-id> --import-method copy-image --stores store1,store2... or --all-stores true16:18
lsekiabhishekk: thanks!16:19
abhishekkjust to note, you need to enable this method in glance-api.conf file16:19
lsekiack16:19
abhishekkenabled_import_methods = ['glance-direct', 'web-download', 'copy-image']16:19
abhishekkI will be around at least next 1 hour, let me know if you need anything16:20
lsekigreat, thanks16:21
abhishekkno problem16:21
lsekiso if I need to move an RBD image to NFS store on train, keeping the UUID, I'll need to manually backport copy-image feature16:22
lsekias location-add doesn't support file://; and image-import would create a new image with a new uuid16:23
abhishekklseki, yes16:27
abhishekklseki, you need to backport import image in multiple stores feature as well which is base feature for copy-image16:28
lsekiabhishekk: I'll ask my customer if he's able to do that16:30
abhishekklseki, ack16:31
openstackgerritMerged openstack/glance stable/ussuri: Fix: Interrupted copy-image leaking data on subsequent operation  https://review.opendev.org/73940316:37
openstackgerritMerged openstack/glance master: Update lower-constraints versions  https://review.opendev.org/73466516:38
*** priteau has joined #openstack-glance17:22
* abhishekk signing out for the day18:06
*** priteau has quit IRC18:07
*** gregwork has quit IRC18:49
openstackgerritCyril Roelandt proposed openstack/glance_store stable/train: Add config for cinder mounting needs  https://review.opendev.org/72664820:57
openstackgerritCyril Roelandt proposed openstack/glance_store stable/train: Add lock per share for cinder nfs mount/umount  https://review.opendev.org/72665020:57
*** tkajinam has joined #openstack-glance22:42
*** tosky has quit IRC22:49
*** rcernin has joined #openstack-glance23:01
*** rcernin has quit IRC23:07
*** rcernin has joined #openstack-glance23:10

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!