libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ravindra w (JIRA)" <>
Subject [jira] [Commented] (LIBCLOUD-999) Windows VM can not be created using libcloud 2.3.0 azure_arm driver
Date Mon, 25 Jun 2018 06:20:00 GMT


ravindra w commented on LIBCLOUD-999:

I am not sure though, it was working before or not but looking at the code, it seems it never



> Windows VM can not be created using libcloud 2.3.0 azure_arm driver
> -------------------------------------------------------------------
>                 Key: LIBCLOUD-999
>                 URL:
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>            Reporter: ravindra w
>            Priority: Major
> root@ubuntu:/home/ubuntu# pip freeze |grep libcloud apache-libcloud==2.3.0   Test log
of create_node request: =========================== : : : (\\{'name': 'VM-VYF1', 'tags': {},
'id': '/subscriptions/23e6c1c2-bb63-4902-b7bc-145ae621a65b/resourceGroups/rgforqa/providers/Microsoft.Compute/virtualMachines/VM-VYF1',
'location': 'westus', 'type': 'Microsoft.Compute/virtualMachines', 'properties': \\{'hardwareProfile':
{'vmSize': 'Standard_B1ms'}, 'storageProfile': \\{'imageReference': {'sku': '2016-Datacenter',
'publisher': 'MicrosoftWindowsServer', 'version': 'latest', 'offer': 'WindowsServer'}, *'osDisk':
\{'osType': 'linux',* 'caching': 'ReadWrite', 'createOption': 'FromImage', 'name': 'VM-VYF1',
'managedDisk': \{'storageAccountType': 'Standard_LRS'}}}, 'osProfile': \\{'adminUsername':
'azureuser', 'computerName': 'VM-VYF1', 'linuxConfiguration': {'disablePasswordAuthentication':
'false'}, 'adminPassword': 'Passw0rd@123'}, 'networkProfile': \\{'networkInterfaces': [{'id':
Traceback (most recent call last): File "./", line 171, in <module> print a.create_node()
File "./", line 136, in create_node location=self.location, ex_nic=nic) File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/",
line 670, in create_node method="PUT") File "/usr/local/lib/python2.7/dist-packages/libcloud/common/",
line 227, in request method=method, raw=raw) File "/usr/local/lib/python2.7/dist-packages/libcloud/common/",
line 636, in request response = responseCls(**kwargs) File "/usr/local/lib/python2.7/dist-packages/libcloud/common/",
line 153, in __init__ headers=self.headers) l*ibcloud.common.exceptions.BaseHTTPError: [InvalidParameter]
The value 'Linux' of parameter 'osDisk.osType' is not allowed. Allowed values are 'Windows'.* 
>  ================
> urn used to get image : 'MicrosoftWindowsServer:WindowsServer:2016-Datacenter:latest'
> It always fails for any windows distribs/urns specified.   
> Churning entire azure_arm driver library, doesn't show-up handling for windows vm creation.  

This message was sent by Atlassian JIRA

View raw message