juno on CentOS 7 VMs and Neutron - Cirros test images - can't ping the instance [closed]
Hello,
I can't ping my instances that I create on both networks, public and LAN2.
I will try to describe my setup as much as possible.
I am using the stack through devstack. I have 2 VMs runing on CentOS7, one Controller/Network node (os3) and one compute node (os1). The two VMs can ping with each other.
I created a network and I launched a CirrOS instances on it. I got the error on the log: (Already some threads about it and very obscure fixes..)
udhcpc (v1.18.5) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
WARN: /etc/rc3.d/S40network failed
My instance doesn't get any IP. It looks like a DHCP problem.
Well I fix that (obscure) issue by creating a new instance but this time, I did not connect the network on the public one, I have my instance with the IP:
=== network info ===
if-info: lo,up,127.0.0.1,8,::1
if-info: eth0,up,192.168.192.2,20,fe80::f816:3eff:fe8c:8006
ip-route:default via 192.168.192.1 dev eth0
ip-route:192.168.192.0/20 dev eth0 src 192.168.192.2
=== datasource: configdrive local ===
instance-id: 5aa9fab2-eb9b-4107-87b7-753831c0f251
name: SmallOnLAN2
availability-zone: nova
local-hostname: smallonlan2.novalocal
launch-index: 0
=== cirros: current=0.3.2 uptime=18.91 ===
=== pinging gateway failed, debugging connection ===
############ debug start ##############
### /etc/init.d/sshd start
Starting dropbear sshd: OK
### ifconfig -a
eth0 Link encap:Ethernet HWaddr FA:16:3E:8C:80:06
inet addr:192.168.192.2 Bcast:192.168.207.255 Mask:255.255.240.0
inet6 addr: fe80::f816:3eff:fe8c:8006/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2080 (2.0 KiB) TX bytes:1692 (1.6 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:112 (112.0 B) TX bytes:112 (112.0 B)
### route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.192.1 0.0.0.0 UG 0 0 0 eth0
192.168.192.0 0.0.0.0 255.255.240.0 U 0 0 0 eth0
### cat /etc/resolv.conf
search openstacklocal
nameserver 192.168.192.3
### ping -c 5 192.168.192.1
PING 192.168.192.1 (192.168.192.1): 56 data bytes
--- 192.168.192.1 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
### pinging nameservers
#### ping -c 5 192.168.192.3
PING 192.168.192.3 (192.168.192.3): 56 data ...
My two VMs are actually CentOS 7 machines and I am wondering if the problem is related with the one described here? If yes, I have a starting pt
Hello GLaupre, I used this post in icehouse to configure a external network and works fine: http://goo.gl/4UXlfz
Then you might change your security rules to open all ports and assign a floating IP to your instance, good luck
Thanks, I'll try to fix that today.