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

[BUG] "invalid action name [cluster:feature/tenancy/config/read] must start with one of: [cluster:admin, indices:data/read, indices:monitor, indices:data/write, internal:, indices:internal, cluster:monitor, cluster:internal, indices:admin]" #2769

Closed
mbasha86 opened this issue May 10, 2023 · 5 comments · Fixed by #2758
Labels
bug Something isn't working untriaged Require the attention of the repository maintainers and may need to be prioritized

Comments

@mbasha86
Copy link

mbasha86 commented May 10, 2023

Describe the bug
On fresh start after upgrading to OpenSearch 2.7.0, OpenSearch are generating these lines:

{"type": "logging", "timestamp": "2023-05-10T17:12:42,877Z", "level": "WARN", "component": "o.o.t.TransportService", "cluster.name": "logging", "node.name": "ofd-data-1", "message": "invalid action name [cluster:feature/tenancy/config/read] must start with one of: [cluster:admin, indices:data/read, indices:monitor, indices:data/write, internal:, indices:internal, cluster:monitor, cluster:internal, indices:admin]" }
{"type": "logging", "timestamp": "2023-05-10T17:12:42,884Z", "level": "WARN", "component": "o.o.t.TransportService", "cluster.name": "logging", "node.name": "ofd-data-1", "message": "invalid action name [cluster:feature/tenancy/config/update] must start with one of: [cluster:admin, indices:data/read, indices:monitor, indices:data/write, internal:, indices:internal, cluster:monitor, cluster:internal, indices:admin]" }

But OpenSearch seems to be working fine.

To Reproduce
Just start OpenSearch instance after upgrade and check log.

Expected behavior
The warning lines not be generated. It is confusing looking to warnings and OpenSearch works fine.

Host/Environment (please complete the following information):
K8s (v1.24.6)
AWS, Kind

@mbasha86 mbasha86 added bug Something isn't working untriaged Require the attention of the repository maintainers and may need to be prioritized labels May 10, 2023
@dblock
Copy link
Member

dblock commented May 11, 2023

Which version did you upgrade from @mbasha86 and how (rolling? restart?)?

@mbasha86
Copy link
Author

Which version did you upgrade from @mbasha86 and how (rolling? restart?)?

i have upgraded from version 2.6.0 ...I am rolling it by redeploying my cluster again along with logging component (customized helm chart) which contains the new version of such OpenSearch component ..Then, i check related service and pod logs .

@cwperks
Copy link
Member

cwperks commented May 12, 2023

Can this be transferred to the security repo?

@mbasha86
Copy link
Author

mbasha86 commented May 12, 2023

Can this be transferred to the security repo?

ok , please go ahead

@cwperks
Copy link
Member

cwperks commented May 12, 2023

This is being addressed in this open PR in the security repo: #2758. There was a recent change in the security plugin to support dynamic multitenancy that introduced these action names.

Thank you for reporting this @mbasha86

@dblock dblock transferred this issue from opensearch-project/OpenSearch May 12, 2023
@cwperks cwperks mentioned this issue May 31, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged Require the attention of the repository maintainers and may need to be prioritized
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants