Not able to SSH into instance created on second compute node
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 ~]#
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.
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" .
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.
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.
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?