A Russian oil tanker has docked in Cuba, providing temporary relief after months of shortages.