Problem
An outdated version of the Replicated container is unable to pull updated container images.
This issue may present itself as the following error message;
API error (404): No such image: registry.replicated.com/...
Cause
- Upgrading from Terraform Enterprise Release (
v202004-1
) - Versions of Replicated <=
2.44.0
This issue is related to a change made by Replicated in version 2.44.0
.
- Public Docker images are now hosted on Docker Hub rather than Quay.io. This includes
replicated/replicated
,replicated/replicated-ui
andreplicated/replicated-operator
.
Solutions:
Depending on what type of installation you have for Terraform Enterprise, you may do one of the following.
In the situation you are unsure of the installation type, you should follow the "Mounted Disk" option as this is a non-destructive process.
-
Mounted Disk: Manually upgrading Replicated to the latest version.
-
External Services: Reinstalling Terraform Enterprise.
Manually upgrading Replicated to the latest version
This method is non-destructive, and is preferred if you are unsure of the installation type of if this issue is affecting your Terraform Enterprise installation.
For the latest instructions on upgrading Replicated, you can follow the steps listed on the Replicated Installation documentation.
Reinstalling Terraform Enterprise
Following the installation process for Terraform Enterprise is another method to solve this issue, as part of the installation will pull the latest Replicated version.
You can find the installation guides for Terraform Enterprise here Installing Terraform Enterprise.
Outcome
If the methods listed above were successful, you should see that there are no references to quay.io during the Terraform Enterprise upgrade