You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Jouke Waleson (Created) (JIRA)" <ji...@apache.org> on 2012/03/27 17:52:28 UTC

[dev] [jira] [Created] (LIBCLOUD-175) Linode driver does not return a node after create

Linode driver does not return a node after create
-------------------------------------------------

                 Key: LIBCLOUD-175
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-175
             Project: Libcloud
          Issue Type: Bug
          Components: Compute
    Affects Versions: 0.8.0
         Environment: n/a
            Reporter: Jouke Waleson


In computer/drivers/linode.py, the return statement for the  line of the create_node method should be:

<         return self._to_nodes(data)
---
>         return self._to_nodes(data)[0]


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Resolved] (LIBCLOUD-175) Linode driver returns a list of nodes instead of a single node in create_node

Posted by "Tomaz Muraus (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Muraus resolved LIBCLOUD-175.
-----------------------------------

    Resolution: Fixed

Patch is now available in trunk . It will also be available in 0.9.1 which should be released soon.
                
> Linode driver returns a list of nodes instead of a single node in create_node
> -----------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-175
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-175
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>    Affects Versions: 0.8.0
>         Environment: n/a
>            Reporter: Jouke Waleson
>              Labels: patch
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In computer/drivers/linode.py, the return statement for the  line of the create_node method should be:
> <         return self._to_nodes(data)
> ---
> >         return self._to_nodes(data)[0]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Updated] (LIBCLOUD-175) Linode driver returns a list of nodes instead of a single node in create_node

Posted by "Jouke Waleson (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jouke Waleson updated LIBCLOUD-175:
-----------------------------------

    Summary: Linode driver returns a list of nodes instead of a single node in create_node  (was: Linode driver does not return a node after create)
    
> Linode driver returns a list of nodes instead of a single node in create_node
> -----------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-175
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-175
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>    Affects Versions: 0.8.0
>         Environment: n/a
>            Reporter: Jouke Waleson
>              Labels: patch
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In computer/drivers/linode.py, the return statement for the  line of the create_node method should be:
> <         return self._to_nodes(data)
> ---
> >         return self._to_nodes(data)[0]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Updated] (LIBCLOUD-175) Linode driver returns a list of nodes instead of a single node in create_node

Posted by "Tomaz Muraus (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Muraus updated LIBCLOUD-175:
----------------------------------

    Fix Version/s: 0.9.1
    
> Linode driver returns a list of nodes instead of a single node in create_node
> -----------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-175
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-175
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>    Affects Versions: 0.8.0
>         Environment: n/a
>            Reporter: Jouke Waleson
>              Labels: patch
>             Fix For: 0.9.1
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In computer/drivers/linode.py, the return statement for the  line of the create_node method should be:
> <         return self._to_nodes(data)
> ---
> >         return self._to_nodes(data)[0]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Commented] (LIBCLOUD-175) Linode driver returns a list of nodes instead of a single node in create_node

Posted by "Jerry Chen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LIBCLOUD-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239622#comment-13239622 ] 

Jerry Chen commented on LIBCLOUD-175:
-------------------------------------

Thanks for reporting the issue. This appears to be a regression involving the disappearance of _to_node() from the Linode compute driver. Your patch is a good start but will fail when the list is empty -- one of us will dig up the original method and reinstate it.
                
> Linode driver returns a list of nodes instead of a single node in create_node
> -----------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-175
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-175
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>    Affects Versions: 0.8.0
>         Environment: n/a
>            Reporter: Jouke Waleson
>              Labels: patch
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In computer/drivers/linode.py, the return statement for the  line of the create_node method should be:
> <         return self._to_nodes(data)
> ---
> >         return self._to_nodes(data)[0]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira