VMware Cloud Community
pbannister2
Contributor
Contributor

Bug in 5.1 vCloud Director watchdog script?

There seems to be a bug in the vmware-vcd-watchdog  script. Not sure if this has any significant impact. In the watchdog log  there are a great number of entries of the form:
=====================================================
2012-09-27 15:51:46 | ALERT | vmware-vcd-cell is dead but /var/run/vmware-vcd-cell.pid exists, attempting to restart it
2012-09-27 15:51:48 | INFO  | Started vmware-vcd-cell (pid=)
2012-09-27 15:52:48 | ALERT | vmware-vcd-cell is dead but /var/run/vmware-vcd-cell.pid exists, attempting to restart it
2012-09-27 15:52:50 | INFO  | Started vmware-vcd-cell (pid=)
2012-09-27 15:53:50 | ALERT | vmware-vcd-cell is dead but /var/run/vmware-vcd-cell.pid exists, attempting to restart it
2012-09-27 15:53:52 | INFO  | Started vmware-vcd-cell (pid=)
=====================================================
(Yes, every minute the watchdog thinks the cell is dead.)


I changed a line in the watchdog script:  /opt/vmware/vcloud-director/bin/vmware-vcd-watchdog
=====================================================
# lockfile: /var/lock/subsys/vmware-vcd-watchdog.pid
=====================================================

To this:
=====================================================
# lockfile: /var/lock/subsys/vmware-vcd-watchdog
=====================================================

After rebooting the cell, the above seems to have removed the problem.

Tags (2)
0 Kudos
0 Replies