The Russian war against Ukraine will inevitably dominate the summit of G7 nations in Bavaria.