How to setup repo for RHEL without satellite subscription in Katello

Hi,

I want to setup RHEL repo in katello but as I have read so far, it require
manifest file which is only available via satellite subscription.

Is there a way I can setup RHEL repo without satellite subscription in
katello. I know it is possible in Pulp by mentioned SSL certificates but
not sure how to do in katello.

Appreciate any pointers.

Thanks,
Gaurav

Hi,
you should be able to create a manifest for a Subscription Asset Manager Organisationen. These manifests should work fine, I'm not sure why RedHat does it this way :smiley:

Klaas Demter

ATIX - The Linux & Open Source Company
www.atix.de

----- UrsprĂĽngliche Mail -----

··· Von: "Gaurav Kasera" An: "Foreman users" Gesendet: Donnerstag, 6. April 2017 17:54:19 Betreff: [foreman-users] How to setup repo for RHEL without satellite subscription in Katello

Hi,

I want to setup RHEL repo in katello but as I have read so far, it require
manifest file which is only available via satellite subscription.

Is there a way I can setup RHEL repo without satellite subscription in
katello. I know it is possible in Pulp by mentioned SSL certificates but
not sure how to do in katello.

Appreciate any pointers.

Thanks,
Gaurav

–
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 https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Hi Klaas,

Are you referring to create a manifest from Redhat Portal? As I said that
would required satellite subscription.

If there is another way please let me know.

Thanks

··· On Friday, 7 April 2017 08:10:08 UTC+1, Klaas Demter wrote: > > Hi, > you should be able to create a manifest for a Subscription Asset Manager > Organisationen. These manifests should work fine, I'm not sure why RedHat > does it this way :D > > Klaas Demter > > ATIX - The Linux & Open Source Company > www.atix.de > > ----- Ursprüngliche Mail ----- > Von: "Gaurav Kasera" <gka...@gmail.com > > An: "Foreman users" <forema...@googlegroups.com > > Gesendet: Donnerstag, 6. April 2017 17:54:19 > Betreff: [foreman-users] How to setup repo for RHEL without satellite > subscription in Katello > > Hi, > > I want to setup RHEL repo in katello but as I have read so far, it require > manifest file which is only available via satellite subscription. > > Is there a way I can setup RHEL repo without satellite subscription in > katello. I know it is possible in Pulp by mentioned SSL certificates but > not sure how to do in katello. > > Appreciate any pointers. > > Thanks, > Gaurav > > -- > 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 https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. >

https://access.redhat.com/management/distributors?type=satellite
then select "Subscription Asset Manager Organizations"
that should work without a sat subscription.

Direct link to create a sam:
https://access.redhat.com/management/distributors/create/sam

Klaas Demter

ATIX - The Linux & Open Source Company
www.atix.de

----- UrsprĂĽngliche Mail -----

··· Von: "Gaurav Kasera" An: "Foreman users" CC: demter@atix.de Gesendet: Freitag, 7. April 2017 12:00:25 Betreff: Re: [foreman-users] How to setup repo for RHEL without satellite subscription in Katello

Hi Klaas,

Are you referring to create a manifest from Redhat Portal? As I said that
would required satellite subscription.

If there is another way please let me know.

Thanks

On Friday, 7 April 2017 08:10:08 UTC+1, Klaas Demter wrote:

Hi,
you should be able to create a manifest for a Subscription Asset Manager
Organisationen. These manifests should work fine, I’m not sure why RedHat
does it this way :smiley:

Klaas Demter

ATIX - The Linux & Open Source Company
www.atix.de

----- UrsprĂĽngliche Mail -----
Von: “Gaurav Kasera” <gka...@gmail.com <javascript:>>
An: “Foreman users” <forema...@googlegroups.com <javascript:>>
Gesendet: Donnerstag, 6. April 2017 17:54:19
Betreff: [foreman-users] How to setup repo for RHEL without satellite
subscription in Katello

Hi,

I want to setup RHEL repo in katello but as I have read so far, it require
manifest file which is only available via satellite subscription.

Is there a way I can setup RHEL repo without satellite subscription in
katello. I know it is possible in Pulp by mentioned SSL certificates but
not sure how to do in katello.

Appreciate any pointers.

Thanks,
Gaurav

–
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 https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

No doesnt show me anything there…

Please open a support ticket for this. It has always been the case that
having a RHEL subscription should provide access to creating subscription
manifests for use in Subscription Asset Manager (an older on-premise
subscription management tool from Red Hat) as well as foreman w/ katello.
Please share your ticket number with me, if you don't mind.
Thanks!

··· On Fri, Apr 7, 2017 at 9:32 AM, Gaurav Kasera wrote:

No doesnt show me anything there…

–
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 https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

…support ticket with Red Hat…

··· On Fri, Apr 7, 2017 at 9:56 AM, Tom McKay wrote:

Please open a support ticket for this. It has always been the case that
having a RHEL subscription should provide access to creating subscription
manifests for use in Subscription Asset Manager (an older on-premise
subscription management tool from Red Hat) as well as foreman w/ katello.
Please share your ticket number with me, if you don’t mind.
Thanks!

On Fri, Apr 7, 2017 at 9:32 AM, Gaurav Kasera gkasera@gmail.com wrote:

