-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vm/vmss: remove the length requirement of admin-username #2400
Conversation
…peted by portal and vm
Codecov Report
@@ Coverage Diff @@
## master #2400 +/- ##
=======================================
Coverage 72.33% 72.33%
=======================================
Files 323 323
Lines 18273 18273
Branches 2701 2701
=======================================
Hits 13217 13217
Misses 4223 4223
Partials 833 833
Continue to review full report at Codecov.
|
It isn't random--it depends on the underlying OS of the image. |
@tjprescott, could you elaborate?I also tried windows os in portal and I am able to use shorter username. |
#1943 is the issue that originally reported the issue. If we remove this, we would essentially be reopening #1943. There's no perfect solution--either we choose a reasonable requirement that works across images (even if it is more conservative) or we just allow people to try and fail if the underlying image doesn't allow it. |
@tjprescott, I prefer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should discuss at scrum and decide the way forward for this PR.
@tjprescott @yugangw-msft did we reach an agreement on this? It occurs to me what is blocking this PR is about the design rather than the code. If we need more time to go through the design decision, I suggest closing this pull request for now. |
We haven't brought it up in scrum yet (unless it was today's). |
@yugangw-msft is digging deeper into this topic. I'll close the pull request for now since there is nothing to review. |
Okay, Portal team is providing me the user name validation code. Once I get the complete info, I shall update the PR |
Reported by someone whose login name is 5 characters long, and could not create a VM.
Turned out shorter names are accepted by both portal and vm itself. And more important we do not have justification for why chose 6 characters long; hence it appears a bit random