Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Syncing Red Hat Enterprise Linux Atomic Host Trees x86_64 from CDN gives PLP0000: Too many branch HEADs.
{"exception"=>nil,
"task_type"=>"pulp.server.managers.repo.publish.publish",
"_href"=>"/pulp/api/v2/tasks/b1952179-97da-407f-be06-5cfa344a6677/",
"task_id"=>"b1952179-97da-407f-be06-5cfa344a6677",
"tags"=>
["pulp:repository:fb97ae0c-8a6c-4461-909f-1f175e267b23",
"pulp:action:publish"],
"finish_time"=>"2019-04-06T20:45:06Z",
"_ns"=>"task_status",
"start_time"=>"2019-04-06T20:45:05Z",
"traceback"=>
"Traceback (most recent call last):\n" +
" File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 367, in trace_task\n" +
" R = retval = fun(*args, **kwargs)\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 529, in __call__\n" +
" return super(Task, self).__call__(*args, **kwargs)\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 107, in __call__\n" +
" return super(PulpTask, self).__call__(*args, **kwargs)\n" +
" File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 622, in __protected_call__\n" +
" return self.run(*args, **kwargs)\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1110, in publish\n" +
" result = check_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1207, in check_publish\n" +
" result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1259, in _do_publish\n" +
" publish_report = publish_repo(transfer_repo, conduit, call_config)\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 737, in wrap_f\n" +
" return f(*args, **kwargs)\n" +
" File \"/usr/lib/python2.7/site-packages/pulp_ostree/plugins/distributors/web.py\", line 87, in publish_repo\n" +
" return self._publisher.process_lifecycle()\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 572, in process_lifecycle\n" +
" super(PluginStep, self).process_lifecycle()\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 163, in process_lifecycle\n" +
" step.process()\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 256, in process\n" +
" self._process_block()\n" +
" File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 303, in _process_block\n" +
" self.process_main()\n" +
" File \"/usr/lib/python2.7/site-packages/pulp_ostree/plugins/distributors/steps.py\", line 87, in process_main\n" +
" for unit in self._get_units():\n" +
" File \"/usr/lib/python2.7/site-packages/pulp_ostree/plugins/distributors/steps.py\", line 131, in _get_units\n" +
" head = self._sort(units)[0]\n" +
" File \"/usr/lib/python2.7/site-packages/pulp_ostree/plugins/distributors/steps.py\", line 207, in _sort\n" +
" parent = push(parent)\n" +
" File \"/usr/lib/python2.7/site-packages/pulp_ostree/plugins/distributors/steps.py\", line 182, in push\n" +
" raise ValueError('Too many branch HEADs.')\n" +
"ValueError: Too many branch HEADs.\n",
Version-Release number of selected component (if applicable):
Satellite 6.5 snap 23
How reproducible: On upgraded instance only.
Steps to Reproduce:
1. Enable Red Hat Enterprise Linux Atomic Host Trees x86_64
2. Try to sync
Actual results:
Sync failed with Error : PLP0000: Too many branch HEADs.
Expected results: Successful sync.
Additional info:
On fresh install, it syncs successfully.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2019:1222
Description of problem: Syncing Red Hat Enterprise Linux Atomic Host Trees x86_64 from CDN gives PLP0000: Too many branch HEADs. {"exception"=>nil, "task_type"=>"pulp.server.managers.repo.publish.publish", "_href"=>"/pulp/api/v2/tasks/b1952179-97da-407f-be06-5cfa344a6677/", "task_id"=>"b1952179-97da-407f-be06-5cfa344a6677", "tags"=> ["pulp:repository:fb97ae0c-8a6c-4461-909f-1f175e267b23", "pulp:action:publish"], "finish_time"=>"2019-04-06T20:45:06Z", "_ns"=>"task_status", "start_time"=>"2019-04-06T20:45:05Z", "traceback"=> "Traceback (most recent call last):\n" + " File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 367, in trace_task\n" + " R = retval = fun(*args, **kwargs)\n" + " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 529, in __call__\n" + " return super(Task, self).__call__(*args, **kwargs)\n" + " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 107, in __call__\n" + " return super(PulpTask, self).__call__(*args, **kwargs)\n" + " File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 622, in __protected_call__\n" + " return self.run(*args, **kwargs)\n" + " File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1110, in publish\n" + " result = check_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n" + " File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1207, in check_publish\n" + " result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)\n" + " File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 1259, in _do_publish\n" + " publish_report = publish_repo(transfer_repo, conduit, call_config)\n" + " File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 737, in wrap_f\n" + " return f(*args, **kwargs)\n" + " File \"/usr/lib/python2.7/site-packages/pulp_ostree/plugins/distributors/web.py\", line 87, in publish_repo\n" + " return self._publisher.process_lifecycle()\n" + " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 572, in process_lifecycle\n" + " super(PluginStep, self).process_lifecycle()\n" + " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 163, in process_lifecycle\n" + " step.process()\n" + " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 256, in process\n" + " self._process_block()\n" + " File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 303, in _process_block\n" + " self.process_main()\n" + " File \"/usr/lib/python2.7/site-packages/pulp_ostree/plugins/distributors/steps.py\", line 87, in process_main\n" + " for unit in self._get_units():\n" + " File \"/usr/lib/python2.7/site-packages/pulp_ostree/plugins/distributors/steps.py\", line 131, in _get_units\n" + " head = self._sort(units)[0]\n" + " File \"/usr/lib/python2.7/site-packages/pulp_ostree/plugins/distributors/steps.py\", line 207, in _sort\n" + " parent = push(parent)\n" + " File \"/usr/lib/python2.7/site-packages/pulp_ostree/plugins/distributors/steps.py\", line 182, in push\n" + " raise ValueError('Too many branch HEADs.')\n" + "ValueError: Too many branch HEADs.\n", Version-Release number of selected component (if applicable): Satellite 6.5 snap 23 How reproducible: On upgraded instance only. Steps to Reproduce: 1. Enable Red Hat Enterprise Linux Atomic Host Trees x86_64 2. Try to sync Actual results: Sync failed with Error : PLP0000: Too many branch HEADs. Expected results: Successful sync. Additional info: On fresh install, it syncs successfully.