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]: Unable to load agent policy for user role Fleet& Sub Features: All and Integrations: All for Second Space. #192988

Closed
amolnater-qasource opened this issue Sep 16, 2024 · 5 comments · Fixed by #193025
Assignees
Labels
bug Fixes for quality problems that affect the customer experience impact:critical This issue should be addressed immediately due to a critical level of impact on the 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 Sep 16, 2024

Kibana Build details:

VERSION: 8.16.0
BUILD: 78301
COMMIT: 4773f525586a05e58ca82cffaa66c89c7b0df4c1

Role:

SPACE: space2
Integrations: All
Fleet: All
Agents: All
Agent policies: All
Settings: All

Preconditions:

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

Steps to reproduce:

  1. Login with the above user.
  2. Navigate to Agent policies tab..
  3. Create a new agent policy.
  4. Click on agent policy and observe error: Unable to get fleet-agent-policies.
  5. Perform any action on agent policies and observe same errors.

Expected Result:
Agent policies should successfully load for user role Fleet& Sub Features: All and Integrations: All for Second Space.

Update:

  • User isn't able to perform any actions on the logged in User and crashes multiple times.

Screen Recording:

Custom.-.Roles.-.Elastic.-.Google.Chrome.2024-09-16.16-44-57.mp4
Agent.policies.-.Fleet.-.Elastic.-.Google.Chrome.2024-09-16.16-24-45.mp4
Browse.integrations.-.Integrations.-.Elastic.-.Google.Chrome.2024-09-16.16-48-22.mp4

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

@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 Sep 16, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@amolnater-qasource
Copy link
Author

@muskangulati-qasource Please review.

@amolnater-qasource amolnater-qasource added impact:critical This issue should be addressed immediately due to a critical level of impact on the product. and removed impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. labels Sep 16, 2024
@muskangulati-qasource
Copy link

Secondary review on this ticket is Done!!

@nchaulet nchaulet self-assigned this Sep 16, 2024
@nchaulet
Copy link
Member

It seems the new saved objects where not added to the allSavedObjectTypes accessible by fleet users here should be an easy fix

@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:

  • Able to load agent policy and perform all actions on Agent policy for user role Fleet& Sub Features: All and Integrations: All for Second Space.

Screen Recording:

Agents.-.Fleet.-.Elastic.-.Google.Chrome.2024-09-23.10-34-11.mp4

Build details:
VERSION: 8.16.0-SNAPSHOT
BUILD: 78483
COMMIT: 6a9663f

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 23, 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:critical This issue should be addressed immediately due to a critical level of impact on the 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.

4 participants