rgl/proxmox-ve

ceph doesnt work out the box, heres the fix

xahare opened this issue · 3 comments

pveceph init wont work because it sees "127.0.0.1 hostname" in the first line of /etc/hosts. this line in provision.sh fixes it.

sed -i "/^127\.0\.0\.1.\+${fqdn}/d" /etc/hosts

rgl commented

I never used Ceph, can you create an example vagrant environment for testing it out? Something like the one in the example directory?

seems it was an issue in ceph, which gets the latest version when you run "pveceph install"

these commands now work without the workaround.

echo y | pveceph install
pveceph init
rgl commented

If you find a solution, let me known. I also want to learn more about Ceph. Having a working vagrant environment would be really nice.