not getting IP for the instances launched on openstack

asked 2018-02-05 05:41:14 -0500

BHANUPRAKASH gravatar image

updated 2018-02-13 04:55:45 -0500

i have installed openstack-pike using the hostnames with packstack on 2 nodes, 1 is compute node and all other services are on other node. all openstack services are up and running but when i launch the instances on the compute node my ovs-vsctl show configuration is

Manager "ptcp:6640:127.0.0.1"
        is_connected: true
    Bridge br-tun
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
        Port "vxlan-c0a80c69"
            Interface "vxlan-c0a80c69"
                type: vxlan
                options: {df_default="true", in_key=flow, local_ip="192.168.12.76", out_key=flow, remote_ip="192.168.12.105"}
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "qvo37e25575-48"
            tag: 2
            Interface "qvo37e25575-48"
        Port "qvod0e74cf1-96"
            tag: 2
            Interface "qvod0e74cf1-96"
        Port br-int
            Interface br-int
                type: internal
        Port "qvo1c8855a3-97"
            tag: 2
            Interface "qvo1c8855a3-97"
        Port "qvob6f1c0f9-de"
            tag: 2
            Interface "qvob6f1c0f9-de"
        Port "qvo258cad3f-74"
            tag: 2
            Interface "qvo258cad3f-74"
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "qvo2f7f6ca1-e1"
            tag: 2
            Interface "qvo2f7f6ca1-e1"
    ovs_version: "2.7.3

ifconfig -a of the controller and the network is

 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 1  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-a3da42c0-fe: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
        inet 192.168.13.14  netmask 255.255.252.0  broadcast 192.168.15.255
        inet6 fe80::f816:3eff:fe75:9c2a  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:75:9c:2a  txqueuelen 1000  (Ethernet)
        RX packets 140338  bytes 10203119 (9.7 MiB)
        RX errors 0  dropped 2  overruns 0  frame 0
        TX packets 36  bytes 2544 (2.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-b331bdbe-db: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450
        inet 10.0.0.1  netmask 255.255.252.0  broadcast 10.0.3.255
        inet6 fe80::f816:3eff:fe19:7a5d  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:19:7a:5d  txqueuelen 1000  (Ethernet)
        RX packets 21  bytes 1218 (1.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 25  bytes 1494 (1.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

my ifconfig -a of compute node is

br-int: flags=4098<BROADCAST,MULTICAST>  mtu 1450
        ether 3e:70:13:75:a3:4c  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 1378  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

br-tun: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether ce:60:16:27:ba:4e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped ...
(more)
edit retag flag offensive close merge delete