Multiple lxc boostraps fail because stable is leaving stale locks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Ian Booth | ||
1.20 |
Fix Released
|
Critical
|
Ian Booth |
Bug Description
I am investigating a maddening cases where stale locks for the lxc template are left behind. First a test of stable (commit 1cd26425) failed because the services were stuck in pending. I found a stale lock left behind. I delete the lock, replayed the test and it passed.
Later testing commit 62e17263 on the devel branch, three other lxc deployment tests fail. All tests timed out because the services were stuck in pending. The previous test run was from the stable branch, implying that the locks were left after the env was destroyed. Those previous tests passed, but the test doesn't check for resources left behind. After cleaning the three machines, I re-ran the tests for devel an they passed. I confirmed that no locks were left behind. The test deploys two services, the lock is probably from the second service.
I going to watch the next run of stable and verify if locks are left behind. I will lower this bugs importance if this issue doesn't re-occur. It it does occur, I may add regression because this issue went from 1 per week to 3 times in 4 hours.
Changed in juju-core: | |
milestone: | none → 1.21-alpha1 |
no longer affects: | juju-core |
tags: | added: regression |
summary: |
- Multiple lxc boostraps fail because stable or devel is leaving stale - locks + Multiple lxc boostraps fail because stable is leaving stale locks |
Changed in juju-core: | |
milestone: | none → 1.21-alpha1 |
importance: | Undecided → High |
status: | New → Triaged |
Changed in juju-core: | |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
This is a bug in stable. It always leaves a stale lock behind, which breaks the ru of other jujus. The environment is destroyed, the lock should be gone too since I can remove the template container with lxc.