Issue #4317
closedAttributeError: 'RpmRemote' object has no attribute 'connection_limit'
Description
Hi, I'm currently trying to use pulp 3 with the RPM plugin, and I'm facing a problem when I follow the workflows. After creating the repo and the remote, I want to sync the repo, and the API returns the task, and nothing happens. After checking the logs an error has occurred
Jan 14 11:06:19 localhost.localdomain rq[15377]: File "pulpvenv/lib64/python3.6/site-packages/pulpcore/plugin/models/remote.py", line 61, in get_downloader
Jan 14 11:06:19 localhost.localdomain rq[15377]: return self.download_factory.build(url, **kwargs)
Jan 14 11:06:19 localhost.localdomain rq[15377]: File "pulpvenv/lib64/python3.6/site-packages/pulpcore/plugin/models/remote.py", line 42, in download_factory
Jan 14 11:06:19 localhost.localdomain rq[15377]: self._download_factory = DownloaderFactory(self)
Jan 14 11:06:19 localhost.localdomain rq[15377]: File "pulpvenv/lib64/python3.6/site-packages/pulpcore/plugin/download/factory.py", line 67, in init
Jan 14 11:06:19 localhost.localdomain rq[15377]: self._semaphore = asyncio.Semaphore(value=remote.connection_limit)
Jan 14 11:06:19 localhost.localdomain rq[15377]: AttributeError: 'RpmRemote' object has no attribute 'connection_limit'
Jan 14 11:06:19 localhost.localdomain rq[15377]: pulp: rq.worker:WARNING: Moving job to 'failed' queue
Jan 14 11:06:19 localhost.localdomain rq[15377]: pulp: rq.worker:INFO: reserved_resource_worker_1@localhost.localdomain: pulpcore.tasking.tasks._release_resources('1faacd76-dc8a-4b4a-a772-11313f...-902785495358)
Jan 14 11:06:19 localhost.localdomain rq[15377]: pulp: rq.worker:INFO: reserved_resource_worker_1@localhost.localdomain: Job OK (546f5a9f-f4b1-4498-b494-902785495358)
Has anyone had this issue before?