Skip to content

Conversation

@owaiskazi19
Copy link
Member

Description

Fix agent update

{
"error": {
  "root_cause": [
  {
  "type": "illegal_argument_exception",
  "reason": "Agent type cannot be updated"
  }
  ],
  "type": "illegal_argument_exception",
  "reason": "Agent type cannot be updated"
  },
  "status": 400
}

Related Issues

Resolves #4340

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

@owaiskazi19 owaiskazi19 requested a deployment to ml-commons-cicd-env-require-approval October 23, 2025 00:33 — with GitHub Actions Waiting
@owaiskazi19 owaiskazi19 requested a deployment to ml-commons-cicd-env-require-approval October 23, 2025 00:33 — with GitHub Actions Waiting
@owaiskazi19 owaiskazi19 requested a deployment to ml-commons-cicd-env-require-approval October 23, 2025 00:33 — with GitHub Actions Waiting
@owaiskazi19 owaiskazi19 requested a deployment to ml-commons-cicd-env-require-approval October 23, 2025 00:33 — with GitHub Actions Waiting
Copy link
Contributor

@rithin-pullela-aws rithin-pullela-aws left a comment

Choose a reason for hiding this comment

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

LGTM!

Can you rebase your main with current main? Looks like around 27 commits are pushed

Signed-off-by: Owais Kazi <[email protected]>
@owaiskazi19 owaiskazi19 had a problem deploying to ml-commons-cicd-env-require-approval October 23, 2025 01:50 — with GitHub Actions Failure
@owaiskazi19 owaiskazi19 had a problem deploying to ml-commons-cicd-env-require-approval October 23, 2025 01:50 — with GitHub Actions Error
@owaiskazi19 owaiskazi19 had a problem deploying to ml-commons-cicd-env-require-approval October 23, 2025 01:50 — with GitHub Actions Error
@owaiskazi19 owaiskazi19 had a problem deploying to ml-commons-cicd-env-require-approval October 23, 2025 01:50 — with GitHub Actions Failure
Copy link
Collaborator

@pyek-bot pyek-bot left a comment

Choose a reason for hiding this comment

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

rest LGTM, thanks for this!

Signed-off-by: Owais Kazi <[email protected]>
@owaiskazi19 owaiskazi19 requested a review from pyek-bot October 23, 2025 17:28
@owaiskazi19 owaiskazi19 had a problem deploying to ml-commons-cicd-env-require-approval October 23, 2025 17:29 — with GitHub Actions Failure
@owaiskazi19 owaiskazi19 had a problem deploying to ml-commons-cicd-env-require-approval October 23, 2025 17:29 — with GitHub Actions Error
@owaiskazi19 owaiskazi19 had a problem deploying to ml-commons-cicd-env-require-approval October 23, 2025 17:29 — with GitHub Actions Failure
@owaiskazi19 owaiskazi19 had a problem deploying to ml-commons-cicd-env-require-approval October 23, 2025 17:29 — with GitHub Actions Error
@owaiskazi19
Copy link
Member Author

Netty errors. Dependent on #4339

 * What went wrong:
Could not determine the dependencies of task ':opensearch-ml-plugin:dependencyLicenses'.
> Failed to query the value of task ':opensearch-ml-plugin:dependencyLicenses' property 'dependencies'.
   > Could not resolve all dependencies for configuration ':opensearch-ml-plugin:runtimeClasspath'.
      > Could not resolve io.netty:netty-codec-http:4.1.125.Final.
        Required by:
            project :opensearch-ml-plugin > project :opensearch-ml-algorithms > org.opensearch:opensearch-remote-metadata-sdk-ddb-client:3.4.0.0-SNAPSHOT:20251023.014719-2
            project :opensearch-ml-plugin > project :opensearch-ml-algorithms > org.opensearch:opensearch-remote-metadata-sdk-ddb-client:3.4.0.0-SNAPSHOT:20251023.014719-2 > io.netty:netty-codec-http2:4.1.125.Final
         > Conflict found for module 'io.netty:netty-codec-http': between versions 4.1.125.Final and 4.1.124.Final
      > Could not resolve io.netty:netty-codec-http2:4.1.125.Final.
        Required by:
            project :opensearch-ml-plugin > project :opensearch-ml-algorithms > org.opensearch:opensearch-remote-metadata-sdk-ddb-client:3.4.0.0-SNAPSHOT:20251023.014719-2
         > Conflict found for module 'io.netty:netty-codec-http2': between versions 4.1.125.Final and 4.1.124.Final
      > Could not resolve io.netty:netty-codec:4.1.125.Final

@brianf-aws
Copy link
Contributor

Netty errors. Dependent on #4339

 * What went wrong:
Could not determine the dependencies of task ':opensearch-ml-plugin:dependencyLicenses'.
> Failed to query the value of task ':opensearch-ml-plugin:dependencyLicenses' property 'dependencies'.
   > Could not resolve all dependencies for configuration ':opensearch-ml-plugin:runtimeClasspath'.
      > Could not resolve io.netty:netty-codec-http:4.1.125.Final.
        Required by:
            project :opensearch-ml-plugin > project :opensearch-ml-algorithms > org.opensearch:opensearch-remote-metadata-sdk-ddb-client:3.4.0.0-SNAPSHOT:20251023.014719-2
            project :opensearch-ml-plugin > project :opensearch-ml-algorithms > org.opensearch:opensearch-remote-metadata-sdk-ddb-client:3.4.0.0-SNAPSHOT:20251023.014719-2 > io.netty:netty-codec-http2:4.1.125.Final
         > Conflict found for module 'io.netty:netty-codec-http': between versions 4.1.125.Final and 4.1.124.Final
      > Could not resolve io.netty:netty-codec-http2:4.1.125.Final.
        Required by:
            project :opensearch-ml-plugin > project :opensearch-ml-algorithms > org.opensearch:opensearch-remote-metadata-sdk-ddb-client:3.4.0.0-SNAPSHOT:20251023.014719-2
         > Conflict found for module 'io.netty:netty-codec-http2': between versions 4.1.125.Final and 4.1.124.Final
      > Could not resolve io.netty:netty-codec:4.1.125.Final

@owaiskazi19 you need #4338

the one i linked is for 2.19

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.

[BUG] Update agent API silently fails when changing agent type

4 participants