You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Maurice Lawler <ma...@me.com> on 2013/08/16 00:32:48 UTC

Single Server | Advanced Mode | KVM | Cent OS 6.4

Hello,

I'm working with KVM | CloudStack 4.1.1 | CentOS 6.4, I am running into a issue where it goes through all the motions of setting up just fine. However, I notice when it attempts to download the CentOS template it fails,  with error message: No Route To Host. I am utilizing two subnets one /27 and another /29; this works without issue in basic mode. 

My thought is this, I am obviously missing an important step in Advanced Mode setup, is there a need (or a step) that states to create virtual network interfaces on the host server? If there, I am not seeing that step; as when I sign into the System VM's (which provision and come online without issue) I can ping the gateway of the /27 without issue; however, it does not permit my downloading (No Route to Host) along with that, I cannot resolve DNS of any kind of the Console Proxy VM /  Secondary Storage VM.

If anyone can guide me into the right direction that would be greatly appreciated !

 - Maurice

Re: Single Server | Advanced Mode | KVM | Cent OS 6.4

Posted by Marcus Sorensen <sh...@gmail.com>.
Something isn't right if it is trying to create a cloudbr0... I haven't
seen it do that with these configs. Your agent.properties file must not be
getting created/updated on host join, still referencing a non existent
bridge.
On Aug 15, 2013 11:17 PM, "Maurice Lawler" <ma...@me.com> wrote:

> SORRY! I forgot one important thing, I am able to proceed as normal while
> utilizing the basic zone. I just want to know why the advanced mode is
> giving me grief.
>
> - Maurice
> On Aug 16, 2013, at 1:02 AM, Maurice Lawler <ma...@me.com> wrote:
>
> > Actually, I corrected that issue now I am utilizing a /27 subnet which
> to me would mean that's more then enough IP's for both management / guest
> IPs, or am I wrong in this thinking;  it would appear to be as such.
> >
> > Now upon downloading the 5.5 CentOS image as it does when you set it up,
> I am getting this error:
> >
> > s: 10,
> [{"storage.DownloadAnswer":{"jobId":"9b72e224-388f-441d-a3ae-8ca48aac47b0","downloadPct":0,"errorString":"No
> route to
> host","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/dba6a4e8-6548-3688-864a-8f58cd5766dd/template/tmpl/1/4/dnld4673899116561514286tmp_","templateSize":0,"templatePhySicalSize":0,"checkSum":"ed0e788280ff2912ea40f7f91ca7a249","result":false,"details":"No
> route to host","wait":0}}] }
> >
> > Within the system VM, I am unable to ping out etc. Even when attempting
> to utilize another subnet I have, I am still haven the no route to host.
> >
> > Any suggestions on how to fix this ?
> >
> > - Maurice
> >
> >
> > On Aug 16, 2013, at 12:34 AM, Maurice Lawler <ma...@me.com>
> wrote:
> >
> >> I have reviewed the links you provided (namely one nick) I made the
> interfaces as described, however, upon starting the setup process it stalls
> out (failed network) because cloudstack creates cloudbr0 which is not what
> I set up,so it does not pass through the connections. I had to go in a
> revert the changes cloud stack had made to regain control over my server.
> >>
> >> At this time, I'm unable to add my host, it says connection failed, I
> am able to sign into SSH without any issues and ping it none the less.
> >>
> >> Error message is:
> >>
> >> 2013-08-16 00:24:52,199 DEBUG [kvm.discoverer.KvmServerDiscoverer]
> (catalina-exec-17:null) Timeout, to wait for the host connecting to mgt
> svr, assuming it is failed
> >> 2013-08-16 00:24:52,201 WARN  [cloud.resource.ResourceManagerImpl]
> (catalina-exec-17:null) Unable to find the server resources at
> http://MYACTUALIPADDRESS
> >> 2013-08-16 00:24:52,209 INFO  [utils.exception.CSExceptionErrorCode]
> (catalina-exec-17:null) Could not find exception:
> com.cloud.exception.DiscoveryException in error code list for exceptions
> >> 2013-08-16 00:24:52,209 WARN  [admin.host.AddHostCmd]
> (catalina-exec-17:null) Exception:
> >> com.cloud.exception.DiscoveryException: Unable to add the host
> >>      at
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:867)
> >>      at
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:619)
> >>      at
> org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
> >>      at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
> >>      at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505)
> >>      at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355)
> >>      at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
> >>      at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
> >>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> >>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >>      at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >>      at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>      at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> >>      at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >>      at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> >>      at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >>      at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
> >>      at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >>      at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> >>      at
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
> >>      at
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
> >>      at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
> >>      at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> >>      at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> >>      at java.lang.Thread.run(Thread.java:679)
> >> 2013-08-16 00:24:52,210 INFO  [cloud.api.ApiServer]
> (catalina-exec-17:null) Unable to add the host
> >>
> >> My ifconfig shows cloudbr0 / eth0 / eth0.9 and localhost. What is odd,
> all the traffic is local, going through the local loop I am right now at 40
> megs and it's steadily increasing.
> >>
> >> Please inform me as to what I am missing……
> >>
> >>
> >> Maurice
> >> On Aug 15, 2013, at 7:07 PM, Marcus Sorensen <sh...@gmail.com>
> wrote:
> >>
> >>> You may be able to leverage the devcloud-kvm configuration as a
> >>> reference. You can either use marvin to deploy an edited version of
> >>> tools/devcloud-kvm/devcloud-kvm-advanced.cfg (just swapping out your
> >>> ip address ranges), or take a look at the example advanced KVM network
> >>> configs that I sent out awhile back:
> >>>
> http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-two-nic.rtf
> >>> and
> http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-one-nic.rtf
> >>> . I only mention these options because I've used them quite a bit, and
> >>> the public access has consistently worked fine.
> >>>
> >>> On Thu, Aug 15, 2013 at 4:32 PM, Maurice Lawler <ma...@me.com>
> wrote:
> >>>> Hello,
> >>>>
> >>>> I'm working with KVM | CloudStack 4.1.1 | CentOS 6.4, I am running
> into a issue where it goes through all the motions of setting up just fine.
> However, I notice when it attempts to download the CentOS template it
> fails,  with error message: No Route To Host. I am utilizing two subnets
> one /27 and another /29; this works without issue in basic mode.
> >>>>
> >>>> My thought is this, I am obviously missing an important step in
> Advanced Mode setup, is there a need (or a step) that states to create
> virtual network interfaces on the host server? If there, I am not seeing
> that step; as when I sign into the System VM's (which provision and come
> online without issue) I can ping the gateway of the /27 without issue;
> however, it does not permit my downloading (No Route to Host) along with
> that, I cannot resolve DNS of any kind of the Console Proxy VM /  Secondary
> Storage VM.
> >>>>
> >>>> If anyone can guide me into the right direction that would be greatly
> appreciated !
> >>>>
> >>>> - Maurice
> >>
> >
>
>

