Created a new channel on spacewalk server and after using rhnpush to add the packages, client wasn’t able to download any packages and I kept getting following:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: <channel name>
I tried making sure time was in sync. Tried yum clean all on client, no help.
Then on the spacewalk server in the channel details, this is what I saw:
|Last Repo Build:||none|
|Repo Cache Status:||none|
So it had not built the repo yet.
Searching on google, multiple other tries, I got the following hint:
taskomatic was not running on spacewalk server and hence repo was not built. starting the service fixed this in few minutes.