cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clayton Weise <cwe...@iswest.net>
Subject RE: Unable to start Secondary storage SVM
Date Thu, 27 Sep 2012 18:05:02 GMT
Try to mount that same directory from your management server, see what you get.  I _think_
with FreeNAS exports don't let you mount subdirectories but I'm not totally sure.

-----Original Message-----
From: claude bariot [mailto:clobariot@gmail.com] 
Sent: Thursday, September 27, 2012 10:31 AM
To: cloudstack-users@incubator.apache.org
Subject: Re: Unable to start Secondary storage SVM

Thanks for your reply

I using freeNAS for Iscsi target (Primary Storage) and NFS for secondary
storage

It's not possible to connect to SSVM. because, It don't start.

see the mgt log :
2012-09-27 19:25:21,285 INFO  [cloud.vm.VirtualMachineManagerImpl]
(consoleproxy-1:null) Unable to contact resource.
2012-09-27 19:25:21,442 INFO  [xen.resource.CitrixResourceBase]
(DirectAgent-133:null) VM does not exist on
XenServer1c00b0b7-bfa7-401d-939e-c56c2b285f04
2012-09-27 19:25:26,319 INFO  [cloud.vm.VirtualMachineManagerImpl]
(secstorage-1:null) Unable to contact resource.
2012-09-27 19:25:26,482 INFO  [xen.resource.CitrixResourceBase]
(DirectAgent-451:null) VM does not exist on
XenServer1c00b0b7-bfa7-401d-939e-c56c2b285f04
2012-09-27 19:25:27,024 INFO
 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Unable
to start secondary storage vm for standby capacity, secStorageVm vm Id :
162, will recycle it and start a new one
2012-09-27 19:25:27,578 INFO
 [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null)
Primary secondary storage is not even started, wait until next turn
2012-09-27 19:25:45,524 INFO
 [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null)
No running secondary storage vms found in datacenter id=4, starting one
2012-09-27 19:25:45,528 INFO
 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) No
stopped secondary storage vm is available, need to allocate a new secondary
storage vm
2012-09-27 19:25:45,597 INFO  [cloud.consoleproxy.ConsoleProxyManagerImpl]
(consoleproxy-1:null) Found a stopped console proxy, bring it up to running
pool. proxy vm id : 2
2012-09-27 19:25:51,253 INFO  [cloud.vm.VirtualMachineManagerImpl]
(consoleproxy-1:null) Unable to contact resource.
2012-09-27 19:25:51,406 INFO  [xen.resource.CitrixResourceBase]
(DirectAgent-455:null) VM does not exist on
XenServer1c00b0b7-bfa7-401d-939e-c56c2b285f04
2012-09-27 19:25:56,622 INFO  [cloud.vm.VirtualMachineManagerImpl]
(secstorage-1:null) Unable to contact resource.
2012-09-27 19:25:56,781 INFO  [xen.resource.CitrixResourceBase]
(DirectAgent-458:null) VM does not exist on
XenServer1c00b0b7-bfa7-401d-939e-c56c2b285f04
2012-09-27 19:25:57,341 INFO
 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Unable
to start secondary storage vm for standby capacity, secStorageVm vm Id :
163, will recycle it and start a new one
2012-09-27 19:25:57,341 INFO
 [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null)
Primary secondary storage is not even started, wait until next turn
2012-09-27 19:26:15,524 INFO
 [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null)
No running secondary storage vms found in datacenter id=4, starting one
2012-09-27 19:26:15,531 INFO
 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Found
a stopped secondary storage vm, bring it up to running pool. secStorageVm
vm id : 163
2012-09-27 19:26:15,594 INFO  [cloud.consoleproxy.ConsoleProxyManagerImpl]
(consoleproxy-1:null) Found a stopped console proxy, bring it up to running
pool. proxy vm id : 2
2012-09-27 19:26:21,291 INFO  [cloud.vm.VirtualMachineManagerImpl]
(consoleproxy-1:null) Unable to contact resource.
2012-09-27 19:26:21,463 INFO  [xen.resource.CitrixResourceBase]
(DirectAgent-468:null) VM does not exist on
XenServer1c00b0b7-bfa7-401d-939e-c56c2b285f04
2012-09-27 19:26:26,348 INFO  [cloud.vm.VirtualMachineManagerImpl]
(secstorage-1:null) Unable to contact resource.
2012-09-27 19:26:26,507 INFO  [xen.resource.CitrixResourceBase]
(DirectAgent-273:null) VM does not exist on
XenServer1c00b0b7-bfa7-401d-939e-c56c2b285f04
2012-09-27 19:26:27,042 INFO
 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Unable
to start secondary storage vm for standby capacity, secStorageVm vm Id :
163, will recycle it and start a new one

regard

