This appears to be a bit more consistent than I thought. I removed / re-added 
another repo without getting any errors during the removal and the same thing 
happened. This time I changed the "label". 

Steps: 

Add "CentOS 7" repository to a product. 
Sync it (expected packages appear). 
Remove it. 
Re-add the repo (same or different label, doesn't matter). 
Sync it. Sync process says "no new packages" and repos say 0 packages/errata. 
Run " foreman-rake katello:reindex RAILS_ENV=production", packages appear in 
repo. 






From: "John Mitsch" <jomit...@redhat.com> 
To: foreman-users@googlegroups.com 
Sent: Wednesday, August 17, 2016 4:18:22 PM 
Subject: Re: [foreman-users] [Re-]Added repo won't pull down packages 

Jason, 
Thanks for sharing your issue, let us know if you hit it again and we can look 
into it further. 

Thanks, 

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

On Wed, Aug 17, 2016 at 11:26 AM, 'Jason B. Nance' via Foreman users < 
foreman-users@googlegroups.com > wrote: 


> Here's what I've tried: 
> 
> Deleted the "EPEL 7" yum repo 
> Ran "foreman-rake katello:delete_orphaned_content RAILS_ENV=production" 
> Ran "pulp-admin orphan list" (it always reports 0 for everything) 
> Ran "pulp-admin repo list" and make sure there were no "EPEL" repos listed 
> Removed all directories with "epel" in the name in 
> "/var/lib/pulp/published/yum/*" (recursively) 
> Removed all references to "epel" in all "listing" files in 
> "/var/lib/pulp/published/yum/*" (recursively) 
> Rebooted three times for the lulz 
> [Re-]Added EPEL 7 (with the same label "epel7-int") 
> Ran manual sync, which indicated that there are no new packages 

I just ran: 

foreman-rake katello:reindex RAILS_ENV=production 
foreman-rake katello:clean_backend_objects RAILS_ENV=production 

And one or both of those commands cleaned up the issue. 

*shrug* 

j 

-- 
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+unsubscr...@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+unsubscr...@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+unsubscr...@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.

Reply via email to