Ask Your Question
0

CentOS7 Juno - How to connect to instances from VM host

asked 2015-06-05 17:42:14 -0500

stackstunts gravatar image

updated 2015-06-05 23:24:00 -0500

dbaxps gravatar image

Hello,

I've configured openstack juno on CentOS7 VM (single node), host (centosstack) is on 172.16.31.160/24. I've created two neutron networks private (10.0.1.0/24) and external (172.16.31.0/24). I was trying to connect to openstack instance (10.0.1.2, Floating IP: 172.16.31.51) from host but failing.

Please advice if I miss anything to connect to openstack instances from computenode/host.

[root@centosstack ~]# ifconfig eno16777736

eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 172.16.31.160  netmask 255.255.255.0  broadcast 172.16.31.255

        inet6 fe80::20c:29ff:fec9:9a92  prefixlen 64  scopeid 0x20<link>

        ether 00:0c:29:c9:9a:92  txqueuelen 1000  (Ethernet)

        RX packets 14047  bytes 2087825 (1.9 MiB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 12740  bytes 7305031 (6.9 MiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


[root@centosstack ~]# nova list

+--------------------------------------+-----------+--------+------------+-------------+----------------------------------+   
| ID                                   | Name      | Status | Task State | Power State | Networks                         |

+--------------------------------------+-----------+--------+------------+-------------+----------------------------------+

| 0af12929-4fd8-448f-bbef-b7559f23620b | firstdemo | ACTIVE | -          | Running     | admin-net=10.0.1.2, 172.16.31.51 |

+--------------------------------------+-----------+--------+------------+-------------+----------------------------------+
[root@centosstack ~]# neutron net-list

+--------------------------------------+-----------+-----------------------------------------------------+

| id                                   | name      | subnets                                             |

+--------------------------------------+-----------+-----------------------------------------------------+

| 10ad499e-d06a-4ad8-b853-d269725249a3 | admin-net | e8f4b071-791d-4a72-863b-efe6dca7c737 10.0.1.0/24    |

| 945f265a-98ae-4f2c-b789-6aba38fe194a | ext-net   | d65d18be-6f07-42e0-9017-e8abc55d6cc3 172.16.31.0/24 |

[root@centosstack ~]# ping 172.16.31.51

PING 172.16.31.51 (172.16.31.51) 56(84) bytes of data.

From 172.16.31.160 icmp_seq=1 Destination Host Unreachable

From 172.16.31.160 icmp_seq=2 Destination Host Unreachable

From 172.16.31.160 icmp_seq=3 Destination Host Unreachable

From 172.16.31.160 icmp_seq=4 Destination Host Unreachable ^C --- 172.16.31.51 ping statistics ---

4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 2999ms

edit retag flag offensive close merge delete

Comments

1.What kind of virtualization you have been using to create on host (centosstack) to create CentOS 7 VM running AIO Juno ?
2.What is address and kind of virtual network hosting CentOS 7 VM ?
3. What is address CentOS 7 VM on this network ?

dbaxps gravatar imagedbaxps ( 2015-06-05 23:32:45 -0500 )edit

Which OS is resposible for virtualization on host (centosstack) ?

dbaxps gravatar imagedbaxps ( 2015-06-05 23:36:55 -0500 )edit

Thanks for reply.

I'm on Mac OS running vmware Fusion and When I said host that referred to CentOS7 VM running Juno, not original host MacOS. Sorry for confusion.

CentOS 7 VM (centosstack) address is 172.16.31.160. I'm trying to connect from centosstack to newly built openstack instances.

stackstunts gravatar imagestackstunts ( 2015-06-06 09:32:27 -0500 )edit

Have you implemented security rules ?

dbaxps gravatar imagedbaxps ( 2015-06-06 10:26:03 -0500 )edit

Yes, I've updated rules to make sure ping/ssh is allowed.

stackstunts gravatar imagestackstunts ( 2015-06-06 11:16:28 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-06-08 08:42:55 -0500

stackstunts gravatar image

updated 2015-06-08 09:15:06 -0500

Hi Boris, I have seen your other postsimilar to this issue and providing the asked details here as I did not see the solution there. Can you please help what I'm missing here. Additional to my initial post, I've added another NIC on my openstack VM to have external n/w 172.16.74.0/24. Please see the details below and help me to debug the issue. Or same details are here http://txs.io/Qp4b

[root@centosstack ~]# ifconfig | grep -A4 mtu
br-eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 172.16.74.128  netmask 255.255.255.0  broadcast 172.16.74.255
    inet6 fe80::250:56ff:fe32:eea6  prefixlen 64  scopeid 0x20<link>
    ether 00:50:56:32:ee:a6  txqueuelen 0  (Ethernet)
    RX packets 909  bytes 123033 (120.1 KiB)

br-ex: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 172.16.31.160  netmask 255.255.255.0  broadcast 172.16.31.255
    inet6 fe80::20c:29ff:fec9:9a92  prefixlen 64  scopeid 0x20<link>
    ether 00:0c:29:c9:9a:92  txqueuelen 0  (Ethernet)
    RX packets 2666  bytes 579855 (566.2 KiB)


eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet6 fe80::20c:29ff:fec9:9a92  prefixlen 64  scopeid 0x20<link>
    ether 00:0c:29:c9:9a:92  txqueuelen 1000  (Ethernet)
    RX packets 2650  bytes 578626 (565.0 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0
eno33554984: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet6 fe80::250:56ff:fe32:eea6  prefixlen 64  scopeid 0x20<link>
    ether 00:50:56:32:ee:a6  txqueuelen 1000  (Ethernet)
    RX packets 1150  bytes 146951 (143.5 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
    inet 127.0.0.1  netmask 255.0.0.0
    inet6 ::1  prefixlen 128  scopeid 0x10<host>
    loop  txqueuelen 0  (Local Loopback)
    RX packets 154188  bytes 50909250 (48.5 MiB)

qbr721791e1-eb: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet6 fe80::189e:d0ff:fea9:f217  prefixlen 64  scopeid 0x20<link>
    ether 56:cf:72:cd:5c:ca  txqueuelen 0  (Ethernet)
    RX packets 37  bytes 2492 (2.4 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0

qbr8e503041-26: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet6 fe80::86e:4eff:fe6f:3a4a  prefixlen 64  scopeid 0x20<link>
    ether d6:f6:81:cb:0e:ac  txqueuelen 0  (Ethernet)
    RX packets 792  bytes 99692 (97.3 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0

qbrc196edb9-a1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet6 fe80::c810:59ff:feb5:bb33  prefixlen 64  scopeid 0x20<link>
    ether 82:c1:f0:22:a3:42  txqueuelen 0  (Ethernet)
    RX packets 18  bytes 1152 (1.1 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0

qvb721791e1-eb: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
    inet6 fe80::54cf:72ff:fecd:5cca  prefixlen 64  scopeid 0x20<link>
    ether 56:cf:72:cd:5c:ca  txqueuelen 1000  (Ethernet)
    RX packets 39  bytes ...
(more)
edit flag offensive delete link more
0

answered 2015-06-08 11:32:50 -0500

dbaxps gravatar image

Unfortunately, the sample of OVS br-ex bridge config and corresponding OVS port eth2 I have only for 3 Node deployment case. Manage on AIO host like it was done on Network Node:-
http://bderzhavets.blogspot.com/2015/...
image description

You ext net 172.16.31.0/24 corresponds mine 172.24.4.224/28
AIO setup is not supposed to have GRE tunnel ( ovs-vsctl show)

edit flag offensive delete link more

Comments

Thanks for your help.. Finally I've got it working but unfortunately I couldn't re-produce the issue and unable to find why it wasn't working. Initially I setup GRE tunnel but later figured that it doesn't work and changed it to VLAN. I've removed gre interface.

stackstunts gravatar imagestackstunts ( 2015-06-08 16:51:42 -0500 )edit

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-06-05 17:42:14 -0500

Seen: 385 times

Last updated: Jun 08 '15