Hide Forgot
Description of problem: Sometimes when stopping vdsmd- not all processes are being killed and still bounded to 54321 socket. [root@camel-vdsb storage]# /etc/init.d/vdsmd stop Shutting down vdsm daemon: vdsm watchdog stop [ OK ] vdsm stop [ OK ] [root@camel-vdsb storage]# ps aux | grep vdsm vdsm 4535 0.0 0.0 1451148 26212 ? S< 11:18 0:00 /usr/bin/python /usr/share/vdsm//vdsm vdsm 4538 0.0 0.0 1526928 28264 ? S< 11:18 0:00 /usr/bin/python /usr/share/vdsm//vdsm [root@camel-vdsb storage]# lsof -i -Pn |grep 54321 vdsm 4535 vdsm 7u IPv4 1843887 0t0 TCP 10.35.116.2:54321 (LISTEN) vdsm 4535 vdsm 24u IPv4 1845174 0t0 TCP 10.35.116.2:54321->10.35.77.4:51782 (CLOSE_WAIT) vdsm 4538 vdsm 7u IPv4 1843887 0t0 TCP 10.35.116.2:54321 (LISTEN) vdsm 4538 vdsm 24u IPv4 1845174 0t0 TCP 10.35.116.2:54321->10.35.77.4:51782 (CLOSE_WAIT) therefore its impossible to start vdsmd: vdsm: port 54321 already bound [FAILED] Version-Release number of selected component (if applicable): vdsm-4.9-68.el6.x86_64 How reproducible: 50% Steps to Reproduce: 1./etc/init.d/vdsmd stop 2./etc/init.d/vdsmd restart (repeat till you hit it)
commit 7fd0047733bbb4303e41ccb002d96d1c7bb63cca (HEAD, dk/cloexec2) Author: Dan Kenigsberg <danken> Date: Mon Jan 31 18:08:34 2011 +0200 BZ#706847 close xmlrpc socket on exec Change-Id: I15bdd80a15c55db62fba7218306788f040397415 http://gerrit.usersys.redhat.com/497
/etc/init.d/vdsmd restart was executed 200 times successfully. Verified ic122 vdsm-4.9-73.el6.x86_64
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2011-1782.html