charm sometimes enters "Stopped services: kube-controller-manager" state after cluster has settled

Bug #1872484 reported by Jason Hobbs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kubernetes Control Plane Charm
Fix Released
Undecided
George Kraft

Bug Description

During a deploy of k8s on top of OpenStack, while testing Juju 2.7.6 RC, the test_status_messages test failed:

=================================== FAILURES ===================================
_____________________________ test_status_messages _____________________________
Traceback (most recent call last):
  File "/home/ubuntu/k8s-validation/jobs/integration/validation.py", line 227, in test_status_messages
    assert unit.workload_status_message == message
AssertionError: assert 'Stopped serv...oller-manager' == 'Kubernetes master running.'
  - Stopped services: kube-controller-manager
  + Kubernetes master running.

https://solutions.qa.canonical.com/#/qa/testRun/243f26a5-0289-40e5-829b-832f49dbe7a8

description: updated
George Kraft (cynerva)
Changed in charmed-kubernetes-testing:
status: New → Confirmed
Revision history for this message
George Kraft (cynerva) wrote :

This is closely related to https://bugs.launchpad.net/bugs/1869388 where similar symptoms are seen: kube-controller-manager fails to start due to 401 Unauthorized response from kube-apiserver.

This case differs slightly in that the error occurred after initial deployment, and the charm recovered on its own.

Changed in charm-kubernetes-master:
status: New → Confirmed
no longer affects: charmed-kubernetes-testing
George Kraft (cynerva)
summary: - test_status_messages failed: got "Stopped services: kube-controller-
- manager" when expecting "Kubernetes master running."
+ charm sometimes enters "Stopped services: kube-controller-manager" state
+ after cluster has settled
George Kraft (cynerva)
Changed in charm-kubernetes-master:
assignee: nobody → George Kraft (cynerva)
status: Confirmed → In Progress
Revision history for this message
George Kraft (cynerva) wrote :
tags: added: review-needed
tags: removed: review-needed
Changed in charm-kubernetes-master:
status: In Progress → Fix Committed
George Kraft (cynerva)
Changed in charm-kubernetes-master:
milestone: none → 1.18+ck1
Revision history for this message
George Kraft (cynerva) wrote :
Changed in charm-kubernetes-master:
status: Fix Committed → Fix Released
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.