Project

General

Custom queries

Profile

Actions

Bug #34111

closed

publishing a content view with a filter (when there is a lot of content) can show errors "Got multiple version_hrefs for pulp task:"

Added by Justin Sherrill over 3 years ago. Updated 3 months ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

It seems that ::Katello::Pulp3::Task#version_href only expects a single version_href. However if we do chunked copying, we end up having more than one and errors get thrown in the logs. This doesn't seem to cause a functional problem as the 'last' version is selected which /should/ be the newest

Steps to reproduce:

1) sync down ~20,000 rpms
2) add the repo(s) to a cv
3) add a filter to block out 1 rpm
4) publish the repository

check the logs:

2021-12-09T01:44:31 [E|app|18c9cba1] Got multiple version_hrefs for pulp task: [{"pulp_href"=>"/pulp/api/v3/tasks/b3b0eaa1-3930-43be-9e67-93f134b20753/", "pulp_created"=>"2021-12-08T20:13:13.832+00:00", "state"=>"completed", "name"=>"pulpcore.app.tasks.repository.add_and_remove", "logging_cid"=>"18c9cba1-3b67-4fc0-b202-2205b446a708", "started_at"=>"2021-12-08T20:13:24.516+00:00", "finished_at"=>"2021-12-08T20:13:28.846+00:00", "worker"=>"/pulp/api/v3/workers/2d2ee623-753c-4774-932e-67a34e1cb043/", "child_tasks"=>[], "progress_reports"=>[], "created_resources"=>["/pulp/api/v3/repositories/rpm/rpm/967dcb19-5fb3-4d40-be9d-3a96ed244947/versions/6/"], "reserved_resources_record"=>["/pulp/api/v3/repositories/rpm/rpm/967dcb19-5fb3-4d40-be9d-3a96ed244947/"]}, {"pulp_href"=>"/pulp/api/v3/tasks/af56cc6e-9b51-4acf-939c-a011edc38516/", "pulp_created"=>"2021-12-08T20:13:16.336+00:00", "state"=>"completed", "name"=>"pulpcore.app.tasks.repository.add_and_remove", "logging_cid"=>"18c9cba1-3b67-4fc0-b202-2205b446a708", "started_at"=>"2021-12-08T20:13:28.923+00:00", "finished_at"=>"2021-12-08T20:13:54.256+00:00", "worker"=>"/pulp/api/v3/workers/2d2ee623-753c-4774-932e-67a34e1cb043/", "child_tasks"=>[], "progress_reports"=>[], "created_resources"=>["/pulp/api/v3/repositories/rpm/rpm/967dcb19-5fb3-4d40-be9d-3a96ed244947/versions/7/"], "reserved_resources_record"=>["/pulp/api/v3/repositories/rpm/rpm/967dcb19-5fb3-4d40-be9d-3a96ed244947/"]}, {"pulp_href"=>"/pulp/api/v3/tasks/356cf165-05b3-4d6f-9cc9-4717bd902e75/", "pulp_created"=>"2021-12-08T20:13:18.242+00:00", "state"=>"completed", "name"=>"pulpcore.app.tasks.repository.add_and_remove", "logging_cid"=>"18c9cba1-3b67-4fc0-b202-2205b446a708", "started_at"=>"2021-12-08T20:13:54.350+00:00", "finished_at"=>"2021-12-08T20:14:14.946+00:00", "worker"=>"/pulp/api/v3/workers/2d2ee623-753c-4774-932e-67a34e1cb043/", "child_tasks"=>[], "progress_reports"=>[], "created_resources"=>["/pulp/api/v3/repositories/rpm/rpm/967dcb19-5fb3-4d40-be9d-3a96ed244947/versions/8/"], "reserved_resources_record"=>["/pulp/api/v3/repositories/rpm/rpm/967dcb19-5fb3-4d40-be9d-3a96ed244947/"]}, {"pulp_href"=>"/pulp/api/v3/tasks/bd0a581b-4306-48f2-af20-75c58c0a5170/", "pulp_created"=>"2021-12-08T20:13:19.709+00:00", "state"=>"completed", "name"=>"pulpcore.app.tasks.repository.add_and_remove", "logging_cid"=>"18c9cba1-3b67-4fc0-b202-2205b446a708", "started_at"=>"2021-12-08T20:14:15.020+00:00", "finished_at"=>"2021-12-08T20:14:30.360+00:00", "worker"=>"/pulp/api/v3/workers/0fa8a00c-a4f1-48b0-8195-d12364841fc9/", "child_tasks"=>[], "progress_reports"=>[], "created_resources"=>["/pulp/api/v3/repositories/rpm/rpm/967dcb19-5fb3-4d40-be9d-3a96ed244947/versions/9/"], "reserved_resources_record"=>["/pulp/api/v3/repositories/rpm/rpm/967dcb19-5fb3-4d40-be9d-3a96ed244947/"]}]

Related issues 1 (0 open1 closed)

Is duplicate of Katello - Bug #38150: To convert "Got multiple version_hrefs for pulp task" error into a warning or suppress itClosedHao YuActions
#1

Updated by Justin Sherrill over 3 years ago

  • Subject changed from publishing a content view with a filter with lots of rpms can show errors "Got multiple version_hrefs for pulp task:" to publishing a content view with a filter (when there is a lot of content) can show errors "Got multiple version_hrefs for pulp task:"
  • Description updated (diff)
#2

Updated by Ryan Verdile over 3 years ago

  • Triaged changed from No to Yes
#4

Updated by Justin Sherrill about 3 years ago

  • Target version changed from Katello 4.4.0 to Katello 4.5.0
#5

Updated by Samir Jha almost 3 years ago

  • Target version changed from Katello 4.5.0 to Katello 4.6.0
#6

Updated by Partha Aji almost 3 years ago

  • Triaged changed from Yes to No
#7

Updated by Samir Jha almost 3 years ago

  • Assignee set to Samir Jha
#8

Updated by Jeremy Lenz almost 3 years ago

  • Triaged changed from No to Yes
#10

Updated by Samir Jha almost 3 years ago

  • Target version changed from Katello 4.6.0 to Katello 4.7.0
#11

Updated by Chris Roberts over 2 years ago

  • Target version changed from Katello 4.7.0 to Katello 4.8.0
#12

Updated by Lucy Fu about 2 years ago

  • Target version changed from Katello 4.8.0 to Katello 4.9.0
#13

Updated by Lucy Fu almost 2 years ago

  • Target version changed from Katello 4.9.0 to Katello 4.10.0
#14

Updated by Chris Roberts over 1 year ago

  • Target version changed from Katello 4.10.0 to Katello 4.11.0
#15

Updated by Samir Jha over 1 year ago

  • Target version changed from Katello 4.11.0 to Katello 4.13.0
#16

Updated by Samir Jha 10 months ago

  • Target version changed from Katello 4.13.0 to Katello 4.15.0
#17

Updated by Chris Roberts 5 months ago

  • Target version changed from Katello 4.15.0 to Katello 4.16.0
#18

Updated by Samir Jha 5 months ago

  • Assignee deleted (Samir Jha)
  • Target version deleted (Katello 4.16.0)
#19

Updated by Ian Ballou 3 months ago

  • Status changed from New to Duplicate
#20

Updated by Ian Ballou 3 months ago

  • Is duplicate of Bug #38150: To convert "Got multiple version_hrefs for pulp task" error into a warning or suppress it added
Actions

Also available in: Atom PDF