Service can attempt to start without config

Bug #1815469 reported by Cory Johns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kubernetes Control Plane Charm
New
Undecided
Unassigned

Bug Description

Based on https://bugs.launchpad.net/charm-gcp-integrator/+bug/1815034 and https://discourse.jujucharms.com/t/blocker-deploying-cdk-on-manual-deployment/582 it seems there are conditions which can allow some or all of the services to attempt to start without the relevant config files having been written. This can lead to misleading status messages and errors in the logs, hindering debugging. We need to detect if start_master has not been called, and avoid attempting to start the services as well as reporting it as such in the status.

Revision history for this message
Cory Johns (johnsca) wrote :

It looks like the issue might actually be on the worker instead of the master, but I think we should be doing similar checks & reporting on both.

Revision history for this message
George Kraft (cynerva) wrote :

I'm pretty sure we can't stop most of the systemd services from starting because snapd starts them as soon as you install the snap. Best we could do to reduce log spam there is to make the wrapper scripts not run the underlying service if the snap isn't configured yet.

No doubt the charms could be handling status better, though.

william (ordertrama)
description: updated
summary: - Service can attempt to start without config
+ How to Buy Real Xanax Online without Prescription Delivery
Revision history for this message
Manfred Hampl (m-hampl) wrote :

reverting spam changes to description and summary

summary: - How to Buy Real Xanax Online without Prescription Delivery
+ Service can attempt to start without config
description: updated
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.