Re: [Pulp-list] pulp 3.7.3 sync failure

2022-02-15 Thread Daniel Alley
You could try to apply the patch from
https://github.com/pulp/pulpcore/pull/1197/, it's short enough that
applying it manually is feasible.

IF it applies cleanly.  I haven't attempted this.

I would strongly recommend a newer release though.  The list of bugs fixed
since October 2020 (which was when 3.7.3 was released) is quite long.

On Fri, Feb 11, 2022 at 9:00 AM Bin Li (BLOOMBERG/ 120 PARK) <
[email protected]> wrote:

> Is there a workaround such as recreating the repo? It will take some time
> for us to test and upgrade to newer release.
>
> From: [email protected] At: 02/11/22 08:51:25 UTC-5:00
> To: Bin Li (BLOOMBERG/ 120 PARK ) 
> Cc: [email protected]
> Subject: Re: [Pulp-list] pulp 3.7.3 sync failure
>
> There are a few ways this can happen (all of them fixed in
> more-recent-than-3.7 versions). See
>
> https://pulp.plan.io/issues/8430
> https://pulp.plan.io/issues/8452
>
> G
>
>
> On Fri, Feb 11, 2022 at 8:38 AM Bin Li (BLOOMBERG/ 120 PARK) <
> [email protected]> wrote:
>
>> We got a error from sync of one repo. What could cause this? Could it
>> cause by a mismatch metadata in upstream repo?
>>
>> "traceback": " File
>> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py\",
>> line 886, in perform_job\n rv = job.perform()\n File
>> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\",
>> line 664, in perform\n self._result = self._execute()\n File
>> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\",
>> line 670, in _execute\n return self.func(*self.args, **self.kwargs)\n File
>> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py\",
>> line 266, in synchronize\n dv.create()\n File
>> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/declarative_version.py\",
>> line 148, in create\n loop.run_until_complete(pipeline)\n File
>> \"/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py\", line 584, in
>> run_until_complete\n return future.result()\n File
>> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py\",
>> line 225, in create_pipeline\n await asyncio.gather(*futures)\n File
>> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py\",
>> line 43, in __call__\n await self.run()\n File
>> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/content_stages.py\",
>> line 105, in run\n d_content.content.q()\n File
>> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/django/db/models/manager.py\",
>> line 82, in manager_method\n return getattr(self.get_queryset(),
>> name)(*args, **kwargs)\n File
>> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/django/db/models/query.py\",
>> line 408, in get\n self.model._meta.object_name\n",
>> "description": "Package matching query does not exist."
>>
>> Thanks
>> ___
>> Pulp-list mailing list
>> [email protected]
>> https://listman.redhat.com/mailman/listinfo/pulp-list
>
>
>
> --
> Grant Gainey
> Principal Software Engineer, Red Hat System Management Engineering
>
>
> ___
> Pulp-list mailing list
> [email protected]
> https://listman.redhat.com/mailman/listinfo/pulp-list
___
Pulp-list mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/pulp-list

Re: [Pulp-list] pulp 3.7.3 sync failure

2022-02-11 Thread Bin Li (BLOOMBERG/ 120 PARK)
Is there a workaround such as recreating the repo? It will take some time for 
us to test and upgrade to newer release.

From: [email protected] At: 02/11/22 08:51:25 UTC-5:00To:  Bin Li (BLOOMBERG/ 
120 PARK ) 
Cc:  [email protected]
Subject: Re: [Pulp-list] pulp 3.7.3 sync failure

There are a few ways this can happen (all of them fixed in more-recent-than-3.7 
versions). See

https://pulp.plan.io/issues/8430
https://pulp.plan.io/issues/8452

G


On Fri, Feb 11, 2022 at 8:38 AM Bin Li (BLOOMBERG/ 120 PARK) 
 wrote:

We got a error from sync of one repo. What could cause this? Could it cause by 
a mismatch metadata in upstream repo?

"traceback": "  File 
\"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py\", line 
886, in perform_job\nrv = job.perform()\n  File 
\"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\", line 
664, in perform\nself._result = self._execute()\n  File 
\"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\", line 
670, in _execute\nreturn self.func(*self.args, **self.kwargs)\n  File 
\"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py\",
 line 266, in synchronize\ndv.create()\n  File 
\"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/declarative_version.py\",
 line 148, in create\nloop.run_until_complete(pipeline)\n  File 
\"/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py\", line 584, in 
run_until_complete\nreturn future.result()\n  File 
\"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py\",
 line 225, in create_pipeline\nawait asyncio.gather(*futures)\n  File 
\"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py\",
 line 43, in __call__\nawait self.run()\n  File 
\"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/content_stages.py\",
 line 105, in run\nd_content.content.q()\n  File 
\"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/django/db/models/manager.py\",
 line 82, in manager_method\nreturn getattr(self.get_queryset(), 
name)(*args, **kwargs)\n  File 
\"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/django/db/models/query.py\",
 line 408, in get\nself.model._meta.object_name\n",
"description": "Package matching query does not exist."

Thanks___
Pulp-list mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/pulp-list


-- 
Grant Gainey
Principal Software Engineer, Red Hat System Management Engineering

___
Pulp-list mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/pulp-list

Re: [Pulp-list] pulp 3.7.3 sync failure

2022-02-11 Thread Grant Gainey
There are a few ways this can happen (all of them fixed in
more-recent-than-3.7 versions). See

https://pulp.plan.io/issues/8430
https://pulp.plan.io/issues/8452

G


On Fri, Feb 11, 2022 at 8:38 AM Bin Li (BLOOMBERG/ 120 PARK) <
[email protected]> wrote:

> We got a error from sync of one repo. What could cause this? Could it
> cause by a mismatch metadata in upstream repo?
>
> "traceback": " File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py\",
> line 886, in perform_job\n rv = job.perform()\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\",
> line 664, in perform\n self._result = self._execute()\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\",
> line 670, in _execute\n return self.func(*self.args, **self.kwargs)\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py\",
> line 266, in synchronize\n dv.create()\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/declarative_version.py\",
> line 148, in create\n loop.run_until_complete(pipeline)\n File
> \"/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py\", line 584, in
> run_until_complete\n return future.result()\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py\",
> line 225, in create_pipeline\n await asyncio.gather(*futures)\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py\",
> line 43, in __call__\n await self.run()\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/content_stages.py\",
> line 105, in run\n d_content.content.q()\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/django/db/models/manager.py\",
> line 82, in manager_method\n return getattr(self.get_queryset(),
> name)(*args, **kwargs)\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/django/db/models/query.py\",
> line 408, in get\n self.model._meta.object_name\n",
> "description": "Package matching query does not exist."
>
> Thanks
> ___
> Pulp-list mailing list
> [email protected]
> https://listman.redhat.com/mailman/listinfo/pulp-list



-- 
Grant Gainey
Principal Software Engineer, Red Hat System Management Engineering
___
Pulp-list mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/pulp-list