infinitive loop

Bug #1826720 reported by Tobias on 2019-04-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cassandra Juju Charm
Stuart Bishop

Bug Description

Cassandra 3 nodes cluster allways looping in and out of maintenance mode in a executing state.
live seed -> Waiting for turn to restart -> Stopping cassandra -> Starting cassandra
back to live seed and over.

Stuart Bishop (stub) wrote :

It will happen 3 or 4 times during setup, while new nodes join and the list of seeds changes. And should settle down and stop (we can minimize this with Juju 2.5+ using the goal-state feature).

If it is truly a loop, we need unit logs to track down what is happening. In particular, cluster-relation-changed on one of the units.

Changed in cassandra-charm:
status: New → Incomplete
Tobias (mrknaz) wrote :

juju version: 2.5.4-bionic-amd64
this file is recorded 8 hours after setup
and its still looping.


Stuart Bishop (stub) wrote :

The config.changed.* flags are not being cleared, likely due to the custom hooks/hook.template file. It has gone out of sync with the basic layer's template; the basic layer registers an atexit handler to clear the flags, and the cassandra charm hook template does not.

Changed in cassandra-charm:
status: Incomplete → Triaged
importance: Undecided → Critical
Stuart Bishop (stub) on 2019-04-29
Changed in cassandra-charm:
assignee: nobody → Stuart Bishop (stub)
Stuart Bishop (stub) on 2019-04-29
Changed in cassandra-charm:
status: Triaged → Fix Released
Stuart Bishop (stub) wrote :

Fix should be up at cs:cassandra stable (cs:cassandra-54)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers