redhat-developer / redhat-developer/mapt

[bug] Self generated password do not compliant with Azure reqs

Open
#405 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug good first issue os/WINDOWS provider/AZURE
Dominant language
Go
Stars
24
Forks
36
Avg merge
6d 13h
Merged PRs (30d)
8

Description

Seeing

INFO  +  azure-native:compute:VirtualMachine windows-desktop-11-23h2-ent-e2e-microshift-awd-vm creating (6s) error: Code="InvalidParameter" Message="The supplied password must be between 8-123 characters long and must satisfy at least 3 of password complexity requirements from the following:\r\n1) Contains an uppercase character\r\n2) Contains a lowercase character\r\n3) Contains a numeric digit\r\n4) Contains a special character\r\n5) Control characters are not allowed" Target="osProfile.adminPassword" 

here https://github.com/crc-org/crc/actions/runs/12198027543/job/34028896826

THis is only happening occasionally but we should ensure password meets the criteria

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the self-generated password logic and the Azure virtual machine creation path referenced by the error. Verify the generated value against Azure's length and complexity requirements, then confirm the intermittent provisioning failure no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, go
Domain
cloud, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.