----- Original Message ----- > Hi. I am running into a very annoying problem when working on vdsm > lately. My > development process involves stopping vdsm, replacing files, and > restarting it. > I do this pretty frequently. Sometimes, after restarting vdsm the > XMLRPC call > getStorageDomainsList() hangs. The following line is the last to > print in the > log: > > Thread-18::DEBUG::2012-02-09 > 17:11:46,793::misc::1017::SamplingMethod::(__call__) Trying to enter > sampling method (storage.sdc.refreshStorage) > > The only solution I've been able to come up with is restarting my > machine. When > stopping vdsm I search for any stale threads but I am unable to find > them. Do > you know what else might be causing DynamicBarrier.enter() to hang > for a long > period of time? Do the threading primitives use some sort of > temporary disk > storage that needs to be cleaned up? Thanks for the help!
Try to add some logging in sdc.py: def refreshStorage(self): >>> ADD LOG HERE multipath.rescan() I have a feeling that your issue is not with SamplingMethod > > -- > Adam Litke <a...@us.ibm.com> > IBM Linux Technology Center > > _______________________________________________ > vdsm-devel mailing list > email@example.com > https://fedorahosted.org/mailman/listinfo/vdsm-devel > _______________________________________________ vdsm-devel mailing list firstname.lastname@example.org https://fedorahosted.org/mailman/listinfo/vdsm-devel