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

Not return error if run update doesn't change DB entry #1765

Merged
merged 1 commit into from
Aug 8, 2019

Conversation

IronPan
Copy link
Member

@IronPan IronPan commented Aug 8, 2019

There are many error from Persistence Agent log
"Permanent failure while syncing resource (kubeflow/resubmit-vptp6): CustomError (code: 1): Syncing Workflow (resubmit-vptp6): permanent failure: CustomError (code: 1): Error while reporting workflow resource (code: InvalidArgument, message: Report workflow failed.: Invalid input error: Failed to update run 82be5fa1-ce58-4819-a0a4-754fcbc258ac. Row not found. "

This is due to run not change in the database. Fix the logic in API server to not treat this as error.


This change is Reviewable

@IronPan
Copy link
Member Author

IronPan commented Aug 8, 2019

/assign @hongye-sun

@hongye-sun
Copy link
Contributor

/lgtm

@IronPan
Copy link
Member Author

IronPan commented Aug 8, 2019

/test kubeflow-pipeline-e2e-test

@IronPan
Copy link
Member Author

IronPan commented Aug 8, 2019

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: IronPan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@IronPan
Copy link
Member Author

IronPan commented Aug 8, 2019

/test kubeflow-pipeline-e2e-test

@IronPan IronPan merged commit 957990c into kubeflow:master Aug 8, 2019
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
* Replace AWS_REGION with AWS_DEFAULT_REGION

The boto3 package seems to look for AWS_DEFAULT_REGION, meanwhile
kfserving uses AWS_REGION, that doesn't seem to be working
(tested following
https://github.com/kubeflow/kfserving/blob/master/docs/samples/storage/s3/README.md).

This change doesn't replace all occurrences of AWS_REGION, but only
the ones that set the environment variables.

kubeflowGH-1765

* s3_secrets: support AWS_CA_BUNDLE

This change adds the possibility to force boto to use a different
CA bundle path when validating the TLS certificate of the S3
endpoint. Our use case is to validate a TLS certificate of an internal
Openstack Swift/S3 endpoint signed by our internal CA.

kubeflowGH-1766
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants