You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Deepti Dohare <de...@citrix.com> on 2012/05/24 21:01:02 UTC

Problem in Uploading templates on Vbox . Error log message : "There is no secondary storage VM for secondary storage host nfs://secondary"

Hi,

I installed the management server on my Oracle VBox and after I have completed with the installation wizard  ,I am not able to  see the CentOS built-in template listed under the templates tab on the  dashboard.
Error message: There is no secondary storage VM for secondary storage host nfs://10.102.123.240/cloudstack/deepthi/secondary

I run the script /usr/local/cloud/systemvm/ssvm-check.sh in SSVM to check health

=============================================
Management server is 10.0.3.15. Checking connectivity.
ERROR: Cannot connect to 10.0.3.15 port 8250
2012/05/24 08:59:22 socat[3375] E connecting to AF=2 10.0.3.15:8250: Connection timed out
=============================================

The SSVM was not able to ping my management server.  The ip stored in the configuration table under cloud database stores  the private ip of VBox and  not the public ip.
So, manually changed the IP (UPDATE configuration SET value='public ip' WHERE name LIKE 'host') of MS in database configuration table and opened  the port.

./ usr/local/cloud/systemvm/ssvm-check.sh
=============================================
NFS is currently mounted
Mount point is /mnt/SecStorage/7a3ca999-450a-3d33-a287-2aaa4add5ffd
Good: Can write to mount point
Management server is 10.103.2.76. Checking connectivity.
Good: Can connect to management server port 8250
Good: Java process is running
==============================================
It worked.

People who use Vbox can try it out and let me know if it worked for them too in  case they were also stuck in the same enigma.

Thanks,
Deepti




RE: Problem in Uploading templates on Vbox . Error log message : "There is no secondary storage VM for secondary storage host nfs://secondary"

Posted by Pranav Saxena <pr...@citrix.com>.
Great analysis Deepti. I happen to use Vbox for running my management server on Ubuntu  . Thanks to you , I am no more a victim of this paradox .The template got downloaded successfully at last . Now I can launch instances in a flash !
Just adding some more info - For fetching the public IP , your Vbox should have the Network Adapter  as "Bridged"  which is otherwise set to  "NAT" by default. 

Regards,
Pranav

-----Original Message-----
From: Deepti Dohare [mailto:deepti.dohare@citrix.com] 
Sent: Friday, May 25, 2012 12:31 AM
To: cloudstack-users@incubator.apache.org
Subject: Problem in Uploading templates on Vbox . Error log message : "There is no secondary storage VM for secondary storage host nfs://secondary"

Hi,

I installed the management server on my Oracle VBox and after I have completed with the installation wizard  ,I am not able to  see the CentOS built-in template listed under the templates tab on the  dashboard.
Error message: There is no secondary storage VM for secondary storage host nfs://10.102.123.240/cloudstack/deepthi/secondary

I run the script /usr/local/cloud/systemvm/ssvm-check.sh in SSVM to check health

=============================================
Management server is 10.0.3.15. Checking connectivity.
ERROR: Cannot connect to 10.0.3.15 port 8250
2012/05/24 08:59:22 socat[3375] E connecting to AF=2 10.0.3.15:8250: Connection timed out =============================================

The SSVM was not able to ping my management server.  The ip stored in the configuration table under cloud database stores  the private ip of VBox and  not the public ip.
So, manually changed the IP (UPDATE configuration SET value='public ip' WHERE name LIKE 'host') of MS in database configuration table and opened  the port.

./ usr/local/cloud/systemvm/ssvm-check.sh
=============================================
NFS is currently mounted
Mount point is /mnt/SecStorage/7a3ca999-450a-3d33-a287-2aaa4add5ffd
Good: Can write to mount point
Management server is 10.103.2.76. Checking connectivity.
Good: Can connect to management server port 8250
Good: Java process is running
==============================================
It worked.

People who use Vbox can try it out and let me know if it worked for them too in  case they were also stuck in the same enigma.

Thanks,
Deepti




RE: Problem in Uploading templates on Vbox . Error log message : "There is no secondary storage VM for secondary storage host nfs://secondary"

Posted by Rajesh Battala <ra...@citrix.com>.
Thanks for the info

> -----Original Message-----
> From: Deepti Dohare [mailto:deepti.dohare@citrix.com]
> Sent: Friday, May 25, 2012 12:31 AM
> To: cloudstack-users@incubator.apache.org
> Subject: Problem in Uploading templates on Vbox . Error log message :
> "There is no secondary storage VM for secondary storage host
> nfs://secondary"
> 
> Hi,
> 
> I installed the management server on my Oracle VBox and after I have
> completed with the installation wizard  ,I am not able to  see the CentOS
> built-in template listed under the templates tab on the  dashboard.
> Error message: There is no secondary storage VM for secondary storage host
> nfs://10.102.123.240/cloudstack/deepthi/secondary
> 
> I run the script /usr/local/cloud/systemvm/ssvm-check.sh in SSVM to check
> health
> 
> =============================================
> Management server is 10.0.3.15. Checking connectivity.
> ERROR: Cannot connect to 10.0.3.15 port 8250
> 2012/05/24 08:59:22 socat[3375] E connecting to AF=2 10.0.3.15:8250:
> Connection timed out
> =============================================
> 
> The SSVM was not able to ping my management server.  The ip stored in the
> configuration table under cloud database stores  the private ip of VBox and
> not the public ip.
> So, manually changed the IP (UPDATE configuration SET value='public ip'
> WHERE name LIKE 'host') of MS in database configuration table and opened
> the port.
> 
> ./ usr/local/cloud/systemvm/ssvm-check.sh
> =============================================
> NFS is currently mounted
> Mount point is /mnt/SecStorage/7a3ca999-450a-3d33-a287-2aaa4add5ffd
> Good: Can write to mount point
> Management server is 10.103.2.76. Checking connectivity.
> Good: Can connect to management server port 8250
> Good: Java process is running
> ==============================================
> It worked.
> 
> People who use Vbox can try it out and let me know if it worked for them too
> in  case they were also stuck in the same enigma.
> 
> Thanks,
> Deepti
> 
>