Re: [foreman-users] katello centos-base repo not syncing

2017-02-17 Thread Eric D Helms
Does the sync task itself fail? If so, what do you see on the errors tab of
the task? Is Pulp throwing an error?

Thanks
Eric

On Feb 16, 2017 10:07 PM, "Edson Manners" <edson.mann...@gmail.com> wrote:

Hate to bump the thread but I have the same issue. Katello 3.1.

The sync worked in this repo: http://vault.centos.org/7.1.1503/os/x86_64/
and did 8652 packages 3 months ago. A few yum updates later and now it wont
do it again or this repo:
http://vault.centos.org/7.2.1511/os/x86_64/

On Tuesday, October 25, 2016 at 4:42:55 PM UTC-4, steved0ca wrote:
>
> It seems the pulp-streaming service stopped running. After restarting it I
> was able to kill the sync tasks and restart them, but they still don't
> actually download any packages for Centos-base or -updates repos.
>
> On Mon, Oct 24, 2016 at 1:35 PM, steved0ca <sdai...@spd1.com> wrote:
>
>> I tried all three options without any luck.
>>
>> After restarting the host, I tried to sync again with the 'background'
>> option and a manual sync and now I have an endless 'Result: Pending'
>> spinning circle for both the centos-base repo, and another repo that was
>> previously working.
>>
>> Here is the foreman production.log but I don't see anything helpful.
>> https://drive.google.com/file/d/0B7s4TFC-GYcAdVM1MH
>> NaOWZfR3c/view?usp=sharing
>>
>> On Monday, 24 October 2016 01:12:12 UTC-7, Klaas Demter wrote:
>>>
>>> Hi,
>>> try to change the download policy to "Immediate", I have had problems
>>> with "On demand" for some repositories.
>>>
>>> Greetings
>>> Klaas
>>>
>>>
>>>
>>> - Ursprüngliche Mail -
>>> Von: "steved0ca" <sdai...@spd1.com>
>>> An: "Foreman users" <forema...@googlegroups.com>
>>> Gesendet: Sonntag, 23. Oktober 2016 21:03:59
>>> Betreff: [foreman-users] katello centos-base repo not syncing
>>>
>>> I have successfully synced other repos ie 'epel' without any difficulty.
>>>
>>> I've created a product 'centos-base' with a repo called 'centos-base'
>>> and
>>> attempted to sync the repo but no packages will sync. Same problem with
>>> centos-updates. Not sure where to start troubleshooting this, the
>>> foreman
>>> production.log doesn't have any obvious errors.
>>>
>>> The content host does display the repo including package count:
>>> # yum repolist
>>> ...
>>> repo id
>>>
>>> repo name status
>>> *!Default_Organization_CentOS-Base_CentOS-Base
>>>
>>>   CentOS-Base9,007*
>>> !Default_Organization_CentOS-Gluster-3_7_CentOS-Gluster-3_7
>>>
>>> CentOS-Gluster-3.714
>>> !Default_Organization_CentOS-Updates_CentOS-Updates
>>>
>>> CentOS-Updates 2,548
>>> !Default_Organization_epel_epel
>>>
>>> epel  11,215
>>> !Default_Organization_filebeat_filebeat
>>>
>>> filebeat  44
>>> !Default_Organization_glusterfs-nagios-epel_glusterfs-nagios-epel
>>>
>>> glusterfs-nagios-epel 10
>>> !Default_Organization_katello-agent_katello-agent
>>>
>>> katello-agent 15
>>> !Default_Organization_pcic_internal_pcic_internal
>>>
>>> pcic_internal 13
>>> base/7/x86_64
>>>
>>> CentOS-7 - Base*9,007*
>>> epel/x86_64
>>>
>>> Extra Packages for Enterprise Linux 7 - x86_6410,751
>>> extras/7/x86_64
>>>
>>> CentOS-7 - Extras393
>>> updates/7/x86_64
>>>
>>>  CentOS-7 - Updates 2,548
>>> repolist: 45,565
>>>
>>>
>>> Katello version 3.1
>>> Foreman 1.12.3
>>> Foreman OS CentOS 7.2
>>>
>>> pulp journal:
>>> Oct 23 11:45:03 foreman.my.domain.name pulp[12865]:
>>> kombu.transport.qpid:INFO: Connected to qpid with SASL mechanism
>>> ANONYMOUS
>>> Oct 23 11:45:04 foreman.my.domain.name pulp[299]:
>>> celery.worker.strategy:INFO: Received task:
&

