Comment 16 for bug 1940723

Revision history for this message
Anders Bälter (abaelter) wrote : Re: shim-signed fails to install if grub disk config is incorrect

We are using the "rest" api. Storage profiles look something like:

 {
  "imageReference": {
    "publisher": "canonical",
    "offer": "0001-com-ubuntu-server-focal",
    "sku": "20_04-lts",
    "version": "latest"
  },
  "osDisk": {
    "name": "yadayada-os",
    "managedDisk": {
      "storageAccountType": "Standard_LRS"
    },
    "caching": "ReadWrite",
    "createOption": "fromImage",
  },
  "dataDisks": [
    {
      "name": "yadayada-data1",
      "diskSizeGB": 8,
      "lun": 0,
      "managedDisk": {
        "storageAccountType": "StandardSSD_LRS"
      },
      "caching": "ReadOnly",
      "createOption": "empty"
    }
  ]
}

Data disk storageAccountType can also be "Premium_LRS", Disk size varies up between 4, 8, 128, 256, 512 and 1024.

We are configuring the data disk like this:
mkfs.xfs -f /dev/sdc
mkdir -p /var/lib/rabbitmq
uuid=$(blkid -s UUID -o value /dev/sdc)
echo "UUID=$uuid /var/lib/rabbitmq xfs defaults,noatime 0 0" >> /etc/fstab
mount -a