Manchester City midfielder Rodri will be out for “a long, long time” and requires surgery, manager Pep Guardiola has said.