libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Loria (JIRA)" <>
Subject [jira] [Created] (LIBCLOUD-850) Docker Driver missing '/' prior to URI
Date Fri, 02 Sep 2016 03:04:20 GMT
Mario Loria created LIBCLOUD-850:

             Summary: Docker Driver missing '/' prior to URI
                 Key: LIBCLOUD-850
             Project: Libcloud
          Issue Type: Bug
            Reporter: Mario Loria
            Priority: Critical

Just tried the docker driver and found that it's improperly sending requests to the Docker


which yields:

>>> conn.list_containers()
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/home/mloria/arrovenv/lib/python3.5/site-packages/libcloud/container/drivers/
", line 279, in list_containers
    "v%s/containers/json%s" % (self.version, ex)).object
  File "/home/mloria/arrovenv/lib/python3.5/site-packages/libcloud/common/", line 862,

in request
    response = responseCls(**kwargs)
  File "/home/mloria/arrovenv/lib/python3.5/site-packages/libcloud/common/", line 179,

in __init__
libcloud.common.exceptions.BaseHTTPError: 400 Bad Request

I've verified this by making the same GET request with Postman, which worked properly (with
the missing '/'). Also, Wireshark:

This message was sent by Atlassian JIRA

View raw message