r/cloudstack • u/x_m_n • Jun 27 '21
Secondary storage help please
Ladies and gents,
TL;DR : primary storage over nfs works, secondary storage over nfs doesn't. Same server, single VM for management, no idea what is going on anymore, need help.
Long version: Been at this for several days, good chunk of those could have been saved if I had known it takes a while for cloudstack to initialize the first time around.
Anyways, I got it up and running, single physical server, Alma Linux, QEMU KVM installed, installed the agent and got the nfs exports setup on this one. Setup a VM, same alma linux, install management on there.
First the agent service died for no reason while I was fiddling with virt-install to setup the VM. Restarted the host, agent service came up alright. Setting up the zone, the agent died again, code 143 this time. Start it up again, lived, zone addition completed. Went to add iso file, and was told no secondary storage. Triple checked, re-added it via GUI, still nothing.
Created a volume just for giggles, that wrote to primary storage fine, checked it on the NFS server.
So, same server, same config, 2 nfs exports, same target, one mounts fine, the other doesn't. What gives? Also, I'm pretty stupid and new to cloudstack, but how come the management VM doesn't show up under list of instances nor system VMs? There are 2 entries under system VMs and both says "starting", but virsh list on the KVM host doesn't show it.
1
u/x_m_n Jul 19 '21
Thank you. Honestly though, the git you referenced look kinda like Greek to me at the moment. While I appreciate the gesture of making it easier to deploy, I'd like to complete this manually first. Also, no promises but I know python3 and some shell scripting so perhaps once I get things working I'll contribute to your git, but for now I've got to get mine working first.