Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-601

deploy_node doesn't work on windows workstation: AttributeError: 'module' object has no attribute 'inet_pton'

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Compute
    • None
    • Windows 7 Entreprise SP1 with python 2.7.8 32 bits

    Description

      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'

      Attachments

        Activity

          People

            Unassigned Unassigned
            nfraison Fraison Nicolas

            Dates

              Created:
              Updated:

              Slack

                Issue deployment