Refactor nova-network
Previously, eth0 was set as the nova flat interface. This interface is used to bridge VM traffic between instances and should not have an IP. It's a problem when you associate an interface with an IP to the FLAT_INTERFACE. Change-Id: I38c516094430e2d55b1b4c047a1bbcfe711a2dff
This commit is contained in:
parent
2dab951747
commit
81d65f0b3d
@ -10,8 +10,8 @@
|
||||
: ${RABBIT_USERID:=guest}
|
||||
: ${RABBIT_PASSWORD:=guest}
|
||||
: ${NETWORK_MANAGER:=nova}
|
||||
: ${FLAT_NETWORK:=eth0}
|
||||
: ${PUBLIC_NETWORK:=eth1}
|
||||
: ${FLAT_NETWORK:=eth1}
|
||||
: ${PUBLIC_NETWORK:=eth0}
|
||||
|
||||
check_required_vars KEYSTONE_ADMIN_TOKEN NOVA_DB_PASSWORD \
|
||||
RABBITMQ_SERVICE_HOST GLANCE_API_SERVICE_HOST \
|
||||
|
@ -7,7 +7,6 @@ cat > /etc/sysconfig/network-scripts/ifcfg-$FLAT_INTERFACE <<EOF
|
||||
DEVICE="$FLAT_INTERFACE"
|
||||
BOOTPROTO="none"
|
||||
ONBOOT="yes"
|
||||
DEFROUTE="yes"
|
||||
TYPE="Ethernet"
|
||||
EOF
|
||||
|
||||
|
@ -43,7 +43,7 @@ all containers. This allows a simple method of ensuring every type of node
|
||||
|
||||
ADMIN_USER_PASSWORD=<steakfordinner> - The admin user password
|
||||
ADMIN_TENANT_NAME=<admin> - tenant name
|
||||
FLAT_INTERFACE=<nova or neutron networking flat interface device name>
|
||||
FLAT_INTERFACE=<eth1> - nova networking flat interface device name
|
||||
GLANCE_API_SERVICE_HOST=<IP> - address where glance API is running>
|
||||
GLANCE_DB_NAME=<glance> - DB name of glance service
|
||||
GLANCE_DB_PASSWORD=<password> - <Glance DB password>
|
||||
|
@ -62,7 +62,7 @@ NOVA_KEYSTONE_PASSWORD=nova
|
||||
NOVA_API_SERVICE_HOST=$HOST_IP
|
||||
NOVA_EC2_SERVICE_HOST=$HOST_IP
|
||||
NOVA_PUBLIC_INTERFACE=$MY_DEV
|
||||
NOVA_FLAT_INTERFACE=$MY_DEV
|
||||
NOVA_FLAT_INTERFACE=eth1
|
||||
CONFIG_NETWORK=True
|
||||
|
||||
# Heat
|
||||
|
Loading…
x
Reference in New Issue
Block a user