Failed install of landscape-server package causes charm to go into error related to haproxy

Bug #2015504 reported by Chris Johnston
8
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/landscape/canonical/landscape/offline/unauthorized-haproxy.html'

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

Changed in landscape-charm:
importance: Undecided → High
status: New → In Progress
assignee: nobody → Kevin Nasto (silverdrake11)
Revision history for this message
Kevin Nasto (silverdrake11) wrote :
Changed in landscape-charm:
status: In Progress → Fix Released
Revision history for this message
Jeffrey Chang (modern911) wrote :
tags: added: cdo-qa foundations-engine
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.