Azure / Azure/bicep-registry-modules

[AVM Module Issue]: VMSSET with orchestrationmode = uniform is failing with one issue after the other

Open
#3,634 4 comments 1 reaction 1 assignee Assigned to @josunefon View on GitHub
Class: Resource Module :package: Type: AVM :a: :v: :m: Type: Bug :bug:
Dominant language
Bicep
Stars
736
Forks
564
Avg merge
3d 15h
Merged PRs (30d)
30

Description

### Check for previous/existing GitHub issues

- [x] I have checked for previous/existing GitHub issues

### Issue Type?

Bug

### Module Name

avm/res/compute/virtual-machine-scale-set

### (Optional) Module Version

0.4

### Description

Hi,

When trying to deploy with OrchestrationMode Uniform this is the sequence of errors we encountered, and how we tried to mitigate them.
we left most other parameters with default values.

1/ PatchingMode
Default AutomaticByPlatform
OS: Linux ubuntu 22.04 gen2

Feature InGuestAutoPatchVmssUniformPreview fails to register. Registered it, it's stuck in state pending, this is more an issue on Azure side.
Action: set to mode 'ImageDefault' for now, as workaround.

2/ networkApiVersion
does not exist on networkprofile (if mode is Uniform?).
Action: set in comment for now

3/ Health extension
Error: Automatic repairs not supported for this Virtual Machine Scale Set because a health extension is not applied to all instances. Apply the health extension to all instances in the virtual machine scale set prior to switching to instance health repair mode.

Action: tried to add to the extensionHealthConfig object:
autoUpgradeMinorVersion: true
enableAutomaticUpgrade: true

Result: doesn't work. No clue how to resolve this.

Conclusion at the moment is that this module for orchestrationMode Uniform is not stable/ usable at the moment.
We will use our own for now, alas.

### (Optional) Correlation Id

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.