Merge lp:~larryprice/libertine/saved-lxd-root into lp:libertine
Proposed by
Larry Price
Status: | Merged |
---|---|
Approved by: | Christopher Townsend |
Approved revision: | 400 |
Merged at revision: | 419 |
Proposed branch: | lp:~larryprice/libertine/saved-lxd-root |
Merge into: | lp:libertine |
Diff against target: |
15 lines (+4/-0) 1 file modified
python/libertine/LxdContainer.py (+4/-0) |
To merge this branch: | bzr merge lp:~larryprice/libertine/saved-lxd-root |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christopher Townsend | Approve | ||
Libertine CI Bot | continuous-integration | Approve | |
Review via email: mp+318227@code.launchpad.net |
Commit message
Keep the original root path around when updating bind mounts in lxd.
Description of the change
Keep the original root path around when updating bind mounts in lxd.
On latest zesty, defining the root path causes a bind mount save error. On x+o, not defining the root path causes a bind mount save error. The reason we originally defined it was because it was a "default" device pre-created on container creation by lxd; this is no longer the case and my assumption is that they deal with it internally (especially since '/' is the only allowed value). The solution here is to save it if it exists; otherwise pretend it's not there.
To post a comment you must log in.
PASSED: Continuous integration, rev:400 /jenkins. canonical. com/libertine/ job/lp- libertine- ci/413/ /jenkins. canonical. com/libertine/ job/build/ 776 /jenkins. canonical. com/libertine/ job/test- 0-autopkgtest/ label=amd64, release= xenial+ overlay, testname= default/ 640 /jenkins. canonical. com/libertine/ job/test- 0-autopkgtest/ label=amd64, release= zesty,testname= default/ 640 /jenkins. canonical. com/libertine/ job/test- 0-autopkgtest/ label=i386, release= xenial+ overlay, testname= default/ 640 /jenkins. canonical. com/libertine/ job/test- 0-autopkgtest/ label=i386, release= zesty,testname= default/ 640 /jenkins. canonical. com/libertine/ job/build- 0-fetch/ 786 /jenkins. canonical. com/libertine/ job/build- 2-binpkg/ arch=amd64, release= xenial+ overlay/ 767 /jenkins. canonical. com/libertine/ job/build- 2-binpkg/ arch=amd64, release= xenial+ overlay/ 767/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/libertine/ job/build- 2-binpkg/ arch=amd64, release= zesty/767 /jenkins. canonical. com/libertine/ job/build- 2-binpkg/ arch=amd64, release= zesty/767/ artifact/ output/ *zip*/output. zip /jenkins. canonical. com/libertine/ job/build- 2-binpkg/ arch=i386, release= xenial+ overlay/ 767 /jenkins. canonical. com/libertine/ job/build- 2-binpkg/ arch=i386, release= xenial+ overlay/ 767/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/libertine/ job/build- 2-binpkg/ arch=i386, release= zesty/767 /jenkins. canonical. com/libertine/ job/build- 2-binpkg/ arch=i386, release= zesty/767/ artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /jenkins. canonical. com/libertine/ job/lp- libertine- ci/413/ rebuild
https:/