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

driver.create_container gets a HTTP Error 411 with Azure Blobs driver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.3, 0.13.0
    • 0.13.1
    • Storage
    • None

    Description

      On current Windows Azure, the Content-Length header is required for container creation requests. Currently we get the following error:

       [...]
        File "/Users/ogrisel/code/libcloud/libcloud/storage/drivers/azure_blobs.py", line 499, in create_container
          method='PUT', headers=headers)
        File "/Users/ogrisel/code/libcloud/libcloud/common/base.py", line 617, in request
          connection=self)
        File "/Users/ogrisel/code/libcloud/libcloud/common/base.py", line 93, in __init__
          raise Exception(self.parse_error())
        File "/Users/ogrisel/code/libcloud/libcloud/common/azure.py", line 74, in parse_error
          driver=self)
      LibcloudError: <LibcloudError in <libcloud.common.azure.AzureResponse object at 0x10cf8dc90> 'Unknown error Status code: 411.'>
      

      I will soon push a fix in a branch on my github fork.

      Attachments

        Activity

          People

            kami Tomaz Muraus
            ogrisel Olivier Grisel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: