You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to install the T-Pot platform on Ubuntu results in a failure during the Docker Engine installation step, with an error indicating that the package docker-ce is not available. The root cause is identified as incorrect architecture naming in the Ansible playbook (tpot.yml), specifically in the task that adds the Docker Engine repository for Debian, Raspbian, and Ubuntu environments.
During the T-Pot installation, the Ansible playbook fails to install Docker Engine due to the repository configuration not recognizing x86_64 as a valid architecture, which Docker expects to be named amd64. The affected task is "Add Docker Engine repository (Debian, Raspbian, Ubuntu)", which lacks the necessary normalization of ansible_architecture from x86_64 to amd64.
Reproduction Steps
Run install.sh on an Ubuntu system.
Observe the failure during the Docker Engine installation phase.
Expected Behavior
To ensure compatibility across all supported architectures, the playbook must include the normalization of x86_64 to amd64 for the Docker Engine repository configuration. Currently, while normalizations for other architectures are in place, this specific conversion is absent. Adding it will guarantee the availability of the docker-ce package for installation on systems using the x86_64 architecture.
Actual Behavior
The playbook fails to find the docker-ce package due to incorrect repository configuration, resulting in the error: "msg": "No package matching 'docker-ce' is available".
Screenshot
Suggested Fix
Modify the playbook to include normalization from x86_64 to amd64 for the Docker Engine repository configuration step:
The text was updated successfully, but these errors were encountered:
shark4ce
changed the title
[dev] Docker Installation Fails on Ubuntu Due to Incorrect Architecture Naming in Ansible Playbook
[DEV] Docker Installation Fails on Ubuntu Due to Incorrect Architecture Naming in Ansible Playbook
Feb 5, 2024
Summary
Attempting to install the T-Pot platform on Ubuntu results in a failure during the Docker Engine installation step, with an error indicating that the package
docker-ce
is not available. The root cause is identified as incorrect architecture naming in the Ansible playbook (tpot.yml
), specifically in the task that adds the Docker Engine repository for Debian, Raspbian, and Ubuntu environments.Environment
dev
Issue Description
During the T-Pot installation, the Ansible playbook fails to install Docker Engine due to the repository configuration not recognizing
x86_64
as a valid architecture, which Docker expects to be namedamd64
. The affected task is "Add Docker Engine repository (Debian, Raspbian, Ubuntu)", which lacks the necessary normalization ofansible_architecture
fromx86_64
toamd64
.Reproduction Steps
install.sh
on an Ubuntu system.Expected Behavior
To ensure compatibility across all supported architectures, the playbook must include the normalization of
x86_64
toamd64
for the Docker Engine repository configuration. Currently, while normalizations for other architectures are in place, this specific conversion is absent. Adding it will guarantee the availability of thedocker-ce
package for installation on systems using thex86_64
architecture.Actual Behavior
The playbook fails to find the
docker-ce
package due to incorrect repository configuration, resulting in the error:"msg": "No package matching 'docker-ce' is available"
.Screenshot
Suggested Fix
Modify the playbook to include normalization from
x86_64
toamd64
for the Docker Engine repository configuration step:The text was updated successfully, but these errors were encountered: