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

Linode driver returns a list of nodes instead of a single node in create_node

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.1
    • Component/s: Compute
    • Labels:
    • Environment:

      n/a

      Description

      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]

        Activity

        Hide
        kami Tomaz Muraus added a comment -

        Patch is now available in trunk . It will also be available in 0.9.1 which should be released soon.

        Show
        kami Tomaz Muraus added a comment - Patch is now available in trunk . It will also be available in 0.9.1 which should be released soon.
        Hide
        jerry@apache.org Jerry Chen added a comment -

        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.

        Show
        jerry@apache.org Jerry Chen added a comment - 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.

          People

          • Assignee:
            Unassigned
            Reporter:
            jouke.waleson Jouke Waleson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development