Ask Your Question
0

Not able to SSH into instance created on second compute node

asked 2015-09-23 13:46:40 -0600

kuldeep_verma gravatar image

updated 2015-09-30 16:02:01 -0600

Hi Folk, I have working RDO Openstack all in one setup. I can ssh and ping to instances created. To scale my setup, I have added one compute node to my existing environment by following the given link.... https://www.rdoproject.org/Adding_a_c... Then I created the instance which are hosted on new compute node. I am able to login into created instance using console. But I can not ssh into that instance. and also not able to ping any of the instance hosted on allinone compute node. Any help would be appreciated. Thanks in advance ! With Regards, Kuldeep ovs-vsctl output for compute

[root@compute ~]# ovs-vsctl show
41c3d5b3-70c1-42c1-9f14-f626c541d4d1
    Manager "tcp:92.168.50.27:6640"
    Bridge br-int
        fail_mode: secure
        Port "tap7235e033-76"
            tag: 4
            Interface "tap7235e033-76"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port "qvo1dc34c57-e4"
            tag: 4
            Interface "qvo1dc34c57-e4"
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
    Bridge br-tun
        fail_mode: secure
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port "vxlan-c0a8321b"
            Interface "vxlan-c0a8321b"
                type: vxlan
                options: {df_default="true", in_key=flow, local_ip="10.10.10.2", out_key=flow, remote_ip="192.168.50.27"}
    ovs_version: "2.3.1"

For controller node

[root@controller ~]# ovs-vsctl show
ec80db5d-20d7-4bd8-a8f3-fa1e85805f50
    Manager "tcp:192.168.50.27:6640"
    Bridge br-tun
        fail_mode: secure
        Port "vxlan-0a0a0a02"
            Interface "vxlan-0a0a0a02"
                type: vxlan
                options: {df_default="true", in_key=flow, local_ip="192.168.50.27", out_key=flow, remote_ip="10.10.10.2"}
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-ex
        Port "qg-b6a97e67-0d"
            Interface "qg-b6a97e67-0d"
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
        Port "em1"
            Interface "em1"
        Port br-ex
            Interface br-ex
                type: internal
    Bridge br-int
        fail_mode: secure
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port "qvo0df7d3ee-bc"
            tag: 1
            Interface "qvo0df7d3ee-bc"
        Port br-int
            Interface br-int
                type: internal
        Port "qr-2269a8e1-a4"
            tag: 1
            Interface "qr-2269a8e1-a4"
                type: internal
        Port "qr-cc8e517d-dc"
            tag: 7
            Interface "qr-cc8e517d-dc"
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tap117c6f26-96"
            tag: 1
            Interface "tap117c6f26-96"
                type: internal
    ovs_version: "2.3.1"
[root@controller ~]#
edit retag flag offensive close merge delete

Comments

Are you pinging to the fixed or floating IP? If it's the fixed IP, it doesn't work by design. If it's the floating IP, use the console to check if DHCP was successful and the instance has a fixed IP. If not, check the DHCP settings and neutron agents. If yes, it's more complicated I am afraid.

Bernd Bausch gravatar imageBernd Bausch ( 2015-09-24 04:53:19 -0600 )edit

Thanks for your response. I am trying to ping floating IP. I checked using console. DHCP is working fine and I am able to ping the DHCP server interface. when I am trying to SSH the floating ip of instance from contoller. it says "no route to host" .

kuldeep_verma gravatar imagekuldeep_verma ( 2015-09-24 05:50:46 -0600 )edit

You say that DHCP is working fine, but does the instance have an IP address? If no, the problem might be solved with rebooting or recreating the instance. If yes, check the Network Troubleshooting section of the OpenStack Operation Guide.

Bernd Bausch gravatar imageBernd Bausch ( 2015-09-24 23:50:18 -0600 )edit

Thanks once again for your reply.Instance is getting the IP address from DHCP. route command shows the correct routing table. I will check the Troubleshooting section. I Hope It will help.

kuldeep_verma gravatar imagekuldeep_verma ( 2015-09-25 02:05:34 -0600 )edit

This might be stupid to say but did you assign security groups to the instance. More importantly did you add port 22 to the security groups on that instance for SSH?

capsali gravatar imagecapsali ( 2015-09-29 04:59:50 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-10-26 12:09:22 -0600

kuldeep_verma gravatar image

I solve the issue. Just for the reference of other users. br-tun interface ... local IP and remote IP must be of the same network address. In my case they were different as shown in ovs-vsctl show output. To make it same, I installed compute service on interface of Compute node which has same network address as of Controller node.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-09-23 13:46:40 -0600

Seen: 509 times

Last updated: Oct 26 '15