Re: Single Server | Advanced Mode | KVM | Cent OS 6.4

Posted by Maurice Lawler <ma...@me.com>.
SORRY! I forgot one important thing, I am able to proceed as normal while utilizing the basic zone. I just want to know why the advanced mode is giving me grief. 

- Maurice
On Aug 16, 2013, at 1:02 AM, Maurice Lawler <ma...@me.com> wrote:

> Actually, I corrected that issue now I am utilizing a /27 subnet which to me would mean that's more then enough IP's for both management / guest IPs, or am I wrong in this thinking;  it would appear to be as such.
> 
> Now upon downloading the 5.5 CentOS image as it does when you set it up, I am getting this error: 
> 
> s: 10, [{"storage.DownloadAnswer":{"jobId":"9b72e224-388f-441d-a3ae-8ca48aac47b0","downloadPct":0,"errorString":"No route to host","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/dba6a4e8-6548-3688-864a-8f58cd5766dd/template/tmpl/1/4/dnld4673899116561514286tmp_","templateSize":0,"templatePhySicalSize":0,"checkSum":"ed0e788280ff2912ea40f7f91ca7a249","result":false,"details":"No route to host","wait":0}}] }
> 
> Within the system VM, I am unable to ping out etc. Even when attempting to utilize another subnet I have, I am still haven the no route to host. 
> 
> Any suggestions on how to fix this ?
> 
> - Maurice
> 
> 
> On Aug 16, 2013, at 12:34 AM, Maurice Lawler <ma...@me.com> wrote:
> 
>> I have reviewed the links you provided (namely one nick) I made the interfaces as described, however, upon starting the setup process it stalls out (failed network) because cloudstack creates cloudbr0 which is not what I set up,so it does not pass through the connections. I had to go in a revert the changes cloud stack had made to regain control over my server. 
>> 
>> At this time, I'm unable to add my host, it says connection failed, I am able to sign into SSH without any issues and ping it none the less. 
>> 
>> Error message is: 
>> 
>> 2013-08-16 00:24:52,199 DEBUG [kvm.discoverer.KvmServerDiscoverer] (catalina-exec-17:null) Timeout, to wait for the host connecting to mgt svr, assuming it is failed
>> 2013-08-16 00:24:52,201 WARN  [cloud.resource.ResourceManagerImpl] (catalina-exec-17:null) Unable to find the server resources at http://MYACTUALIPADDRESS
>> 2013-08-16 00:24:52,209 INFO  [utils.exception.CSExceptionErrorCode] (catalina-exec-17:null) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions
>> 2013-08-16 00:24:52,209 WARN  [admin.host.AddHostCmd] (catalina-exec-17:null) Exception:
>> com.cloud.exception.DiscoveryException: Unable to add the host
>> 	at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:867)
>> 	at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:619)
>> 	at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
>> 	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
>> 	at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505)
>> 	at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355)
>> 	at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
>> 	at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>> 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>> 	at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>> 	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>> 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
>> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> 	at java.lang.Thread.run(Thread.java:679)
>> 2013-08-16 00:24:52,210 INFO  [cloud.api.ApiServer] (catalina-exec-17:null) Unable to add the host
>> 
>> My ifconfig shows cloudbr0 / eth0 / eth0.9 and localhost. What is odd, all the traffic is local, going through the local loop I am right now at 40 megs and it's steadily increasing. 
>> 
>> Please inform me as to what I am missing……
>> 
>> 
>> Maurice
>> On Aug 15, 2013, at 7:07 PM, Marcus Sorensen <sh...@gmail.com> wrote:
>> 
>>> You may be able to leverage the devcloud-kvm configuration as a
>>> reference. You can either use marvin to deploy an edited version of
>>> tools/devcloud-kvm/devcloud-kvm-advanced.cfg (just swapping out your
>>> ip address ranges), or take a look at the example advanced KVM network
>>> configs that I sent out awhile back:
>>> http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-two-nic.rtf
>>> and http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-one-nic.rtf
>>> . I only mention these options because I've used them quite a bit, and
>>> the public access has consistently worked fine.
>>> 
>>> On Thu, Aug 15, 2013 at 4:32 PM, Maurice Lawler <ma...@me.com> wrote:
>>>> Hello, 
>>>> 
>>>> I'm working with KVM | CloudStack 4.1.1 | CentOS 6.4, I am running into a issue where it goes through all the motions of setting up just fine. However, I notice when it attempts to download the CentOS template it fails,  with error message: No Route To Host. I am utilizing two subnets one /27 and another /29; this works without issue in basic mode.
>>>> 
>>>> My thought is this, I am obviously missing an important step in Advanced Mode setup, is there a need (or a step) that states to create virtual network interfaces on the host server? If there, I am not seeing that step; as when I sign into the System VM's (which provision and come online without issue) I can ping the gateway of the /27 without issue; however, it does not permit my downloading (No Route to Host) along with that, I cannot resolve DNS of any kind of the Console Proxy VM /  Secondary Storage VM.
>>>> 
>>>> If anyone can guide me into the right direction that would be greatly appreciated !
>>>> 
>>>> - Maurice
>> 
> 


