Constant log spam under 2.2.1: cannot create relations: remove ...: directory not empty

Bug #1700450 reported by Paul Gear
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Christian Muirhead

Bug Description

Upgrading a juju controller from 2.1.x to 2.2.1 resulted in hosted models producing constant log spam relating to the relations directory, e.g.

unit-nrpe-1: 05:19:57 ERROR juju.worker.dependency "uniter" manifold worker returned unexpected error: failed to initialize uniter for "unit-nrpe-1": cannot create relations: remove /var/lib/juju/agents/unit-nrpe-1/state/relations/6: directory not empty

See https://pastebin.canonical.com/191805/ for a longer example. Removing these directories manually and restarting the agents fixes the problem.

Paul Gear (paulgear)
tags: added: canonical-is
Tim Penhey (thumper)
Changed in juju:
status: New → Triaged
importance: Undecided → High
tags: added: upgrade-juju
tags: added: uniter
John A Meinel (jameinel)
Changed in juju:
milestone: none → 2.2.2
assignee: nobody → Christian Muirhead (2-xtian)
Revision history for this message
Paul Gear (paulgear) wrote :

Confirmed that this affects 2.2.1 agents, not just 2.1.x. Updated description to reflect this.

summary: - 2.1.x models cause constant log spam under 2.2.1: cannot create
- relations: remove ...: directory not empty
+ Constant log spam under 2.2.1: cannot create relations: remove ...:
+ directory not empty
Changed in juju:
status: Triaged → Fix Committed
Changed in juju:
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.