Skip to content
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

When 'create public IP address' is enabled, 'name prefix' must be lowercase #42

Closed
matt-richardson opened this issue Sep 9, 2016 · 0 comments

Comments

@matt-richardson
Copy link
Contributor

As vmName is used for the domain label, it must be lowercase. Having an upper case/mixed case name results in an error:

[2016-09-09 09:51:21,533]   WARN [sion=2015-11-01] - ouds.azure.arm.AzureCloudImage - Failed to create deployment in resource group TCWIN2016-22: 400 is not a valid polling status code
The domain name label TCWIN2016-22 is invalid. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. 
jetbrains.buildServer.clouds.CloudException: Failed to create deployment in resource group TCWIN2016-22: 400 is not a valid polling status code
The domain name label TCWIN2016-22 is invalid. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
    at jetbrains.buildServer.clouds.azure.arm.connector.AzureApiConnectorImpl$17.failure(AzureApiConnectorImpl.java:639)
    at com.microsoft.azure.AzureClient.getPutOrPatchResultAsync(AzureClient.java:193)
    at com.microsoft.azure.management.resources.DeploymentsOperationsImpl$10.onResponse(DeploymentsOperationsImpl.java:410)
    at retrofit2.OkHttpCall$1.callSuccess(OkHttpCall.java:135)
    at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:114)
    at okhttp3.RealCall$AsyncCall.execute(RealCall.java:133)
    at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: com.microsoft.azure.CloudException: 400 is not a valid polling status code: The template deployment 'TCWIN2016-22' is not valid according to the validation procedure. The tracking id is '84868b2a-b540-4698-a4b8-c0d8c1ff78d9'. See inner errors for details. Please see https://aka.ms/arm-deploy for usage details.
    at com.microsoft.azure.AzureClient.getPutOrPatchResultAsync(AzureClient.java:185)
    ... 8 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants