Constrained (invalid member action) in running baseline

I have a pretty simple baseline (since longer time and working well in the past) containing 4 simple fixlets.
The baseline runs agains around 1400 Endpoints with a constrain "maintenance window active".

A lot of endpoints have the expected status "constrained" as the wait for their maintenance window.

Unexpected, a fistful shows "Constrained (invalid member action)" which leaves me with at least 2 questions:

  1. How to identify these endpoints? In the computer list of the action, there is only status "contrained", no difference
  2. What does this status mean? I've seen some similar questions in the community but no real answer

Haven’t seen this status myself, although we use the Action Constraints for self-made peer-review system but if I had to guess the answer to #2 is most-likely permission based - either the site that one of the components is not available/subscribed to the machine in question OR the operator running the action doesn’t have rights to the site where the fixlet is in.

As of #1, need to confirm the issue first but if for example I am right - there are property “Subscribed Sites” for each machine, so hypothetically you could write a property that looks up the sites for each child action and pull their site and compare to the subscribed sites of the targeted machine (whenever they don’t match)… Similarly for the bes user.

2 Likes

That would be my guess. I think that’s likely what’s going on. A good place to start is comparing a few things side by side:

  • Which sites the baseline’s components come from

  • Which operator took the action, and whether they have management rights over the affected computers

  • Which sites those computers are subscribed to

If the affected endpoints joined BigFix recently, this could be a timing issue. The device may still have been working out its site subscriptions and operator rights when it reported status for this action, so it reported before everything had settled.

For a baseline component to run on a device, several things all have to line up:

  • The operator’s management rights

  • Where the action lives (operator site, mailbox site, action site, and so on)

  • Site subscriptions, and the subscription criteria for each site involved

  • The baseline’s source site, and each component’s source site

  • The baseline’s applicability relevance, and the component action’s relevance

  • The “maintenance window active” constraint, including how your maintenance windows are set up

One useful clue: if the problem were only the baseline or component relevance, the endpoint would just report “Not Relevant.” Since it’s showing “Constrained (invalid member action)” instead, one of the other factors is the more likely cause.

A side note on master operators: we generally recommend that you don’t put content in the master action site or run actions as a master operator, because of their global scope. Doing that would rule out many of the causes of an invalid member action, though, and that global scope is also the reason it isn’t a good habit for everyday use.

——

That should be possible with some session relevance.

This will give all statuses that exist within the environment: (probably slow without pre-filtering to a specific action)

unique values of (it as string) of ( (status of it as string | "" ) & ": " & (detailed status of it | "")) of results of bes actions

I’m not sure I have this exact action result status in my environment, so hard for me to know how to filter it exactly.

This will give you the statuses of all actions for all computers which report a status that contains “invalid”: (probably slow without pre-filtering to a specific action)

unique values of (it as string) of ( ids of computers of it, ids of actions of it, ( status of it as  string | "" ) & ": " & (detailed status of it | "")) whose(item 2 of it as lowercase contains "invalid") of results of bes actions

—

I’m not sure if it will work for this specific use case or not, but I do have a related console dashboard for this: bigfix-content/dashboards/BaselineStatusResults.ojo at main · jgstew/bigfix-content · GitHub

3 Likes

Thanks very much for the detailed description and relevance examples. Indeed the issue seems to be related to an unwanted site subscribtion. After correction and restarting baseline action it looks better now.

However, it seems like “invalid member action” is not shown as separate status:

unique values of (it as string) of ( (status of it as string | "" ) & ": " & (detailed status of it | "")) of results of bes actions whose (id of it as string contains "818274")

Constrained: The computer doesn't meet the specified retrieved property constraint.
Fixed: The action executed successfully.
Not Relevant: The Fixlet which this action addresses is not relevant on this machine.
Pending Restart: Waiting for restart to complete action.

The doublecheck with second session relevance shows some results but nothing with "invalid member action". I've removed name and id from the output:

 <error>: Invalid action content: the action script contains a syntax error.
<error>: Invalid site context. The Fixlet site may no longer exist.
Failed: Invalid action content: the action script contains a syntax error.

This might be what you are looking for, but I’m not certain. This should mean that the client can’t evaluate the item because it doesn’t have access to the site.

It is confusing that it doesn’t line up with “invalid member action” but that is probably from the perspective of the baseline, not the individual sub action… so maybe this is the console bubbling up this error.

Oh also, an additional issue, the session relevance for results of bes actions will only report results that actually came from the device itself. If the device never sees the action due to an invalid context, then it would never report that, so then it would never show up in the results. Not sure if this is a factor or not.

Get more interesting day by day. As I have 2 new "invalid member action" I seems like faulty site subscription was not or not the only reason. I will dig into during next days.

1 Like

This query may help, it returns the statuses of only the erroneous actions.

(id of action of it, name of action of it, status of it as string | "unknown", detailed status of it as string) of results whose (status of it = bes action status error) of bes actions

I actually do have a few in my deployment that match...in my case, these are actions, that were taken from a new external RepositorySite (gathered from a git repo), but in which I was removing and re-adding the site several times in the course of my testing - so these likely do match that condition of 'an action whose source fixlet is from a site that no longer exists on the client'.

198655, Collect Hardware Devices and Drivers to JSON - Windows, <error>, Invalid site context. The Fixlet site may no longer exist.
198655, Collect Hardware Devices and Drivers to JSON - Windows, <error>, Invalid site context. The Fixlet site may no longer exist.
198655, Collect Hardware Devices and Drivers to JSON - Windows, <error>, Invalid site context. The Fixlet site may no longer exist.
198655, Collect Hardware Devices and Drivers to JSON - Windows, <error>, Invalid site context. The Fixlet site may no longer exist.
198655, Collect Hardware Devices and Drivers to JSON - Windows, <error>, Invalid site context. The Fixlet site may no longer exist.
198655, Collect Hardware Devices and Drivers to JSON - Windows, <error>, Invalid site context. The Fixlet site may no longer exist.
198655, Collect Hardware Devices and Drivers to JSON - Windows, <error>, Invalid site context. The Fixlet site may no longer exist.
198655, Collect Hardware Devices and Drivers to JSON - Windows, <error>, Invalid site context. The Fixlet site may no longer exist.
1 Like