Hi Nam, Assuming this is a new env that you're setting up, have you seeded the systemvmtemplate prior to zone deployment?
For example, the following is for v4.14: (change path/files suitably) wget http://packages.shapeblue.com/systemvmtemplate/4.14/systemvmtemplate-4.14.0-vmware.ova /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt \ -m /export/secondary -f systemvmtemplate-4.14.0-vmware.ova -h vmware \ -o localhost -r cloud -d cloud You may want to share or read the logs above the exception to find out why it failed (template missing, or not enough free resources cpu/memory etc). Regards. ________________________________ From: Nguy Nam <[email protected]> Sent: Friday, December 11, 2020 21:48 To: [email protected] <[email protected]> Subject: Secondary Storage 0KB Hi all, I using VMware to deploy ubuntu 18.04 Setup for my VMware: 6GB RAM 250GB disk 6 CPU Using KVM for host I install cloudstack on ubuntu in VMware . I manage to make cloudstack management up and running. I have success adding primary storage . When I try to add secondary storage from same nfs server, from dashboard it show 0 KB. But using same nfs same server no problem on primary. When I tried start systemVMs I have problem 'InsufficientServerCapacityException' Below is NFS: Filesystem Size Used Avail Use% Mounted on udev 3.0G 0 3.0G 0% /dev tmpfs 610M 2.0M 608M 1% /run /dev/sda5 245G 13G 220G 6% / tmpfs 3.0G 33M 3.0G 2% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 3.0G 0 3.0G 0% /sys/fs/cgroup /dev/loop1 256M 256M 0 100% /snap/gnome-3-34-1804/36 /dev/loop0 55M 55M 0 100% /snap/core18/1880 /dev/loop8 30M 30M 0 100% /snap/snapd/8542 /dev/loop4 56M 56M 0 100% /snap/core18/1932 /dev/loop7 50M 50M 0 100% /snap/snap-store/467 /dev/loop2 63M 63M 0 100% /snap/gtk-common-themes/1506 /dev/loop3 218M 218M 0 100% /snap/gnome-3-34-1804/60 /dev/loop5 65M 65M 0 100% /snap/gtk-common-themes/1514 /dev/loop9 32M 32M 0 100% /snap/snapd/10492 /dev/loop6 52M 52M 0 100% /snap/snap-store/498 /dev/sda1 511M 4.0K 511M 1% /boot/efi tmpfs 610M 36K 610M 1% /run/user/1000 192.168.88.154:/export/primary 245G 13G 220G 6% /mnt/976be953-cd4d-3738-9c3d-dde0d5234455 192.168.88.154:/export/secondary 245G 13G 220G 6% /var/lib/cloudstack/mnt/2851995649.66981c30 192.168.88.154:/mnt/nfs_share 245G 13G 220G 6% /mnt/secondary 192.168.88.154:/export/secondary 245G 13G 220G 6% /mnt/f6029096-1d3f-3dc4-8205-005ab3ce4807 And this problem I got : 2020-12-11 07:50:15,183 WARN [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-67150385) (logid:8e164f80) Exception while trying to start secondary storage vm com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[SecondaryStorageVm|s-413-VM]Scope=interface com.cloud.dc.DataCenter; id=6 at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1089) at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5227) at jdk.internal.reflect.GeneratedMethodAccessor196.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107) at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5390) at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102) at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:603) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:551) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) [email protected] www.shapeblue.com 3 London Bridge Street, 3rd floor, News Building, London SE1 9SGUK @shapeblue
