I think I just hit the same bug on a server. There were several services with subordinates deployed on LXCs on this server, which went down abruptly after a power outage.
In the /var/lib/juju/locks/uniter-hook-execution/ on each impacted unit were 2 empty files :
/var/lib/juju/locks/uniter-hook-execution# ls -l
total 0
-rwxr-xr-x 1 root root 0 Nov 13 10:39 held
-rwxr-xr-x 1 root root 0 Nov 13 10:39 message
Hi,
I think I just hit the same bug on a server. There were several services with subordinates deployed on LXCs on this server, which went down abruptly after a power outage.
In the /var/lib/ juju/locks/ uniter- hook-execution/ on each impacted unit were 2 empty files : juju/locks/ uniter- hook-execution# ls -l
/var/lib/
total 0
-rwxr-xr-x 1 root root 0 Nov 13 10:39 held
-rwxr-xr-x 1 root root 0 Nov 13 10:39 message
sudo lsof -n|grep W|grep juju didn't return anything.
Renaming the directory made the units in error resolve themselves without needing to resolved --retry.
juju version 1.24.5, on trusty.