Actions
Issue #9428
closedImporter fails when using azure backend
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 106
Quarter:
Description
(pulp) [vagrant@pulp3-source-fedora34 pulp_ansible]$ nc 127.0.0.1 4444
> /home/vagrant/devel/pulpcore/pulpcore/app/tasks/importer.py(403)pulp_import()
-> if not default_storage.exists(dest):
(Pdb) dest
'/var/lib/pulp/media/artifact/36/0548ba80e3dce478b7915ca89a5613dc80c650a55b96f5491012a8297e12ac'
(Pdb) default_storage.exists(dest)
*** django.core.exceptions.SuspiciousOperation: Attempted access to '/var/lib/pulp/media/artifact/36/0548ba80e3dce478b7915ca89a5613dc80c650a55b96f5491012a8297e12ac' denied.
(Pdb) default_storage.list_all()
['pulp3/artifact/36/0548ba80e3dce478b7915ca89a5613dc80c650a55b96f5491012a8297e12ac', 'pulp3/artifact/4e/042680c4cf9c54296e22e388e6058c469d9a09348523122d44165c2f2d61a8', 'pulp3/artifact/5a/9413fe085b128933884be1fb3f5094ac257e2383a0e869ce17b3c15624ae16', 'pulp3/artifact/6c/a52bdcb651b80b9655805bd44baf6e56c6b6de88210e1b412334be1278e4a5', 'pulp3/artifact/c1/05d0816dcfd2a4fa969ba063acdddf0fa43719fea8c556b2c70e96d60f84f2', 'pulp3/artifact/c1/e05337c06b438780bca6173925bc2f94904eb8cafb5595e2c7de2082009cb6', 'pulp3/pulp3/artifact/36/0548ba80e3dce478b7915ca89a5613dc80c650a55b96f5491012a8297e12ac', 'pulp3/pulp3/artifact/4e/042680c4cf9c54296e22e388e6058c469d9a09348523122d44165c2f2d61a8', 'pulp3/pulp3/artifact/5a/9413fe085b128933884be1fb3f5094ac257e2383a0e869ce17b3c15624ae16', 'pulp3/pulp3/artifact/6c/a52bdcb651b80b9655805bd44baf6e56c6b6de88210e1b412334be1278e4a5', 'pulp3/pulp3/artifact/c1/05d0816dcfd2a4fa969ba063acdddf0fa43719fea8c556b2c70e96d60f84f2', 'pulp3/pulp3/artifact/c1/e05337c06b438780bca6173925bc2f94904eb8cafb5595e2c7de2082009cb6', 'pulp3/tmp/files/95/597048-d7e4-4268-9d6d-96a4d22d365d']
(Pdb) dest = os.path.join(settings.AZURE_LOCATION, base_path)
(Pdb) default_storage.exists(dest)
True
(Pdb) dest
'pulp3/artifact/36/0548ba80e3dce478b7915ca89a5613dc80c650a55b96f5491012a8297e12ac'
https://github.com/pulp/pulp_ansible/runs/3667335873?check_suite_focus=true
Added by Fabricio Aguiar about 3 years ago
Updated by Anonymous about 3 years ago
- Status changed from NEW to MODIFIED
Applied in changeset pulpcore|cb564bad6eab050dc4952d929cd41f2dc8189b29.
Updated by pulpbot about 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Document Azure storage needs to set
MEDIA_ROOT
closes #9428