No doesnt show me anything there…

–
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 https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Thanks Tom and Klaas, got the manifest via Subscription Asset Manager…

··· On Friday, 7 April 2017 14:56:47 UTC+1, Tom McKay wrote: > > ...support ticket with Red Hat... > > On Fri, Apr 7, 2017 at 9:56 AM, Tom McKay > wrote: > >> Please open a support ticket for this. It has always been the case that >> having a RHEL subscription should provide access to creating subscription >> manifests for use in Subscription Asset Manager (an older on-premise >> subscription management tool from Red Hat) as well as foreman w/ katello. >> Please share your ticket number with me, if you don't mind. >> Thanks! >> >> On Fri, Apr 7, 2017 at 9:32 AM, Gaurav Kasera > > wrote: >> >>> No doesnt show me anything there.. >>> >>> -- >>> 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 https://groups.google.com/group/foreman-users. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >

I am a bit new to RH subscriptions and Katello - trying to download manifest but a bit stuck with RH Subscription management site.

  1. We have valid RHEL and RHEV subscriptions
  2. I’ve created organization as described above
  3. I don’t see any subscriptions available to this new organization :frowning:

Why is that and how to fix this?

Thank you!

I used these steps to get a manifest file that I could use with Katello without a subscription:

  • Log in to RHN
  • Click on “Satellite Organizations”
  • Create an organization by clicking the “Create a Subscription Management Application” button.
  • Type should be “Subscription Asset Manager Organizations”
  • Select Version 1.4
  • Click on the newly created organization
  • Attache desired subscriptions
  • Click the “Download Manifest button”

If you create your org as a “Satellite” type, it wants you to get a subscription.

2 Likes

That’s what I see… No subscriptions available to this new org, can’t download manifest.
Removing checkbox from “Only show subscriptions that match this Subscription Asset Manager Organization” does not help.

It looks like Red Hat portal (or our company’s profile in their DB) has some issues. I’m working with RedHat support last few days, but they not yet provided any useful info.

1 Like

I hate to keep dredging up an old thread, but it might be handy to keep the context.

For anyone using RHEL hosts with Foreman, how are you handling the katello-agent installation? The version from RHEL 7 common is old and doesn’t support collecting errata or pushing updates from the Foreman web UI.

I’ve added the external katello repo at https://fedorapeople.org/groups/katello/releases/yum/3.4/client/el7/x86_64 but it also has a dependency on EPEL which I’ve then added as a product. Once the katello-agent version 3 is installed I can run push updates, but on a RHEL7 RHV (ovirt) hosted-engine configured host I get conflicts with collectd versions in rhel-7-server-rhv-4-mgmt-agent-rpms repo and collectd versions in EPEL.

[root@rhev003 gofer]# yum info katello-agent --show-duplicates
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager, tracer_upload
Installed Packages
Name        : katello-agent
Arch        : noarch
Version     : 3.0.2
Release     : 1.el7
Size        : 44 k
Repo        : installed
From repo   : katello-client
Summary     : The Katello Agent
URL         : https://github.com/Katello/katello-agent
License     : LGPLv2
Description : Provides plugin for gofer, which allows communicating with Katello server
            : and execute scheduled actions.

Available Packages
Name        : katello-agent
Arch        : noarch
Version     : 1.5.3
Release     : 5.el7sat
Size        : 22 k
Repo        : rhel-7-server-rh-common-rpms/7Server/x86_64
Summary     : The Katello Agent
URL         : https://fedorahosted.org/katello/
License     : LGPLv2
Description : Provides plugin for gofer, which allows communicating with Katello server
            : and execute scheduled actions.

Thanks,
Steve

I’ve managed to download manifest from Red Hat but now my Katello 3.5 give me this error while importing it.

Error refreshing manifest. PG::Error: ERROR: null value in column "virt_who" violates not-null constraint DETAIL: Failing row contains (16, 8a818193625598050162559982900004, 2018-03-24 01:22:27.957362, 2018-03-24 01:25:28.906133, null, 5973939, 11442353, null, 1, 2017-07-11 04:00:00, NORMAL, 2018-07-11 03:59:59, null, t, 0, f, f, null). : UPDATE "katello_pools" SET "multi_entitlement" = $1, "account_number" = $2, "contract_number" = $3, "quantity" = $4, "start_date" = $5, "end_date" = $6, "consumed" = $7, "pool_type" = $8, "virt_who" = $9, "updated_at" = $10 WHERE "katello_pools"."id" = $11

However in Manifest history it says
**ORGNAME** file imported successfully.

I have a proper active RH subscriptions associated with my “Subscription Asset Manager
Organization” in Red Hat Portal.

After import, I see the
Upstream Subscription ORGNAME
Upstream type “sam”

However, when I go to Content => Red Hat Subscription I see no subscriptions attached.
I see no RH repos uder "Content => Red Hat Repositories"
I see no RH products “Content ==> Products”

Generally speaking I guess manifest was not fully imported…

Any ideas?

This says this problem was fixed in Katello 3.4.5 Katello 3.4.4 Released

I run 3.5.0.1 and it still there.

Upgrade 3.5 to 3.6 RC1 has solved this issue.
I was able to successfully install manifest and sync RH repos.

Thanks everyone!