Source:
<code>private void refreshVdsStats() { if (Config.<Boolean> getValue(ConfigValues.DebugTimerLogging)) { log.debugFormat("vdsManager::refreshVdsStats entered, vds = {0} : {1}", _vds.getId(), _vds.getName()); } <START> fetchHostInterfaces(); <END> GetStatsVDSCommand<VdsIdAndVdsVDSCommandParametersBase> vdsBrokerCommand = new GetStatsVDSCommand<VdsIdAndVdsVDSCommandParametersBase>(new VdsIdAndVdsVDSCommandParametersBase(_vds)); vdsBrokerCommand.execute(); getVdsEventListener().updateSchedulingStats(_vds); if (!vdsBrokerCommand.getVDSReturnValue().getSucceeded() && vdsBrokerCommand.getVDSReturnValue().getExceptionObject() != null) { VDSNetworkException ex = (VDSNetworkException) ((vdsBrokerCommand.getVDSReturnValue().getExceptionObject() instanceof VDSNetworkException) ? vdsBrokerCommand .getVDSReturnValue().getExceptionObject() : null); if (ex != null) { if (_vdsManager.handleNetworkException(ex, _vds)) { _saveVdsDynamic = true; } log.errorFormat("vds::refreshVdsStats Failed getVdsStats, vds = {0} : {1}, error = {2}", _vds.getId(), _vds.getName(), ExceptionUtils.getMessage(ex)); } else { log.errorFormat("vds::refreshVdsStats Failed getVdsStats, vds = {0} : {1}, error = {2}", _vds.getId(), _vds.getName(), vdsBrokerCommand.getVDSReturnValue().getExceptionString()); } throw vdsBrokerCommand.getVDSReturnValue().getExceptionObject(); } _saveVdsDynamic = true; _saveVdsStatistics = true; alertIfLowDiskSpaceOnHost(); checkVdsInterfaces(); if (Config.<Boolean> getValue(ConfigValues.DebugTimerLogging)) { log.debugFormat("vds::refreshVdsStats\n{0}", toString()); } }</code><technical_language>fetch call vdsm succeeded (the if below) ? i dont</technical_language>

Target:
public void refreshVdsStats() { if (Config.<Boolean> getValue(ConfigValues.DebugTimerLogging)) { log.debugFormat("vdsManager::refreshVdsStats entered, vds = {0} : {1}", _vds.getId(), _vds.getName()); } fetchHostInterfaces(); GetStatsVDSCommand<VdsIdAndVdsVDSCommandParametersBase> vdsBrokerCommand = new GetStatsVDSCommand<VdsIdAndVdsVDSCommandParametersBase>(new VdsIdAndVdsVDSCommandParametersBase(_vds)); vdsBrokerCommand.execute(); getVdsEventListener().updateSchedulingStats(_vds); if (!vdsBrokerCommand.getVDSReturnValue().getSucceeded() && vdsBrokerCommand.getVDSReturnValue().getExceptionObject() != null) { VDSNetworkException ex = (VDSNetworkException) ((vdsBrokerCommand.getVDSReturnValue().getExceptionObject() instanceof VDSNetworkException) ? vdsBrokerCommand .getVDSReturnValue().getExceptionObject() : null); if (ex != null) { if (_vdsManager.handleNetworkException(ex, _vds)) { _saveVdsDynamic = true; } log.errorFormat("vds::refreshVdsStats Failed getVdsStats, vds = {0} : {1}, error = {2}", _vds.getId(), _vds.getName(), ExceptionUtils.getMessage(ex)); } else { log.errorFormat("vds::refreshVdsStats Failed getVdsStats, vds = {0} : {1}, error = {2}", _vds.getId(), _vds.getName(), vdsBrokerCommand.getVDSReturnValue().getExceptionString()); } throw vdsBrokerCommand.getVDSReturnValue().getExceptionObject(); } _saveVdsDynamic = true; _saveVdsStatistics = true; alertIfLowDiskSpaceOnHost(); checkVdsInterfaces(); if (Config.<Boolean> getValue(ConfigValues.DebugTimerLogging)) { log.debugFormat("vds::refreshVdsStats\n{0}", toString()); } }