spacewalk: The scheduling service appears down. Please contact your Satellite administrator.

We got this error in the spacewalk gui when trying to populate a repository we created called “centos7_x86_64”.

The scheduling service appears down. Please contact your Satellite administrator.

Running the command manually helped to download the packages and show them in spacewalk

spacewalk-repo-sync --channel centos7_x86_64 --url http://mirror.centos.org/centos/7/os/x86_64/
....
01:29:10 Linking packages to channel.
01:29:21 Repo http://mirror.centos.org/centos/7/os/x86_64/ has comps file comps.xml.
01:29:21 Repo http://mirror.centos.org/centos/7/os/x86_64/ has 0 errata.
01:29:21 Sync of channel completed in 0:43:19.
01:29:21 Total time: 0:43:19