Re: [foreman-users] katello centos-base repo not syncing

2016-10-25 Thread Steve Dainard
It seems the pulp-streaming service stopped running. After restarting it I
was able to kill the sync tasks and restart them, but they still don't
actually download any packages for Centos-base or -updates repos.

On Mon, Oct 24, 2016 at 1:35 PM, steved0ca <sdain...@spd1.com> wrote:

> I tried all three options without any luck.
>
> After restarting the host, I tried to sync again with the 'background'
> option and a manual sync and now I have an endless 'Result: Pending'
> spinning circle for both the centos-base repo, and another repo that was
> previously working.
>
> Here is the foreman production.log but I don't see anything helpful.
> https://drive.google.com/file/d/0B7s4TFC-GYcAdVM1MHNaOWZfR3c/view?usp=
> sharing
>
> On Monday, 24 October 2016 01:12:12 UTC-7, Klaas Demter wrote:
>>
>> Hi,
>> try to change the download policy to "Immediate", I have had problems
>> with "On demand" for some repositories.
>>
>> Greetings
>> Klaas
>>
>>
>>
>> - Ursprüngliche Mail -
>> Von: "steved0ca" <sdai...@spd1.com>
>> An: "Foreman users" <forema...@googlegroups.com>
>> Gesendet: Sonntag, 23. Oktober 2016 21:03:59
>> Betreff: [foreman-users] katello centos-base repo not syncing
>>
>> I have successfully synced other repos ie 'epel' without any difficulty.
>>
>> I've created a product 'centos-base' with a repo called 'centos-base' and
>> attempted to sync the repo but no packages will sync. Same problem with
>> centos-updates. Not sure where to start troubleshooting this, the foreman
>> production.log doesn't have any obvious errors.
>>
>> The content host does display the repo including package count:
>> # yum repolist
>> ...
>> repo id
>>
>> repo name status
>> *!Default_Organization_CentOS-Base_CentOS-Base
>>
>>   CentOS-Base9,007*
>> !Default_Organization_CentOS-Gluster-3_7_CentOS-Gluster-3_7
>>
>> CentOS-Gluster-3.714
>> !Default_Organization_CentOS-Updates_CentOS-Updates
>>
>> CentOS-Updates 2,548
>> !Default_Organization_epel_epel
>>
>> epel  11,215
>> !Default_Organization_filebeat_filebeat
>>
>> filebeat  44
>> !Default_Organization_glusterfs-nagios-epel_glusterfs-nagios-epel
>>
>> glusterfs-nagios-epel 10
>> !Default_Organization_katello-agent_katello-agent
>>
>> katello-agent 15
>> !Default_Organization_pcic_internal_pcic_internal
>>
>> pcic_internal 13
>> base/7/x86_64
>>
>> CentOS-7 - Base*9,007*
>> epel/x86_64
>>
>> Extra Packages for Enterprise Linux 7 - x86_6410,751
>> extras/7/x86_64
>>
>> CentOS-7 - Extras393
>> updates/7/x86_64
>>
>>  CentOS-7 - Updates 2,548
>> repolist: 45,565
>>
>>
>> Katello version 3.1
>> Foreman 1.12.3
>> Foreman OS CentOS 7.2
>>
>> pulp journal:
>> Oct 23 11:45:03 foreman.my.domain.name pulp[12865]:
>> kombu.transport.qpid:INFO: Connected to qpid with SASL mechanism
>> ANONYMOUS
>> Oct 23 11:45:04 foreman.my.domain.name pulp[299]:
>> celery.worker.strategy:INFO: Received task:
>> pulp.server.async.tasks._queue_reserved_task[060c2ae6-44a4-483f-ad90-be54e872ffec]
>>
>> Oct 23 11:45:04 foreman.my.domain.name pulp[322]:
>> celery.worker.strategy:INFO: Received task:
>> pulp.server.managers.repo.sync.sync[a3070bfa-6723-40c4-971e-2781746212c5]
>>
>> Oct 23 11:45:04 foreman.my.domain.name pulp[322]:
>> celery.worker.strategy:INFO: Received task:
>> pulp.server.async.tasks._release_resource[1f2bfee7-af00-4b0c-adb5-6dae94460415]
>>
>> Oct 23 11:45:04 foreman.my.domain.name pulp[648]:
>> pulp_rpm.plugins.importers.yum.sync:INFO: Downloading metadata from
>> http://mirror.it.ubc.ca/centos/7.2.1511/os/x86_64/.
>> Oct 23 11:45:04 foreman.my.domain.name pulp[299]:
>> celery.worker.job:INFO:
>> Task
>> pulp.server.async.tasks._queue_reserved_task[060c2ae6-44a4-483f-ad90-be54e872ffec]
>>
>> succeeded in 0.0428758189082s: None
>> Oct 23 11:45:04 foreman.my

