Fix pulling sonobuoy image from external repository in Airgap Environment
search cancel

Fix pulling sonobuoy image from external repository in Airgap Environment

book

Article ID: 345738

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

In airgap environment, run diagnosis report in TCA GUI for any workload & management cluster fails with error "Fail to get Sonobuoy status in time and got error message exit status 1. Please retry".

Environment

2.3, 3.0, 3.1

 

Cause

It was observed that sonobuoy image would be pulled from external repo in Airgap environment. That's because when test-controller pod starts, it would get its own image path immediately to get airgap repo. Sometimes it couldn't get it timely.

Resolution

To resolve this issue, perform the following steps:

1. Login to management cluster and run this command 
# kubectl delete pods -n tca-system -l app.kubernetes.io/instance=test-controller
2. Wait new pod running 
# kubectl get pods -n tca-system -l app.kubernetes.io/instance=test-controller
3. Rerun diagnosis from TCA UI and check status.