Merge lp:~axwalk/juju-core/lp1317197-containerinit-hooklock-1.18 into lp:juju-core/1.18
Proposed by
Andrew Wilkins
Status: | Merged |
---|---|
Approved by: | Andrew Wilkins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2293 |
Proposed branch: | lp:~axwalk/juju-core/lp1317197-containerinit-hooklock-1.18 |
Merge into: | lp:juju-core/1.18 |
Diff against target: |
317 lines (+82/-25) 7 files modified
cmd/jujud/agent.go (+10/-0) cmd/jujud/machine.go (+9/-5) cmd/jujud/unit.go (+6/-2) worker/provisioner/container_initialisation.go (+15/-3) worker/provisioner/container_initialisation_test.go (+34/-6) worker/uniter/uniter.go (+4/-8) worker/uniter/uniter_test.go (+4/-1) |
To merge this branch: | bzr merge lp:~axwalk/juju-core/lp1317197-containerinit-hooklock-1.18 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+219283@code.launchpad.net |
Commit message
Take hook exec lock in container host init
When initialising the host for a container type,
we will install packages (lxc, kvm, etc.); this can
conflict with hook execution. This CL modifies the
container initialisation code to acquire the hook
execution lock when initialisting the host to avoid
the conflict.
Fixes lp:1317197
Description of the change
Take hook exec lock in container host init
When initialising the host for a container type,
we will install packages (lxc, kvm, etc.); this can
conflict with hook execution. This CL modifies the
container initialisation code to acquire the hook
execution lock when initialisting the host to avoid
the conflict.
Fixes lp:1317197
To post a comment you must log in.