kubevirt - Waiting for kube-control relation

Bug #2012106 reported by Pedro Victor Lourenço Fragola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KubeVirt Charm
Triaged
Low
Adam Dyess

Bug Description

Using the ck8s 1.24/stable and kubevirt edge/rev-3 the environment is not able to finish the kubevirt deployment

Status:

kubevirt - Waiting for kube-control relation

Juju logs:

unit-kubevirt-1: 18:28:59 ERROR unit.kubevirt/1.juju-log kube-control:31: kube-control relation data not yet valid. (1 validation error for Data
registry-location
  field required (type=value_error.missing)
unit-kubevirt-1: 18:28:59 INFO juju.worker.uniter.operation ran "kube-control-relation-changed" hook (via hook dispatching script: dispatch)
unit-kubevirt-1: 18:29:33 INFO juju.worker.uniter.operation ran "update-status" hook (via hook dispatching script: dispatch)
unit-kubevirt-1: 18:30:41 ERROR unit.kubevirt/1.juju-log kube-control:31: kube-control relation data not yet valid. (1 validation error for Data
registry-location

As per the log[0] kubevirt is not showing registry-location.

Workaround:

Force to re-set the registry-location:

juju config kubernetes-control-plane image-registry=rocks.canonical.com:443/cdk/temp

Wait to finish the configuration and set it again:

juju config kubernetes-control-plane --reset image-registry

Now it is showing the registry:

          registry-location: rocks.canonical.com:443/cdk

[0] https://pastebin.ubuntu.com/p/2nKYzxmg9j/

description: updated
Revision history for this message
Adam Dyess (addyess) wrote :

the `registry-location` field was missing in the `kube-control` relation from the 1.24/stable kubernetes-control-plane charm. Looking over that charm (as well as 1.25 and 1.26 releases) it may be possible to get this bug to occur again by deploying charmed kubernetes until it's completely active/idle.

Next, one would then deploy and relate the kubevirt charm with all its necessary relations. This may create the kube-control relation in such a way that the registry-location isn't provided.

Changed in charm-kubevirt:
status: New → Triaged
importance: Undecided → Low
milestone: none → 1.27
Adam Dyess (addyess)
Changed in charm-kubevirt:
assignee: nobody → Adam Dyess (addyess)
Adam Dyess (addyess)
Changed in charm-kubevirt:
milestone: 1.27 → 1.27+ck1
Revision history for this message
Adam Dyess (addyess) wrote :

Doesn't address the original issue in 1.24/stable, but does however address another install issue found while debugging this bug

https://github.com/charmed-kubernetes/charm-kube-virt/pull/8

Changed in charm-kubevirt:
milestone: 1.27+ck1 → 1.27+ck2
Adam Dyess (addyess)
Changed in charm-kubevirt:
milestone: 1.27+ck2 → 1.29
Changed in charm-kubevirt:
milestone: 1.29 → 1.30
Adam Dyess (addyess)
Changed in charm-kubevirt:
milestone: 1.30 → 1.31
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.