Re: [foreman-users] katello centos-base repo not syncing

2016-10-24 Thread Klaas Demter
Hi,
try to change the download policy to "Immediate", I have had problems with "On 
demand" for some repositories.

Greetings
Klaas



- Ursprüngliche Mail -
Von: "steved0ca" <sdain...@spd1.com>
An: "Foreman users" <foreman-users@googlegroups.com>
Gesendet: Sonntag, 23. Oktober 2016 21:03:59
Betreff: [foreman-users] katello centos-base repo not syncing

I have successfully synced other repos ie 'epel' without any difficulty.

I've created a product 'centos-base' with a repo called 'centos-base' and 
attempted to sync the repo but no packages will sync. Same problem with 
centos-updates. Not sure where to start troubleshooting this, the foreman 
production.log doesn't have any obvious errors.

The content host does display the repo including package count:
# yum repolist
...
repo id 
repo name status
*!Default_Organization_CentOS-Base_CentOS-Base 
  CentOS-Base9,007*
!Default_Organization_CentOS-Gluster-3_7_CentOS-Gluster-3_7 
CentOS-Gluster-3.714
!Default_Organization_CentOS-Updates_CentOS-Updates 
CentOS-Updates 2,548
!Default_Organization_epel_epel 
epel  11,215
!Default_Organization_filebeat_filebeat 
filebeat  44
!Default_Organization_glusterfs-nagios-epel_glusterfs-nagios-epel   
glusterfs-nagios-epel 10
!Default_Organization_katello-agent_katello-agent   
katello-agent 15
!Default_Organization_pcic_internal_pcic_internal   
pcic_internal 13
base/7/x86_64   
CentOS-7 - Base*9,007*
epel/x86_64 
Extra Packages for Enterprise Linux 7 - x86_6410,751
extras/7/x86_64 
CentOS-7 - Extras393
updates/7/x86_64   
 CentOS-7 - Updates 2,548
repolist: 45,565


Katello version 3.1
Foreman 1.12.3
Foreman OS CentOS 7.2

