[Katello] Problem with rehdat repos

Hi Everyone,

I am having a problem with the Redhat repos after importing them in to
Katello.
This was import from the manifest from Redhat.
https://cdn.redhat.com/content/dist/rhel/server/6/6Server/i386/optional/os

The custom one are in the following directory.
Version is 1.6.3 Katello 2.0
on the UI it is looking for the following but this is not the correct
location.
/pub/repos/AIRCELL_PROD/Library/content/dist/rhel/server/6/6Server/i386/optional/os

This is the correct location. Is there a configuration file that is used ?

/var/www/pulp/nodes/https/repos/AIRCELL_PROD-Library-redhatpub6-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_6/content/rpm

Thanks Al Johnson

> Hi Everyone,
>
> I am having a problem with the Redhat repos after importing them in to
> Katello.
> This was import from the manifest from Redhat.
> https://cdn.redhat.com/content/dist/rhel/server/6/6Server/i386/optional/os
>
> The custom one are in the following directory.
> Version is 1.6.3 Katello 2.0
> on the UI it is looking for the following but this is not the correct
> location.
> /pub/repos/AIRCELL_PROD/Library/content/dist/rhel/server/6/6Server/i386/optional/os

What makes you think this is not the right location?

To access the content you need to register your clients with
subscription-manager and manage their access to the repo that way.

> This is the correct location. Is there a configuration file that is used ?
>
> /var/www/pulp/nodes/https/repos/AIRCELL_PROD-Library-redhatpub6-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_6/content/rpm

This is an entirely different repo, and this is the path on disk,
it's not the same as the URL path.

··· On Tue, Dec 16, 2014 at 01:59:34PM -0600, Alvin Johnson wrote:

Thanks Al Johnson


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Stephen Benjamin


Red Hat GmbH | http://de.redhat.com/ | Sitz: Grasbrunn
Handelsregister: Amtsgericht München, HRB 153243
Geschäftsführer: Charles Cachera, Michael Cunningham,
Michael O’Neill, Charles Peters

Stephen,
I do have a redhat client register to the katello server.
Issued the command subscription-manager repos
It pulled down all the repos.
Next did yum update that where the client showed the 404 error not found.
After trying to figure out what happen. I look at the directory and saw two
one from the publish.
The rpm are under the pub and not rpm are under /var/www/pulp
I will add the Redhat 7 repo and sync will watch the logs.

Alvin

··· On Wednesday, December 17, 2014 6:11:45 AM UTC-6, Stephen Benjamin wrote: > > On Tue, Dec 16, 2014 at 01:59:34PM -0600, Alvin Johnson wrote: > > Hi Everyone, > > > > I am having a problem with the Redhat repos after importing them in to > > Katello. > > This was import from the manifest from Redhat. > > > https://cdn.redhat.com/content/dist/rhel/server/6/6Server/i386/optional/os > > > > The custom one are in the following directory. > > Version is 1.6.3 Katello 2.0 > > on the UI it is looking for the following but this is not the correct > > location. > > > /pub/repos/AIRCELL_PROD/Library/content/dist/rhel/server/6/6Server/i386/optional/os > > > What makes you think this is not the right location? > > To access the content you need to register your clients with > subscription-manager and manage their access to the repo that way. > > > This is the correct location. Is there a configuration file that is > used ? > > > > > /var/www/pulp/nodes/https/repos/AIRCELL_PROD-Library-redhatpub6-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_6/content/rpm > > > This is an entirely different repo, and this is the path on disk, > it's not the same as the URL path. > > > > > > > Thanks Al Johnson > > > > -- > > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > -- > Stephen Benjamin > > ______________________________________________________ > Red Hat GmbH | http://de.redhat.com/ | Sitz: Grasbrunn > Handelsregister: Amtsgericht München, HRB 153243 > Geschäftsführer: Charles Cachera, Michael Cunningham, > Michael O'Neill, Charles Peters > > >

> Stephen,
> I do have a redhat client register to the katello server.
> Issued the command subscription-manager repos
> It pulled down all the repos.
> Next did yum update that where the client showed the 404 error not found.

