That might be a reason, but probably more relevant is the fact that when you want solar to provide all power for a data center, you need a lot of buffering capacity (batteries). And then you also need a back up for when the sun doesn't shine... Which is probably a gas generator.
Easier to just install a gas generator then