controller errors deploying charms on microk8s due to connectivity issues

Bug #1996044 reported by Pietro Pasotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
High
Unassigned

Bug Description

I attempted deploying cos-lite and I got:
❯ j deploy cos-lite --trust
ERROR resolving with preferred channel: Post "https://api.charmhub.io/v2/charms/refresh": dial tcp: lookup api.charmhub.io on
 10.152.183.10:53: read udp 10.1.232.175:39939->10.152.183.10:53: i/o timeout

After that I retried and it seemed to work well, only a few charms were stuck in waiting/installing agent. Example for grafana/0:

09 Nov 2022 09:47:54+01:00 juju-unit allocating
09 Nov 2022 09:47:54+01:00 workload waiting installing agent
09 Nov 2022 09:55:25+01:00 workload waiting agent initialising
09 Nov 2022 09:55:28+01:00 workload maintenance installing charm software
09 Nov 2022 09:55:28+01:00 juju-unit executing running install hook
09 Nov 2022 09:55:31+01:00 juju-unit executing running grafana-source-relation-created hook

attaching the controller logs.

Grafana logs are as follows:

controller-0: 09:48:59 ERROR juju.worker.caasapplicationprovisioner.runner exited "grafana": more than 20 retries ensuring trust: updating application "grafana" to desired trust true: getting service account role "grafana": k8s: roles.rbac.authorization.k8s.io "grafana" not found
controller-0: 09:50:05 ERROR juju.worker.caasapplicationprovisioner.runner exited "grafana": more than 20 retries ensuring scale: scaling application "grafana" to desired scale 1: setting scale to 1 for "grafana": statefulset "grafana" not found
controller-0: 09:51:08 ERROR juju.worker.caasapplicationprovisioner.runner exited "grafana": more than 20 retries ensuring scale: scaling application "grafana" to desired scale 1: setting scale to 1 for "grafana": statefulset "grafana" not found
controller-0: 09:52:12 ERROR juju.worker.caasapplicationprovisioner.runner exited "grafana": more than 20 retries ensuring trust: updating application "grafana" to desired trust true: getting service account role "grafana": k8s: roles.rbac.authorization.k8s.io "grafana" not found
controller-0: 09:53:15 ERROR juju.worker.caasapplicationprovisioner.runner exited "grafana": more than 20 retries ensuring scale: scaling application "grafana" to desired scale 1: setting scale to 1 for "grafana": statefulset "grafana" not found
controller-0: 09:54:18 ERROR juju.worker.caasapplicationprovisioner.runner exited "grafana": more than 20 retries ensuring scale: scaling application "grafana" to desired scale 1: setting scale to 1 for "grafana": statefulset "grafana" not found

Revision history for this message
Pietro Pasotti (ppasotti) wrote :
Changed in juju:
status: New → Triaged
importance: Undecided → High
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.