Re: Single Server | Advanced Mode | KVM | Cent OS 6.4

Posted by Maurice Lawler <ma...@me.com>.
Actually, I corrected that issue now I am utilizing a /27 subnet which to me would mean that's more then enough IP's for both management / guest IPs, or am I wrong in this thinking;  it would appear to be as such.

Now upon downloading the 5.5 CentOS image as it does when you set it up, I am getting this error: 

s: 10, [{"storage.DownloadAnswer":{"jobId":"9b72e224-388f-441d-a3ae-8ca48aac47b0","downloadPct":0,"errorString":"No route to host","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/dba6a4e8-6548-3688-864a-8f58cd5766dd/template/tmpl/1/4/dnld4673899116561514286tmp_","templateSize":0,"templatePhySicalSize":0,"checkSum":"ed0e788280ff2912ea40f7f91ca7a249","result":false,"details":"No route to host","wait":0}}] }

Within the system VM, I am unable to ping out etc. Even when attempting to utilize another subnet I have, I am still haven the no route to host. 

Any suggestions on how to fix this ?

- Maurice


On Aug 16, 2013, at 12:34 AM, Maurice Lawler <ma...@me.com> wrote:

> I have reviewed the links you provided (namely one nick) I made the interfaces as described, however, upon starting the setup process it stalls out (failed network) because cloudstack creates cloudbr0 which is not what I set up,so it does not pass through the connections. I had to go in a revert the changes cloud stack had made to regain control over my server. 
> 
> At this time, I'm unable to add my host, it says connection failed, I am able to sign into SSH without any issues and ping it none the less. 
> 
> Error message is: 
> 
> 2013-08-16 00:24:52,199 DEBUG [kvm.discoverer.KvmServerDiscoverer] (catalina-exec-17:null) Timeout, to wait for the host connecting to mgt svr, assuming it is failed
> 2013-08-16 00:24:52,201 WARN  [cloud.resource.ResourceManagerImpl] (catalina-exec-17:null) Unable to find the server resources at http://MYACTUALIPADDRESS
> 2013-08-16 00:24:52,209 INFO  [utils.exception.CSExceptionErrorCode] (catalina-exec-17:null) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions
> 2013-08-16 00:24:52,209 WARN  [admin.host.AddHostCmd] (catalina-exec-17:null) Exception:
> com.cloud.exception.DiscoveryException: Unable to add the host
> 	at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:867)
> 	at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:619)
> 	at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
> 	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
> 	at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505)
> 	at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355)
> 	at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
> 	at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> 	at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
> 	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
> 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:679)
> 2013-08-16 00:24:52,210 INFO  [cloud.api.ApiServer] (catalina-exec-17:null) Unable to add the host
> 
> My ifconfig shows cloudbr0 / eth0 / eth0.9 and localhost. What is odd, all the traffic is local, going through the local loop I am right now at 40 megs and it's steadily increasing. 
> 
> Please inform me as to what I am missing……
> 
> 
> Maurice
> On Aug 15, 2013, at 7:07 PM, Marcus Sorensen <sh...@gmail.com> wrote:
> 
>> You may be able to leverage the devcloud-kvm configuration as a
>> reference. You can either use marvin to deploy an edited version of
>> tools/devcloud-kvm/devcloud-kvm-advanced.cfg (just swapping out your
>> ip address ranges), or take a look at the example advanced KVM network
>> configs that I sent out awhile back:
>> http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-two-nic.rtf
>> and http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-one-nic.rtf
>> . I only mention these options because I've used them quite a bit, and
>> the public access has consistently worked fine.
>> 
>> On Thu, Aug 15, 2013 at 4:32 PM, Maurice Lawler <ma...@me.com> wrote:
>>> Hello, 
>>> 
>>> I'm working with KVM | CloudStack 4.1.1 | CentOS 6.4, I am running into a issue where it goes through all the motions of setting up just fine. However, I notice when it attempts to download the CentOS template it fails,  with error message: No Route To Host. I am utilizing two subnets one /27 and another /29; this works without issue in basic mode.
>>> 
>>> My thought is this, I am obviously missing an important step in Advanced Mode setup, is there a need (or a step) that states to create virtual network interfaces on the host server? If there, I am not seeing that step; as when I sign into the System VM's (which provision and come online without issue) I can ping the gateway of the /27 without issue; however, it does not permit my downloading (No Route to Host) along with that, I cannot resolve DNS of any kind of the Console Proxy VM /  Secondary Storage VM.
>>> 
>>> If anyone can guide me into the right direction that would be greatly appreciated !
>>> 
>>> - Maurice
> 