pulp journal:
Oct 23 11:45:03 foreman.my.domain.name pulp[12865]: 
kombu.transport.qpid:INFO: Connected to qpid with SASL mechanism ANONYMOUS
Oct 23 11:45:04 foreman.my.domain.name pulp[299]: 
celery.worker.strategy:INFO: Received task: 
pulp.server.async.tasks._queue_reserved_task[060c2ae6-44a4-483f-ad90-be54e872ffec]
Oct 23 11:45:04 foreman.my.domain.name pulp[322]: 
celery.worker.strategy:INFO: Received task: 
pulp.server.managers.repo.sync.sync[a3070bfa-6723-40c4-971e-2781746212c5]
Oct 23 11:45:04 foreman.my.domain.name pulp[322]: 
celery.worker.strategy:INFO: Received task: 
pulp.server.async.tasks._release_resource[1f2bfee7-af00-4b0c-adb5-6dae94460415]
Oct 23 11:45:04 foreman.my.domain.name pulp[648]: 
pulp_rpm.plugins.importers.yum.sync:INFO: Downloading metadata from 
http://mirror.it.ubc.ca/centos/7.2.1511/os/x86_64/.
Oct 23 11:45:04 foreman.my.domain.name pulp[299]: celery.worker.job:INFO: 
Task 
pulp.server.async.tasks._queue_reserved_task[060c2ae6-44a4-483f-ad90-be54e872ffec]
 
succeeded in 0.0428758189082s: None
Oct 23 11:45:04 foreman.my.domain.name pulp[648]: 
requests.packages.urllib3.connectionpool:INFO: Starting new HTTP connection 
(1): mirror.it.ubc.ca
Oct 23 11:45:05 foreman.my.domain.name pulp[648]: 
pulp_rpm.plugins.importers.yum.sync:INFO: Parsing metadata.
Oct 23 11:45:05 foreman.my.domain.name pulp[648]: 
pulp_rpm.plugins.importers.yum.sync:INFO: Downloading metadata from 
http://mirror.it.ubc.ca/centos/7.2.1511/os/x86_64/.
Oct 23 11:45:05 foreman.my.domain.name pulp[648]: 
requests.packages.urllib3.connectionpool:INFO: Starting new HTTP connection 
(1): mirror.it.ubc.ca
Oct 23 11:45:06 foreman.my.domain.name pulp[648]: 
pulp_rpm.plugins.importers.yum.sync:INFO: Parsing metadata.
Oct 23 11:45:06 foreman.my.domain.name pulp[648]: 
pulp_rpm.plugins.importers.yum.sync:INFO: Downloading metadata from 
http://mirror.it.ubc.ca/centos/7.2.1511/os/x86_64/.
Oct 23 11:45:06 foreman.my.domain.name pulp[648]: 
requests.packages.urllib3.connectionpool:INFO: Starting new HTTP connection 
(1): mirror.it.ubc.ca
Oct 23 11:45:07 foreman.my.domain.name pulp[648]: 
pulp_rpm.plugins.importers.yum.sync:INFO: Parsing metadata.
Oct 23 11:45:07 foreman.my.domain.name pulp[648]: 
pul

[foreman-users] katello centos-base repo not syncing

2016-10-23 Thread steved0ca
I have successfully synced other repos ie 'epel' without any difficulty.

I've created a product 'centos-base' with a repo called 'centos-base' and 
attempted to sync the repo but no packages will sync. Same problem with 
centos-updates. Not sure where to start troubleshooting this, the foreman 
production.log doesn't have any obvious errors.

The content host does display the repo including package count:
# yum repolist
...
repo id 
repo name status
*!Default_Organization_CentOS-Base_CentOS-Base 
  CentOS-Base9,007*
!Default_Organization_CentOS-Gluster-3_7_CentOS-Gluster-3_7 
CentOS-Gluster-3.714
!Default_Organization_CentOS-Updates_CentOS-Updates 
CentOS-Updates 2,548
!Default_Organization_epel_epel 
epel  11,215
!Default_Organization_filebeat_filebeat 
filebeat  44
!Default_Organization_glusterfs-nagios-epel_glusterfs-nagios-epel   
glusterfs-nagios-epel 10
!Default_Organization_katello-agent_katello-agent   
katello-agent 15
!Default_Organization_pcic_internal_pcic_internal   
pcic_internal 13
base/7/x86_64   
CentOS-7 - Base*9,007*
epel/x86_64 
Extra Packages for Enterprise Linux 7 - x86_6410,751
extras/7/x86_64 
CentOS-7 - Extras393
updates/7/x86_64   
 CentOS-7 - Updates 2,548
