← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1797480] [NEW] Azure: Support ephemeral disk handling on Gen2 VMs

 

Public bug reported:

Generation 2 VMs are becoming available in Azure, first for Azure
Confidential Computing (ACC). The current portal experience is exposed
through https://aka.ms/ccvm. But folks can also use the CLI to deploy
Standard_DC2s or Standard_DC4s VMs in East US or West Europe and
provision Gen2 VMs in Azure.

The current ephemeral disk handling makes use of a "contract" relating
to how the OS and ephemeral disks are attached to the VM. With typical
Gen1 VMs in Azure these disks are IDE disks, however Gen2 VMs only
support SCSI disks. See "RESOURCE_DISK_PATH" and 66-azure-
ephemeral.rules in the Azure datasource.

On new Gen2 VMs, the OS disk will be added to <SCSI,0,0> and the
resource disk will be added to <SCSI,0,1>. The cloud-init and the above
udev rule will need to be modified to properly detect the ephemeral disk
for either Gen1 or Gen2 VMs.

We're making a similar change to the Azure agent -
https://github.com/Azure/WALinuxAgent/issues/1362

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1797480

Title:
  Azure: Support ephemeral disk handling on Gen2 VMs

Status in cloud-init:
  New

Bug description:
  Generation 2 VMs are becoming available in Azure, first for Azure
  Confidential Computing (ACC). The current portal experience is exposed
  through https://aka.ms/ccvm. But folks can also use the CLI to deploy
  Standard_DC2s or Standard_DC4s VMs in East US or West Europe and
  provision Gen2 VMs in Azure.

  The current ephemeral disk handling makes use of a "contract" relating
  to how the OS and ephemeral disks are attached to the VM. With typical
  Gen1 VMs in Azure these disks are IDE disks, however Gen2 VMs only
  support SCSI disks. See "RESOURCE_DISK_PATH" and 66-azure-
  ephemeral.rules in the Azure datasource.

  On new Gen2 VMs, the OS disk will be added to <SCSI,0,0> and the
  resource disk will be added to <SCSI,0,1>. The cloud-init and the
  above udev rule will need to be modified to properly detect the
  ephemeral disk for either Gen1 or Gen2 VMs.

  We're making a similar change to the Azure agent -
  https://github.com/Azure/WALinuxAgent/issues/1362

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1797480/+subscriptions


Follow ups