kadalu / moana

Moana is a frontend for the Kadalu Storage / GlusterFS. Moana provides tools for setting up and managing the Kadalu Storage / Gluster pools.
GNU General Public License v3.0
18 stars 7 forks source link

templates missing from /var/lib/kadulu #325

Closed benjofalanga closed 5 months ago

benjofalanga commented 5 months ago

Hey there

I have installed kadulu following instructions from your wiki kadulu getting started docs I am getting the following error when trying to create a pool :

~# kadalu pool create pool1     replica GOLD5VH01-L1-MDFA:/exports/storage1             GOLD5VH02-L1-MDFA:/exports/storage1 
Failed to create pool
Error opening file with mode 'r': '/var/lib/kadalu/templates/client.vol.j2': No such file or directory

Please let me know what i am missing here

benjofalanga commented 5 months ago

So i did the one step install and noticed that there is a step missing in the manual

+ curl -fsSL https://github.com/kadalu/moana/releases/latest/download/client.vol.j2 -o /tmp/client.vol.j2
+ curl -fsSL https://github.com/kadalu/moana/releases/latest/download/storage_unit.vol.j2 -o /tmp/storage_unit.vol.j2
+ curl -fsSL https://github.com/kadalu/moana/releases/latest/download/shd.vol.j2 -o /tmp/shd.vol.j2

+ install -D -m 700 /tmp/client.vol.j2 /var/lib/kadalu/templates/client.vol.j2
+ install -D -m 700 /tmp/storage_unit.vol.j2 /var/lib/kadalu/templates/storage_unit.vol.j2
+ install -D -m 700 /tmp/shd.vol.j2 /var/lib/kadalu/templates/shd.vol.j2

The wiki should be updated