Glusterfs and snippets

pandada8

Active Member
Jun 25, 2018
13
2
43
28
I am playing around with glusterfs and live migration today. and find out you can not add snippets type to gluster volume. pvedaemon.services logs `storage does not support content type 'snippets'`

I check the code found there is a commit says 'enable snippets content type for all directory based storage'[1]. but glusterfs is not included. Is this a miss ? What is preventing glusterfs to be used with snippets ?


[1]: https://git.proxmox.com/?p=pve-storage.git;a=commit;h=d1eb35ea74cf27713625ab7e7c3767a8254a4aee
 
So, I decided to yolo it. and patched the `/usr/share/perl5/PVE/Storage/GlusterfsPlugin.pm` with `snippets => 1, `, and it seems works just fine.
 
  • Like
Reactions: Dominic
Thank you for bringing this to our attention!

For other readers: This is tracked on Bugzilla.