Continuous rotation of K8s charm units
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Thomas Miller | ||
2.8 |
Fix Released
|
High
|
Thomas Miller |
Bug Description
Similar overarching behavior to https:/
New units for argo-controller and pipelines-api are continuously rotated in as old ones die, as seen in this `juju status` output:
argo-controller/0* active idle 10.1.27.129
argo-controller/2 maintenance idle 10.1.27.106 fetching resource: oci-image
argo-controller/3 maintenance idle 10.1.27.106 fetching resource: oci-image
argo-controller/4 maintenance idle 10.1.27.106 fetching resource: oci-image
...
pipelines-api/0* terminated executing 10.1.27.134 8887/TCP,8888/TCP unit stopped by the cloud
pipelines-api/2 terminated executing 10.1.27.136 8887/TCP,8888/TCP unit stopped by the cloud
pipelines-api/3 maintenance executing 10.1.27.137 8887/TCP,8888/TCP fetching resource: oci-image
The issue seems to be stemming from attempting to exec a command in the workload pod:
application-
sh: 1: /var/lib/
Attached is full `juju debug` output.
Curiously, it doesn't seem to start until I actually attempt to run test pipelines. If I deploy it and leave it alone, the units don't get rotated in and out. Also strangely, pipelines-api doesn't have the same errors about execing that argo-controller does, but is still rotated in and out.
If it helps debug at all, both charms have relations to the minio charm. However, there's another charm that also has a relation to the minio charm that isn't displaying this behavior (pipelines-ui).
tags: | added: k8s |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju: | |
assignee: | nobody → Harry Pidcock (hpidcock) |
Changed in juju: | |
assignee: | Harry Pidcock (hpidcock) → Thomas Miller (tlmiller) |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
milestone: | none → 2.9-beta1 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To reproduce:
- Boot up new VM /github. com/juju- solutions/ bundle- kubeflow. git launchpad. net/canonical- osm osm/charms/ interfaces/ juju-relation- mysql mysql
- snap install microk8s, juju, juju-helpers, juju-wait, and charm
- apt install python3-pytest, and make a symlink somewhere in $PATH of pytest -> pytest-3
- git clone https:/
- cd bundle-kubeflow/
- git clone git://git.
- cp -r canonical-
- python3 scripts/cli.py microk8s setup --test-mode
- python3 scripts/cli.py deploy-to uk8s --build
- ./tests/run.sh -m full