Uniter state file empty after node crash

Bug #1525868 reported by Gabriel Samfira on 2015-12-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

After a node crashed and came back up, the uniter state file for one of the units deployed was empty. As a consequence, the unit agent could not recover. Relevant abstract from logs:


Contents of uniter file:


Juju version 1.25.1, fresh bootstrap.

description: updated
Changed in juju-core:
status: New → Triaged
importance: Undecided → High

A personal suggestion on this.

There is no way to prevent files from going away in some cases. Node crashing, accidental file removal, whatever. However in cases such as this, I think its acceptable if the state file is invalid, that it should be replaced with a boilerplate default state file. At worst, this means that all the hooks will be run again (which should be idempotent anyway), which is better then never being able to recover at all.

Changed in juju:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.1.0
no longer affects: juju-core
Anastasia (anastasia-macmood) wrote :

Removing 2.1 milestone as we will not be addressing this issue in 2.1.

Changed in juju:
milestone: 2.1.0 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers