-
Notifications
You must be signed in to change notification settings - Fork 64
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
[FEATURE] Implement register model group for Model access control in os-py-ml #289
Comments
@dhrubo-os Hi! I'm working on this right now on this branch . |
Sounds good. I assigned this issue to you. Thanks. |
Hi @dhrubo-os. I've spent quite a while trying to get the dashboards set up, and finally got it working. Following the DEVELOPER_GUIDE.md, I am trying to update cluster settings, but am getting the following error:
Could you give me some directions on how to solve this issue? I've set up opensearch and opensearch dashboards by cloning the repositories from Github. Could that be the issue? |
|
|
Sorry for the confusion, by OS version I meant Opensearch version How did you try those commands? |
I cloned the repo 2 days ago, and on that day github-actions had released Version 1.3.13. Do I consider that to be the version I am on? On the docs page I see it says OpenSearch 2.9.x is the latest.. And I tried those commands through Dev Tool on the Dashboards UI. |
Did you setup Opensearch cluster in your end? If yes, which version is it? |
Did you go through this: https://github.com/opensearch-project/opensearch-py-ml/blob/main/DEVELOPER_GUIDE.md |
I had previously not set it up, sorry for the confusion (I had completed the tutorial from the OSCI Workshop) I went through the steps outlined in (https://opensearch.org/docs/2.5/install-and-configure/install-opensearch/tar/), and am stuck when I am trying to apply my config changes. (step: https://opensearch.org/docs/2.5/install-and-configure/install-opensearch/tar/#apply-changes)
I'm on Windows 11 and I tried to change Docker Desktops memory limits in my .wslconfig file (im using WSL2) with the following contents:
This shows me that I have a lot of free memory but the 'percentage' of it is low, thus leading it to throw that error
Please let me know if you have faced this before and what I could do. Thank you in advance @dhrubo-os :) |
I believe the message clearly indicates that your free storage is So you need to free up disk space or add more storage. |
@AkshathRaghav Do you have any updates on this issue? Has the issue been resolved? |
@dhrubo-os , can you please assign me this ticket. I will work on this. |
@AkshathRaghav I'm sorry. Due to the priority, I'm assigning this issue to @rawwar. Please let me know if you still want to work on any other issue. Thanks. |
@dhrubo-os Hello sir, I apologize for missing the original message. I've been working on benchmark and wasn't able to make more progress on this issue. https://github.com/AkshathRaghav/opensearch-py-ml/blob/model_group_register/AkshathRaghav/opensearch_py_ml/ml_commons/ml_commons_client.py <- I had made some changes in my fork but was not able to finish testing it at the time because I was having cluster issues. Once OSCI is over, I will try to work on other issues on a proper timeline. Thank you for your patience! |
…upport Model Access Control (#332) * init Signed-off-by: kalyan <[email protected]> * add search, delete and update Signed-off-by: kalyan <[email protected]> * add tests for register model group Signed-off-by: kalyan <[email protected]> * update cluster to 2.11 Signed-off-by: kalyan <[email protected]> * test skipif Signed-off-by: kalyan <[email protected]> * fix Signed-off-by: kalyan <[email protected]> * add tests Signed-off-by: kalyan <[email protected]> * update matrix Signed-off-by: kalyan <[email protected]> * cancel in progress Signed-off-by: kalyan <[email protected]> * update concurrency Signed-off-by: kalyan <[email protected]> * job level concurrency Signed-off-by: kalyan <[email protected]> * fix Signed-off-by: kalyan <[email protected]> * fix Signed-off-by: kalyan <[email protected]> * fix tests Signed-off-by: kalyan <[email protected]> * tests passing Signed-off-by: kalyan <[email protected]> * isort fix Signed-off-by: kalyan <[email protected]> * fix action Signed-off-by: kalyan <[email protected]> * fix action Signed-off-by: kalyan <[email protected]> * fix action Signed-off-by: kalyan <[email protected]> * fix Signed-off-by: kalyan <[email protected]> * update changelog Signed-off-by: kalyan <[email protected]> * fix os dockerfile Signed-off-by: kalyan <[email protected]> * test Signed-off-by: kalyanr <[email protected]> * pass opensearch version Signed-off-by: kalyanr <[email protected]> * fix Signed-off-by: kalyanr <[email protected]> * fix Signed-off-by: kalyanr <[email protected]> * fix Signed-off-by: kalyan <[email protected]> * update OS dockerfile Signed-off-by: kalyan <[email protected]> * fix failing tests Signed-off-by: kalyan <[email protected]> * update dockerfile for 2.11.0 Signed-off-by: kalyan <[email protected]> * remove disable warning Signed-off-by: kalyan <[email protected]> * fix upload model Signed-off-by: kalyan <[email protected]> * fix lint Signed-off-by: kalyan <[email protected]> * fix lint Signed-off-by: kalyan <[email protected]> * include reference Signed-off-by: kalyan <[email protected]> * pr fixes Signed-off-by: kalyan <[email protected]> * lint fix Signed-off-by: kalyan <[email protected]> * fix lint Signed-off-by: kalyan <[email protected]> * fix tests Signed-off-by: kalyan <[email protected]> * skip Signed-off-by: kalyan <[email protected]> * fix lint Signed-off-by: kalyan <[email protected]> * fix lint and increase coverage Signed-off-by: kalyan <[email protected]> * fix lint Signed-off-by: kalyan <[email protected]> * fix Signed-off-by: kalyan <[email protected]> * feedback fixes Signed-off-by: kalyan <[email protected]> * fix Signed-off-by: kalyan <[email protected]> * lint fix Signed-off-by: kalyan <[email protected]> * fix test cases Signed-off-by: kalyan <[email protected]> * pr feedback fixes Signed-off-by: kalyanr <[email protected]> * revert Signed-off-by: kalyanr <[email protected]> --------- Signed-off-by: kalyan <[email protected]> Signed-off-by: kalyanr <[email protected]>
In 2.8, we introduces model access control in ml-commons. But we didn't extend this functionality in opensearch-py-ml yet.
We want to add
register_model_group
:request parameters: https://opensearch.org/docs/latest/ml-commons-plugin/model-access-control/#request-fields
example request: https://opensearch.org/docs/latest/ml-commons-plugin/model-access-control/#example-request
example response: https://opensearch.org/docs/latest/ml-commons-plugin/model-access-control/#example-response
The text was updated successfully, but these errors were encountered: