Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

internet stops working in Host after starting running devstack(stack.sh)

Again starts to work after ./unstack.sh or restarting pc
This is All in one machine openstack deployment using devstack
localrc config
HOST_IP=192.168.1.4
FIXED_RANGE=10.0.1.0/24
FIXED_NETWORK_SIZE=256
FLOATING_RANGE=192.168.1.0/24
PUBLIC_NETWORK_GATEWAY=192.168.1.1
NETWORK_GATEWAY=10.0.1.1

FLAT_INTERFACE=eth0

disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-meta
enable_service q-l3
enable_service neutron

internet stops working in Host after starting running devstack(stack.sh)

Again starts to work after ./unstack.sh or restarting pc
This is All in one machine openstack deployment using devstack
localrc config
HOST_IP=192.168.1.4
FIXED_RANGE=10.0.1.0/24
FIXED_NETWORK_SIZE=256
FLOATING_RANGE=192.168.1.0/24
PUBLIC_NETWORK_GATEWAY=192.168.1.1
NETWORK_GATEWAY=10.0.1.1

FLAT_INTERFACE=eth0

localrc config
HOST_IP=192.168.1.4
FIXED_RANGE=10.0.1.0/24
FIXED_NETWORK_SIZE=256
FLOATING_RANGE=192.168.1.0/24
PUBLIC_NETWORK_GATEWAY=192.168.1.1
NETWORK_GATEWAY=10.0.1.1
#FLAT_INTERFACE=eth0
  

disable_service n-net
n-net enable_service q-svc
q-svc enable_service q-agt
q-agt enable_service q-dhcp
q-dhcp enable_service q-meta
q-meta enable_service q-l3
q-l3 enable_service neutron

neutron

internet stops working in Host after starting running devstack(stack.sh)

Again starts to work after ./unstack.sh or restarting pc
This is All in one machine openstack deployment using devstack

localrc config
HOST_IP=192.168.1.4
FIXED_RANGE=10.0.1.0/24
FIXED_NETWORK_SIZE=256
FLOATING_RANGE=192.168.1.0/24
PUBLIC_NETWORK_GATEWAY=192.168.1.1
NETWORK_GATEWAY=10.0.1.1
#FLAT_INTERFACE=eth0

disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-meta
enable_service q-l3
enable_service neutron
sudo ovs-vsctl show7bdebfac-b26a-4719-8236-fb8727e9dd38
    Bridge br-int
        fail_mode: secure
        Port "qr-60a6fe6c-62"
            tag: 1
            Interface "qr-60a6fe6c-62"
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port br-int
            Interface br-int
                type: internal
    Bridge br-ex
        Port "qg-2526f5b9-a4"
            Interface "qg-2526f5b9-a4"
                type: internal
        Port br-ex
            Interface br-ex
                type: internal
    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}
    ovs_version: "2.0.2"

internet stops working in Host after starting running devstack(stack.sh)

Again starts to work after ./unstack.sh or restarting pc
This is All in one machine openstack deployment using devstack

localrc config
[[local|localrc]]
HOST_IP=192.168.1.4
SERVICE_HOST=192.168.1.4
MYSQL_HOST=192.168.1.4
RABBIT_HOST=192.168.1.4
GLANCE_HOSTPORT=192.168.1.4:9292

FIXED_RANGE=10.0.1.0/24
FIXED_NETWORK_SIZE=256
FLOATING_RANGE=192.168.1.0/24
PUBLIC_NETWORK_GATEWAY=192.168.1.1
PUBLIC_NETWORK_GATEWAY=192.168.1.1  
Q_FLOATING_ALLOCATION_POOL=start=192.168.1.225,end=192.168.1.250
NETWORK_GATEWAY=10.0.1.1
#FLAT_INTERFACE=eth0

disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-meta
enable_service q-l3
enable_service neutron
# Enable Neutron
ENABLED_SERVICES+=,q-svc,q-dhcp,q-meta,q-agt,q-l3,neutron


## Neutron options
Q_USE_SECGROUP=True
Q_L3_ENABLED=True
PUBLIC_INTERFACE=eth0
Q_USE_PROVIDERNET_FOR_PUBLIC=True
OVS_PHYSICAL_BRIDGE=br-ex
PUBLIC_BRIDGE=br-ex
OVS_BRIDGE_MAPPINGS=public:br-ex
--------------------------------------------------------------------------------

sudo ovs-vsctl show7bdebfac-b26a-4719-8236-fb8727e9dd38
show
7bdebfac-b26a-4719-8236-fb8727e9dd38
    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}
    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-int
        fail_mode: secure
        Port "qr-60a6fe6c-62"
"qr-61d8d4a6-3f"
            tag: 1
            Interface "qr-60a6fe6c-62"
"qr-61d8d4a6-3f"
                type: internal
        Port "qg-a5d37e78-8b"
            tag: 2
            Interface "qg-a5d37e78-8b"
                type: internal
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port br-int
            Interface br-int
                type: internal
    Bridge br-ex
        Port "qg-2526f5b9-a4"
            Interface "qg-2526f5b9-a4"
                type: internal
        Port br-ex
            Interface br-ex
                type: internal
    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}
    ovs_version: "2.0.2"