canonical / canonical/charm-integration-testing
Network outage: Test can't connect to juju controller
- Dominant language
- Python
- Stars
- 6
- Forks
- 1
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 98
Description
# This is a catch all issue to track such failures
Some tests fail because of
```
ERROR cannot connect to k8s api server; try running 'juju update-k8s --client ': starting proxy for api connection: connecting k8s proxy:
Get "https://10.141.134.192:443/api/v1/namespaces/controller-19539094030-251120134904/services/controller-service": dial tcp 10.141.134.192:443: connect: no route to host"
```
This isn't due to any charm or product because they are not even deployed
Contributor guide
Research direction
Start from the reported test failure and the Kubernetes API connection error, then check the suggested `juju update-k8s --client ` command. No specific test or file is named; done would mean the affected tests can connect to the Juju controller without this network error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes, python
- Domain
- infrastructure, networking, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100