Skip to content

Known issues

CARMLPipelinePrincipal edited this page Feb 23, 2023 · 19 revisions

This section provides an overview of the most impactful limitations and known issues. We are actively working on tracking them as GitHub issues and resolving them.


Navigation


Module specific

This section outlines known issues that currently affect the modules.

Microsoft.AAD/DomainServices

The Domain Services module pipeline is expected to fail in our development/validation environment for a few reasons:

  • The leveraged service principal doesn't have the required permissions to actually deploy the service in the used tenant.
  • The referenced (optional) pfxCertificate and password don't actually exist in the specified Key Vault - unless uploaded manually.

Therefore, the module was manually tested in a dedicated environment.

For the general prerequisites, please refer to the official docs.

Microsoft.Management/managementGroups

The Management Group module does not currently include the role assignments extension resource.

Including RBAC capabilities has been tested setting the scope to the previously created management group and resulted in failing already in the validation step with the error: 'ManagementGroupNotFound - The management group 'EXAMPLEMG' cannot be found'.

A related issue has been opened to the Bicep board #6832.

Further details are also provided in issue #1342.

Microsoft.RecoveryServices/vaults

The Recovery Services Vaults module does not currently attach the content of the identity property correctly when both user- and systemassigned identity fields are selected.

The pipeline shows a success but the assignment of both identities never happens although both identities (systemassigned is a serviceprincipal, userassigned is a managed identity resource) get created successfully.

Upon cleanup the system-assigned identity will not be removed.

When the deployment is then run again it fails, because Azure tries to attach this rogue service principal as a system-assigned identity.

Since the behavior is inconsistent via Api (depending on spacing and whether capital letters are used), a ticket on the bicep repository has been opened for that. For more details, refer to the issue in the bicep repository (#9662).

A related issue has been opened in the Bug board #2391.

Microsoft.Network/networkManagers

In order to deploy a Network Manager with the networkManagerScopes property set to managementGroups, you need to register the Microsoft.Network resource provider at the Management Group first (ref).


CI environment specific

This section outlines known issues that currently affect the CI environment, i.e., the validation and publishing pipelines.

Static validation

This section outlines known issues that currently affect the CI environment static validation step, i.e., Pester tests.

Deployment validation

This section outlines known issues that currently affect the CI environment deployment validation step.

Limited module test file set

The deployment validation step aims to validate multiple configurations for each module. This is done by providing multiple module test files to be leveraged by the same resource module, each covering a specific scenario.

The first planned step for each module is to provide a 'minimum-set' module test file, limited to the top-level resource required parameters, vs. a 'maximum-set' module test file, including all possible properties, child resources and extension resources. Some of the modules are still tested through one module test file only. This is tracked by issue #401.

Limited job execution time

GitHub workflows used to validate CARML modules are running on GitHub-hosted runners.

In such a scenario, as documented in the Usage limits for GitHub Actions workflows, if a job reaches a limit of 6 hours of execution time, the job is terminated and fails to complete.

For modules that can take more than 6 hours to deploy, this restriction applies. In these cases, the corresponding deployment validation job may be terminated before completion, causing the entire module validation pipeline to fail. One module where this can happen is the Microsoft.Sql\managedInstances module.

Publishing

This section outlines known issues that currently affect the CI environment publishing step.


Clone this wiki locally