I followed that guide.

Sorry but the network wasn't properly configured. I configure it good now.

My real error is related with the network configuration.
I configure the virtual bridges like shows the guide. I'm not sure if there
is necesary to use OpenVswitch (point 8.1.8). The problem is when I reboot
my agent, the network is unavailable. No ping to manager, neither to 8.8.8.8

The network configuration is:

# cat
>> ​/etc/network/​
>> interfaces
>
> auto lo
>
> iface lo inet loopback
>
> auto eth0.100
>
> iface eth0.100 inet static
>
>         address 192.168.0.170
>
>         netmask 255.255.255.0
>
>         gateway 192.168.0.1
>
>
>> # Public network
>
> auto cloudbr0
>
> iface cloudbr0 inet manual
>
>     bridge_ports eth0.200
>
>     bridge_fd 5
>
>     bridge_stp off
>
>     bridge_maxwait 1
>
>
>> # Private network
>
> auto cloudbr1
>
> iface cloudbr1 inet manual
>
>     bridge_ports eth0.300
>
>     bridge_fd 5
>
>     bridge_stp off
>
>     bridge_maxwait 1
>
>
>
THen I reboot my system. After it, network is unavailable. `ip a` command
shows eth0, eth0.200 and eth0.300 interfaces, right these:
http://pastebin.com/TsTmUjX1. Agent log says that can't connect to the host
(obviously):

> 2014-05-19 12:05:35,159 INFO  [kvm.resource.LibvirtComputingResource]
>> (main:null) No libvirt.vif.driver specififed. Defaults to BridgeVifDriver.
>
> 2014-05-19 12:05:35,241 INFO  [cloud.agent.Agent] (main:null) Agent [id =
>> new : type = LibvirtComputingResource : zone = default : pod = default :
>> workers = 5 : host = 192.168.0.102 : port = 8250
>
> 2014-05-19 12:05:35,251 INFO  [utils.nio.NioClient] (Agent-Selector:null)
>> Connecting to 192.168.0.102:8250
>
> 2014-05-19 12:05:38,251 ERROR [utils.nio.NioConnection]
>> (Agent-Selector:null) Unable to initialize the threads.
>
> java.net.NoRouteToHostException: No route to host
>
>         at sun.nio.ch.Net.connect(Native Method)
>
>         at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:534)
>
>         at com.cloud.utils.nio.NioClient.init(NioClient.java:64)
>
>         at com.cloud.utils.nio.NioConnection.run(NioConnection.java:108)
>
>         at java.lang.Thread.run(Thread.java:701)
>
> 2014-05-19 12:05:43,256 INFO  [utils.nio.NioClient] (Agent-Selector:null)
>> Connecting to 192.168.0.102:8250
>
> 2014-05-19 12:05:46,253 ERROR [utils.nio.NioConnection]
>> (Agent-Selector:null) Unable to initialize the threads.
>
> java.net.NoRouteToHostException: No route to host
>
> ​And the ERROR is repeated again and again.​


Thanks for your help

Un saludo
Sergio Soto
___________________________________________________________________

*"The optimist always has a project, the pessimist, an excuse."*

*Anonymous.*


On Mon, May 19, 2014 at 11:04 AM, Koushik Das <[email protected]>wrote:

> Have you followed the steps mentioned in the doc?
>
> https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/hypervisor-kvm-install-flow.html
>
> On 19-May-2014, at 2:24 PM, Sergio Soto Núñez <[email protected]>
>  wrote:
>
> > Hi,
> > I'm trying to make a basic cloudstack deploy with a server like
> management
> > and other to deploy kvm virtual machines.
> >
> > My problem is when I try to launch a host in the management server. I've
> > created zone, pod and cluster; but when I try to add the host server log
> > says that can't connect with the host
> >
> > The log is here: http://pastebin.com/s0HcwZ1b
> >
> > Could someone help me?
> >
> >
> > Sergio Soto
> > ___________________________________________________________________
> >
> > *"The optimist always has a project, the pessimist, an excuse."*
> >
> > *Anonymous.*
>
>

Reply via email to