[2.1] MAAS rack (and region) should not depend on avahi-utils

Bug #1619493 reported by LaMont Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Medium
Unassigned

Bug Description

maas-rack-controller Recommends: avahi-utils, but assumes it's there, which can result in a traceback because:
2016-09-01 22:41:16 [-] FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/avahi-browse'

If avahi-utils is not installed (and therefore avahi-browse is not present), we should be more graceful about it and not generate a traceback.

A similar thing applies to tcpdump.

summary: - rack needs to be more graceful about missing recommends
+ [2.1] rack needs to be more graceful about missing recommends
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.1.0
Revision history for this message
Mike Pontillo (mpontillo) wrote : Re: [2.1] rack should not depend on avahi-utils

We need to change this back to a Recommends (it is currently a Depends, because we're being too honest) and allow MAAS to fail gracefully when avahi isn't installed. I don't think it's proper that we're essentially forcing the avahi service to be installed on any MAAS region or rack controller. (Yes, it improves the MAAS user experience, but customers may have the requirement that avahi not be installed, such as for security reasons.)

summary: - [2.1] rack needs to be more graceful about missing recommends
+ [2.1] rack should not depend on avahi-utils
summary: - [2.1] rack should not depend on avahi-utils
+ [2.1] MAAS rack (and region) should not depend on avahi-utils
Changed in maas:
milestone: 2.1.0 → 2.1.1
Changed in maas:
milestone: 2.1.1 → 2.1.2
Changed in maas:
milestone: 2.1.2 → 2.1.3
Revision history for this message
Andres Rodriguez (andreserl) wrote :

** This is an automated message **

We believe this is no longer an issue on the latest MAAS releases. As such, we are marking this bug report as invalid. If you believe this is still an issue, please re-open the bug report and provide any relevant information.

Thanks.

Changed in maas:
status: Triaged → Invalid
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.