Hide Forgot
Description of problem: Was doing a capsule sync between on a 6.2.3 capsule, and the sync failed due to the error: "OST0002: Pulling remote refs failed. Reason: GLib.Error('Error performing TLS handshake: An illegal TLS extension was received.', 'g-tls-error-quark', 1)" Version-Release number of selected component (if applicable): How reproducible: Not sure here, it may of been a one time thing, will try again and report back. Steps to Reproduce: 1. Run capsule sync on capsule that has never been synced. 2. 3. Actual results: Capsule sync failed Expected results: Additional info:
Error stack trace: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task R = retval = fun(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 473, in __call__ return super(Task, self).__call__(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 103, in __call__ return super(PulpTask, self).__call__(*args, **kwargs) File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__ return self.run(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 760, in sync sync_report = sync_repo(transfer_repo, conduit, call_config) File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 658, in wrap_f return f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp_ostree/plugins/importers/web.py", line 91, in sync_repo report = step.process_lifecycle() File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 562, in process_lifecycle super(PluginStep, self).process_lifecycle() File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 159, in process_lifecycle step.process() File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 249, in process self._process_block() File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 293, in _process_block self.process_main() File "/usr/lib/python2.7/site-packages/pulp_ostree/plugins/importers/steps.py", line 159, in process_main self._pull(self.parent.storage_dir, self.parent.repo_id, self.parent.branches) File "/usr/lib/python2.7/site-packages/pulp_ostree/plugins/importers/steps.py", line 187, in _pull raise pe PulpCodedException: Pulling remote refs failed. Reason: GLib.Error('Error performing TLS handshake: An illegal TLS extension was received.', 'g-tls-error-quark', 1)
Created attachment 1214346 [details] foreman-debug tarball
Created attachment 1214349 [details] Text from dynaflow task output
Initiated the sync on the affected capsule using pulp-admin and finished successfully. ---- [root@ibm-x3550m3-06 ~]# pulp-admin -u admin -p EYLHXS7j4ci6gWQDX5iPNSU9XHLXUSAC ostree repo list +----------------------------------------------------------------------+ OSTree Repositories +----------------------------------------------------------------------+ Id: Default_Organization-Library-atomic-Red_Hat_Enterprise_Linu x_Atomic_Host-Red_Hat_Enterprise_Linux_Atomic_Host_Trees Display Name: Red Hat Enterprise Linux Atomic Host Trees Description: None Content Unit Counts: Id: Default_Organization-Red_Hat_Enterprise_Linux_Atomic_Host-R ed_Hat_Enterprise_Linux_Atomic_Host_Trees Display Name: Red Hat Enterprise Linux Atomic Host Trees Description: None Content Unit Counts: Ostree: 1 [root@ibm-x3550m3-06 ~]# pulp-admin -u admin -p EYLHXS7j4ci6gWQDX5iPNSU9XHLXUSAC ostree repo sync run --repo-id=Default_Organization-Library-atomic-Red_Hat_Enterprise_Linux_Atomic_Host-Red_Hat_Enterprise_Linux_Atomic_Host_Trees +----------------------------------------------------------------------+ Synchronizing Repository [Default_Organization-Library-atomic-Red_Hat_Enterprise_Linux_Atomic_Host-Red_Ha t_Enterprise_Linux_Atomic_Host_Trees] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. Create Local Repository [-] ... completed Update Summary [-] ... completed Pull Remote Branches [\] ... completed Add Content Units [\] ... completed Clean [-] ... completed Task Succeeded Publish Trees [-] ... completed Making files available via web. [-] ... completed Task Succeeded [root@ibm-x3550m3-06 ~]# pulp-admin -u admin -p EYLHXS7j4ci6gWQDX5iPNSU9XHLXUSAC ostree repo sync run --repo-id=Default_Organization-Red_Hat_Enterprise_Linux_Atomic_Host-Red_Hat_Enterprise_Linux_Atomic_Host_Trees +----------------------------------------------------------------------+ Synchronizing Repository [Default_Organization-Red_Hat_Enterprise_Linux_Atomic_Host-Red_Hat_Enterprise_Li nux_Atomic_Host_Trees] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. Create Local Repository [-] ... completed Update Summary [-] ... completed Pull Remote Branches [/] ... completed Add Content Units [-] ... completed Clean [-] ... completed Task Succeeded Publish Trees [|] ... completed Making files available via web. [|] ... completed Task Succeeded [root@ibm-x3550m3-06 ~]#
Jeff, what needs to happen to call this resolved?
Perry, Can you upgrade ostree and libsoup to the latest and retry?
I setup the satellite and capsule and enabled OSTree and was not able to reproduce this: For reference, I was running Sat 6.2.6 on RHEL 7.3, here are the versions of ostree and libsoup: [root@ibm-x3250m4-06 ~]# rpmquery ostree ostree-2016.5-3.atomic.el7.x86_64 [root@ibm-x3250m4-06 ~]# rpmquery libsoup libsoup-2.48.1-6.el7.x86_64 [root@ibm-x3250m4-06 ~]#
Feel free to re-open in case of encountering this issue again