Deployed a new new OpenWRT vnf with default tacker/devstack/samples/openwrt.yaml by GUI.
After same time of showing ACTIVE state, vnf goies into DEAD state. And keep re-spawning again and again.
Log showing tacker failing to ping.
2016-03-14 20:35:22.144 ERROR tacker.agent.linux.utils [-]
Command: ['ping', '-c', '5', '-W', '1', '-i', '0.2', '192.168.120.8']
Exit code: 1
Stdout: 'PING 192.168.120.8 (192.168.120.8) 56(84) bytes of data.\n\n--- 192.168.120.8 ping statistics ---\n5 packets transmitted, 0 received, 100% packet loss, time 827ms\n\n'
Stderr: ''
2016-03-14 20:35:22.145 WARNING tacker.vm.monitor_drivers.ping.ping [-] Cannot ping ip address: 192.168.120.8
2016-03-14 20:35:22.145 DEBUG tacker.vm.monitor [-] driver_return failure from (pid=12324) run_monitor /opt/stack/tacker/tacker/vm/monitor.py:150
2016-03-14 20:35:22.146 ERROR tacker.vm.monitor [-] device 395af00c-3909-412f-9f52-33e44644c573 dead
Which version of OpenWRT are you using ? The default version uploaded doesn't have dhcp enabled and hence it won't respond to ping.
We need a fix as outlined in [1].
[1] https:/ /review. openstack. org/#/c/ 289776/