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

Update Storage.py and initialiser image #1368

Merged
merged 7 commits into from Feb 4, 2020

Conversation

adriangonz
Copy link
Contributor

@adriangonz adriangonz commented Jan 24, 2020

Fixes #1341

Changelog

  • Import latest version of Storage.py from KFServing, including tests.

TODO

  • Update default kfserving/storage-initializer image.

Notes

To make SSL optional in S3 URLs, both Seldon and KFServing introduced different environment variables with the same finality: USE_SSL and S3_USE_HTTPS. You can find the respective PRs here:

In order to make Storage.py compatible with the kfserving/storage-initializer image and to avoid any breaking changes on users who were already using Seldon's USE_SSL, I've made both compatible (with priority for USE_SSL).

@adriangonz adriangonz changed the title Update Storage.py and initialiser image WIP : Update Storage.py and initialiser image Jan 24, 2020
@seldondev
Copy link
Collaborator

Fri Jan 24 17:46:58 UTC 2020
The logs for [pr-build] [1] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1368/1.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1368 --build=1

@seldondev
Copy link
Collaborator

Fri Jan 24 17:47:06 UTC 2020
The logs for [lint] [2] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1368/2.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1368 --build=2

@adriangonz adriangonz changed the title WIP : Update Storage.py and initialiser image Update Storage.py and initialiser image Jan 28, 2020
@adriangonz
Copy link
Contributor Author

I've rebased from master which had the latest version of the Helm charts (and already uses the latest kfserving/storage-initializer image).

@seldondev
Copy link
Collaborator

Tue Jan 28 13:17:50 UTC 2020
The logs for [pr-build] [3] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1368/3.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1368 --build=3

@adriangonz
Copy link
Contributor Author

/cc @axsaucedo

@seldondev
Copy link
Collaborator

Tue Jan 28 13:18:02 UTC 2020
The logs for [lint] [4] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1368/4.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1368 --build=4

@axsaucedo
Copy link
Contributor

@adriangonz this looks solid. I think it would be best to add this PR into the KFServing repo, and update the image to use the latest KFServing version of the image downloader - at least that's how we're doing it atm

@axsaucedo
Copy link
Contributor

/hold

@adriangonz
Copy link
Contributor Author

@axsaucedo this PR just copies over the latest version of KFServing's storage.py so that it's aligned with the kfserving/storage-initializer image. It doesn't really add any extra functionality on top of that.

The only change wrt their repo is adding support for different names of the environment variable which disables SSL in S3 links. But that's mainly so that old versions of Seldon Core don't break with this change.

@axsaucedo
Copy link
Contributor

/hold cancel

@axsaucedo
Copy link
Contributor

/approve
/ltgm

@axsaucedo
Copy link
Contributor

/approve
/lgtm

@seldondev
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: axsaucedo

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

@seldondev
Copy link
Collaborator

Tue Feb 4 21:53:43 UTC 2020
The logs for [pr-build] [5] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1368/5.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1368 --build=5

@seldondev
Copy link
Collaborator

Tue Feb 4 21:53:51 UTC 2020
The logs for [lint] [6] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1368/6.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1368 --build=6

@seldondev seldondev merged commit a72257f into SeldonIO:master Feb 4, 2020
@axsaucedo axsaucedo removed their assignment May 13, 2021
@seldondev
Copy link
Collaborator

failed to trigger Pull Request pipeline

  • failed to create agent
  • failed to calculate in repo config
  • failed to load trigger config for repository SeldonIO/seldon-core for ref 5205434
  • failed to find any lighthouse configuration files in repo SeldonIO/seldon-core at sha 5205434
  • failed to process repo SeldonIO/seldon-core refref 5205434
  • failed to list files in directory /var/tmp/gitrepo660600678/.lighthouse
  • open /var/tmp/gitrepo660600678/.lighthouse
  • no such file or directory

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.

Update InitContainer Downloader Image to latest kfserving containing s3 fix
3 participants