On 27 September 2012 18:41, Clayton Weise <cweise@iswest.net> wrote:

> Yes, it can't mount
>
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1
>
> Can you try mounting that manually from the SSVM?  Also, check the logs on
> your NFS server.  Usually when I see this it's because there's a problem
> with being able to mount sub-directories of the export (e.g. you can mount
> /mnt/storage02/secondarystorage01 but you can't mount
> /mnt/storage02/secondarystorage01/some/sub/dir).  Check that, and verify
> the hostname (nasgeny01), path, and everything else checks out properly as
> well.
>
> You can login to the SSVM with the password 6m1ll10n and the user root.
>
> -----Original Message-----
> From: claude bariot [mailto:clobariot@gmail.com]
> Sent: Thursday, September 27, 2012 9:27 AM
> To: cloudstack-users@incubator.apache.org
> Subject: Unable to start Secondary storage SVM
>
> Hi all,
>
> I try to setup a cloud with cloudstack.
> I use xenserver 6 as HV
> Primary starage on an iscsi target
> Secondary storage on the NAS share
>
> When I initialize the cloud, I receive following message into
> managementsrv_log file :
>
> root@cmssvr01:/var/log# tail -10f
> /var/log/cloud/management/management-server.log | grep -i 'WARN'
> 2012-09-27 18:06:33,286 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-3:null) destoryVDIbyNameLabel failed due to there are 0 VDIs
> with name cloud-0d567eb0-bcca-4fac-8888-59539d07466e
> 2012-09-27 18:06:33,286 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-3:null) can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/b8de3107-99c5-436b-80e2-8db65cefc232
> 2012-09-27 18:06:33,286 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-3:null) Catch Exception
> com.cloud.utils.exception.CloudRuntimeException on
> host:1c00b0b7-bfa7-401d-939e-c56c2b285f04 for template:
> nfs://nasgeny01/mnt/storage02/secondarystorage01/template/tmpl/1/1/ due to
> com.cloud.utils.exception.CloudRuntimeException: can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/b8de3107-99c5-436b-80e2-8db65cefc232
> 2012-09-27 18:06:33,287 WARN  [cloud.vm.VirtualMachineManagerImpl]
> (DirectAgent-3:null) Cleanup failed due to Catch Exception
> com.cloud.utils.exception.CloudRuntimeException on
> host:1c00b0b7-bfa7-401d-939e-c56c2b285f04 for template:
> nfs://nasgeny01/mnt/storage02/secondarystorage01/template/tmpl/1/1/ due to
> com.cloud.utils.exception.CloudRuntimeException: can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/b8de3107-99c5-436b-80e2-8db65cefc232
> 2012-09-27 18:06:33,287 WARN  [cloud.vm.VirtualMachineManagerImpl]
> (consoleproxy-1:null) Cleanup failed due to Catch Exception
> com.cloud.utils.exception.CloudRuntimeException on
> host:1c00b0b7-bfa7-401d-939e-c56c2b285f04 for template:
> nfs://nasgeny01/mnt/storage02/secondarystorage01/template/tmpl/1/1/ due to
> com.cloud.utils.exception.CloudRuntimeException: can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/b8de3107-99c5-436b-80e2-8db65cefc232
> 2012-09-27 18:06:35,572 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-127:null) destoryVDIbyNameLabel failed due to there are 0 VDIs
> with name cloud-044a4a75-7d77-4267-a75a-ef4083103f15
> 2012-09-27 18:06:35,572 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-127:null) can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/49e30cd7-d8ef-40cb-abee-e52633914d07
> 2012-09-27 18:06:35,572 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-127:null) Catch Exception
> com.cloud.utils.exception.CloudRuntimeException on
> host:1c00b0b7-bfa7-401d-939e-c56c2b285f04 for template:
> nfs://nasgeny01/mnt/storage02/secondarystorage01/template/tmpl/1/1/ due to
> com.cloud.utils.exception.CloudRuntimeException: can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/49e30cd7-d8ef-40cb-abee-e52633914d07
> 2012-09-27 18:06:35,573 WARN  [cloud.vm.VirtualMachineManagerImpl]
> (DirectAgent-127:null) Cleanup failed due to Catch Exception
> com.cloud.utils.exception.CloudRuntimeException on
> host:1c00b0b7-bfa7-401d-939e-c56c2b285f04 for template:
> nfs://nasgeny01/mnt/storage02/secondarystorage01/template/tmpl/1/1/ due to
> com.cloud.utils.exception.CloudRuntimeException: can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/49e30cd7-d8ef-40cb-abee-e52633914d07
> 2012-09-27 18:06:35,573 WARN  [cloud.vm.VirtualMachineManagerImpl]
> (consoleproxy-1:null) Cleanup failed due to Catch Exception
> com.cloud.utils.exception.CloudRuntimeException on
> host:1c00b0b7-bfa7-401d-939e-c56c2b285f04 for template:
> nfs://nasgeny01/mnt/storage02/secondarystorage01/template/tmpl/1/1/ due to
> com.cloud.utils.exception.CloudRuntimeException: can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/49e30cd7-d8ef-40cb-abee-e52633914d07
> 2012-09-27 18:06:36,235 WARN  [cloud.consoleproxy.ConsoleProxyManagerImpl]
> (consoleproxy-1:null) Exception while trying to start console proxy
> 2012-09-27 18:06:38,540 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-218:null) destoryVDIbyNameLabel failed due to there are 0 VDIs
> with name cloud-0c5d3afd-4e8a-40f2-ade0-438a726a6c37
> 2012-09-27 18:06:38,541 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-218:null) can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/0ab00d3a-69c4-4aec-95fd-9ec45673a26b
> 2012-09-27 18:06:38,541 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-218:null) Catch Exception
> com.cloud.utils.exception.CloudRuntimeException on
> host:1c00b0b7-bfa7-401d-939e-c56c2b285f04 for template:
> nfs://nasgeny01/mnt/storage02/secondarystorage01/template/tmpl/1/1/ due to
> com.cloud.utils.exception.CloudRuntimeException: can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/0ab00d3a-69c4-4aec-95fd-9ec45673a26b
> 2012-09-27 18:06:38,542 WARN  [cloud.vm.VirtualMachineManagerImpl]
> (DirectAgent-218:null) Cleanup failed due to Catch Exception
> com.cloud.utils.exception.CloudRuntimeException on
> host:1c00b0b7-bfa7-401d-939e-c56c2b285f04 for template:
> nfs://nasgeny01/mnt/storage02/secondarystorage01/template/tmpl/1/1/ due to
> com.cloud.utils.exception.CloudRuntimeException: can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/0ab00d3a-69c4-4aec-95fd-9ec45673a26b
> 2012-09-27 18:06:38,542 WARN  [cloud.vm.VirtualMachineManagerImpl]
> (secstorage-1:null) Cleanup failed due to Catch Exception
> com.cloud.utils.exception.CloudRuntimeException on
> host:1c00b0b7-bfa7-401d-939e-c56c2b285f04 for template:
> nfs://nasgeny01/mnt/storage02/secondarystorage01/template/tmpl/1/1/ due to
> com.cloud.utils.exception.CloudRuntimeException: can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/0ab00d3a-69c4-4aec-95fd-9ec45673a26b
> 2012-09-27 18:06:40,820 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-222:null) destoryVDIbyNameLabel failed due to there are 0 VDIs
> with name cloud-d1e31d76-58d4-456d-ba0a-6d267aec17b0
> 2012-09-27 18:06:40,821 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-222:null) can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/2d2591f7-3ef8-413a-8586-8647cf5a4f55
> 2012-09-27 18:06:40,821 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-222:null) Catch Exception
> com.cloud.utils.exception.CloudRuntimeException on
> host:1c00b0b7-bfa7-401d-939e-c56c2b285f04 for template:
> nfs://nasgeny01/mnt/storage02/secondarystorage01/template/tmpl/1/1/ due to
> com.cloud.utils.exception.CloudRuntimeException: can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/2d2591f7-3ef8-413a-8586-8647cf5a4f55
> 2012-09-27 18:06:40,822 WARN  [cloud.vm.VirtualMachineManagerImpl]
> (DirectAgent-222:null) Cleanup failed due to Catch Exception
> com.cloud.utils.exception.CloudRuntimeException on
> host:1c00b0b7-bfa7-401d-939e-c56c2b285f04 for template:
> nfs://nasgeny01/mnt/storage02/secondarystorage01/template/tmpl/1/1/ due to
> com.cloud.utils.exception.CloudRuntimeException: can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/2d2591f7-3ef8-413a-8586-8647cf5a4f55
> 2012-09-27 18:06:40,822 WARN  [cloud.vm.VirtualMachineManagerImpl]
> (secstorage-1:null) Cleanup failed due to Catch Exception
> com.cloud.utils.exception.CloudRuntimeException on
> host:1c00b0b7-bfa7-401d-939e-c56c2b285f04 for template:
> nfs://nasgeny01/mnt/storage02/secondarystorage01/template/tmpl/1/1/ due to
> com.cloud.utils.exception.CloudRuntimeException: can't mount
> nasgeny01:/mnt/storage02/secondarystorage01/template/tmpl/1/1 to
> /var/run/cloud_mount/2d2591f7-3ef8-413a-8586-8647cf5a4f55
> 2012-09-27 18:06:41,576 WARN
>  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
> Exception while trying to start secondary storage vm
>
> Any one have idea what is wrong ?
>
> Regards
>

Mime
View raw message