-
Notifications
You must be signed in to change notification settings - Fork 13
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
WIP: add ore command to create azure gallery #523
base: flatcar-master
Are you sure you want to change the base?
Commits on Aug 12, 2024
-
platform/api/azure: Add features to published gallery
We want to indicated support for trusted launch (TPM + secure boot) for testing. Trusted launch is only availabe for Gen2 VMs so we need some conditional template magic to continue working for Gen1 VMs. We also need to indicate image support for NVMe for testing NVMe only instances. For completeness we also mark support for accelerated networking. Signed-off-by: Jeremi Piotrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60c10e5 - Browse repository at this point
Copy the full SHA 60c10e5View commit details -
cmd/ore/azure: Use flatcar instead of coreos in paths
Signed-off-by: Jeremi Piotrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f5bbec - Browse repository at this point
Copy the full SHA 3f5bbecView commit details -
cmd/ore/azure: Call StartLogging manually
Since all ore commands call WrapPreRun, they overwrite the default implementation that calls StartLogging(). To get plog to work StartLogging() must be called manually. Signed-off-by: Jeremi Piotrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 592ef95 - Browse repository at this point
Copy the full SHA 592ef95View commit details -
cmd/ore/azure: Initialize platform.Options
So that commands can set fields like 'Board' later on. Signed-off-by: Jeremi Piotrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 126e656 - Browse repository at this point
Copy the full SHA 126e656View commit details -
cmd/ore/azure: Add command to create-gallery-image
This ore command creates a gallery image for use in multiple VM creations, and could be used to speed up multiple kola invocations. The command takes care of uploading the vhd to blob storage and creates resource group and storage account as well. Signed-off-by: Jeremi Piotrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 570a340 - Browse repository at this point
Copy the full SHA 570a340View commit details -
platform/api/azure: Enable TPM for Gen2 instances
Now that our gallery images are created with trusted launch support, we can enable trusted launch and TPM on the instance. At some point we'll be able to pass custom secure boot keys too. Signed-off-by: Jeremi Piotrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fee9ed9 - Browse repository at this point
Copy the full SHA fee9ed9View commit details -
platform/azure: Reuse single storage account for boot logs
We currently create a storage account for every test cluster. Storage account creation takes 20-30 seconds. This storage account is only used for VM console logs. We can easily reuse a single storage account for all vm console logs, thereby speeding up the whole test execution. Introduce a field called storageAccountRG in struct cluster, so that we can keep track of the correct RG when fetching VM logs. Signed-off-by: Jeremi Piotrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a0dc3d1 - Browse repository at this point
Copy the full SHA a0dc3d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5bd2b4 - Browse repository at this point
Copy the full SHA f5bd2b4View commit details -
platform/api/azure: Ignore -gen2 suffix on sku when resolving latest …
…version Signed-off-by: Jeremi Piotrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e8a354 - Browse repository at this point
Copy the full SHA 2e8a354View commit details -
kola: Use skip func to skip cl.misc.nvidia
Signed-off-by: Jeremi Piotrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a641d2a - Browse repository at this point
Copy the full SHA a641d2aView commit details -
kola: Make RunTests return on runtime failures
So that the deferred flight.Destroy() is called. The only caller terminates the application on failure anyway.
Configuration menu - View commit details
-
Copy full SHA for beb1ad0 - Browse repository at this point
Copy the full SHA beb1ad0View commit details -
This makes it harder to track down legit failures.
Configuration menu - View commit details
-
Copy full SHA for 11ade1f - Browse repository at this point
Copy the full SHA 11ade1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e391ca1 - Browse repository at this point
Copy the full SHA e391ca1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e69e8c - Browse repository at this point
Copy the full SHA 4e69e8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c38c12d - Browse repository at this point
Copy the full SHA c38c12dView commit details -
azure: Switch to managed boot diagnostics for console
This does not require that the user have RBAC permissions to a storage account to fetch, because it uses SAS keys behind the scenes. The previous approach used a kola created storage account has Shared Key Access disabled for security reasons. Signed-off-by: Jeremi Piotrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 524e36f - Browse repository at this point
Copy the full SHA 524e36fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f253c39 - Browse repository at this point
Copy the full SHA f253c39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 426d223 - Browse repository at this point
Copy the full SHA 426d223View commit details -
TMP: azure: add instance name to provisioning failure log
Signed-off-by: Jeremi Piotrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05e3cf3 - Browse repository at this point
Copy the full SHA 05e3cf3View commit details