Obama said that Russia has to remove itself from South Ossetia and Abkhazia, but the Europeans, who negotiated the six point peace plan between Russia and Georgia, don't have quite that clear a deal. The Russians did have "peacekeepers in the region beforehand" and they will remain.
McCain called Obama naive for calling on both sides to be calm. Even the Bush administration had been warning Georgia in the weeks leading up to this not to take the Russian bait. The Russians say they were responding to Georgian aggression against South Ossetia. McCain also seemed to suggest that Russia is behind the political turmoil inside Ukraine. That is possible, but these are states that are always at odds.