Re: Single Server | Advanced Mode | KVM | Cent OS 6.4

Posted by Maurice Lawler <ma...@me.com>.
I have reviewed the links you provided (namely one nick) I made the interfaces as described, however, upon starting the setup process it stalls out (failed network) because cloudstack creates cloudbr0 which is not what I set up,so it does not pass through the connections. I had to go in a revert the changes cloud stack had made to regain control over my server. 

At this time, I'm unable to add my host, it says connection failed, I am able to sign into SSH without any issues and ping it none the less. 

Error message is: 

2013-08-16 00:24:52,199 DEBUG [kvm.discoverer.KvmServerDiscoverer] (catalina-exec-17:null) Timeout, to wait for the host connecting to mgt svr, assuming it is failed
2013-08-16 00:24:52,201 WARN  [cloud.resource.ResourceManagerImpl] (catalina-exec-17:null) Unable to find the server resources at http://MYACTUALIPADDRESS
2013-08-16 00:24:52,209 INFO  [utils.exception.CSExceptionErrorCode] (catalina-exec-17:null) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions
2013-08-16 00:24:52,209 WARN  [admin.host.AddHostCmd] (catalina-exec-17:null) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
	at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:867)
	at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:619)
	at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
	at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505)
	at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355)
	at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
	at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:679)
