Chaos has erupted at a major UK airport after all flights were grounded due to an IT issue.