Mr. Kennan 's entire career had seemed to be preparation for his 1952 appointment as ambassador to Moscow , but his tour ended after five months when he was declared persona non grata -- on Stalin 's whim , he thought -- for a chance remark to a reporter in West Berlin who had asked him what life was like in the Soviet Union .