[
https://issues.apache.org/jira/browse/LIBCLOUD-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14079135#comment-14079135
]
Fraison Nicolas commented on LIBCLOUD-601:
------------------------------------------
To correct this I would like to update the is_valid_ip_address function of
networking:
form :
> deploy_node doesn't work on windows workstation: AttributeError: 'module'
> object has no attribute 'inet_pton'
> --------------------------------------------------------------------------------------------------------------
>
> Key: LIBCLOUD-601
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-601
> Project: Libcloud
> Issue Type: Bug
> Components: Compute
> Environment: Windows 7 Entreprise SP1 with python 2.7.8 32 bits
> Reporter: Fraison Nicolas
> Priority: Minor
>
> When I try to sawn a VM using the deploy_node function of NodeDriver class,
> executing it through a windows workstation, I face this issue:
> Traceback (most recent call last):
> File
> "C:\infappdata\InstTools\Python27\lib\site-packages\libcloud\compute\base.py",
> line 893, in deploy_node
> ssh_interface=ssh_interface)[0]
> File "C:/temp/Python/scripts/cloud/_modules/openstack-1_0_0.py", line 105,
> in create_node
> File
> "C:\infappdata\InstTools\Python27\lib\site-packages\libcloud\compute\base.py",
> line 1329, in wait_until_running
> for node in running_nodes]
> File
> "C:\infappdata\InstTools\Python27\lib\site-packages\libcloud\compute\base.py",
> line 1303, in filter_addresses
> return [address for address in addresses if is_supported(address)]
> File
> "C:\infappdata\InstTools\Python27\lib\site-packages\libcloud\compute\base.py",
> line 1295, in is_supported
> family=socket.AF_INET):
> File
> "C:\infappdata\InstTools\Python27\lib\site-packages\libcloud\utils\networking.py",
> line 80, in is_valid_ip_address
> socket.inet_pton(family, address)
> AttributeError: 'module' object has no attribute 'inet_pton'
--
This message was sent by Atlassian JIRA
(v6.2#6252)