Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADE JSON profile cron might get interrupted if there are no profiles to assign. #17508

Closed
roperzh opened this issue Mar 8, 2024 · 3 comments
Closed
Assignees
Labels
~backend Backend-related issue. bug Something isn't working as documented bug-mac-enrollment Defect in Mac enrollment. #g-mdm MDM product group :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. ~unreleased bug This bug was found in an unreleased version of Fleet.
Milestone

Comments

@roperzh
Copy link
Member

roperzh commented Mar 8, 2024

Fleet version: da2bb13


💥  Actual behavior

level=info ts=2024-03-08T16:54:03.036888Z cron=apple_mdm_dep_profile_assigner component=nanodep-syncer component=nanodep-syncer name=fleet msg="syncer callback" err="process device response: screen dep serials: prepare statement arguments: empty slice passed to 'in' query"

🧑‍💻  Steps to reproduce

This will happen in other scenarios, but an easy way to spot it:

  1. Have a single host assigned in ABM to your server
  2. Wait a couple of minutes
  3. Observe the fleet server logs, you shouldn't see an error when the apple_mdm_dep_profile_assigner cron runs.
@roperzh roperzh added bug Something isn't working as documented :reproduce Involves documenting reproduction steps in the issue :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. #g-mdm MDM product group ~unreleased bug This bug was found in an unreleased version of Fleet. bug-mac-enrollment Defect in Mac enrollment. labels Mar 8, 2024
@roperzh roperzh self-assigned this Mar 8, 2024
@roperzh roperzh removed the :reproduce Involves documenting reproduction steps in the issue label Mar 8, 2024
roperzh pushed a commit that referenced this issue Mar 8, 2024
@lukeheath
Copy link
Member

@roperzh Moving this to the "ready for QA" column.

@lukeheath lukeheath added this to the 4.47.0 milestone Mar 11, 2024
@georgekarrv
Copy link
Member

Confirmed log no longer appears

@georgekarrv georgekarrv added the ~backend Backend-related issue. label Mar 11, 2024
@fleet-release
Copy link
Contributor

I couldn't think of a haiku this time. (See fleetdm.com logs for more information.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
~backend Backend-related issue. bug Something isn't working as documented bug-mac-enrollment Defect in Mac enrollment. #g-mdm MDM product group :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. ~unreleased bug This bug was found in an unreleased version of Fleet.
Development

No branches or pull requests

4 participants