[Katello 2.2.2] Can't associate subscriptoin with repositories

Hi,

I'm still trying to figure out how this all hangs together.

I created some products, Centos 6.6, Centos 7.1, EPEL 6, EPEL 7 and so on.
They all have one or more repositories connected to them. Each product also
have a subscription with the corresponding name.

And I have a set of activation keys that is associtaed with one or more
subscriptions.

When I view the subscriptions, they do not have any repositories associated.
The message is: "No repository content provided through this subscription."

And hence, the activation keys do not have any repository content.

What is it that I am not understanding here?

thanks,

-Thomas

Have you sync'ed the repositories? Have the repos been added and published/promoted to the content view of the activation key?

··· ----- Original Message ----- > Hi, > > I'm still trying to figure out how this all hangs together. > > I created some products, Centos 6.6, Centos 7.1, EPEL 6, EPEL 7 and so on. > They all have one or more repositories connected to them. Each product also > have a subscription with the corresponding name. > > And I have a set of activation keys that is associtaed with one or more > subscriptions. > > When I view the subscriptions, they do not have any repositories associated. > The message is: "No repository content provided through this subscription." > > And hence, the activation keys do not have any repository content. > > What is it that I am not understanding here? > > thanks, > > -Thomas > > -- > 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. >

Hi, thanks for the reply.

Yes, the repos are synced.
I have basic content views for the CentOS7, EPEL7 and Katello Client.
Then a composit view for the three together.
Everything is publishd to the "Library" environment, which is the only
environment I have.
The activation key is then associated with the composite content view.

I was wondering if there is any update on this. I have run into the same
problem. Custom, Product, sync'd to repo, added and promoted to content
view, 0 (zero) packages available to the content host?!?

··· On Wednesday, July 1, 2015 at 3:25:07 PM UTC-4, Thomas Eriksson wrote: > > Hi, thanks for the reply. > > Yes, the repos are synced. > I have basic content views for the CentOS7, EPEL7 and Katello Client. > Then a composit view for the three together. > Everything is publishd to the "Library" environment, which is the only > environment I have. > The activation key is then associated with the composite content view. >

Hi Mitch,

You are using Katello 2.2.2 ? Is your content host attached to the
subscription for the product containing the repository?

Eric

··· On Wed, May 18, 2016 at 2:16 PM, Mitch S wrote:

I was wondering if there is any update on this. I have run into the same
problem. Custom, Product, sync’d to repo, added and promoted to content
view, 0 (zero) packages available to the content host?!?

On Wednesday, July 1, 2015 at 3:25:07 PM UTC-4, Thomas Eriksson wrote:

Hi, thanks for the reply.

Yes, the repos are synced.
I have basic content views for the CentOS7, EPEL7 and Katello Client.
Then a composit view for the three together.
Everything is publishd to the “Library” environment, which is the only
environment I have.
The activation key is then associated with the composite content view.


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.


Eric D. Helms
Red Hat Engineering
Ph.D. Student - North Carolina State University

I am running katello 2.2.0.19 as packaged with Redhat Satellite Server.

katello-service-2.2.0.19-1.el7sat.noarch
katello-2.2.0.19-1.el7sat.noarch

The subscription is attached and I can see it and the packages it contains in the list, but the host only sees an empty repository.

··· ________________________________ From: eric.d.helms@gmail.com on behalf of Eric D Helms Sent: Saturday, May 21, 2016 11:00:16 AM To: foreman-users@googlegroups.com Subject: Re: [foreman-users] [Katello 2.2.2] Can't associate subscriptoin with repositories

Hi Mitch,

You are using Katello 2.2.2 ? Is your content host attached to the subscription for the product containing the repository?

Eric

On Wed, May 18, 2016 at 2:16 PM, Mitch S <mitch.saba@uconn.edumailto:mitch.saba@uconn.edu> wrote:
I was wondering if there is any update on this. I have run into the same problem. Custom, Product, sync’d to repo, added and promoted to content view, 0 (zero) packages available to the content host?!?

On Wednesday, July 1, 2015 at 3:25:07 PM UTC-4, Thomas Eriksson wrote:
Hi, thanks for the reply.

Yes, the repos are synced.
I have basic content views for the CentOS7, EPEL7 and Katello Client.
Then a composit view for the three together.
Everything is publishd to the “Library” environment, which is the only environment I have.
The activation key is then associated with the composite content view.


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.commailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.commailto: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.


Eric D. Helms
Red Hat Engineering
Ph.D. Student - North Carolina State University


You received this message because you are subscribed to a topic in the Google Groups “Foreman users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/foreman-users/V66e-Aotd1g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to foreman-users+unsubscribe@googlegroups.commailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.commailto: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.

Mitch,

Can you try

#subscription-manager list --available
get the pool id of the subscription you need
then

subscription-manager attach --pool <pool-id>

if that doesn't work, paste the output of
#subscription-manager list --consumed

Thanks,

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

··· On Mon, May 23, 2016 at 8:05 AM, Saba, Mitch wrote:

I am running katello 2.2.0.19 as packaged with Redhat Satellite Server.

katello-service-2.2.0.19-1.el7sat.noarch
katello-2.2.0.19-1.el7sat.noarch

The subscription is attached and I can see it and the packages it contains
in the list, but the host only sees an empty repository.


From: eric.d.helms@gmail.com eric.d.helms@gmail.com on behalf of Eric
D Helms ericdhelms@gmail.com
Sent: Saturday, May 21, 2016 11:00:16 AM
To: foreman-users@googlegroups.com
Subject: Re: [foreman-users] [Katello 2.2.2] Can’t associate
subscriptoin with repositories

Hi Mitch,

You are using Katello 2.2.2 ? Is your content host attached to the
subscription for the product containing the repository?

Eric

On Wed, May 18, 2016 at 2:16 PM, Mitch S mitch.saba@uconn.edu wrote:

I was wondering if there is any update on this. I have run into the same
problem. Custom, Product, sync’d to repo, added and promoted to content
view, 0 (zero) packages available to the content host?!?

On Wednesday, July 1, 2015 at 3:25:07 PM UTC-4, Thomas Eriksson wrote:

Hi, thanks for the reply.

Yes, the repos are synced.
I have basic content views for the CentOS7, EPEL7 and Katello Client.
Then a composit view for the three together.
Everything is publishd to the “Library” environment, which is the only
environment I have.
The activation key is then associated with the composite content view.


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.


Eric D. Helms
Red Hat Engineering
Ph.D. Student - North Carolina State University


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/V66e-Aotd1g/unsubscribe.
To unsubscribe from this group and all its topics, 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.


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.