Skip to content

Orbit fails to start on some hosts #14698

@roperzh

Description

@roperzh

Fleet version: fleetd 1.17.0

Web browser and operating system:


💥  Actual behavior

Spotted at a customer env, they have an agent that sits alongside fleetd. They noticed that some hosts (let's say 5% of the total) were offline in Fleet, but reported as online by the other agent.

Upon digging we found two consistent issues across all those devices:

NSOSStatusErrorDomain

This error shows in loop, nonstop:

The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10822 \""kLSServerCommunicationErr: The server process (registration and recent items) is not available\"" UserInfo={_LSLine=507, _LSFunction=-[_LSRemoteOpenCall invokeWithError:]}\nThe application cannot be opened for an unexpected reason

🧑‍💻  Steps to reproduce

The error occurs when fleetd is installed while the user is not logged in. For the customer this is:

  1. Log out
  2. Install fleetd via Puppet (we need to find a workaround for this for our own reproduction)
  3. Look at the logs for the errors
  4. Login, see how the errors go away

Metadata

Metadata

Assignees

Labels

#g-mdmMDM product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documentedcustomer-eponym~backendBackend-related issue.~released bugThis bug was found in a stable release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions