Mark charm as bootstrapped
As part of the configuration method ensure that the charm is marked as bootstrapped when the method completes. This ensures that the deployed application units don't get stuck in a maintenance/waiting state. Change-Id: Iddcabbd398c5a715d74b5168d1b16594dad662a5
This commit is contained in:
parent
af0009f6c7
commit
9838b2e4b3
@ -467,6 +467,7 @@ class OVNCentralOperatorCharm(sunbeam_charm.OSBaseOperatorCharm):
|
||||
ph.add_healthchecks()
|
||||
|
||||
self.unit.status = ops.model.ActiveStatus()
|
||||
self._state.bootstrapped = True
|
||||
|
||||
def configure_ovn(self):
|
||||
"""Configure ovn listener."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user