Skip to content

[regression][macos] Restarting daemon while tray GUI is running can hang the daemon #3142

@townsend2010

Description

@townsend2010

A regression has been reported where restarting multipassd while the system tray GUI is running will cause the daemon to not respond to requests after it starts.

It has been narrowed down to this error in the log:

E0627 10:12:08.657058000 6136393728 tcp_server_posix.cc:245]           Failed getpeername: Invalid argument

gRPC seems to get in a bad way only on the Mac when this occurs. It seems this correlates with this change: canonical/grpc@447bd66

To work around this issue, please do the following:

% launchctl unload /Library/Application\ Support/com.canonical.multipass/Resources/com.canonical.multipass.gui.autostart.plist
% sudo launchctl unload /Library/LaunchDaemons/com.canonical.multipassd.plist
% sudo launchctl load -w /Library/LaunchDaemons/com.canonical.multipassd.plist

Metadata

Metadata

Assignees

Labels

bughighHigh priority. Combine with "medium" to signal intermediate medium-high priority.regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions