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

Fixed an error in DeleleMlModel runner. #537

Merged
merged 14 commits into from
Jul 1, 2024

Conversation

vpehkone
Copy link
Contributor

@vpehkone vpehkone commented May 21, 2024

Description

Fixed an error in DeleleMlModel runner.

Issues Resolved

The deleting model can fail, if the undeploying model has not yet completed. Added a loop for polling it.

Issue: #541

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…Model and DeployMlModel.

Signed-off-by: Vesa Pehkonen <vesa.pehkonen@intel.com>
- added expection handling and logging for DeletePipeline runner
- removed empty expection from DeleteMlModel and RegisterMlModel runners
- added the "number-of-hits-to-return" variable

Signed-off-by: Vesa Pehkonen <vesa.pehkonen@intel.com>
Signed-off-by: Vesa Pehkonen <vesa.pehkonen@intel.com>
…have to wait for undeploying the model process has completed.

Signed-off-by: Vesa Pehkonen <vesa.pehkonen@intel.com>
Signed-off-by: Vesa Pehkonen <vesa.pehkonen@intel.com>
Signed-off-by: Vesa Pehkonen <vesa.pehkonen@intel.com>
@VijayanB
Copy link
Member

@vpehkone Can you create a github issue as bug and link this PR? Thanks

Signed-off-by: Vesa Pehkonen <vesa.pehkonen@intel.com>
@vpehkone
Copy link
Contributor Author

vpehkone commented Jun 6, 2024

@IanHoang , @VijayanB Would appreciate if you can review and merge this PR. Thanks

Copy link
Collaborator

@IanHoang IanHoang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@IanHoang IanHoang merged commit 354a2c7 into opensearch-project:main Jul 1, 2024
8 checks passed
finnroblin pushed a commit to finnroblin/opensearch-benchmark that referenced this pull request Jul 19, 2024
Signed-off-by: Vesa Pehkonen <vesa.pehkonen@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants