horizon unit blocked on healthcheck failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charmed Operator - Horizon K8S |
New
|
Undecided
|
Unassigned |
Bug Description
Deployed sunbeam edge channel and horizon unit is in blocked state
juju status shows:
horizon waiting 1 horizon-k8s 2023.1/edge 46 10.152.183.110 no installing agent
horizon/0* blocked idle 10.1.173.141 (container:horizon) healthcheck failed: online
Looking into the logs:
1. sudo microk8s.kubectl -n openstack logs horizon-0 -c horizon
2023-06-
2023-06-
2023-06-
2023-06-
2023-06-
2023-06-
2023-06-
2023-06-
2023-06-
2. root@horizon-0:/# charm/bin/pebble checks
Check Level Status Failures
online ready down 4743/3
up alive up 0/3
Seems like 8s timeout for pebble ready check is not sufficient enough (takes around 9s for http call on my VM - 16GB/4vcpu ).
time curl http://
...
real 0m8.995s
user 0m0.004s
sys 0m0.015s
affects: | snap-openstack → charm-horizon-k8s |
Duplicate of https:/ /bugs.launchpad .net/snap- openstack/ +bug/2025201