<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>I've installed the latest pulp3 using the Ansible installer using the following playbook:<br>
</p>
<p><br>
</p>
<div></div>
<div>
<div>---</div>
<div>- hosts: mirrors</div>
<div>  vars:</div>
<div>    prereq_pip_packages:</div>
<div>      - django-storages</div>
<div>      - boto3</div>
<div>    pulp_use_system_wide_pkgs: True</div>
<div>    pulp_default_admin_password: !vault |</div>
<div>          $ANSIBLE_VAULT;1.1;AES256</div>
<div>          ...<br>
</div>
<div>    pulp_settings:</div>
<div>      secret_key: !vault |</div>
<div>          $ANSIBLE_VAULT;1.1;AES256</div>
<div>          ...<br>
</div>
<div>      default_file_storage: 'storages.backends.s3boto3.S3Boto3Storage'</div>
<div>      aws_storage_bucket_name: 'xxx-pulp-storage'</div>
<div>      aws_s3_region_name: 'ca-central-1'</div>
<div>      aws_s3_addressing_style: "path"</div>
<div>      media_root: '/pulp3/'</div>
<div>    pulp_install_plugins:</div>
<div>      pulp-file: {}</div>
<div>      pulp-rpm:</div>
<div>        prereq_role: "pulp.pulp_rpm_prerequisites"</div>
<div>        #      pulp-docker: {}</div>
<div>  roles:</div>
<div>    - pulp-database</div>
<div>    - pulp-workers</div>
<div>    - pulp-resource-manager</div>
<div>    - pulp-webserver</div>
<div>    - pulp-content</div>
<div>  environment:</div>
<div>    DJANGO_SETTINGS_MODULE: pulpcore.app.settings</div>
<div><br>
</div>
<div>I also set up an RPM repo that uses S3 for storage. However, when I try to sync, I get an AccessDenied error. I know the instance profile is correct, as I can upload objects from that instance using both the AWS CLI and Boto3 without specifying credentials. <br>
</div>
<br>
How can I debug this further? Is there a way for me know what parameters are passed to the put_object boto3 call by the sync task?<br>
</div>
<div><br>
</div>
<div>Cheers,<br>
</div>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<font style=""><font style="">Joey Dumont</font></font>
<div style=""><br>
</div>
<div style="">Technical Advisor, Knowledge, Information, and Technology Services</div>
<div style="">National Research Council Canada / Governement of Canada</div>
<div style=""><a tabindex="0" href="mailto:joey.dumont@nrc-cnrc.gc.ca" id="NoLP">joey.dumont@nrc-cnrc.gc.ca</a> / Tel: 613-990-8152 / Cell: 438-340-7436</div>
<div style=""><br>
</div>
<div style="">Conseiller technique, Services du savoir, de l'information et de la technologie</div>
<div style="">Conseil national de recherches Canada / Gouvernement du Canada</div>
<div style=""><a tabindex="0" href="mailto:joey.dumont@nrc-cnrc.gc.ca" id="NoLP">joey.dumont@nrc-cnrc.gc.ca</a> / Tél.: 613-990-8152 / Tél. cell.: 438-340-7436</div>
</div>
</div>
</body>
</html>