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

Clear failed policy statuses for a VPP-automated policy when we detect the automated app goes from zero available licenses to more than zero #25624

Closed
iansltx opened this issue Jan 21, 2025 · 2 comments
Labels
#g-software Software product group

Comments

@iansltx
Copy link
Member

iansltx commented Jan 21, 2025

Problem

Policy-automated VPP app installs fail if the automated app has no available licenses, and fixing that issue on won't result in the app being installed (split from #25514).

What have you tried?

The workaround for this is to either manually install the app on the affected host after obtaining more licenses (in which case you'll get an error if licenses are still unavailable) or, for a larger number of affected hosts, remove and then re-add the policy automation.

Potential solutions

Periodically check available license counts for VPP apps, and when a VPP app goes from zero available licenses to more than zero, clear policy failures for automations pointing to that app so the next host sync can successfully install the app.

As part of this, we should display available license counts in the UI, including freshness indicators, and update the count on a per-app basis if we find out during an install attempt that licenses are not available.

What is the expected workflow as a result of your proposal?

If a VPP app fails to install due to VPP license exhaustion being turned off for a host, adding more licenses for that app is sufficient for policy based VPP installs to be re-queued for that policy, with no further manual intervention.

@iansltx iansltx added #g-software Software product group :product Product Design department (shows up on 🦢 Drafting board) labels Jan 21, 2025
@iansltx iansltx changed the title Copy of Clear failed policy statuses for VPP-automated policies when MDM is turned on for a host Clear failed policy statuses for a VPP-automated policy when we detect the automated app goes from zero available licenses to more than zero Jan 21, 2025
@noahtalerman
Copy link
Member

FYI @iansltx closed this request because I grouped it into the following request:

@fleet-release
Copy link
Contributor

Licenses once empty,
Now replenished, flow freely.
Policies breathe easy.

@noahtalerman noahtalerman removed the :product Product Design department (shows up on 🦢 Drafting board) label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#g-software Software product group
Projects
None yet
Development

No branches or pull requests

3 participants