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

[Fleet]: Agents tab gets crashed on clicking Agent activity for user role with Agents: Read and other Sub Features: None. #191387

Closed
amolnater-qasource opened this issue Aug 27, 2024 · 6 comments · Fixed by #191671
Assignees
Labels
bug Fixes for quality problems that affect the customer experience impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. QA:Validated Issue has been validated by QA Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@amolnater-qasource
Copy link

amolnater-qasource commented Aug 27, 2024

Kibana Build details:

VERSION: 8.16.0-SNAPSHOT
BUILD: 77679
COMMIT: 6b091fe3b410eaae9d4805c0a3c0ea6168bf66b0

Role:

Integrations: All
Fleet: All
Agents: Read
Agent policies: None
Settings: None

Image

Preconditions:

  1. 8.16.0-SNAPSHOT Kibana cloud environment should be available.
  2. New User should be created with above defined role.

Steps to reproduce:

  1. Login with the above user.
  2. Navigate to Agents tab and click Agent activity.
  3. Request for Agent diagnostics again and again, to get Review error logs badge.
  4. Observe Agents tab crashes, and error logs are displayed.

Logs:
logs.txt

Expected Result:
Agents tab shouldn't get crashed on clicking Agent activity for user role with Agents: Read and other Sub features: None.

Screen Recording:

Agents.-.Fleet.-.Elastic.-.Google.Chrome.2024-08-27.13-57-02.mp4

Feature:
https://github.com/elastic/ingest-dev/issues/2903

@amolnater-qasource amolnater-qasource added bug Fixes for quality problems that affect the customer experience impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Team:Fleet Team label for Observability Data Collection Fleet team labels Aug 27, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@amolnater-qasource
Copy link
Author

@karanbirsingh-qasource Please review.

@ghost
Copy link

ghost commented Aug 27, 2024

secondary review of this ticket is done

@amolnater-qasource
Copy link
Author

Hi Team,

Just an update that the issue is also reproducible for Superuser with all privileges enabled.

Thanks!
JFI @juliaElastic

@jen-huang
Copy link
Contributor

Hi, the fix will be merged in #191671. This should rather be revalidated while testing #189861, because the cause of the issue comes from this new type of action (automatic unenrollment).

@amolnater-qasource amolnater-qasource added the QA:Ready for Testing Code is merged and ready for QA to validate label Aug 29, 2024
juliaElastic pushed a commit that referenced this issue Aug 29, 2024
@amolnater-qasource
Copy link
Author

Hi Team,

We have revalidated this issue on latest 8.16.0 SNAPSHOT kibana cloud environment and found it fixed now.

Observations:

  • Agents tab doesn't gets crashed on clicking Agent activity for custom user and for superuser.

Screen Recording:

Agents.-.Fleet.-.Elastic.-.Google.Chrome.2024-09-13.10-40-52.mp4
Agents.-.Fleet.-.Elastic.-.Google.Chrome.2024-09-13.10-39-02.mp4

Build details:
VERSION: 8.16.0 SNAPSHOT
BUILD: 78101
COMMIT: f51481d

Hence, we are marking this issue as QA:Validated.

Thanks!

@amolnater-qasource amolnater-qasource added QA:Validated Issue has been validated by QA and removed QA:Ready for Testing Code is merged and ready for QA to validate labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. QA:Validated Issue has been validated by QA Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants