Ask Your Question
0

connecting instance through external network not working

asked 2015-05-21 00:58:58 -0600

VickyBala gravatar image

Installed latest Kilo openstack version in CentOS 7 all in one

All installation and configurations done but instance is not connecting through external

  • Security group configured to connect external as ALL TCP enabled
  • Allocated floating IP

However instance is not connecting through external Could you please help what I'm missing

edit retag flag offensive close merge delete

Comments

So you can't connect to an instance via the external interface? Have you set up an external bridge (ifcfg-br-ex). How about the networks, do you have a public network with a valid gateway set?

What does 'ovs-vsctl show' display?

lhinds gravatar imagelhinds ( 2015-05-22 02:15:02 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-23 05:22:43 -0600

VickyBala gravatar image

updated 2015-05-23 05:25:42 -0600

Here is the configurations details

# nova secgroup-list-rules default +-------------+-----------+---------+-----------+--------------+ | IP Protocol | From Port | To Port | IP Range | Source Group | +-------------+-----------+---------+-----------+--------------+ | tcp | 22 | 22 | | default | | tcp | 22 | 22 | 0.0.0.0/0 | | +-------------+-----------+---------+-----------+--------------+

ovs-vsctl show

2ceba0b4-cbf8-4e66-a603-3a8b05dbbd5b Bridge br-int fail_mode: secure Port "qvo483f4a3e-26" tag: 2 Interface "qvo483f4a3e-26" Port br-int Interface br-int type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "qvoa7eade8c-28" tag: 3 Interface "qvoa7eade8c-28" Port "qr-e5960b0c-a3" tag: 2 Interface "qr-e5960b0c-a3" type: internal Port "tapfc237604-40" tag: 2 Interface "tapfc237604-40" type: internal Bridge br-ex Port br-ex Interface br-ex type: internal Port "eth0" Interface "eth0" Port "qg-e2fcd781-33" Interface "qg-e2fcd781-33" type: internal Port "enp0s17" Interface "enp0s17" Bridge br-tun fail_mode: secure Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Port br-tun Interface br-tun type: internal ovs_version: "2.3.1"

Ifconfig:

br-ex: flags=4163<up,broadcast,running,multicast> mtu 1500 inet xx.xx.xx.xx netmask 255.255.252.0 broadcast xx.xx.xx.xx inet6 fe80::250:56ff:febb:24f4 prefixlen 64 scopeid 0x20<link> ether 00:50:56:bb:24:f4 txqueuelen 0 (Ethernet) RX packets 14254534 bytes 1111601947 (1.0 GiB) RX errors 0 dropped 39815 overruns 0 frame 0 TX packets 47660 bytes 10311771 (9.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

br-int: flags=4163<up,broadcast,running,multicast> mtu 1500 inet6 fe80::c8ab:ffff:fe08:554b prefixlen 64 scopeid 0x20<link> ether ca:ab:ff:08:55:4b txqueuelen 0 (Ethernet) RX packets 83 bytes 7780 (7.5 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 8 bytes 648 (648.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

br-tun: flags=4163<up,broadcast,running,multicast> mtu 1500 inet6 fe80::b004:e5ff:fe2e:2342 prefixlen 64 scopeid 0x20<link> ether b2:04:e5:2e:23:42 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 8 bytes 648 (648.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth0: flags=4163<up,broadcast,running,multicast> mtu 1500 inet6 fe80::250:56ff:febb:24f4 prefixlen 64 scopeid 0x20<link> ether 00:50:56:bb:24:f4 txqueuelen 1000 (Ethernet) RX packets 14261419 bytes 1112870635 (1.0 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 50701 bytes 14272175 (13.6 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth1: flags=4163<up,broadcast,running,multicast> mtu 1500 inet xx.xx.xx.xx netmask 255.255.252.0 broadcast xx.xx.xx.xx inet6 fe80::250:56ff:febb:24f6 prefixlen 64 scopeid 0x20<link> ether 00:50:56:bb:24:f6 txqueuelen 1000 (Ethernet) RX packets 11587331 bytes 740447061 (706.1 MiB) RX errors 0 dropped 3055 overruns 0 frame 0 TX packets 23 bytes 3893 (3.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<up,loopback,running> mtu 65536 inet 127.0.0.1 netmask ... (more)

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-05-21 00:58:58 -0600

Seen: 61 times

Last updated: May 23 '15