Re: dreaded 'there is no secondary storage vm for ...'

2013-10-02 Thread sebgoa

On Oct 2, 2013, at 2:25 PM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 Sebastien,
 
 If the web server hosting the template is on the same network as the 
 management server, you need to configure  the following global setting with 
 the IP range
 
 secstorage.allowed.internal.sites
 

I did that thanks, but my secondary storage is not mounted in the ssvm.

I can mount it by hand, the ssvm is up, yet I get:

 There is no secondary storage VM for secondary storage host 
 nfs://192.168.38.100/export/secondary


-sebastien

 
 
 Regards
 
 Geoff Higginbottom
 
 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
 geoff.higginbot...@shapeblue.com
 
 -Original Message-
 From: sebgoa [mailto:run...@gmail.com]
 Sent: 02 October 2013 13:06
 To: users@cloudstack.apache.org
 Subject: dreaded 'there is no secondary storage vm for ...'
 
 HI,
 
 I am setting up basic zone. I have one mgt, one hypervisor (KVM, Ubuntu 
 12.04), I am on ACS 4.1.1
 
 Everything seems fine, the ssvm starts, I can log into it. Everything is on a 
 private network without outside connectivity.
 
 I am serving a template from that private network.
 From the ssvm I can ping the mgt server and the hypervisor, I can also mount 
 the secondary storage by hand.
 
 However it does not get mounted automatically and when I try to register the 
 template I get the dreaded:
 
 2013-10-02 05:00:13,407 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) 
 ===START===  172.16.153.1 -- GET  
 command=registerTemplateresponse=jsonsessionkey=ErhEwVpkdKXC3br3zZUoAyaFY7E%3Dname=totodisplayText=totourl=http%3A%2F%2F192.168.38.100%3A80%2Ftinylinux.qcow2zoneid=-1format=QCOW2isextractable=falsepasswordEnabled=falseosTypeId=278f54ca-29d1-11e3-9b24-000c290705d2hypervisor=KVMispublic=trueisfeatured=true_=1380715213357
 2013-10-02 05:00:13,452 WARN  [storage.download.DownloadMonitorImpl] 
 (catalina-exec-20:null) There is no secondary storage VM for secondary 
 storage host nfs://192.168.38.100/export/secondary
 
 I am at a loss on this one..
 
 -sebastien
 This email and any attachments to it may be confidential and are intended 
 solely for the use of the individual to whom it is addressed. Any views or 
 opinions expressed are solely those of the author and do not necessarily 
 represent those of Shape Blue Ltd or related companies. If you are not the 
 intended recipient of this email, you must neither take any action based upon 
 its contents, nor copy or show it to anyone. Please contact the sender if you 
 believe you have received this email in error. Shape Blue Ltd is a company 
 incorporated in England  Wales. ShapeBlue Services India LLP is a company 
 incorporated in India and is operated under license from Shape Blue Ltd. 
 Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
 operated under license from Shape Blue Ltd. ShapeBlue is a registered 
 trademark.



Re: dreaded 'there is no secondary storage vm for ...'

2013-10-02 Thread sebgoa

On Oct 2, 2013, at 3:28 PM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 Did you by chance configure the 'Storage' network when you created the Zone
 

Found the issue, the host IP of the mgt server was wrong ( I have two 
interfaces) and the ssvm was on private network.
Fixed that and the templates are downloading, but it's stuck at 99% in the 
UI….hunting that one now 

 Regards
 
 Geoff Higginbottom
 
 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
 geoff.higginbot...@shapeblue.com
 
 -Original Message-
 From: sebgoa [mailto:run...@gmail.com]
 Sent: 02 October 2013 14:13
 To: users@cloudstack.apache.org
 Subject: Re: dreaded 'there is no secondary storage vm for ...'
 
 
 On Oct 2, 2013, at 2:25 PM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:
 
 Sebastien,
 
 If the web server hosting the template is on the same network as the 
 management server, you need to configure  the following global setting with 
 the IP range
 
 secstorage.allowed.internal.sites
 
 
 I did that thanks, but my secondary storage is not mounted in the ssvm.
 
 I can mount it by hand, the ssvm is up, yet I get:
 
 There is no secondary storage VM for secondary storage host 
 nfs://192.168.38.100/export/secondary
 
 
 -sebastien
 
 
 
 Regards
 
 Geoff Higginbottom
 
 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
 geoff.higginbot...@shapeblue.com
 
 -Original Message-
 From: sebgoa [mailto:run...@gmail.com]
 Sent: 02 October 2013 13:06
 To: users@cloudstack.apache.org
 Subject: dreaded 'there is no secondary storage vm for ...'
 
 HI,
 
 I am setting up basic zone. I have one mgt, one hypervisor (KVM, Ubuntu 
 12.04), I am on ACS 4.1.1
 
 Everything seems fine, the ssvm starts, I can log into it. Everything is on 
 a private network without outside connectivity.
 
 I am serving a template from that private network.
 From the ssvm I can ping the mgt server and the hypervisor, I can also mount 
 the secondary storage by hand.
 
 However it does not get mounted automatically and when I try to register the 
 template I get the dreaded:
 
 2013-10-02 05:00:13,407 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) 
 ===START===  172.16.153.1 -- GET  
 command=registerTemplateresponse=jsonsessionkey=ErhEwVpkdKXC3br3zZUoAyaFY7E%3Dname=totodisplayText=totourl=http%3A%2F%2F192.168.38.100%3A80%2Ftinylinux.qcow2zoneid=-1format=QCOW2isextractable=falsepasswordEnabled=falseosTypeId=278f54ca-29d1-11e3-9b24-000c290705d2hypervisor=KVMispublic=trueisfeatured=true_=1380715213357
 2013-10-02 05:00:13,452 WARN  [storage.download.DownloadMonitorImpl] 
 (catalina-exec-20:null) There is no secondary storage VM for secondary 
 storage host nfs://192.168.38.100/export/secondary
 
 I am at a loss on this one..
 
 -sebastien
 This email and any attachments to it may be confidential and are intended 
 solely for the use of the individual to whom it is addressed. Any views or 
 opinions expressed are solely those of the author and do not necessarily 
 represent those of Shape Blue Ltd or related companies. If you are not the 
 intended recipient of this email, you must neither take any action based 
 upon its contents, nor copy or show it to anyone. Please contact the sender 
 if you believe you have received this email in error. Shape Blue Ltd is a 
 company incorporated in England  Wales. ShapeBlue Services India LLP is a 
 company incorporated in India and is operated under license from Shape Blue 
 Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil 
 and is operated under license from Shape Blue Ltd. ShapeBlue is a registered 
 trademark.
 
 This email and any attachments to it may be confidential and are intended 
 solely for the use of the individual to whom it is addressed. Any views or 
 opinions expressed are solely those of the author and do not necessarily 
 represent those of Shape Blue Ltd or related companies. If you are not the 
 intended recipient of this email, you must neither take any action based upon 
 its contents, nor copy or show it to anyone. Please contact the sender if you 
 believe you have received this email in error. Shape Blue Ltd is a company 
 incorporated in England  Wales. ShapeBlue Services India LLP is a company 
 incorporated in India and is operated under license from Shape Blue Ltd. 
 Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
 operated under license from Shape Blue Ltd. ShapeBlue is a registered 
 trademark.



Re: dreaded 'there is no secondary storage vm for ...'

2013-10-02 Thread sebgoa

On Oct 2, 2013, at 3:43 PM, sebgoa run...@gmail.com wrote:

 
 On Oct 2, 2013, at 3:28 PM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:
 
 Did you by chance configure the 'Storage' network when you created the Zone
 
 
 Found the issue, the host IP of the mgt server was wrong ( I have two 
 interfaces) and the ssvm was on private network.
 Fixed that and the templates are downloading, but it's stuck at 99% in the 
 UI….hunting that one now 

It works fine if I register an ISO, but for a qcow2 image (KVM hypervisor), the 
download happens and completes (file totally downloaded on systemvm mounted 
secondary storage), but the percentage completion of the download on the UI is 
stuck 99%, 84%, 67%….

