[ 
https://issues.apache.org/jira/browse/LIBCLOUD-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rene Kjellerup updated LIBCLOUD-820:
------------------------------------
    Description: 
in _get_ip_addresses_for_domain function it states:
{noformat}
    def _get_ip_addresses_for_domain(self, domain):
        """
        Retrieve IP addresses for the provided domain.

        Note: This functionality is currently only supported on Linux and
        only works if this code is run on the same machine as the VMs run
        on.

        :return: IP addresses for the provided domain.
        :rtype: ``list``
        """
{noformat}

however it only checks if the platform is Linux... not if the it's on the same 
machine. this causes list_nodes() to fail when using uri='qemu+ssh:///systems'

  was:
in _get_ip_addresses_for_domain function it states:
{code}
        """
        Retrieve IP addresses for the provided domain.

        Note: This functionality is currently only supported on Linux and
        only works if this code is run on the same machine as the VMs run
        on.

        :return: IP addresses for the provided domain.
        :rtype: ``list``
        """
{code}

however it only checks if the platform is Linux... not if the it's on the same 
machine. this causes list_nodes() to fail when using uri='qemu+ssh:///systems'


> libvirt module only doesn't check if nodes are remote
> -----------------------------------------------------
>
>                 Key: LIBCLOUD-820
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-820
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>            Reporter: Rene Kjellerup
>              Labels: easyfix
>
> in _get_ip_addresses_for_domain function it states:
> {noformat}
>     def _get_ip_addresses_for_domain(self, domain):
>         """
>         Retrieve IP addresses for the provided domain.
>         Note: This functionality is currently only supported on Linux and
>         only works if this code is run on the same machine as the VMs run
>         on.
>         :return: IP addresses for the provided domain.
>         :rtype: ``list``
>         """
> {noformat}
> however it only checks if the platform is Linux... not if the it's on the 
> same machine. this causes list_nodes() to fail when using 
> uri='qemu+ssh:///systems'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to