(DirectAgent-279:172.30.100.30) Unable to create mount point for nfs://172.30.104.200/home/data/demo1_secondary
SSVM failed to mount your SS(secondary storage) when it attempted to copy template from SS to PS, check your NFS configuration and make sure SSVM have R/W permission. (SSVM uses storage network to connect to SS, or management network if storage network is not enabled) Mice -----Original Message----- From: Francois Gaudreault [mailto:fgaudrea...@cloudops.com] Sent: Friday, February 22, 2013 11:52 AM To: cloudstack-users@incubator.apache.org Subject: Snapshot and Template Issue with VMWare Hi, I don't know if this question has been asked before, but I have a weird issue with snapshots and VMWare 5. The snapshot of a volume appears to be working fine on the VMWare side (I can see it in the vCenter task list), but the snapshot cannot be copied to the secondary storage NFS share. The log file is a bit fuzzy about the exact cause, I do see couple errors. Maybe someone can shed some lights. Thanks in advance, and let me know if I should open a case on the BTS! I can confirm that CS sees my 2 hosts in the vCenter cluster as UP, and that the secondary storage is exported on each ESX servers as a NAS volume. Errors from the log: [...] 2013-02-21 16:53:40,226 WARN [storage.snapshot.SnapshotManagerImpl] (Job-Executor-14:job-305) Storage unavailable com.cloud.exception.StorageUnavailableException: Resource [StoragePool:211] is unreachable: Unable to send command to the pool 211 due to there is no enabled hosts up in this cluster at com.cloud.storage.StorageManagerImpl.sendToPool(StorageManagerImpl.java:2206) at com.cloud.storage.StorageManagerImpl.sendToPool(StorageManagerImpl.java:2231) at com.cloud.storage.snapshot.SnapshotManagerImpl.sendToPool(SnapshotManagerImpl.java:212) at com.cloud.storage.snapshot.SnapshotManagerImpl.backupSnapshotToSecondaryStorage(SnapshotManagerImpl.java:596) [...] 2013-02-21 16:53:40,258 ERROR [cloud.api.ApiDispatcher] (Job-Executor-14:job-305) Exception while executing CreateSnapshotCmd: com.cloud.utils.exception.CloudRuntimeException: Created snapshot: com.cloud.storage.SnapshotVO$$EnhancerByCGLIB$$45ba3f8a@614ca297 on primary but failed to backup on secondary at com.cloud.storage.snapshot.SnapshotManagerImpl.createSnapshot(SnapshotManagerImpl.java:417) at com.cloud.utils.component.ComponentLocator$InterceptorDispatcher.intercept(ComponentLocator.java:1231) at com.cloud.storage.snapshot.SnapshotManagerImpl.createSnapshot(SnapshotManagerImpl.java:127) [...] This might also be another different issue. CloudStack complains about the routing-8.ova template. 2013-02-21 16:49:31,713 DEBUG [vmware.manager.VmwareManagerImpl] (DirectAgent-279:172.30.100.30) mount.nfs: Connection timed out 2013-02-21 16:49:31,713 WARN [vmware.manager.VmwareManagerImpl] (DirectAgent-279:172.30.100.30) Unable to mount 172.30.104.200:/home/data/demo1_secondary due to mount.nfs: Connection timed out 2013-02-21 16:49:31,713 ERROR [vmware.manager.VmwareManagerImpl] (DirectAgent-279:172.30.100.30) Unable to create mount point for nfs://172.30.104.200/home/data/demo1_secondary 2013-02-21 16:49:31,713 INFO [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-279:172.30.100.30) Secondary storage mount point: /mnt/sec 2013-02-21 16:49:31,713 INFO [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-279:172.30.100.30) Executing command: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova 2013-02-21 16:49:31,713 DEBUG [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-279:172.30.100.30) Executing: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova 2013-02-21 16:49:31,910 DEBUG [vmware.manager.VmwareManagerImpl] (DirectAgent-34:172.30.100.31) Executing: sudo mount -t nfs 172.30.104.200:/home/data/demo1_secondary /var/lib/cloud/mnt/VM/152340872926777.3861298f 2013-02-21 16:49:32,071 WARN [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-279:172.30.100.30) Exception: tar --no-same-owner -xf /mnt/sec/template/tmpl/1/8/routing-8.ova java.io.IOException: Cannot run program "tar" (in directory "/mnt/sec/template/tmpl/1/8"): java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:475) at com.cloud.utils.script.Script.execute(Script.java:181) at com.cloud.utils.script.Script.execute(Script.java:159) 2013-02-21 16:49:32,074 ERROR [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-279:172.30.100.30) Unable to unpack snapshot OVA file at: /mnt/sec/template/tmpl/1/8/routing-8.ova 2013-02-21 16:49:32,074 ERROR [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-279:172.30.100.30) Unable to execute PrimaryStorageDownloadCommand due to exception java.lang.Exception: Unable to unpack snapshot OVA file at: /mnt/sec/template/tmpl/1/8/routing-8.ova Thanks! -- Francois Gaudreault Architecte de Solution Cloud | Cloud Solutions Architect fgaudrea...@cloudops.com - - - CloudOps 420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_