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
When using the following command from our documentation to pull down Rancher v2.9.x with the platform flag, Hauler fails to pull down mirrored-prometheus-windows-exporter as it's a Windows only image, and doesn't exist for linux/amd64. However, this image is still in the manifests, and Hauler will NOT continue on with the rest of the manifest ( ref: [feature] sync or push should continue after error #296 )
Pull the Rancher manifest down directly, edit the manifest to remove the mirrored-prometheus-windows-exporter image and then tell Hauler to pull down that manifest instead of using --product:
root@hauler:~# hauler store add image rgcrprod.azurecr.us/hauler/rancher-manifest.yaml:v2.9.1
2024-09-04 12:38:07 INF adding 'image' [rgcrprod.azurecr.us/hauler/rancher-manifest.yaml:v2.9.1] to the store
2024-09-04 12:38:10 INF successfully added 'image' [rgcrprod.azurecr.us/hauler/rancher-manifest.yaml:v2.9.1]
root@hauler:~# hauler store extract hauler/rancher-manifest.yaml:v2.9.1
2024-09-04 12:38:14 INF extracted [application/vnd.oci.image.manifest.v1+json] from store with digest [sha256:210331890b376795784b79757a6590cf7f9e7e27d45349182375dc08cf6614de]
2024-09-04 12:38:14 INF extracted [application/vnd.docker.distribution.manifest.v2+json] from store with digest [sha256:c984ec7789cf5e10c06d8b308cf8bda4d0a24ddd84c20f4810132e97ab64f78d]
root@hauler:~# vi rancher-manifest.yaml #REMOVE "- name: rgcrprod.azurecr.us/rancher/mirrored-prometheus-windows-exporter:0.25.1" line
root@hauler:~# hauler store sync --files rancher-manifest.yaml --store image-store --key carbide-key.pub --platform linux/amd64
Environmental Info:
Hauler Version:
Describe the Bug:
Steps to Reproduce:
Expected Behavior:
Actual Behavior:
The text was updated successfully, but these errors were encountered: