scylladb / scylla-machine-image

Apache License 2.0
18 stars 25 forks source link

[Azure]:make our image MS certified V.2 #433

Closed yaronkaikov closed 1 year ago

yaronkaikov commented 1 year ago

Microsoft provides a certification test API that can be used to evaluate a given image's sanity. They also provide which test cases they run and expect us to comply with, as well as their recommendations for Azure Marketplace Images.

The following have been flagged within the VM self-test output for our latest image:

"TestCaseName": "Swap Partition on OS Disk", "Description": "Verifies that no Swap partitions are created on the OS disk.", "Result": "Failed", "ActualValue": "Swap space configured on the OS disk.", Was fixed in #400

"TestCaseName": "Required Kernel Parameters",
"Description": "Verifies the following kernel parameters are set console=ttyS0, earlyprintk=ttyS0, rootdelay=300",
"Result": "Warning",
"ActualValue": "Missing Parameter: rootdelay=300\r\nMatched Parameter: console=ttyS0,earlyprintk=ttyS0",
---
"TestCaseName": "Client Alive Interval",
"Description": "It is recommended to set ClientAliveInterval to 180. On the application need, it can be set between 30 to 235. \nIf you are enabling the SSH for your end users this value must be set as explained.",
"Result": "Warning",
"ActualValue": "120",

fixed in this PR

Also fixing Azure image to be built based on Ubuntu:22.04 - 2e6de6537b3663c9ca73c46e14e326e8dbf07eac

Closes: scylladb/scylla-pkg#3172

yaronkaikov commented 1 year ago

Verified with https://jenkins.scylladb.com/job/scylla-master/job/releng-testing/job/next-machine-image/27/ (configured from my fork branch with the same commits)