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

OpenStack Quantum / Neutron API request to list networks is /os-networks, not /os-networksv2

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0-beta3
    • Component/s: Compute
    • Labels:
    • Environment:

      OpenStack Grizzly

      Description

      In compute/drivers/openstack.py in ex_list_networks, the request /os-networksv2 is used, which doesn't exist and causes a 404 error.
      Changing that from /os-networksv2 to /os-networks makes the function work!

        Activity

        Hide
        kami Tomaz Muraus added a comment -

        Torsten Schlabach Sorry for the delay. Paul never responded so I just decided to take a stab and pushed some changes to trunk yesterday, including tests.

        Can you please confirm that it now works correctly with the latest changes in trunk?

        Show
        kami Tomaz Muraus added a comment - Torsten Schlabach Sorry for the delay. Paul never responded so I just decided to take a stab and pushed some changes to trunk yesterday, including tests. Can you please confirm that it now works correctly with the latest changes in trunk?
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit d2a71cb878d9b3fb89195e946c3ea6698a8d6d10 in branch refs/heads/trunk from Tomaz Muraus
        [ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=d2a71cb ]

        Update network related extension methods so they work correctly with
        both, OpenStack and Rackspace driver.

        Part of LIBCLOUD-368.

        Show
        jira-bot ASF subversion and git services added a comment - Commit d2a71cb878d9b3fb89195e946c3ea6698a8d6d10 in branch refs/heads/trunk from Tomaz Muraus [ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=d2a71cb ] Update network related extension methods so they work correctly with both, OpenStack and Rackspace driver. Part of LIBCLOUD-368 .
        Hide
        kami Tomaz Muraus added a comment -

        I just quickly glanced over the docs and it seems like OpenStack installations use "os-networks" and Rackspace uses "os-networksv2".

        I need to do some more digging, but if that is indeed the case, we need to modify / fix OpenStack driver and move Rackspace specific functionality to Rackspace driver.

        Paul Querna since you originally added the networking API, can you provide more insight into this?

        Show
        kami Tomaz Muraus added a comment - I just quickly glanced over the docs and it seems like OpenStack installations use "os-networks" and Rackspace uses "os-networksv2". I need to do some more digging, but if that is indeed the case, we need to modify / fix OpenStack driver and move Rackspace specific functionality to Rackspace driver. Paul Querna since you originally added the networking API, can you provide more insight into this?

          People

          • Assignee:
            kami Tomaz Muraus
            Reporter:
            torstens Torsten Schlabach
          • Votes:
            0 Vote for this issue
            Watchers:
            3 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