The changing security conditions in Iraq have also colored the debate in the U.S. presidential race , where Iraq is one of the most divisive issues between Democratic candidate Barack Obama and Republican John McCain .