-
Couldn't load subscription status.
- Fork 346
Fix warning on graph inventory #2002
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
Open
Klaas-
wants to merge
1
commit into
ansible-collections:dev
Choose a base branch
from
Klaas-:Klaas-fix_graph_inventory_comment
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reference to support this part?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you have access to support requests you can check 2406170050002212 -- but no, from my opinion that's not properly documented in the public graph docs, same as the potential 30 hour lag, I've complained about that, but it's nothing MSFT wants to fix apparently
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope at least you can put some reference about how ARG works and why it can cause these issues, to make the material more sensible.. Otherwise, I don't think anyone will use this inventory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, that's the point I am making, the graph service is not usable for an inventory if you have the expectation that your inventory shows accurate & live data :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yet we have a customer who is using it for inventory. And so far my automated tests have not shown any issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My guess would be they are not sensitive enough to change. For example the stuff with the powerstate="" in Graph I only noticed because some VMs where not updated in their maintenance windows, but only super rarely. I started to export my inventory to git after each sync in order to see changes, that's when I caught up to the general problems. Sometimes a VM would be in it, sometimes it would not be in it, sometimes a Powerstate was "" instead of the actual powerstate. According to MSFT this is all "by design". If that kind of inventory is okay for a customer they can feel free to use it. But it needs to be with a big warning sign because it's not what an actual inventory should be, which is live & accurate information -- or an error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If ARG is behaving inproperly and MSFT claimed it was by design, then in what scenario is ARG supposed to be used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@magodo that's actually the same question I posed to MSFT and they failed to come up with an answer :) I am guessing it shall be used to situations where neither accuracy/completeness nor time is an immediate factor. The only answer I came up in my head: statistics over your whole environment when you have thousands of machines and it's not important if there is one or more in the results or if one is powered on or simply "" :D . But at least in my ansible world that's not an option, there are important tasks running that rely on the accuracy of the information.