-
Notifications
You must be signed in to change notification settings - Fork 138
Bugfixes: Fixing AWS infra_configs change, and logging error in aws.go #498
base: master
Are you sure you want to change the base?
Conversation
…istributions`, where it has moved in kubeflow/manifests.
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
Hi @neonihil. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
May need reviews from @Jeffwan or @PatrickXYS , thanks. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: BrunoChauvet, neonihil The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please sign CLA
#498 (comment)
Overview
There were two errors which caused the deployment on AWS to fail.
The original error is that AWS resources (IAM Policy documents and such) were moved from
aws/infra_configs
todistributions/aws/infra_configs
in https://github.com/kubeflow/manifests/tree/master/distributions/aws/infra_configsThere was an error handling bug in
kfctl
, which causedkfctl
to panic and crash.This PR fixes both.
infra_configs
fixThis was fixed by simply changing the constant to point to
distributions/aws/infra_configs
.Logging fix
kfctl
was crashing after creating theaws_config
root directory.The error is caused by the line that tries to print the error. It is expecting an
apis.KfError
, but instead it got an os.PathError.I have fixed this by converting os.PathError to
apis.KfError
.