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

[SDK] kfp client should not silently fail using gcloud #2896

Merged
merged 1 commit into from
Jan 22, 2020

Conversation

Bobgy
Copy link
Contributor

@Bobgy Bobgy commented Jan 22, 2020

/assign @Ark-kun
/cc @IronPan

There was a recent report that kfp client doesn't work in cloud functions. After long troubleshooting from multiple engineers. We found os.popen is hiding underneath error that gcloud doesn't exist in cloud functions.

This PR addresses the silent error issue first.
os.popen is already deprecated in doc: https://docs.python.org/2/library/os.html#os.popen because it silently hides internal errors.


This change is Reviewable

@IronPan
Copy link
Member

IronPan commented Jan 22, 2020

/lgtm
/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

@k8s-ci-robot k8s-ci-robot merged commit 16c2d4e into master Jan 22, 2020
@Bobgy Bobgy deleted the Bobgy-patch-3 branch January 23, 2020 01:05
Jeffwan pushed a commit to Jeffwan/pipelines that referenced this pull request Dec 9, 2020
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
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.

4 participants