Failed install of landscape-server package causes charm to go into error related to haproxy
Bug #2015504 reported by
Chris Johnston
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
Fix Released
|
High
|
Kevin Nasto |
Bug Description
If the charm fails to install the landscape-server package for any reason and then the haproxy relation becomes available, the charm will go into an error with:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/canonical
What should happen is:
1) If the package is unable to be installed, it would be nice if a reinstall was attempted
2) Other hooks (relations) are blocked from proceeding until the package install was successful.
Related branches
~silverdrake11/landscape-charm:install-and-bootstrap-bug_lndeng-466
- Mitch Burton: Approve
-
Diff: 185 lines (+38/-40)4 files modifiedsrc/charm.py (+8/-19)
src/settings_files.py (+9/-0)
tests/test_charm.py (+16/-18)
tests/test_settings_files.py (+5/-3)
Changed in landscape-charm: | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → Kevin Nasto (silverdrake11) |
Changed in landscape-charm: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Merge request is here https:/ /code.launchpad .net/~silverdra ke11/landscape- charm/+ git/landscape- charm/+ merge/441128