commit | 28384907dd47b387d1af3679ce73c4f886d18734 | [log] [tgz] |
---|---|---|
author | Shuo Yang <gshuoy@google.com> | Tue Feb 20 23:56:37 2024 +0000 |
committer | Shuo Yang <gshuoy@google.com> | Fri Feb 23 22:33:25 2024 +0000 |
tree | 24887775df71189a6a7e01071810aebf91a5b5dc | |
parent | f60323acf695e2c46006ad78410ad005498130ae [diff] |
cos-tools: Regression issue for cos_gpu_installer - possible impact for user who disable network but has cached GPU drivers Detailed description: The root cause of this issue is that the GCS client inits at very beginning of the installer execution. This will cause the regression issue for users have cached GPU driver and use `cos-gpu-installer` with a pinned version of the installation and disabled the network. Implementation explanation: Lazily initialize the GCSClient within the GCSDownloader type - this is to make sure the GCSClient will only be created when necessary. BUG=b/325342239 RELEASE_NOTE= None TEST=test GPU driver installation with this version of gpu-installer in vm. Change-Id: I4c95218c17602d7868ce806ceefb6b141ce6e496 Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/65230 Tested-by: Shuo Yang <gshuoy@google.com> Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com> Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com> Reviewed-by: Arnav Kansal <rnv@google.com>
This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.
See CONTRIBUTING.md for how to contribute.