the true root cause, imho, is that the leadership in russia imagines themselves to be the superpower and have the natural right to influence in the region (and the exclusion of other superpower's influence).
I think they must give up this notion. If russia turned into what germany is today after the fall of the USSR, they'd be prosperous. It would mean capitulation (to the "west"). Of course, this would mean that the oligarchs do not get their wealth, so there's no impetus for this course of action from anyone. The US is also not keep to have a "marshall plan" like they had with the post WW2 period to rebuild.
So perhaps this war in ukraine is "inevitable".