You are right. We fixed this issue in the source code[0]. The fix will be available in RC 9 that will ship next week.
[0] https://pulp.plan.io/issues/5770 On Tue, Nov 26, 2019 at 1:20 PM Bin Li (BLOOMBERG/ 120 PARK) < [email protected]> wrote: > It looks rc8 is still looking from ssl_client_key attribute to sync the > remote. > > I got the following error: > > "description": "'RpmRemote' object has no attribute 'ssl_client_key'", > "traceback": " File > \"/opt/utils/venv/pulp/3.6.5/lib64/python3.6/site-packages/rq/worker.py\", > line 822, in perform_job\n rv = job.perform()\n File > \"/opt/utils/venv/pulp/3.6.5/lib64/python3.6/site-packages/rq/job.py\", > line 605, in perform\n self._result = self._execute()\n File > \"/opt/utils/venv/pulp/3.6.5/lib64/python3.6/site-packages/rq/job.py\", > line 611, in _execute\n return self.func(*self.args, **self.kwargs)\n File > \"/opt/utils/venv/pulp/3.6.5/lib64/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py\", > line 122, in synchronize\n treeinfo = get_treeinfo_data(remote)\n File > \"/opt/utils/venv/pulp/3.6.5/lib64/python3.6/site-packages/pulp_rpm/app/kickstart/treeinfo.py\", > line 19, in get_treeinfo_data\n downloader = > remote.get_downloader(url=urljoin(remote_url, namespace))\n File > \"/opt/utils/venv/pulp/3.6.5/lib64/python3.6/site-packages/pulpcore/app/models/repository.py\", > line 261, in get_downloader\n return self.download_factory.build(url, > **kwargs)\n File > \"/opt/utils/venv/pulp/3.6.5/lib64/python3.6/site-packages/pulpcore/app/models/repository.py\", > line 219, in download_factory\n self._download_factory = > DownloaderFactory(self)\n File > \"/opt/utils/venv/pulp/3.6.5/lib64/python3.6/site-packages/pulpcore/download/factory.py\", > line 68, in __init__\n self._session = > self._make_aiohttp_session_from_remote()\n File > \"/opt/utils/venv/pulp/3.6.5/lib64/python3.6/site-packages/pulpcore/download/factory.py\", > line 90, in _make_aiohttp_session_from_remote\n > key_file.write(bytes(self._remote.ssl_client_key, 'utf-8'))\n" > }, > > The remote already have the updated attribute client_key: > { > "ca_cert": > "b8bd944ff40f1756c08743800453b724f133029725dc762ed9ce6504a828a5ec", > "client_cert": > "3f54707a201ac8a03484c7db9d8e804983bb7aa3a5864a30b946efae325002b0", > "client_key": > "5df5b2961f6c6ceca347eb25e645bb2e5702324f4c6e31fcfc6b36281e5e3e32", > "download_concurrency": 5, > "name": "rhel-x86_64-server-7", > "policy": "immediate", > "proxy_url": "http://proxy/", > "pulp_created": "2019-11-26T17:41:55.986500Z", > "pulp_href": > "/pulp/api/v3/remotes/rpm/rpm/3dbbd2f9-65d6-4d40-bd3a-64ace3071a01/", > "pulp_last_updated": "2019-11-26T17:41:55.986524Z", > "tls_validation": true, > "url": " > https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/" > } > > Version that I am running is: > "versions": [ > { > "component": "pulpcore", > "version": "3.0.0rc8" > }, > { > "component": "pulp_rpm", > "version": "3.0.0rc1" > }, > { > "component": "pulp_file", > "version": "0.1.0rc1" > } > > > > _______________________________________________ > Pulp-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/pulp-list
_______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
