AndreCox / PIBaker

Create Custom Raspberry Pi Images Easily
GNU General Public License v3.0
39 stars 6 forks source link

pull access denied for andrerc1/ansible #4

Closed joshyattridge closed 4 months ago

joshyattridge commented 4 months ago

Hello I am getting this error when running setup.py

Error response from daemon: pull access denied for andrerc1/ansible, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

AndreCox commented 4 months ago

This error happens if the ansible image doesn't get built.
could you try manually running this command in the terminal and see if it runs correctly? It should be run in the root directory of this project where the setup.py file is.

docker build -t andrerc1/ansible ./ansible

joshyattridge commented 4 months ago

Thank you for your quick response, Although I am now getting the following SSL Error. 54.13 + curl -fsSL https://releases.ansible.com/ansible/ansible-2.9.9.tar.gz -o ansible.tar.gz 54.19 curl: (60) SSL certificate problem: certificate has expired

AndreCox commented 4 months ago

This is a strange issue as it is telling you the certificate has expired which would be an issue with the ansible website, However when I run the command curl -fsSL https://releases.ansible.com/ansible/ansible-2.9.9.tar.gz -o ansible.tar.gz it works as expected which leads me to think this could be an issue with your computer or specific network. Could you try running the command curl -fsSL https://releases.ansible.com/ansible/ansible-2.9.9.tar.gz -o ansible.tar.gz and check if the file ansible.tar.gz is created.

AndreCox commented 4 months ago

Actually was just able to replicate the same error so I will work to fix it

AndreCox commented 4 months ago

This is actually a curl issue https://github.com/curl/curl/issues/11475 but I will try to find a workaround for now. Which is probably going to involve disabling ssl certificate checks.

AndreCox commented 4 months ago

Ok I just pushed a fix for it should work now

joshyattridge commented 4 months ago

Amazing! Thank you for your help It works now!