You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by BSC 964 <6b...@gmail.com> on 2012/10/30 02:22:58 UTC

Cannot create VM Instances . S-1-vm cannt reach guest network gateway

Hi,

I am new to cloudstack and trying to test out with a dev environment

Trying to setup a cloudstack environment

10.32.66.120 - cloudstack 3.0.2 (MS)
10.32.36.3 - Xen 6.0.1

10.32.36.160-10.32.36.179 - Range for reserved network
    s-1-VM: 169.254.3.20/10.32.36.161/10.32.79.100/ 10.32.46.163
    v-2-VM : 169.254.0.186/ 10.32.36.164/10.32.79.101

10.32.79.20 - 11.32.79.150 - Range for guest network

I followed the steps in the Installation guide and the installation
completed successfully. But after install, i cannt add any VM instances.
when i login to the MS and try to Add an instance i am not able to see any
Template under "Features or community or my templates" but i see templates
under "Templates".

Templates
Status =  no route to host
ready = no.


When i logged into the S-1-vm using the xen console, i cannt reach /ping
10.32.79.254 which is the gateway but can reach/ping V-2-VM in the same
hypervison over the 10.32.79.x interface.  I am also able to ssh to MS and
xen hypervisor from S-1-vm.

Followed the steps in

root@s-1-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
================================================
First DNS server is  10.32.255.255
PING 10.32.255.255 (10.32.255.255): 56 data bytes
64 bytes from 10.32.255.255: icmp_seq=0 ttl=62 time=0.462 ms
64 bytes from 10.32.255.255: icmp_seq=1 ttl=62 time=0.551 ms
--- 10.32.255.255 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.462/0.507/0.551/0.045 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
NFS is currently mounted
Mount point is /mnt/SecStorage/2af115fc-14f5-31f1-9ea9-078e67ac9a28
Good: Can write to mount point
================================================
Management server is 10.32.66.46. Checking connectivity.
Good: Can connect to management server port 8250
================================================
Good: Java process is running
================================================
Tests Complete. Look for ERROR or WARNING above.

Re: Cannot create VM Instances . S-1-vm cannt reach guest network gateway

Posted by BSC 964 <6b...@gmail.com>.
Gavin,
Thanks for your input.
yes  - checked rp_filter values. After SSVM was created (during setting up)
the value in sysctl.conf is set to 0 by the runtime value is 1
After rebooting SSVM  the value was 0 but still same issue.

i will reinstall xen 6.02 + upgrade + supp pkgs tomorrow morning nd try it
again. Also this time i will try with openswitch instead of bridge.

I will also try with VMWARE and let you know.

- bsc

On Wed, Oct 31, 2012 at 3:01 AM, Gavin Lee <ga...@gmail.com> wrote:

> Inside SSVM, check net.ipv4.conf.default.rp_filter setting in sysctl:
> # grep "rp_filter" /etc/sysctl.conf     // except value: 0
> # sysctl -A |grep "default.rp_filter"  //except value: 0
>
> If runtime sysctl is not 0, you may use below command to disable it:
> #sysctl -w net.ipv4.conf.default.rp_filter=0
>
> Then try again, if issue persist still, try to destroy the SSVM and
> test in new created one.
>
>
>
> On Tue, Oct 30, 2012 at 9:22 AM, BSC 964 <6b...@gmail.com> wrote:
> > Hi,
> >
> > I am new to cloudstack and trying to test out with a dev environment
> >
> > Trying to setup a cloudstack environment
> >
> > 10.32.66.120 - cloudstack 3.0.2 (MS)
> > 10.32.36.3 - Xen 6.0.1
> >
> > 10.32.36.160-10.32.36.179 - Range for reserved network
> >     s-1-VM: 169.254.3.20/10.32.36.161/10.32.79.100/ 10.32.46.163
> >     v-2-VM : 169.254.0.186/ 10.32.36.164/10.32.79.101
> >
> > 10.32.79.20 - 11.32.79.150 - Range for guest network
> >
> > I followed the steps in the Installation guide and the installation
> > completed successfully. But after install, i cannt add any VM instances.
> > when i login to the MS and try to Add an instance i am not able to see
> any
> > Template under "Features or community or my templates" but i see
> templates
> > under "Templates".
> >
> > Templates
> > Status =  no route to host
> > ready = no.
> >
> >
> > When i logged into the S-1-vm using the xen console, i cannt reach /ping
> > 10.32.79.254 which is the gateway but can reach/ping V-2-VM in the same
> > hypervison over the 10.32.79.x interface.  I am also able to ssh to MS
> and
> > xen hypervisor from S-1-vm.
> >
> > Followed the steps in
> >
> > root@s-1-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
> > ================================================
> > First DNS server is  10.32.255.255
> > PING 10.32.255.255 (10.32.255.255): 56 data bytes
> > 64 bytes from 10.32.255.255: icmp_seq=0 ttl=62 time=0.462 ms
> > 64 bytes from 10.32.255.255: icmp_seq=1 ttl=62 time=0.551 ms
> > --- 10.32.255.255 ping statistics ---
> > 2 packets transmitted, 2 packets received, 0% packet loss
> > round-trip min/avg/max/stddev = 0.462/0.507/0.551/0.045 ms
> > Good: Can ping DNS server
> > ================================================
> > Good: DNS resolves download.cloud.com
> > ================================================
> > NFS is currently mounted
> > Mount point is /mnt/SecStorage/2af115fc-14f5-31f1-9ea9-078e67ac9a28
> > Good: Can write to mount point
> > ================================================
> > Management server is 10.32.66.46. Checking connectivity.
> > Good: Can connect to management server port 8250
> > ================================================
> > Good: Java process is running
> > ================================================
> > Tests Complete. Look for ERROR or WARNING above.
>
>
>
> --
> Gavin
>

Re: Cannot create VM Instances . S-1-vm cannt reach guest network gateway

Posted by Gavin Lee <ga...@gmail.com>.
Inside SSVM, check net.ipv4.conf.default.rp_filter setting in sysctl:
# grep "rp_filter" /etc/sysctl.conf     // except value: 0
# sysctl -A |grep "default.rp_filter"  //except value: 0

If runtime sysctl is not 0, you may use below command to disable it:
#sysctl -w net.ipv4.conf.default.rp_filter=0

Then try again, if issue persist still, try to destroy the SSVM and
test in new created one.



On Tue, Oct 30, 2012 at 9:22 AM, BSC 964 <6b...@gmail.com> wrote:
> Hi,
>
> I am new to cloudstack and trying to test out with a dev environment
>
> Trying to setup a cloudstack environment
>
> 10.32.66.120 - cloudstack 3.0.2 (MS)
> 10.32.36.3 - Xen 6.0.1
>
> 10.32.36.160-10.32.36.179 - Range for reserved network
>     s-1-VM: 169.254.3.20/10.32.36.161/10.32.79.100/ 10.32.46.163
>     v-2-VM : 169.254.0.186/ 10.32.36.164/10.32.79.101
>
> 10.32.79.20 - 11.32.79.150 - Range for guest network
>
> I followed the steps in the Installation guide and the installation
> completed successfully. But after install, i cannt add any VM instances.
> when i login to the MS and try to Add an instance i am not able to see any
> Template under "Features or community or my templates" but i see templates
> under "Templates".
>
> Templates
> Status =  no route to host
> ready = no.
>
>
> When i logged into the S-1-vm using the xen console, i cannt reach /ping
> 10.32.79.254 which is the gateway but can reach/ping V-2-VM in the same
> hypervison over the 10.32.79.x interface.  I am also able to ssh to MS and
> xen hypervisor from S-1-vm.
>
> Followed the steps in
>
> root@s-1-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
> ================================================
> First DNS server is  10.32.255.255
> PING 10.32.255.255 (10.32.255.255): 56 data bytes
> 64 bytes from 10.32.255.255: icmp_seq=0 ttl=62 time=0.462 ms
> 64 bytes from 10.32.255.255: icmp_seq=1 ttl=62 time=0.551 ms
> --- 10.32.255.255 ping statistics ---
> 2 packets transmitted, 2 packets received, 0% packet loss
> round-trip min/avg/max/stddev = 0.462/0.507/0.551/0.045 ms
> Good: Can ping DNS server
> ================================================
> Good: DNS resolves download.cloud.com
> ================================================
> NFS is currently mounted
> Mount point is /mnt/SecStorage/2af115fc-14f5-31f1-9ea9-078e67ac9a28
> Good: Can write to mount point
> ================================================
> Management server is 10.32.66.46. Checking connectivity.
> Good: Can connect to management server port 8250
> ================================================
> Good: Java process is running
> ================================================
> Tests Complete. Look for ERROR or WARNING above.



-- 
Gavin