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
[Fleet]: Error when creating an Agent Policy, seen after editing an Integration / package policy that is used in other Agent Policies #121059
Comments
Pinging @elastic/fleet (Team:Fleet) |
@manishgupta-qasource Please review. |
Reviewed & mention to @kpollich CC: @EricDavisX |
This issue seems to be present since we introduce the globally unique package name in 7.16.0 You can reproduce it by:
|
I think we also need to document a known issue for this in the 7.16.0 release. I believe the workaround would be to rename the other system integration policies, is that correct? @criamico would you be able to test that workaround and add a known issue to https://github.com/elastic/observability-docs/blob/main/docs/en/ingest-management/release-notes/release-notes-7.16.asciidoc? You can follow the example in the 7.15.0 notes: https://github.com/elastic/observability-docs/blob/main/docs/en/ingest-management/release-notes/release-notes-7.15.asciidoc |
One easy workaround will be to create the policy without the system integration and add it later with a proper name. |
Hi @joshdover & @nchaulet
We have tried various combinations however this issue is randomly reproducible while creating policies and adding system integrations to it. Screen Recordings: Agent.policies.-.Fleet.-.Elastic.-.Google.Chrome.2021-12-23.15-14-11.mp4Agent.policies.-.Fleet.-.Elastic.-.Google.Chrome.2021-12-23.15-11-57.mp4Build details: Hence we are re-opening this issue. |
Hi @amolnater-qasource thanks for testing this again I found an issue with our increment function where we were not handling correctly the increment correctly if there is more than 10 package policies #121965 |
Hi @nchaulet
Build details: Further, we will keep track of this issue on further builds too. Thanks |
Kibana version: 7.16.0, 7.16.1, 8.0.0-SNAPSHOT, 8.1.0-SNAPSHOT
Host OS and Browser version: All, All
Build details:
Minimum steps to reproduce:
test1
andtest2
test1
policytest3
with "Collect system logs and metrics" enabledOriginal reproduction steps
Preconditions:
Steps to reproduce:
Collect system logs and metrics
.Screen Recording:
Agent.policies.-.Fleet.-.Elastic.-.Google.Chrome.2021-12-13.14-56-45.mp4
NOTE:
The text was updated successfully, but these errors were encountered: