settingsLogin | Registersettings

[Openstack] Can't access instance

0 votes

I’ve completely reinstalled my OS setup, more or less from scratch

(I’ve kept my bootstrapping script, modified for this new install).

It’s now on Debian GNU/Linux Stretch, which come with Newton.

I’ve setup my router (extern net IP: 10.0.6.1), with my “real” router/nat/firewall

on 10.0.6.254. I’m routing 10.0.6.0/24 and 10.0.8.0/21 to 10.0.6.1.

The instance get the IP 10.0.8.13 and I’ve setup security groups to allow everything,

but I can’t ping or access the instance.

[celia.pts/5]$ traceroute -n 10.0.8.13
traceroute to 10.0.8.13 (10.0.8.13), 30 hops max, 60 byte packets
 1  192.168.69.1  0.218 ms  0.193 ms  0.169 ms
 2  10.0.6.1  0.753 ms * *
 3  10.0.6.1  3067.663 ms !H  3067.666 ms !H  3067.622 ms !H

[celia.pts/5]$ ping -c1 10.0.6.1
PING 10.0.6.1 (10.0.6.1) 56(84) bytes of data.
64 bytes from 10.0.6.1: icmp_req=1 ttl=63 time=0.635 ms

--- 10.0.6.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.635/0.635/0.635/0.000 ms

The 10.0.8.0/24 subnet the instance is attached to have the default GW

to 10.0.4.254 and the router it ‘hangs’ of on have that IP and I can ping

that just fine from the ‘outside’:

[celia.pts/5]$ ping -c1 10.0.8.254
PING 10.0.8.254 (10.0.8.254) 56(84) bytes of data.
64 bytes from 10.0.8.254: icmp_req=1 ttl=62 time=0.740 ms

--- 10.0.8.254 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.740/0.740/0.740/0.000 ms
[celia.pts/5]$ traceroute -n 10.0.8.254
traceroute to 10.0.8.254 (10.0.8.254), 30 hops max, 60 byte packets
 1  192.168.69.1  0.096 ms  0.084 ms  0.066 ms
 2  10.0.6.1  0.889 ms  0.895 ms  0.878 ms
 3  10.0.8.254  1.468 ms  1.507 ms  1.441 ms

I’m pretty sure it’s something simple, but I can’t seem to figure out what.

On the other hand, this is a distributed router (but I only have one network node

at the moment - the second haven’t been installed yet, it’s on the TODO list) and

I’ve never got a distributed router to work before (last time I tried it on Debian GNU/Linux

Sid/Mitaka everything stopped working).

So it’s possible it’s either

  1. That I only have one network node running - is this expected?

  2. Neutron isn’t configured correctly for distributed routers.

I’ve followed http://docs.openstack.org/mitaka/networking-guide/config-dvr-ha-snat.html 

in attempt to get this working, and as far as I know, my setup is correct. But I might have

missed something.

But what?


asked Dec 9, 2016 in openstack by Turbo_Fredriksson (8,980 points)   7 13 19

1 Response

0 votes

On 9 Dec 2016, at 13:56, Turbo Fredriksson turbo@bayour.com wrote:

I’m pretty sure it’s something simple, but I can’t seem to figure out what.

After fixing some issues with Cinder not being able to create a bootable volume,
I noticed that there is no ethernet interface!

[    8.642245] systemd[1]: Started Initial cloud-init job (pre-networking).
[    8.645378] systemd[1]: Reached target Network (Pre).
[    8.647088] systemd[1]: Starting Raise network interfaces...
[    8.770345] systemd[1]: Reloading.
[    9.162225] dhclient[307]: Internet Systems Consortium DHCP Client 4.3.5b1
[    9.164458] ifup[266]: Internet Systems Consortium DHCP Client 4.3.5b1
[    9.166557] ifup[266]: Copyright 2004-2016 Internet Systems Consortium.
[    9.168885] ifup[266]: All rights reserved.
[    9.170673] ifup[266]: For info, please visit https://www.isc.org/software/dhcp/
[    9.172625] dhclient[307]: Copyright 2004-2016 Internet Systems Consortium.
[    9.175346] dhclient[307]: All rights reserved.
[    9.177583] dhclient[307]: For info, please visit https://www.isc.org/software/dhcp/
[    9.180276] dhclient[307]: 
[    9.429158] ifup[266]: Cannot find device "eth0"
[    9.444610] dhclient[307]: Failed to get interface index: No such device
[    9.446616] ifup[266]: Failed to get interface index: No such device
[    9.448290] ifup[266]: If you think you have received this message due to a bug rather
[    9.450339] ifup[266]: than a configuration issue please read the section on submitting
[    9.452388] ifup[266]: bugs on either our web page at www.isc.org or in the README file
[    9.454261] ifup[266]: before submitting a bug.  These pages explain the proper
[    9.456491] ifup[266]: process and the information we find helpful for debugging..
[    9.458293] ifup[266]: exiting.
[    9.459521] dhclient[307]: 
[    9.460977] dhclient[307]: If you think you have received this message due to a bug rather
[    9.463294] dhclient[307]: than a configuration issue please read the section on submitting
[    9.465634] ifup[266]: Failed to bring up eth0.
[    9.466846] dhclient[307]: bugs on either our web page at www.isc.org or in the README file
[    9.468607] dhclient[307]: before submitting a bug.  These pages explain the proper
[    9.469907] dhclient[307]: process and the information we find helpful for debugging..
[    9.471590] dhclient[307]: 
[    9.472475] dhclient[307]: exiting.


Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
responded Dec 10, 2016 by Turbo_Fredriksson (8,980 points)   7 13 19
...