`juju status` fails with: `ERROR cannot connect to k8s api server; try running 'juju update-k8s --client <k8s cloud name>'`

Bug #2021515 reported by Bas de Bruijne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Undecided
Unassigned

Bug Description

In test run https://solutions.qa.canonical.com/v2/testruns/7ffebb53-649c-4561-929a-739a0a3f397a/, juju status is called but the command fails with:

==================
ERROR:root:ERROR cannot connect to k8s api server; try running 'juju update-k8s --client <k8s cloud name>'

ERROR:root:juju status --format=json failed: 1
==================

At this point, we are deploying a k8s workload (cos-lite), so we know that the k8s api-server is functional.

Unfortunately, I do not have more details at this time. Crashdumps and configs can be found here: https://oil-jenkins.canonical.com/artifacts/7ffebb53-649c-4561-929a-739a0a3f397a/index.html , but I have not been able to locate any hints on what caused the failure.

tags: added: cdo-qa foundations-engine
Revision history for this message
Juan M. Tirado (tiradojm) wrote :

Could we have the list of steps to reproduce this in a local environment if possible? I'm sure the commands are somewhere in the provided link but I cannot find them. Thanks.

Changed in juju:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.