Unable to see RH Satellite Repos

Latest response

Good morning RedHattians,

I have a fresh install of Satellite 6.0 running on a fresh install of RH6.5. I have successfully (well, I think successfully):
- installed, registered and subscribed Satellite server
- gathered Red Hat repositories for 6.5 (RPMS for server and common files)
- configured relevant products and content views
- published the initial version of my content view (this install is being used, for the moment, as a patching solution for the RH6.5 OS - no puppet or custom packages installed as yet)
- successfully registered and subscribed a RH 6.5 client to Satellite
- on the client, enabled the two software repositories

However, when I try and install the katello-agent on the client, I am constantly getting:

yum install katello-agent
Loaded plugins: product-id, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
https:///pulp/repos//Library/RH65/content/dist/rhel/server/6/6Server/x86_64/rh-common/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-6-server-rh-common-rpms. Please verify its path and try again

When I try and wget this repomd.xml file (ignoring the self signed certificate) it does not exist. It looks like the URL is not being published correctly from ther Satellite server, but I am having issues troubleshooting this.

Any assistance in troubleshooting this issue would be appreciated.

Graha.

Responses

Looks like youre missing the hostname part in the URL for the repository -> https://[missing]/pulp/repos/

Just do a subscription-manager refresh to update the subscription information on your rhel client server.

You can check that the repos is enabled for your host by runing (on the client machine) :

subscription-manager repos --list

If they are not enabled, you can run :

subscription-manager repos --enable=*

to enable them all.

I would check the settings of your Satellite6 server. Go check Administer->Settings->General.

And validate the foreman_url

To help you more, you can have a look at the logs, pulp put it's errors in /var/log/message.

You can also have a look at the apache logs under /var/log/httpd.

After all that I would revise the life cycle environments that you did, and if the content views are pushed to those environments.

And that your client machine is in the same environment.

Thanks for the feedback Daniel - running through your recommendations helped me find the problem. Looking at the configuration of the hosts, under "Details", the setting of "Content Host Content - Release Version" was blank. Once I set this to the correct release version, magic started happening and I was able to install the katello-agent.

Once again - thanks for the assistance.

As an addendum (and for future reference), I do have a hostname and organisation on the URL I am using - I replaced it in my post and the replacement I put in must have not shown up. The URL is:

https://satellite-server/pulp/repos/organisation/Library/RH65/content/dist/rhel/server/6/6Server/x86_64/rh-common/os/repodata/repomd.xml

Well I am happy to be of some help.

I spent so much time on Sat6 I had to share ;).

Daniel,

I am receiving a similar error:

$ yum install katello-agent
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Setting up Install Process
https://sat-server/pulp/repos/ORGANIZATION/Library/content/dist/rhel/server/6/6.6/x86_64/rh-common/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-6-server-rh-common-rpms. Please verify its path and try again

I have verified that the correct repos are enabled and I also took a glance at my foreman url which is just simply the url of the Satellite Server. Any help is greatly appreciated.

Thanks,

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.