The Ukrainian club will sign the 21-year-old Argentinean on loan with a buyout option. Mansilla should arrive in Kyiv this week.
Previously it was reported that Mansilla's contract with Racing expires in 2020.
Mansilla played 51 matches during his career, scoring six goals and making an assist. He also played eight matches for Argentina U-20, scoring a goal and making an assist.