fix: correct order-service image name typo causing ImagePullBackOff (fixes #27)#28
Open
github-actions[bot] wants to merge 1 commit intomainfrom
Open
fix: correct order-service image name typo causing ImagePullBackOff (fixes #27)#28github-actions[bot] wants to merge 1 commit intomainfrom
github-actions[bot] wants to merge 1 commit intomainfrom
Conversation
Fixes #27 - ArgoCD deployment degraded due to ImagePullBackOff on cluster msftgbb (resource group: agentic-platform-engineering). The container image name had a typo ('orde-service' instead of 'order-service'), causing ghcr.io to return 403 Forbidden during anonymous token fetch, resulting in ImagePullBackOff. Before: ghcr.io/azure-samples/aks-store-demo/orde-service:2.1.0 After: ghcr.io/azure-samples/aks-store-demo/order-service:2.1.0 Evidence: Failed to pull image: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to ghcr.io: 403 Forbidden Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #27 — Corrects a typo in the
order-servicecontainer image name that is causingImagePullBackOff, resulting in ArgoCD reporting a Degraded health status.Root Cause Analysis
Issue: Pod
order-service-5d9867645-ffsrdis stuck inImagePullBackOffin namespacedefaulton clustermsftgbb(resource group:agentic-platform-engineering).Root Cause: Commit
5d5dfc7("intentionally degrade service for testing") introduced a typo in theorder-serviceimage name inAct-3/argocd/apps/broken-aks-store-all-in-one.yaml:ghcr.io/azure-samples/aks-store-demo/orde-service:2.1.0ghcr.io/azure-samples/aks-store-demo/order-service:2.1.0The non-existent image path causes
ghcr.ioto return403 Forbiddenwhen the kubelet attempts to pull it, resulting inImagePullBackOff.Evidence Collected from Cluster
Cluster Identity Verified (2 signals):
msftgbb-dns-ic5hvueo.hcp.canadacentral.azmk8s.io6993952c6544f50001ed50e9in subscriptioned38c53b-b762-4ab9-954d-a05e40f9458aArgoCD State:
agentic-platform-engineering-demo: Synced ✅ / Health: Degraded ❌Act-3/argocd/appsfrommainChanges Made
Act-3/argocd/apps/broken-aks-store-all-in-one.yamlorde-service→order-servicein theorder-serviceDeployment image referenceTest Plan
After merging, ArgoCD will auto-sync (selfHeal: true). Validate with:
Expected outcomes:
order-service:2.1.0✅1/1ready replicas ✅Degraded→Healthy✅Rollback Plan
Or revert this PR.
Automated fix created by Cluster Doctor Agent (Issue #27)