You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Vadim Bartko <hu...@gmail.com> on 2013/08/17 00:07:18 UTC

Problem with basic installation

Hi all,

I am trying to install CloudStack in basic configuration. I've spent
almoust one week, but still can't setup it.

My environment is:

one machine (my laptop with eth card)
network - cable attached to router (dlink)
CenOS 6.4 x64
Cloustack 4.1.1 (installed from official repo)


Configuration:
eth0 IP - 192.168.0.115
IP of router - 192.168.0.1
zone:
  dns 1:  8.8.8.8
  internal dns 1:   8.8.8.8

pod:
  gateway: 192.168.0.1
  netmask: 255.255.255.0
  ip range: 192.168.0.50 - 192.168.0.60

guest network:
  gateway: 192.168.0.1
  netmask: 255.255.255.0
  ip range: 192.168.0.150 - 192.168.0.160

cluster:
  kvm

host:
 host name:  192.168.0.115
 user: root
 password: qwerty

primary storage:
  server: 192.168.0.115
  path: /export/primary

secondary storage:
  server: 192.168.0.115
  path: /export/secondary

According to CloudStack panel, SSVM have next params:

Public IP Address192.168.0.150Private IP Address192.168.0.57Link Local IP
Adddress169.254.3.45Hostlocalhost.localdomainGateway192.168.0.1
But according to router ui, there is no machine with 192.168.0.150 or
192.168.0.57 address.

in top output I see two  kvm processes.  I can login on proxy and SS VMs
using ip like 169.254.3.* .
Also, I can ping only proxy machine from SS and vice versa. Any other
destination (including public ip addresses and address of real machine) is
unavaliable.

network configs (copied from deployment script):

eth0_body="""
DEVICE=eth0
HWADDR=F0:DE:F1:A0:0E:D4
ONBOOT=yes
HOTPLUG=no
BOOTPROTO=none
TYPE=Ethernet
"""
eth0_100_body="""
DEVICE=eth0.100
HWADDR=F0:DE:F1:A0:0E:D4
ONBOOT=yes
HOTPLUG=no
BOOTPROTO=none
TYPE=Ethernet
VLAN=yes
IPADDR=192.168.0.120
GATEWAY=192.168.0.1
NETMASK=255.255.255.0
"""
eth0_200_body="""
DEVICE=eth0.200
HWADDR=F0:DE:F1:A0:0E:D4
ONBOOT=yes
HOTPLUG=no
BOOTPROTO=none
TYPE=Ethernet
VLAN=yes
BRIDGE=cloudbr0
"""

eth0_300_body="""
DEVICE=eth0.300
HWADDR=F0:DE:F1:A0:0E:D4
ONBOOT=yes
HOTPLUG=no
BOOTPROTO=none
TYPE=Ethernet
VLAN=yes
BRIDGE=cloudbr1
"""

cloudbr0_body="""
DEVICE=cloudbr0
TYPE=Bridge
ONBOOT=yes
BOOTPROTO=none
IPV6INIT=no
IPV6_AUTOCONF=no
DELAY=5
STP=yes
"""

cloudbr1_body="""
DEVICE=cloudbr1
TYPE=Bridge
ONBOOT=yes
BOOTPROTO=none
IPV6INIT=no
IPV6_AUTOCONF=no
DELAY=5
STP=yes
"""



-- 
Best regards,
Vadim Bartko
skype: hudvin
email:  hudvin@gmail.com
mobile: +380994334484

Re: Problem with basic installation

Posted by Vadim Bartko <hu...@gmail.com>.
I found solution.
For basic installation I don't need to setup VLANs and two bridges.
Now I have such network configuration:

DEVICE=cloudbr0
HWADDR=F0:DE:F1:A0:0E:D4
TYPE=Bridge
ONBOOT=yes
BOOTPROTO=none
IPADDR=192.168.0.115
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
DNS1=8.8.8.8
IPV6INIT=no
IPV6_AUTOCONF=no
DELAY=0
STP=yes


DEVICE=eth0
HWADDR=F0:DE:F1:A0:0E:D4
ONBOOT=yes
BOOTPROTO=none
TYPE=Ethernet
#IPADDR=192.168.0.115
#NETMASK=255.255.255.0
#GATEWAY=192.168.0.1
#DNS1=8.8.8.8
BRIDGE=cloudbr0







