mrjoshi | abhishekk, rosmaita, dansmith, croelandt, pdeore glance weekly meeting in 10 minutes at #openstack-meeting | 13:51 |
---|---|---|
rajiv_ | Hi, whats the best way to move images between backends ? i would like to move images from swift to ceph, is there a plugin ? | 14:17 |
abhishekk | if you have tww backends configured using enabled_backends (glance multistore support) then you can use copy-image import method | 14:26 |
rajiv_ | we are in the phase of migrating from swift to ceph | 14:27 |
abhishekk | https://docs.openstack.org/glance/latest/admin/interoperable-image-import.html#copying-existing-image-in-multiple-stores | 14:27 |
rajiv_ | do you recommend enable ceph and then use copy-image ? | 14:27 |
abhishekk | yes | 14:27 |
abhishekk | enable ceph, add it as second store and then use copy-image import method | 14:28 |
rajiv_ | cool, thanks for the details | 14:28 |
abhishekk | So I am assuming you are using stores param in glance_store section to define backend? | 14:28 |
abhishekk | or are you using enabled_backends = backend:swift ? | 14:29 |
rajiv_ | lastly, is there an option for mass image migrations ? i am talking about 2k images per region | 14:29 |
abhishekk | no, you can write your own script for that | 14:30 |
rajiv_ | okay, for the moment we have set "default_store: swift" | 14:30 |
rajiv_ | as suggested above, to conclude, enable multi-store > enable ceph > copy-image internally > delete swift | 14:31 |
abhishekk | great, then you can change it to default_store:swift,secondary_store:ceph and then define ceph config options under secondary_store section and use copy image | 14:32 |
abhishekk | once migration complete use delete_from_store method to delete the image from swift and then remove swift store | 14:32 |
rajiv_ | thanks bhai! Happy Holi, advance wishes :) | 14:33 |
abhishekk | no problem, same to you :D | 14:35 |
croelandt | abhishekk: https://review.opendev.org/c/openstack/releases/+/943621 for the cycle highlights | 16:06 |
abhishekk | ack | 16:54 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!