libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Quentin Pradet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LIBCLOUD-999) Windows VM can not be created using libcloud 2.3.0 azure_arm driver
Date Mon, 18 Jun 2018 20:50:00 GMT

    [ https://issues.apache.org/jira/browse/LIBCLOUD-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16516325#comment-16516325
] 

Quentin Pradet commented on LIBCLOUD-999:
-----------------------------------------

Hello,

Is this something that was working in the past and stopped working?

It looks like we never supported Windows images and always passed Linux osType, but we would
be happy to review pull requests adding support for this.

Thanks,
Quentin

> Windows VM can not be created using libcloud 2.3.0 azure_arm driver
> -------------------------------------------------------------------
>
>                 Key: LIBCLOUD-999
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-999
>             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':
u'/subscriptions/23e6c1c2-bb63-4902-b7bc-145ae621a65b/resourceGroups/rgforqa/providers/Microsoft.Network/networkInterfaces/VM-VYF1-nic'}]}}})
Traceback (most recent call last): File "./az.py", line 171, in <module> print a.create_node()
File "./az.py", line 136, in create_node location=self.location, ex_nic=nic) File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/azure_arm.py",
line 670, in create_node method="PUT") File "/usr/local/lib/python2.7/dist-packages/libcloud/common/azure_arm.py",
line 227, in request method=method, raw=raw) File "/usr/local/lib/python2.7/dist-packages/libcloud/common/base.py",
line 636, in request response = responseCls(**kwargs) File "/usr/local/lib/python2.7/dist-packages/libcloud/common/base.py",
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
(v7.6.3#76005)

Mime
View raw message