Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible 11 failing in build-deploy #3483

Open
imnasnainaec opened this issue Dec 10, 2024 · 0 comments · May be fixed by #3478
Open

Ansible 11 failing in build-deploy #3483

imnasnainaec opened this issue Dec 10, 2024 · 0 comments · May be fixed by #3478
Assignees
Labels
bug Something isn't working dependencies Pull requests that update a dependency file deployment python

Comments

@imnasnainaec
Copy link
Collaborator

#3435 updated ansible in deploy/requirements.txt from ansible==10.4.0 to ansible==11.1.0, which resulted in a failed deployment build. The error is in step "Build combine_deploy" of workflow file .github\workflows\combine_deploy_image.yml. The build is happening with python 3.10, which was fine for ansible 10, but ansible 11 requires python 3.11.

Error from https://github.com/sillsdev/TheCombine/actions/runs/12260053596/job/34203716937#step:8:1228:

[...]
#5 26.66 Setting up libpython3.10-dev:amd64 (3.10.12-1~22.04.7) ...
#5 26.66 Setting up python3-pip (22.0.2+dfsg-1ubuntu0.5) ...
#5 27.54 Setting up python3.10-dev (3.10.12-1~22.04.7) ...
#5 27.54 Setting up g++ (4:11.2.0-1ubuntu1) ...
[...]
#5 27.58 Setting up libalgorithm-merge-perl (0.08-3) ...
#5 27.58 Setting up libpython3-dev:amd64 (3.10.6-1~22.04.1) ...
#5 27.59 Setting up python3-dev (3.10.6-1~22.04.1) ...
#5 27.59 Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
#5 27.61 Processing triggers for ca-certificates (20240203~22.04.1) ...
#5 27.61 Updating certificates in /etc/ssl/certs...
#5 28.17 0 added, 0 removed; done.
#5 28.17 Running hooks in /etc/ca-certificates/update.d...
#5 28.17 done.
#5 28.24 Reading package lists...
#5 28.93 Building dependency tree...
#5 29.06 Reading state information...
#5 29.19 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#5 DONE 29.7s

#6 [ 3/10] RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl && curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 && chmod 700 get_helm.sh && ./get_helm.sh && rm kubectl get_helm.sh
#6 0.377 % Total % Received % Xferd Average Speed Time Time Time Current
#6 0.377 Dload Upload Total Spent Left Speed
#6 0.378
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 138 100 138 0 0 1757 0 --:--:-- --:--:-- --:--:-- 1769
#6 0.937
59 53.7M 59 32.0M 0 0 57.0M 0 --:--:-- --:--:-- --:--:-- 57.0M
100 53.7M 100 53.7M 0 0 77.9M 0 --:--:-- --:--:-- --:--:-- 168M
#6 1.202 [WARNING] Could not find git. It is required for plugin installation.
#6 1.249 Downloading https://get.helm.sh/helm-v3.16.3-linux-amd64.tar.gz
#6 1.435 Verifying checksum... Done.
#6 1.816 Preparing to install helm into /usr/local/bin
#6 1.877 helm installed into /usr/local/bin/helm
#6 DONE 2.0s

#7 [ 4/10] COPY requirements.txt /root
#7 DONE 0.0s

#8 [ 5/10] RUN pip3 install -r /root/requirements.txt
#8 0.555 ERROR: Could not find a version that satisfies the requirement ansible==11.1.0 (from versions: 1.0, 1.1, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.4, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.6.10, 1.7, 1.7.1, 1.7.2, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.9.0.1, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 2.0.0.0, 2.0.0.1, 2.0.0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 6.7.0, 7.0.0a1, 7.0.0a2, 7.0.0b1, 7.0.0rc1, 7.0.0, 7.1.0, 7.2.0, 7.3.0, 7.4.0, 7.5.0, 7.6.0, 7.7.0, 8.0.0a1, 8.0.0a2, 8.0.0a3, 8.0.0b1, 8.0.0rc1, 8.0.0, 8.1.0, 8.2.0, 8.3.0, 8.4.0, 8.5.0, 8.6.0, 8.6.1, 8.7.0, 9.0.0a1, 9.0.0a2, 9.0.0a3, 9.0.0b1, 9.0.0rc1, 9.0.1, 9.1.0, 9.2.0, 9.3.0, 9.4.0, 9.5.1, 9.6.1, 9.7.0, 9.8.0, 9.9.0, 9.10.0, 9.11.0, 9.12.0, 9.13.0, 10.0.0a1, 10.0.0a2, 10.0.0a3, 10.0.0b1, 10.0.0rc1, 10.0.1, 10.1.0, 10.2.0, 10.3.0, 10.4.0, 10.5.0, 10.6.0, 10.7.0)
#8 0.555 ERROR: No matching distribution found for ansible==11.1.0
#8 ERROR: process "/bin/sh -c pip3 install -r ${HOME}/requirements.txt" did not complete successfully: exit code: 1
------
> [ 5/10] RUN pip3 install -r /root/requirements.txt:
0.555 ERROR: Could not find a version that satisfies the requirement ansible==11.1.0 (from versions: 1.0, 1.1, [...] 10.6.0, 10.7.0)
0.555 ERROR: No matching distribution found for ansible==11.1.0
------
Dockerfile:30
--------------------
28 |
29 | COPY requirements.txt ${HOME}
30 | >>> RUN pip3 install -r ${HOME}/requirements.txt
31 |
32 | # Create directory for SSH Keys
--------------------
ERROR: failed to solve: process "/bin/sh -c pip3 install -r ${HOME}/requirements.txt" did not complete successfully: exit code: 1
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c pip3 install -r ${HOME}/requirements.txt" did not complete successfully: exit code: 1

@imnasnainaec imnasnainaec added bug Something isn't working dependencies Pull requests that update a dependency file deployment python labels Dec 10, 2024
@imnasnainaec imnasnainaec self-assigned this Dec 10, 2024
@imnasnainaec imnasnainaec changed the title .github\workflows\combine_deploy_image.yml Ansible 11 failing in build-deploy Dec 10, 2024
@imnasnainaec imnasnainaec linked a pull request Dec 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file deployment python
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant