On Mon, Feb 19, 2024 at 1:14 PM Kapil Bhuskute <kbhusk...@qualys.com.invalid> wrote: > > Hello Daan, > What exactly did you mean by initiating the secondary storage? > We have a secondary storage path and server name mentioned in the Cloudstack > management server wizard to add it, and that got added in the UI. > It is a nfs export hosted on the same cloudstack server and is already > available with all required NFS permissions(rw,no_root_squash,sync). > Is there any manual step required to initiate it?
No you shouldn't have to. Is the storage initiated with the templates needed? You can check the path under /mnt/data/template/tmpl/ to see if there are templates there. You can also check to see if the templates are marked as ready? > > Kapil Bhuskute > > > -----Original Message----- > From: Daan Hoogland <daan.hoogl...@gmail.com> > Sent: Monday, February 19, 2024 1:55 PM > To: users@cloudstack.apache.org > Subject: Re: Secondary Storage VM not getting started > > CAUTION: This Email is from an EXTERNAL source. Ensure you trust this > sender before clicking on any links or attachments. > > Kapil, > did you initiate your secondary storage (at > kvm01.p01.ops.sjc01.qualys.com:/mnt/data)? > and did you export the storage for it from the nfs server? > The error says there is a problem there. > > On Mon, Feb 19, 2024 at 7:35 AM Kapil Bhuskute <kbhusk...@qualys.com.invalid> > wrote: > > > > The secondary storage VM is not able to get deployed in CloudStack 4.19 > > with below errors. > > > > Feb 16 13:25:08 qcs01 java[417597]: INFO [o.a.c.e.o.VolumeOrchestrator] > > (secstorage-1:ctx-adb3bb9a ctx-2cb81e1f) (logid:67e774fb) Adding disk > > object [ROOT-6258] to VM [VM instance {"id":6258,"instanceName" > > :"s-6258-VM","type":"SecondaryStorageVm","uuid":"a9520deb-ca26-4a6f-bc > > 40-871841d05c28"}] Feb 16 13:25:11 qcs01 java[417597]: ERROR > > [o.a.c.e.o.VolumeOrchestrator] (Work-Job-Executor-2:ctx-511f3201 > > job-9178/job-13001 ctx-8a4381d2) (logid:cbcf72ec) Unable to create volume > > [{"name":"ROOT-6258","uui d":"8444daf7-4145-4a40-8789-c623c5a5ad7c"}] due > > to [com.cloud.utils.exception.CloudRuntimeException: > > org.libvirt.LibvirtException: internal error: Child process (/usr/bin/mount > > -o nodev,nosuid,noexec kvm01. > > p01.ops.sjc01.qualys.com:/mnt/data/template/tmpl/1/222 > > /mnt/63da2d8b-fe6a-36ab-93c5-49867865f5b7) unexpected exit status 32: > > mount.nfs: mounting > > kvm01.p01.ops.sjc01.qualys.com:/mnt/data/template/tmpl/1/222 > > failed, reason given by server: No such file or directory Feb 16 > > 13:25:11 qcs01 java[417597]: > > com.cloud.exception.StorageUnavailableException: Resource > > [StoragePool:5] is unreachable: Unable to create volume > > [{"name":"ROOT-6258","uuid":"8444daf7-4145-4a40-8789-c62 > > 3c5a5ad7c"}] due to [com.cloud.utils.exception.CloudRuntimeException: > > org.libvirt.LibvirtException: internal error: Child process > > (/usr/bin/mount -o nodev,nosuid,noexec > > kvm01.p01.ops.sjc01.qualys.com:/mnt/d > > ata/template/tmpl/1/222 /mnt/63da2d8b-fe6a-36ab-93c5-49867865f5b7) > > unexpected exit status 32: mount.nfs: mounting > > kvm01.p01.ops.sjc01.qualys.com:/mnt/data/template/tmpl/1/222 failed, reason > > given by server: > > No such file or directory > > Feb 16 13:25:41 qcs01 java[417597]: ERROR > > [o.a.c.e.o.VolumeOrchestrator] (Work-Job-Executor-8:ctx-5417b759 > > job-9178/job-13003 ctx-f6230d28) (logid:cbcf72ec) Unable to create volume > > [{"name":"ROOT-6258","uui d":"8444daf7-4145-4a40-8789-c623c5a5ad7c"}] due > > to [com.cloud.utils.exception.CloudRuntimeException: > > org.libvirt.LibvirtException: internal error: Child process (/usr/bin/mount > > -o nodev,nosuid,noexec kvm01. > > p01.ops.sjc01.qualys.com:/mnt/data/template/tmpl/1/222 > > /mnt/63da2d8b-fe6a-36ab-93c5-49867865f5b7) unexpected exit status 32: > > mount.nfs: mounting > > kvm01.p01.ops.sjc01.qualys.com:/mnt/data/template/tmpl/1/222 > > failed, reason given by server: No such file or directory Feb 16 > > 13:25:41 qcs01 java[417597]: > > com.cloud.exception.StorageUnavailableException: Resource > > [StoragePool:5] is unreachable: Unable to create volume > > [{"name":"ROOT-6258","uuid":"8444daf7-4145-4a40-8789-c62 > > 3c5a5ad7c"}] due to [com.cloud.utils.exception.CloudRuntimeException: > > org.libvirt.LibvirtException: internal error: Child process > > (/usr/bin/mount -o nodev,nosuid,noexec > > kvm01.p01.ops.sjc01.qualys.com:/mnt/d > > ata/template/tmpl/1/222 /mnt/63da2d8b-fe6a-36ab-93c5-49867865f5b7) > > unexpected exit status 32: mount.nfs: mounting > > kvm01.p01.ops.sjc01.qualys.com:/mnt/data/template/tmpl/1/222 failed, reason > > given by server: > > No such file or directory > > > > Regards, > > Kapil Bhuskute > > > > -- > Daan -- Daan