repolist: 45,565


Katello version 3.1
Foreman 1.12.3
Foreman OS CentOS 7.2

pulp journal:
Oct 23 11:45:03 foreman.my.domain.name pulp[12865]: 
kombu.transport.qpid:INFO: Connected to qpid with SASL mechanism ANONYMOUS
Oct 23 11:45:04 foreman.my.domain.name pulp[299]: 
celery.worker.strategy:INFO: Received task: 
pulp.server.async.tasks._queue_reserved_task[060c2ae6-44a4-483f-ad90-be54e872ffec]
Oct 23 11:45:04 foreman.my.domain.name pulp[322]: 
celery.worker.strategy:INFO: Received task: 
pulp.server.managers.repo.sync.sync[a3070bfa-6723-40c4-971e-2781746212c5]
Oct 23 11:45:04 foreman.my.domain.name pulp[322]: 
celery.worker.strategy:INFO: Received task: 
pulp.server.async.tasks._release_resource[1f2bfee7-af00-4b0c-adb5-6dae94460415]
Oct 23 11:45:04 foreman.my.domain.name pulp[648]: 
pulp_rpm.plugins.importers.yum.sync:INFO: Downloading metadata from 
http://mirror.it.ubc.ca/centos/7.2.1511/os/x86_64/.
Oct 23 11:45:04 foreman.my.domain.name pulp[299]: celery.worker.job:INFO: 
Task 
pulp.server.async.tasks._queue_reserved_task[060c2ae6-44a4-483f-ad90-be54e872ffec]
 
succeeded in 0.0428758189082s: None
Oct 23 11:45:04 foreman.my.domain.name pulp[648]: 
requests.packages.urllib3.connectionpool:INFO: Starting new HTTP connection 
(1): mirror.it.ubc.ca
Oct 23 11:45:05 foreman.my.domain.name pulp[648]: 
pulp_rpm.plugins.importers.yum.sync:INFO: Parsing metadata.
Oct 23 11:45:05 foreman.my.domain.name pulp[648]: 
pulp_rpm.plugins.importers.yum.sync:INFO: Downloading metadata from 
http://mirror.it.ubc.ca/centos/7.2.1511/os/x86_64/.
Oct 23 11:45:05 foreman.my.domain.name pulp[648]: 
requests.packages.urllib3.connectionpool:INFO: Starting new HTTP connection 
(1): mirror.it.ubc.ca
Oct 23 11:45:06 foreman.my.domain.name pulp[648]: 
pulp_rpm.plugins.importers.yum.sync:INFO: Parsing metadata.
Oct 23 11:45:06 foreman.my.domain.name pulp[648]: 
pulp_rpm.plugins.importers.yum.sync:INFO: Downloading metadata from 
http://mirror.it.ubc.ca/centos/7.2.1511/os/x86_64/.
Oct 23 11:45:06 foreman.my.domain.name pulp[648]: 
requests.packages.urllib3.connectionpool:INFO: Starting new HTTP connection 
(1): mirror.it.ubc.ca
Oct 23 11:45:07 foreman.my.domain.name pulp[648]: 
pulp_rpm.plugins.importers.yum.sync:INFO: Parsing metadata.
Oct 23 11:45:07 foreman.my.domain.name pulp[648]: 
pulp_rpm.plugins.importers.yum.sync:INFO: upstream repo metadata has not 
changed. Skipping steps.
Oct 23 11:45:07 foreman.my.domain.name pulp[648]: 
pulp_rpm.plugins.importers.yum.sync:INFO: Downloading additional units.
Oct 23 11:45:07 foreman.my.domain.name pulp[648]: 
requests.packages.urllib3.connectionpool:INFO: Starting new HTTP connection 
(1): mirror.it.ubc.ca
Oct 23 11:45:09 foreman.my.domain.name pulp[648]: