Azure / vm-scale-sets

A repo for managed Azure VM scale sets, including preview programs and reporting issues.
MIT License
25 stars 20 forks source link

Having issue adding a data disk to an existing scale set(created by ACS) #37

Open sensre opened 6 years ago

sensre commented 6 years ago

Having issue adding a data disk to an existing scale set. and this vmss created by ACS swarm cluster. there is no option in GUI to add an additional disk to each instance of VM. Below I got it from CLI. Any recommendations or inputs.?

"az vmss disk attach -g dcospx -n dcospx --size-gb 100 --lun 3 The Resource 'Microsoft.Compute/virtualMachineScaleSets/dcospx' under resource group 'dcospx' was not found."

gbowerman commented 6 years ago

Hi, a couple of things to check..

  1. Double check in the portal that there is a scale set called dcospx in resource group dcospx.
  2. You can only add data disks to scale sets that were created based on Azure Managed Disks. If your ACS cluster created a scale set based on unmanaged disks (i.e. you see a set of 5 storage accounts that were created for the scale set) then you can't add attached disks for it.
    • I just confirmed with the ACS folks that DCOS and Swarm clusters created using ACS do use Managed Disks, so you should be fine (unless you created this a long time ago). Double check you have the right VMSS name, resource group, and subscription set.
sensre commented 6 years ago

Thanks for your response. So by default ACS cluster creates unmanaged disk and not able to add the more disk to it.

Is it a limitation? Then acs cluster use case will less.

Thanks again

Sen S

From: Guy Bowerman notifications@github.com Reply-To: Azure/vm-scale-sets reply@reply.github.com Date: Friday, October 27, 2017 at 11:00 AM To: Azure/vm-scale-sets vm-scale-sets@noreply.github.com Cc: senpx sen@portworx.com, Author author@noreply.github.com Subject: Re: [Azure/vm-scale-sets] Having issue adding a data disk to an existing scale set(created by ACS) (#37)

Hi, a couple of things to check.. Double check in the portal that there is a scale set called dcospx in resource group dcospx. You can only add data disks to scale sets that were created based on Azure Managed Disks. If your ACS cluster created a scale set based on unmanaged disks (i.e. you see a set of 5 storage accounts that were created for the scale set) then you can't add attached disks for it. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

gbowerman commented 6 years ago

@senpx No. My response was that by default ACS does create Managed Disk based scale sets for DCOS and Swarm.