Comment 2 for bug 1486712

Revision history for this message
Junien F (axino) wrote : Re: Race on uniter-hook-execution, prevents to resolve unit.

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 :
/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

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.