2013-08-16 00:24:52,210 INFO  [cloud.api.ApiServer] (catalina-exec-17:null) Unable to add the host

My ifconfig shows cloudbr0 / eth0 / eth0.9 and localhost. What is odd, all the traffic is local, going through the local loop I am right now at 40 megs and it's steadily increasing. 

Please inform me as to what I am missing……


Maurice
On Aug 15, 2013, at 7:07 PM, Marcus Sorensen <sh...@gmail.com> wrote:

> You may be able to leverage the devcloud-kvm configuration as a
> reference. You can either use marvin to deploy an edited version of
> tools/devcloud-kvm/devcloud-kvm-advanced.cfg (just swapping out your
> ip address ranges), or take a look at the example advanced KVM network
> configs that I sent out awhile back:
> http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-two-nic.rtf
> and http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-one-nic.rtf
> . I only mention these options because I've used them quite a bit, and
> the public access has consistently worked fine.
> 
> On Thu, Aug 15, 2013 at 4:32 PM, Maurice Lawler <ma...@me.com> wrote:
>> Hello, 
>> 
>> I'm working with KVM | CloudStack 4.1.1 | CentOS 6.4, I am running into a issue where it goes through all the motions of setting up just fine. However, I notice when it attempts to download the CentOS template it fails,  with error message: No Route To Host. I am utilizing two subnets one /27 and another /29; this works without issue in basic mode.
>> 
>> My thought is this, I am obviously missing an important step in Advanced Mode setup, is there a need (or a step) that states to create virtual network interfaces on the host server? If there, I am not seeing that step; as when I sign into the System VM's (which provision and come online without issue) I can ping the gateway of the /27 without issue; however, it does not permit my downloading (No Route to Host) along with that, I cannot resolve DNS of any kind of the Console Proxy VM /  Secondary Storage VM.
>> 
>> If anyone can guide me into the right direction that would be greatly appreciated !
>> 
>> - Maurice


Re: Single Server | Advanced Mode | KVM | Cent OS 6.4

Posted by Marcus Sorensen <sh...@gmail.com>.
You may be able to leverage the devcloud-kvm configuration as a
reference. You can either use marvin to deploy an edited version of
tools/devcloud-kvm/devcloud-kvm-advanced.cfg (just swapping out your
ip address ranges), or take a look at the example advanced KVM network
configs that I sent out awhile back:
http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-two-nic.rtf
and http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-one-nic.rtf
. I only mention these options because I've used them quite a bit, and
the public access has consistently worked fine.

On Thu, Aug 15, 2013 at 4:32 PM, Maurice Lawler <ma...@me.com> wrote:
> Hello,
>
> I'm working with KVM | CloudStack 4.1.1 | CentOS 6.4, I am running into a issue where it goes through all the motions of setting up just fine. However, I notice when it attempts to download the CentOS template it fails,  with error message: No Route To Host. I am utilizing two subnets one /27 and another /29; this works without issue in basic mode.
>
> My thought is this, I am obviously missing an important step in Advanced Mode setup, is there a need (or a step) that states to create virtual network interfaces on the host server? If there, I am not seeing that step; as when I sign into the System VM's (which provision and come online without issue) I can ping the gateway of the /27 without issue; however, it does not permit my downloading (No Route to Host) along with that, I cannot resolve DNS of any kind of the Console Proxy VM /  Secondary Storage VM.
>
> If anyone can guide me into the right direction that would be greatly appreciated !
>
>  - Maurice

Re: Single Server | Advanced Mode | KVM | Cent OS 6.4

Posted by Venkata SwamyBabu Budumuru <ve...@citrix.com>.
Please have a look at the following troubleshooting guide

https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Sec
ondary+storage+troubleshooting


On 16/08/13 3:29 PM, "Thomas Joseph" <t....@imperial.ac.uk> wrote:

>Hi Maurice,
>
>    Have you tried test mounting the secondary storage onto the
>secondary storage VM?
>
>updating the /etc/resolv.conf on your secondary storage may resolve your
>DNS lookup issues.
>
>regards,
>Thomas
>
>On 15/08/13 23:32, Maurice Lawler wrote:
>> Hello,
>> 
>> I'm working with KVM | CloudStack 4.1.1 | CentOS 6.4, I am running into
>>a issue where it goes through all the motions of setting up just fine.
>>However, I notice when it attempts to download the CentOS template it
>>fails,  with error message: No Route To Host. I am utilizing two subnets
>>one /27 and another /29; this works without issue in basic mode.
>> 
>> My thought is this, I am obviously missing an important step in
>>Advanced Mode setup, is there a need (or a step) that states to create
>>virtual network interfaces on the host server? If there, I am not seeing
>>that step; as when I sign into the System VM's (which provision and come
>>online without issue) I can ping the gateway of the /27 without issue;
>>however, it does not permit my downloading (No Route to Host) along with
>>that, I cannot resolve DNS of any kind of the Console Proxy VM /
>>Secondary Storage VM.
>> 
>> If anyone can guide me into the right direction that would be greatly
>>appreciated !
>> 
>>  - Maurice
>> 
>


Re: Single Server | Advanced Mode | KVM | Cent OS 6.4

Posted by Thomas Joseph <t....@imperial.ac.uk>.
Hi Maurice,

    Have you tried test mounting the secondary storage onto the
secondary storage VM?

updating the /etc/resolv.conf on your secondary storage may resolve your
DNS lookup issues.

regards,
Thomas

On 15/08/13 23:32, Maurice Lawler wrote:
> Hello,
> 
> I'm working with KVM | CloudStack 4.1.1 | CentOS 6.4, I am running into a issue where it goes through all the motions of setting up just fine. However, I notice when it attempts to download the CentOS template it fails,  with error message: No Route To Host. I am utilizing two subnets one /27 and another /29; this works without issue in basic mode. 
> 
> My thought is this, I am obviously missing an important step in Advanced Mode setup, is there a need (or a step) that states to create virtual network interfaces on the host server? If there, I am not seeing that step; as when I sign into the System VM's (which provision and come online without issue) I can ping the gateway of the /27 without issue; however, it does not permit my downloading (No Route to Host) along with that, I cannot resolve DNS of any kind of the Console Proxy VM /  Secondary Storage VM.
> 
> If anyone can guide me into the right direction that would be greatly appreciated !
> 
>  - Maurice
> 


Re: Single Server | Advanced Mode | KVM | Cent OS 6.4

Posted by Marcus Sorensen <sh...@gmail.com>.
You may be able to leverage the devcloud-kvm configuration as a
reference. You can either use marvin to deploy an edited version of
tools/devcloud-kvm/devcloud-kvm-advanced.cfg (just swapping out your
ip address ranges), or take a look at the example advanced KVM network
configs that I sent out awhile back:
http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-two-nic.rtf
and http://marcus.mlsorensen.com/cloudstack-extras/cs-4.1-kvm-networking-one-nic.rtf
. I only mention these options because I've used them quite a bit, and
the public access has consistently worked fine.

On Thu, Aug 15, 2013 at 4:32 PM, Maurice Lawler <ma...@me.com> wrote:
> Hello,
>
> I'm working with KVM | CloudStack 4.1.1 | CentOS 6.4, I am running into a issue where it goes through all the motions of setting up just fine. However, I notice when it attempts to download the CentOS template it fails,  with error message: No Route To Host. I am utilizing two subnets one /27 and another /29; this works without issue in basic mode.
>
> My thought is this, I am obviously missing an important step in Advanced Mode setup, is there a need (or a step) that states to create virtual network interfaces on the host server? If there, I am not seeing that step; as when I sign into the System VM's (which provision and come online without issue) I can ping the gateway of the /27 without issue; however, it does not permit my downloading (No Route to Host) along with that, I cannot resolve DNS of any kind of the Console Proxy VM /  Secondary Storage VM.
>
> If anyone can guide me into the right direction that would be greatly appreciated !
>
>  - Maurice