There's any number of reasons for this. It could be related to the
release version set on your content host (Hosts / Content Hosts ->
Details, and select the release version that you're using).

'yum clean all' and then 'yum repolist' could help.

And as a last resort, unregister, clean, and re-register:

subscription-manager unregister
subscription-manager clean
subscription-manager register

Hope that helps

··· On Wed, Dec 17, 2014 at 03:10:28PM -0800, Alvin Johnson wrote:

After trying to figure out what happen. I look at the directory and saw two
one from the publish.

The rpm are under the pub and not rpm are under /var/www/pulp
I will add the Redhat 7 repo and sync will watch the logs.

Alvin

On Wednesday, December 17, 2014 6:11:45 AM UTC-6, Stephen Benjamin wrote:

On Tue, Dec 16, 2014 at 01:59:34PM -0600, Alvin Johnson wrote:

Hi Everyone,

I am having a problem with the Redhat repos after importing them in to
Katello.
This was import from the manifest from Redhat.

https://cdn.redhat.com/content/dist/rhel/server/6/6Server/i386/optional/os

The custom one are in the following directory.
Version is 1.6.3 Katello 2.0
on the UI it is looking for the following but this is not the correct
location.

/pub/repos/AIRCELL_PROD/Library/content/dist/rhel/server/6/6Server/i386/optional/os

What makes you think this is not the right location?

To access the content you need to register your clients with
subscription-manager and manage their access to the repo that way.

This is the correct location. Is there a configuration file that is
used ?

/var/www/pulp/nodes/https/repos/AIRCELL_PROD-Library-redhatpub6-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_6/content/rpm

This is an entirely different repo, and this is the path on disk,
it’s not the same as the URL path.

Thanks Al Johnson


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-user...@googlegroups.com <javascript:>.
To post to this group, send email to forema...@googlegroups.com
<javascript:>.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Stephen Benjamin


Red Hat GmbH | http://de.redhat.com/ | Sitz: Grasbrunn
Handelsregister: Amtsgericht München, HRB 153243
Geschäftsführer: Charles Cachera, Michael Cunningham,
Michael O’Neill, Charles Peters


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Stephen Benjamin


Red Hat GmbH | http://de.redhat.com/ | Sitz: Grasbrunn
Handelsregister: Amtsgericht München, HRB 153243
Geschäftsführer: Charles Cachera, Michael Cunningham,
Michael O’Neill, Charles Peters

Stephen,
Thanks for the help the yum clean all worked and it download all the rpms
for redhat.
Now going to install the capsule.

Alvin.

··· On Thursday, December 18, 2014 2:39:31 AM UTC-6, Stephen Benjamin wrote: > > On Wed, Dec 17, 2014 at 03:10:28PM -0800, Alvin Johnson wrote: > > Stephen, > > I do have a redhat client register to the katello server. > > Issued the command subscription-manager repos > > It pulled down all the repos. > > Next did yum update that where the client showed the 404 error not > found. > > There's any number of reasons for this. It could be related to the > release version set on your content host (Hosts / Content Hosts -> > Details, and select the release version that you're using). > > 'yum clean all' and then 'yum repolist' could help. > > And as a last resort, unregister, clean, and re-register: > > subscription-manager unregister > subscription-manager clean > subscription-manager register > > > Hope that helps > > > > After trying to figure out what happen. I look at the directory and saw > two > > one from the publish. > > > > The rpm are under the pub and not rpm are under /var/www/pulp > > I will add the Redhat 7 repo and sync will watch the logs. > > > > > > > > Alvin > > > > > > > > On Wednesday, December 17, 2014 6:11:45 AM UTC-6, Stephen Benjamin > wrote: > > > > > > On Tue, Dec 16, 2014 at 01:59:34PM -0600, Alvin Johnson wrote: > > > > Hi Everyone, > > > > > > > > I am having a problem with the Redhat repos after importing them in > to > > > > Katello. > > > > This was import from the manifest from Redhat. > > > > > > > > https://cdn.redhat.com/content/dist/rhel/server/6/6Server/i386/optional/os > > > > > > > > The custom one are in the following directory. > > > > Version is 1.6.3 Katello 2.0 > > > > on the UI it is looking for the following but this is not the > correct > > > > location. > > > > > > > > /pub/repos/AIRCELL_PROD/Library/content/dist/rhel/server/6/6Server/i386/optional/os > > > > > > > > > > What makes you think this is not the right location? > > > > > > To access the content you need to register your clients with > > > subscription-manager and manage their access to the repo that way. > > > > > > > This is the correct location. Is there a configuration file that is > > > used ? > > > > > > > > > > > > /var/www/pulp/nodes/https/repos/AIRCELL_PROD-Library-redhatpub6-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_6/content/rpm > > > > > > > > > > This is an entirely different repo, and this is the path on disk, > > > it's not the same as the URL path. > > > > > > > > > > > > > > > Thanks Al Johnson > > > > > > > > -- > > > > You received this message because you are subscribed to the Google > > > Groups "Foreman users" group. > > > > To unsubscribe from this group and stop receiving emails from it, > send > > > an email to foreman-user...@googlegroups.com . > > > > To post to this group, send email to forema...@googlegroups.com > > > . > > > > Visit this group at http://groups.google.com/group/foreman-users. > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > > Stephen Benjamin > > > > > > ______________________________________________________ > > > Red Hat GmbH | http://de.redhat.com/ | Sitz: Grasbrunn > > > Handelsregister: Amtsgericht München, HRB 153243 > > > Geschäftsführer: Charles Cachera, Michael Cunningham, > > > Michael O'Neill, Charles Peters > > > > > > > > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > > -- > Stephen Benjamin > > ______________________________________________________ > Red Hat GmbH | http://de.redhat.com/ | Sitz: Grasbrunn > Handelsregister: Amtsgericht München, HRB 153243 > Geschäftsführer: Charles Cachera, Michael Cunningham, > Michael O'Neill, Charles Peters > > >