Instance eth1 down while OpenStack dashboard says it's up

asked 2016-07-29 08:48:41 -0500

roymaztang gravatar image

I installed Mirantis OpenStack with 2 controllers and 1 compute node, each with 2 network interfaces (one public, one private). When I was trying to launch an instance with private network on eth0 and public network on eth1, I found in the instance log that eth1 was down (the log is shown below):

=== network info ===
if-info: lo,up,127.0.0.1,8,::1
if-info: eth0,up,192.168.111.9,24,fe80::f816:3eff:fe64:f813
if-info: eth1,down,,24,
ip-route:default via 192.168.111.1 dev eth0 
ip-route:169.254.169.254 via 192.168.111.2 dev eth0 
ip-route:192.168.111.0/24 dev eth0  src 192.168.111.9

However both OpenStack dashboard and command line say it is ACTIVE (1st row is eth1, 2nd is eth0):

# nova --os-project-name admin --os-username admin interface-list b3acd48c-8749-4f54-93e6-04ebdc6b9778
+------------+--------------------------------------+--------------------------------------+----------------+-------------------+
| Port State | Port ID                              | Net ID                               | IP addresses   | MAC Addr          |
+------------+--------------------------------------+--------------------------------------+----------------+-------------------+
| ACTIVE     | 4b4564b5-4b99-495b-9e4a-a07f4ee73611 | 40732fc9-5ff8-44c7-8963-933e4c9071c1 | 192.170.236.13 | fa:16:3e:16:6d:8f |
| ACTIVE     | b58d467b-7bf5-432e-9d7d-f07f602f4d53 | 871319e8-a6fb-480c-b0aa-af92d3b53113 | 192.168.111.9  | fa:16:3e:64:f8:13 |
+------------+--------------------------------------+--------------------------------------+----------------+-------------------+

If I change the order of networks (public on eth0 and private on eth1), the log file is like this:

=== network info ===
if-info: lo,up,127.0.0.1,8,::1
if-info: eth0,up,,8,fe80::f816:3eff:febe:70bd
if-info: eth1,down,,8,

BTW, I cannot use console to access the instance, with an error "Server disconnected (code: 1006)". Is there a way i can debug the issue?

edit retag flag offensive close merge delete