kubevirt deploy stuck - (install) Installing Binaries

Bug #2025285 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

I realized that using the kubevirt charm rev-12 the deployment is stuck with the status:

kubernetes-worker/1 active idle 8 10.5.3.88 80/tcp,443/tcp Kubernetes worker running.
  calico/2 active idle 10.5.3.88 Calico is active
  containerd/2 active idle 10.5.3.88 Container runtime available
  kubevirt/1 maintenance executing 10.5.3.88 (install) Installing Binaries

The workaround is to reboot the nodes:

logs => 2023-06-28 15:07:21 INFO unit.kubevirt/0.juju-log server.go:316 Installing apt packages qemu, qemu-system-x86, libvirt-daemon-system, libvirt-clients, bridge-utils

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

I spoke with Pedro about this and it seems that apt was in the process list running on the machines when this condition occurred. As stated in the juju log it was trying to install necessary packages. But I also understand from him that it wasn't finishing and restarting the machines unstuck it. It would be nice if this condition occurs again to have the logs from apt to see why it was stuck. Fundamentally this isn't something the charm can do much about unless there's some kind of preparation that apt needs from the charm.

I suppose it's POSSIBLE apt is blocked waiting on some kind of human input?

The next steps would be from charmed-kubernetes to attempt to reproduce in a different environment.

@pedrovlf was this on focal or jammy?

Revision history for this message
Pedro Victor Lourenço Fragola (pedrovlf) wrote :

Hey Adam o/

2023-07-09 18:11:26 INFO unit.kubevirt/1.juju-log server.go:316 Installing apt packages qemu, qemu-system-x86, libvirt-daemon-system, libvirt-clients, bridge-utils

^C
root@juju-09930f-k8s-8:/var/log/juju# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy

Revision history for this message
Pedro Victor Lourenço Fragola (pedrovlf) wrote :

Using focal is working without problems... only using Jammy I have this issue

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