Any idea why the mgt server would not think that the template has finished 
downloading ?


 
 Regards
 
 Geoff Higginbottom
 
 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
 geoff.higginbot...@shapeblue.com
 
 -Original Message-
 From: sebgoa [mailto:run...@gmail.com]
 Sent: 02 October 2013 14:13
 To: users@cloudstack.apache.org
 Subject: Re: dreaded 'there is no secondary storage vm for ...'
 
 
 On Oct 2, 2013, at 2:25 PM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:
 
 Sebastien,
 
 If the web server hosting the template is on the same network as the 
 management server, you need to configure  the following global setting with 
 the IP range
 
 secstorage.allowed.internal.sites
 
 
 I did that thanks, but my secondary storage is not mounted in the ssvm.
 
 I can mount it by hand, the ssvm is up, yet I get:
 
 There is no secondary storage VM for secondary storage host 
 nfs://192.168.38.100/export/secondary
 
 
 -sebastien
 
 
 
 Regards
 
 Geoff Higginbottom
 
 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
 
 geoff.higginbot...@shapeblue.com
 
 -Original Message-
 From: sebgoa [mailto:run...@gmail.com]
 Sent: 02 October 2013 13:06
 To: users@cloudstack.apache.org
 Subject: dreaded 'there is no secondary storage vm for ...'
 
 HI,
 
 I am setting up basic zone. I have one mgt, one hypervisor (KVM, Ubuntu 
 12.04), I am on ACS 4.1.1
 
 Everything seems fine, the ssvm starts, I can log into it. Everything is on 
 a private network without outside connectivity.
 
 I am serving a template from that private network.
 From the ssvm I can ping the mgt server and the hypervisor, I can also 
 mount the secondary storage by hand.
 
 However it does not get mounted automatically and when I try to register 
 the template I get the dreaded:
 
 2013-10-02 05:00:13,407 DEBUG [cloud.api.ApiServlet] 
 (catalina-exec-20:null) ===START===  172.16.153.1 -- GET  
 command=registerTemplateresponse=jsonsessionkey=ErhEwVpkdKXC3br3zZUoAyaFY7E%3Dname=totodisplayText=totourl=http%3A%2F%2F192.168.38.100%3A80%2Ftinylinux.qcow2zoneid=-1format=QCOW2isextractable=falsepasswordEnabled=falseosTypeId=278f54ca-29d1-11e3-9b24-000c290705d2hypervisor=KVMispublic=trueisfeatured=true_=1380715213357
 2013-10-02 05:00:13,452 WARN  [storage.download.DownloadMonitorImpl] 
 (catalina-exec-20:null) There is no secondary storage VM for secondary 
 storage host nfs://192.168.38.100/export/secondary
 
 I am at a loss on this one..
 
 -sebastien
 This email and any attachments to it may be confidential and are intended 
 solely for the use of the individual to whom it is addressed. Any views or 
 opinions expressed are solely those of the author and do not necessarily 
 represent those of Shape Blue Ltd or related companies. If you are not the 
 intended recipient of this email, you must neither take any action based 
 upon its contents, nor copy or show it to anyone. Please contact the sender 
 if you believe you have received this email in error. Shape Blue Ltd is a 
 company incorporated in England  Wales. ShapeBlue Services India LLP is a 
 company incorporated in India and is operated under license from Shape Blue 
 Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil 
 and is operated under license from Shape Blue Ltd. ShapeBlue is a 
 registered trademark.
 
 This email and any attachments to it may be confidential and are intended 
 solely for the use of the individual to whom it is addressed. Any views or 
 opinions expressed are solely those of the author and do not necessarily 
 represent those of Shape Blue Ltd or related companies. If you are not the 
 intended recipient of this email, you must neither take any action based 
 upon its contents, nor copy or show it to anyone. Please contact the sender 
 if you believe you have received this email in error. Shape Blue Ltd is a 
 company incorporated in England  Wales. ShapeBlue Services India LLP is a 
 company incorporated in India and is operated under license from Shape Blue 
 Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil 
 and is operated under license from Shape Blue Ltd. ShapeBlue is a registered 
 trademark.