# AWX GCP Authentication issue

**URL:** <https://forum.ansible.com/t/awx-gcp-authentication-issue/11183>\
**Category:** Get Help\
**Tags:** gcp, awx, ee\
**Created:** [November 27, 2024, 8:47am UTC](https://forum.ansible.com/t/awx-gcp-authentication-issue/11183 "2024-11-27T08:47:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kuldeep](https://avatars.discourse-cdn.com/v4/letter/k/da6949/32.png) [@Kuldeep](https://forum.ansible.com/u/Kuldeep)\
**Post date:** [November 27, 2024, 8:47am UTC](https://forum.ansible.com/t/awx-gcp-authentication-issue/11183/1 "2024-11-27T08:47:46Z")

</div>

H i Team,

I have installed the AWX tower and am able to access it. I created the dockerfile with all the prerequisites and created the custom image and pushed to the artifact register.  
and setup the execution environment project template and inventory but when I am launching the template getting the error like creating the pod: container failed to start, ImagePullBack off and used to below docker file to create the docker image.  
#############

# Start with a lightweight base image

FROM rockylinux:8

# Set environment variables to avoid interactive prompts during installation

ENV PYTHON\_VERSION=3.8.17

# Update and install dependencies

RUN dnf install -y epel-release &&   
dnf install -y   
gcc   
gcc-c++   
make   
openssl-devel   
bzip2-devel   
ibffi-devel   
python3-pip   
python3-devel &&   
dnf clean all  
RUN curl -O [https://www.python.org/ftp/python/$PYTHON\_VERSION/Python-$PYTHON\_VERSION.tgz](https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tgz) &&   
tar xzf Python-$PYTHON\_VERSION.tgz &&   
cd Python-$PYTHON\_VERSION &&   
./configure --enable-optimizations &&   
make altinstall &&   
cd .. &&   
rm -rf Python-$PYTHON\_VERSION.tgz Python-$PYTHON\_VERSION && \alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.8 1  
RUN alternatives --set python3 /usr/local/bin/python3.8  
RUN /usr/local/bin/python3.8 -m pip install --upgrade pip && /usr/local/bin/python3.8 -m pip install ansible  
#RUN /usr/local/bin/python3.8 -m pip install google==4.0.0  
RUN /usr/local/bin/python3.8 -m pip install google-cloud-core  
RUN /usr/local/bin/python3.8 -m pip install google-cloud-cli  
RUN /usr/local/bin/python3.8 -m pip install --upgrade google-cloud-storage  
RUN /usr/local/bin/python3.8 -m pip install google-cloud  
#RUN /usr/local/bin/python3.8 -m pip install google-cloud-automation  
RUN /usr/local/bin/python3.8 -m pip install google-auth  
RUN /usr/local/bin/python3.8 -m pip install msgraph-sdk  
RUN /usr/local/bin/python3.8 -m pip install pywinrm netaddr ipaddress dnspython openpyxl  
RUN ansible-galaxy collection install google.cloud ansible.netcommon community.general  
RUN dnf clean all  
CMD [“/bin/bash”]  
##################3

Could you please suggest and help me on this.

If any document is available to set up the AWX on GCP please share with me if possible.

Thank you,  
Kuldeep
