Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

fix: Updated sgx driver download urls. Fixes issue 2743 #2807

Merged
merged 1 commit into from
Mar 4, 2020

Conversation

yakman2020
Copy link
Contributor

@yakman2020 yakman2020 commented Feb 28, 2020

Reason for Change:
Update sgx driver download urls

Issue Fixed:
Fixes #2743

@welcome
Copy link

welcome bot commented Feb 28, 2020

💖 Thanks for opening your first pull request! 💖 We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should make sure your first commit and PR title start with a semantic prefix. Examples of commit messages with semantic prefixes: - fix: change azure disk cachingMode to ReadOnly - feat: make maximumLoadBalancerRuleCount configurable - docs: add note on AKS Engine and AKS relationship
Make sure to check out the developer guide for guidance on testing your change.

@yakman2020 yakman2020 changed the title Updated sgx driver download urls fix: Updated sgx driver download urls. Fixes issue 2743 Feb 28, 2020
@yakman2020 yakman2020 force-pushed the brcampbe/update-sgx-url branch from 6475526 to 0e489e5 Compare February 28, 2020 21:05
@jackfrancis
Copy link
Member

/azp run pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

jackfrancis
jackfrancis previously approved these changes Feb 28, 2020
Copy link
Member

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@codecov
Copy link

codecov bot commented Feb 28, 2020

Codecov Report

Merging #2807 into master will increase coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2807      +/-   ##
==========================================
+ Coverage   72.35%   72.44%   +0.09%     
==========================================
  Files         137      140       +3     
  Lines       25339    25562     +223     
==========================================
+ Hits        18333    18518     +185     
- Misses       5949     5976      +27     
- Partials     1057     1068      +11

@@ -125,10 +125,10 @@ installSGXDrivers() {
VERSION=$(grep DISTRIB_RELEASE /etc/*-release| cut -f 2 -d "=")
case $VERSION in
"18.04")
SGX_DRIVER_URL="https://download.01.org/intel-sgx/dcap-1.2/linux/dcap_installers/ubuntuServer18.04/sgx_linux_x64_driver_1.12_c110012.bin"
SGX_DRIVER_URL="https://download.01.org/intel-sgx/latest/dcap-latest/linux/distro/ubuntuServer18.04/sgx_linux_x64_driver_1.21.bin"
Copy link
Member

@mboersma mboersma Feb 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this URL going to break when there's a new sgx_linux driver release? I'm guessing from the contents of https://download.01.org/intel-sgx/latest/dcap-latest/linux/distro/ubuntuServer18.04/ that the 1.22 release (for example) would replace this one, which would break our CSE.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mboersma you are assuming based on the presence of a single versioned artifact in that directory that only one at a time ever lives there?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, although I could be wrong.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yakman2020 can you confirm whether or not this URL will be resilient when the next version drops?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that SGX drivers installation is currently broken we'll merge this as-is, with the understanding that it may break again in the future

;;
"16.04")
SGX_DRIVER_URL="https://download.01.org/intel-sgx/dcap-1.2/linux/dcap_installers/ubuntuServer16.04/sgx_linux_x64_driver_1.12_c110012.bin"
SGX_DRIVER_URL="https://download.01.org/intel-sgx/latest/dcap-latest/linux/distro/ubuntuServer18.04/sgx_linux_x64_driver_1.21.bin"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should refer to the Ubuntu 16.04 package, not 18.04.

;;
"16.04")
SGX_DRIVER_URL="https://download.01.org/intel-sgx/dcap-1.2/linux/dcap_installers/ubuntuServer16.04/sgx_linux_x64_driver_1.12_c110012.bin"
SGX_DRIVER_URL="https://download.01.org/intel-sgx/latest/dcap-latest/linux/distro/ubuntuServer18.04/sgx_linux_x64_driver_1.21.bin"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above--shouldn't this point to the 16.04 package?

},
"options": {
"allowedOrchestratorVersions": [
"1.13",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're not testing Kubernetes 1.13 as of #2749.

@jackfrancis
Copy link
Member

/azp run pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@jackfrancis jackfrancis merged commit 0859601 into Azure:master Mar 4, 2020
@welcome
Copy link

welcome bot commented Mar 4, 2020

Congrats on merging your first pull request! 🎉🎉🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SGX driver installation fails
3 participants