2013/8/17 Ron Wheeler <rw...@artifact-software.com>

> The docs are wrong.
> There are quite a few people in your situation including myself.
> I was able to put my project on hold until the docs are fixed but others
> have plowed through and got it working.
>
> If you figure out where the docs led you astray, please write a bug report.
>
> Ron
>
>
>
> On 16/08/2013 6:07 PM, Vadim Bartko wrote:
>
>> Hi all,
>>
>> I am trying to install CloudStack in basic configuration. I've spent
>> almoust one week, but still can't setup it.
>>
>> My environment is:
>>
>> one machine (my laptop with eth card)
>> network - cable attached to router (dlink)
>> CenOS 6.4 x64
>> Cloustack 4.1.1 (installed from official repo)
>>
>>
>> Configuration:
>> eth0 IP - 192.168.0.115
>> IP of router - 192.168.0.1
>> zone:
>>    dns 1:  8.8.8.8
>>    internal dns 1:   8.8.8.8
>>
>> pod:
>>    gateway: 192.168.0.1
>>    netmask: 255.255.255.0
>>    ip range: 192.168.0.50 - 192.168.0.60
>>
>> guest network:
>>    gateway: 192.168.0.1
>>    netmask: 255.255.255.0
>>    ip range: 192.168.0.150 - 192.168.0.160
>>
>> cluster:
>>    kvm
>>
>> host:
>>   host name:  192.168.0.115
>>   user: root
>>   password: qwerty
>>
>> primary storage:
>>    server: 192.168.0.115
>>    path: /export/primary
>>
>> secondary storage:
>>    server: 192.168.0.115
>>    path: /export/secondary
>>
>> According to CloudStack panel, SSVM have next params:
>>
>> Public IP Address192.168.0.150Private IP Address192.168.0.57Link Local IP
>> Adddress169.254.3.**45Hostlocalhost.**localdomainGateway192.168.0.1
>> But according to router ui, there is no machine with 192.168.0.150 or
>> 192.168.0.57 address.
>>
>> in top output I see two  kvm processes.  I can login on proxy and SS VMs
>> using ip like 169.254.3.* .
>> Also, I can ping only proxy machine from SS and vice versa. Any other
>> destination (including public ip addresses and address of real machine) is
>> unavaliable.
>>
>> network configs (copied from deployment script):
>>
>> eth0_body="""
>> DEVICE=eth0
>> HWADDR=F0:DE:F1:A0:0E:D4
>> ONBOOT=yes
>> HOTPLUG=no
>> BOOTPROTO=none
>> TYPE=Ethernet
>> """
>> eth0_100_body="""
>> DEVICE=eth0.100
>> HWADDR=F0:DE:F1:A0:0E:D4
>> ONBOOT=yes
>> HOTPLUG=no
>> BOOTPROTO=none
>> TYPE=Ethernet
>> VLAN=yes
>> IPADDR=192.168.0.120
>> GATEWAY=192.168.0.1
>> NETMASK=255.255.255.0
>> """
>> eth0_200_body="""
>> DEVICE=eth0.200
>> HWADDR=F0:DE:F1:A0:0E:D4
>> ONBOOT=yes
>> HOTPLUG=no
>> BOOTPROTO=none
>> TYPE=Ethernet
>> VLAN=yes
>> BRIDGE=cloudbr0
>> """
>>
>> eth0_300_body="""
>> DEVICE=eth0.300
>> HWADDR=F0:DE:F1:A0:0E:D4
>> ONBOOT=yes
>> HOTPLUG=no
>> BOOTPROTO=none
>> TYPE=Ethernet
>> VLAN=yes
>> BRIDGE=cloudbr1
>> """
>>
>> cloudbr0_body="""
>> DEVICE=cloudbr0
>> TYPE=Bridge
>> ONBOOT=yes
>> BOOTPROTO=none
>> IPV6INIT=no
>> IPV6_AUTOCONF=no
>> DELAY=5
>> STP=yes
>> """
>>
>> cloudbr1_body="""
>> DEVICE=cloudbr1
>> TYPE=Bridge
>> ONBOOT=yes
>> BOOTPROTO=none
>> IPV6INIT=no
>> IPV6_AUTOCONF=no
>> DELAY=5
>> STP=yes
>> """
>>
>>
>>
>>
>
> --
> Ron Wheeler
> President
> Artifact Software Inc
> email: rwheeler@artifact-software.com
> skype: ronaldmwheeler
> phone: 866-970-2435, ext 102
>
>


