423 questions
0
votes
0
answers
67
views
Assigning guest assignments in Virtual Machine Scale Sets
I am trying to add guest assignments using guest configuration extension and Azure policy, I am able to add assignments for virtual machines, where as adding same for scale sets is having issues ...
0
votes
1
answer
43
views
Docker on Azure windows VM Scale set
I have a self hosted windows vmss with below source image for which docker is not installed by default.
source_image_reference {
publisher = "MicrosoftWindowsServer"
offer = "...
0
votes
1
answer
197
views
How to remove custom script extension for a particular VMSS instance
I am using the below code to remove a custom script extension using powershell for a particular VMSS instance. However, my code fails when retrieving the instance view with Get-AzVmssVM, as the ...
0
votes
1
answer
167
views
How to Use Azure File Share to Automatically Copy Files to Windows VMSS Instances?
What is the best way to use Azure File Share to automatically copy files to a directory on Windows Virtual Machine Scale Set (VMSS) instances?
I have successfully used the following command to execute ...
0
votes
0
answers
161
views
Azure VM Scale Set for DevOps agent `dotnet restore` fails
I have created an Azure VM Scale Set from Windows Server 2022 Datacenter (SKU: 2022-datacenter-azure-edition). I created the necessary Agent Pool in my DevOps. I also created a Pipeline by importing ...
2
votes
3
answers
837
views
Azure Autoscaling Duration Time and Cool Down Time
I keep reading contradictory oppinions on how autoscaling works in Azure with regards to duration time and cooldown time.
Till now I have concluded that if the metric threshold is met after the cool ...
-1
votes
1
answer
200
views
Azure VMSS Custom Data refresh the exisiting VMs
I use Terraform to create VMSS as part of it i use custom data which i need to run before the instance is marked healthy. I use VMSS rolling strategy, And due to this the updates are in place and any ...
0
votes
0
answers
77
views
Azure VMSS Autoscale Triggering Multiple Events and Causing Multiple Function Executions
I am facing an issue with Azure VMSS autoscale notifications (through webbhook) triggering multiple executions of an Azure Function. This causes my function, which includes a pipeline trigger and a ...
0
votes
2
answers
348
views
Jobs are not running in parallel in Azure DevOps
I have 2 parallel jobs allowed by Azure DevOps (private project, 1 default + 1 for Visual Studio subscription). I have a stage with ~20 jobs with no interdependencies. I have a VMSS-based agent pool ...
0
votes
1
answer
166
views
Setting up file share for NuGet packages cache on Azure VM Scale Set with Azure DevOps self hosted agents
I have setup a VM Scale Set and configured it with Azure DevOps as an agent pool.
In order to prevent nuget packages being re-downloaded on every build, I have created a File Share with a storage ...
0
votes
1
answer
119
views
problem when deploying a build in a vm scale set
This is the error that I have when deploying my pipeline:
[error]EchangeDonneesElectroniques\EchangeDonneesElectroniques\EDE.csproj(365,3): Error MSB4019: The imported project "C:\Program Files (...
0
votes
1
answer
355
views
How to run docker daemon on windows self hosted agent through VM scale set
I'm new to dockers and I have a self hosted windows-10 VM scale set. Now from this build agent, I'm trying to run the docker build and it is failing with below error on azure pipeline
error during ...
0
votes
1
answer
479
views
The property windowsConfiguration.patchSettings.patchMode is not valid while creating azurerm_windows_virtual_machine_scale_set
I try to create azurerm_windows_virtual_machine_scale_set resource.
I write simple Terraform code:
resource "azurerm_windows_virtual_machine_scale_set" "vmss" {
name ...
0
votes
1
answer
185
views
Cannot create an Azure Devops pool via API, null paramter
I'm trying to create an Azure Devops Self-Hosted Pool from the CLI using powershell...
The target pool is supposed to be used for an already provisioned VM Scale Set
Trying to follow the docs here:
...
1
vote
0
answers
152
views
Caching (?) issue with Set-AzSqlDatabase to rename a database
We have an Azure SQL Server that contains several databases, in groups of two:
Each database has a "master" database, and a "current" database.
We use an automated process that ...
0
votes
1
answer
187
views
Terminate Azure Agent of Scale Set after a period of time
I am currently trying to find a way to monitor agents in Azure that were scaled by Azure Scale-Sets.
To avoid costs I want to kill every agent that has been running a job for longer than 1 hour. Is ...
0
votes
1
answer
273
views
How can a virtual machine scale set agent run interactive UI tests in an elevated process?
When configuring the scale set agent, I can check the box to configure the VMs to run interactive tests:
According to the docs, this runs in an unelevated session. How can I have my interactive UI ...
1
vote
1
answer
864
views
How can I set the logged in user of a virtual machine scale set agent?
I am using virtual machine scale set agents. I want the agent to run with admin privileges, to run interactive UI tests and to be able to access SQL server on the VM using integrated security. The ...
0
votes
2
answers
693
views
How to query Azure VMSS instances computer name for flexible orchestration
The az cli command I'm running is:
az vmss list-instances --resource-group rg-name --name my-vmss-name --output json
returns instances details with osProfile.computerName for VMSS running in unified ...
0
votes
1
answer
555
views
Azure VM Scale Set : how to allocate, run program, deallocate reliably?
My task is to run several compute intensive models in a batch. This seems like an ideal cloud use case. I basically want to spin up 100 computers, run a model, and then shut them down. The model might ...
-1
votes
1
answer
80
views
Java Azure SDK scaleset: how to specify image version
When I am scaling up a scaleset I want to specify the image version to use. Right now it always uses the latest image from the compute gallery. I think that is what this az CLI command does: az vmss ...
0
votes
1
answer
181
views
Azure Self-Hosted VMss Failing on Zip Operation
Using Azure devOps there is a "build" pipeline that is carrying out a zip operation but failing due to space issue on the Azure VMSS VM (self hosted Linux VM).
Error
adding: Data/...
-1
votes
2
answers
1k
views
How to deploy an application into Azure VMSS using Azure DevOps CI/CD pipelines?
I'm currently having a PHP application running in an Azure VM, now I have moved that setup to a VMSS and Load Balancer and having a VM as staging. But now, when the developer make a change each time, ...
1
vote
2
answers
116
views
JMESPath Query to get the deallocated InstanceId of the oldest provisioned Azure VMSS
I'm new in JMESPath, so I'm not so familiar with a complex query. I have tried quite a lot of queries and they are far from giving me the final results that I wanted.
Target:
Get the first instanceId ...
0
votes
1
answer
630
views
How to trigger an azure function based on scale in or scale out events in vmss
I have a situation in which I need to trigger an azure function based on scale in or scale out events on some particular virtual machine scale set. My first idea was to use event grid triggers to ...
0
votes
1
answer
819
views
terraform custom script on Azure VM scale set failing with managed identity
I am trying to download a blob from a private container in a VM scale set custom script, using a managedIdentity. This is my terraform code:
# https://learn.microsoft.com/en-us/azure/virtual-machines/...
0
votes
1
answer
152
views
[Azure]ScaleSet Ubuntu 22.04 Server with GUI - Gen2 ERROR purchased
I'm trying to create a scale set with Ubuntu 22.04 Server with GUI - Gen2 but I have this error:
ffer with PublisherId: 'yaseensmarket1645449809728', OfferId: 'ubuntu-22-gui' cannot be purchased due ...
2
votes
1
answer
536
views
How to configure VMSS Azure DevOps agent VMs to run interactive tests without using new un-elevated account with auto-login?
I would like to perform Automated UI tests via TestExecute in Azure DevOps pipeline which is using Azure Virtual Machine Scale Sets as agent pool.
When I "Configure VMs to run interactive tests&...
0
votes
0
answers
197
views
Unable to edit vmss instance secrets
I have a VMSS as a node poll of a service fabric managed cluster. Through the azure portal I added a certificate from a key vault to this node pool. The deployment failed with the message:
The secret ...
1
vote
1
answer
247
views
Regarding Deleting public IP without effecting VM
In my current azure platform I have created vm scale set using az cli command. Then by default it created a load balancer and public ip and got associated with it. Now I want to delete this public ip, ...
1
vote
1
answer
721
views
AzureDevops VMSS agent not able to connect to private ACR with private endpoint
I have set-up private ACR set up with public access and admin credentials disabled.
It has a private endpoint approved ,setup with private connection,private dns zones configured.
The private ...
1
vote
1
answer
1k
views
(AuthorizationFailed) Error when trying to update image of containerApp from Azure Devops
I am using devops pipeline to update a containerApp. The devops pipeline uses a self hosted agent pool which uses a VMSS agent. in the pipeline cli task i create a system assigned managed identity for ...
0
votes
1
answer
334
views
Not be able to set up VM Insight in VMSS using AMA from portal
-Incident
After setting up VM Insight to be enabled, I get the page to enable it and cannot see the logs.so I can not confirm Insight & logs after wating more than 10 minuites
By enablingI have ...
0
votes
0
answers
97
views
GET request on endpoint hosted on Linux VM in Azure
I have 2 Azure VMs (Windows, Linux) using same virtual network. Both are able to ping each other using the public ip.
I deployed a java application having its own endpoint in Linux VM and I am using ...
0
votes
1
answer
171
views
My service running on a VM is no longer logging App Insights when part of a VMSS
I have an Azure VM which is running a C# Windows Service which is happily logging telemetry to App Insights. However, when it went live, there was then a business requirement for resilience so I ...
0
votes
1
answer
2k
views
How to check effective routes in Azure VMSS?
I have a VMSS deployed in a subnet inside VNet. I want to check all the effective routes available on this VMSS for network troubleshooting, but I cannot find any options to view it.
For VMs, one can ...
1
vote
0
answers
124
views
"Parameter 'osProfile' is not allowed" on attempt to create VMSS from a gallery image in C# - what am I doing wrong?
I am trying to create VM scale set using an existing galery image version (specialized) like this:
using Microsoft.Azure.Management.Fluent;
using Microsoft.Azure.Management.Compute.Fluent;
...
...
0
votes
2
answers
1k
views
Azure CustomScript not being executed on start
I am running a VMScaleSet with Ubuntu instances.
Also I have a customScript extension set up in terraform like this:
resource "azurerm_virtual_machine_scale_set_extension" "...
0
votes
1
answer
820
views
How can I check which content of cloud-init.txt was used on my Linux Azure VM or VMSS instance?
I had a problem where I was updating cloud-init.txt for a VMSS deployment like https://github.com/KaiWalter/azure-private-link-port-forward/blob/main/infra/modules/forwarder/cloud-init.txt for while, ...
0
votes
1
answer
208
views
Azure virtual machine scale set with NIC error
I have Configured Azure virtual machine scale set with NIC and what I am trying to do is to apply the backendpool config of basic Load Balancer to new standard Load Balancer. After implementing the ...
-1
votes
1
answer
83
views
Automatically start lab VMs with auto-start in Azure
I would like to enable the solution attached in this link:
https://learn.microsoft.com/en-us/azure/devtest-labs/devtest-lab-auto-startup-vm
BUT, as it seems like "just follow the guide and the ...
0
votes
1
answer
97
views
Azure VM shutdown exception
I'm trying to create an automatic task for 2 DB machines in our Azure environment.
I'm using the built in Microsoft tool inside of the machine properties. ( Tasks under the Autmation window).
I need ...
1
vote
0
answers
294
views
Azure Scale Set Could not find the modules: 'Az.Accounts' with Version: ''
We created a Windows 2022 Data Centre Edition Scale Set set up as a Dev Ops agent pool yesterday.
I have an Agent Job that uses this agent pool. This job has a single inline Azure Powershell task.
...
0
votes
1
answer
277
views
Azure VMSS 10 model limit?
Recently when I update my VMSS model, I received error like
MyVmssName has reached its limit of 10 models that may be referenced
by one or more VMs belonging to the Virtual Machine Scale Set. . ...
0
votes
1
answer
681
views
Working of VMSS-Cloning of vm in azure VMSS?
I have some queries regarding virtual machine scale sets.
Actually I have created VMSS which have minimum 1 and max 3 instances. I am confused about the working of vmss. eg when the second instance is ...
0
votes
2
answers
1k
views
Azure DevOps Agent Pool with scaleset waiting for agent version to upgrade before running builds
I have an Azure DevOps agent pool configured to use a scale set, I also have an orchestration pipeline that triggers dozens of builds that will run on the agents provisioned by the scale set.
When ...
0
votes
0
answers
202
views
Terraform import error retrieving Virtual Machine Scale Set created from an image
I'm trying to import a Linux VM Scale Set that was deployed in the Azure Portal from a custom shared image, also created in the portal. I'm using the following command:
terraform import module....
0
votes
1
answer
405
views
Windows service does not start auto in azure Virtual Machine Scale Set instance
Windows service does not start automatically due to logon failure in the Azure Virtual Machine Scale Set instance. It is showing an incorrect username or password error in Event Viewer. But it can be ...
1
vote
3
answers
1k
views
Agent Pool - VMSS and a high scaleing issue
we have a deployed VMSS to run an Agent Pool inside our environment.
In Azure DevOps we have set Standby = 0 as the Agents are not required the whole time.
When now a single pipeline starts, we see a &...
0
votes
1
answer
585
views
How Azure Application Gateway's **cookie based affinity** works on VMSS downsizing
I was wondering how cookie-based affinity option in Application Gateway works while **downsizing **VMSS instance
I am having 2 VMSS instances with IIS installed & 10+ .NET applications,
I have ...