Russia has said that it does not want a war after the United States warned Moscow may invade Ukraine next month.