-- 
Best regards,
Vadim Bartko
skype: hudvin
email:  hudvin@gmail.com
mobile: +380994334484

Re: Problem with basic installation

Posted by Ron Wheeler <rw...@artifact-software.com>.
The docs are wrong.
There are quite a few people in your situation including myself.
I was able to put my project on hold until the docs are fixed but others 
have plowed through and got it working.

If you figure out where the docs led you astray, please write a bug report.

Ron


On 16/08/2013 6:07 PM, Vadim Bartko wrote:
> Hi all,
>
> I am trying to install CloudStack in basic configuration. I've spent
> almoust one week, but still can't setup it.
>
> My environment is:
>
> one machine (my laptop with eth card)
> network - cable attached to router (dlink)
> CenOS 6.4 x64
> Cloustack 4.1.1 (installed from official repo)
>
>
> Configuration:
> eth0 IP - 192.168.0.115
> IP of router - 192.168.0.1
> zone:
>    dns 1:  8.8.8.8
>    internal dns 1:   8.8.8.8
>
> pod:
>    gateway: 192.168.0.1
>    netmask: 255.255.255.0
>    ip range: 192.168.0.50 - 192.168.0.60
>
> guest network:
>    gateway: 192.168.0.1
>    netmask: 255.255.255.0
>    ip range: 192.168.0.150 - 192.168.0.160
>
> cluster:
>    kvm
>
> host:
>   host name:  192.168.0.115
>   user: root
>   password: qwerty
>
> primary storage:
>    server: 192.168.0.115
>    path: /export/primary
>
> secondary storage:
>    server: 192.168.0.115
>    path: /export/secondary
>
> According to CloudStack panel, SSVM have next params:
>
> Public IP Address192.168.0.150Private IP Address192.168.0.57Link Local IP
> Adddress169.254.3.45Hostlocalhost.localdomainGateway192.168.0.1
> But according to router ui, there is no machine with 192.168.0.150 or
> 192.168.0.57 address.
>
> in top output I see two  kvm processes.  I can login on proxy and SS VMs
> using ip like 169.254.3.* .
> Also, I can ping only proxy machine from SS and vice versa. Any other
> destination (including public ip addresses and address of real machine) is
> unavaliable.
>
> network configs (copied from deployment script):
>
> eth0_body="""
> DEVICE=eth0
> HWADDR=F0:DE:F1:A0:0E:D4
> ONBOOT=yes
> HOTPLUG=no
> BOOTPROTO=none
> TYPE=Ethernet
> """
> eth0_100_body="""
> DEVICE=eth0.100
> HWADDR=F0:DE:F1:A0:0E:D4
> ONBOOT=yes
> HOTPLUG=no
> BOOTPROTO=none
> TYPE=Ethernet
> VLAN=yes
> IPADDR=192.168.0.120
> GATEWAY=192.168.0.1
> NETMASK=255.255.255.0
> """
> eth0_200_body="""
> DEVICE=eth0.200
> HWADDR=F0:DE:F1:A0:0E:D4
> ONBOOT=yes
> HOTPLUG=no
> BOOTPROTO=none
> TYPE=Ethernet
> VLAN=yes
> BRIDGE=cloudbr0
> """
>
> eth0_300_body="""
> DEVICE=eth0.300
> HWADDR=F0:DE:F1:A0:0E:D4
> ONBOOT=yes
> HOTPLUG=no
> BOOTPROTO=none
> TYPE=Ethernet
> VLAN=yes
> BRIDGE=cloudbr1
> """
>
> cloudbr0_body="""
> DEVICE=cloudbr0
> TYPE=Bridge
> ONBOOT=yes
> BOOTPROTO=none
> IPV6INIT=no
> IPV6_AUTOCONF=no
> DELAY=5
> STP=yes
> """
>
> cloudbr1_body="""
> DEVICE=cloudbr1
> TYPE=Bridge
> ONBOOT=yes
> BOOTPROTO=none
> IPV6INIT=no
> IPV6_AUTOCONF=no
> DELAY=5
> STP=yes
> """
>
>
>


-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102