[ 
https://issues.apache.org/jira/browse/LIBCLOUD-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399466#comment-15399466
 ] 

Luke Morfitt edited comment on LIBCLOUD-842 at 7/29/16 3:11 PM:
----------------------------------------------------------------

So far we have tracked it back to changes between the file 
https://raw.githubusercontent.com/apache/libcloud/0.20.1/libcloud/common/base.py
 and 
https://raw.githubusercontent.com/apache/libcloud/trunk/libcloud/common/base.py

Somewhere within the "Connection" object.


Replacing the 1.1.0 version of common/base.py with the 0.20.1 version allowed 
us to fix the issue with azure blob storage. Continuing to investigate.





was (Author: lukemorfitt):
So far we have tracked it back to changes between the file 
https://raw.githubusercontent.com/apache/libcloud/0.20.1/libcloud/common/base.py
 and 
https://raw.githubusercontent.com/apache/libcloud/trunk/libcloud/common/base.py

Somewhere within the "Connection" object.



> Azure blob storage - 'Error initializing upload. Code: 400'
> -----------------------------------------------------------
>
>                 Key: LIBCLOUD-842
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-842
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Storage
>         Environment: Production
>            Reporter: Luke Morfitt
>              Labels: blobstore, storage_drivers
>
> When using libcloud version 1.1.0 with azure blob storage we are seeing the 
> following error. This issue does not appear in 0.20.1 and we are currently 
> investigating the differences between the two releases. 
> {code}
> Upload Thread - Unhandled exception - Error initializing upload. Code: 400 - 
> <LibcloudError in 
> <libcloud.storage.drivers.azure_blobs.AzureBlobsStorageDriver object at 
> 0x7f1e2778b790> 'Error initializing upload. Code: 400'>
> Traceback (most recent call last):
>   File "/usr/local/gamesparks/analytics_upload.py", line 383, in 
> FileUploadThread
>     object_name=bname)
>   File 
> "/usr/local/lib/python2.7/dist-packages/libcloud/storage/drivers/azure_blobs.py",
>  line 838, in upload_object_via_stream
>     use_lease=ex_use_lease)
>   File 
> "/usr/local/lib/python2.7/dist-packages/libcloud/storage/drivers/azure_blobs.py",
>  line 935, in _put_object
>     iterator=iterator)
>   File "/usr/local/lib/python2.7/dist-packages/libcloud/storage/base.py", 
> line 654, in _upload_object
>     **upload_func_kwargs)
>   File 
> "/usr/local/lib/python2.7/dist-packages/libcloud/storage/drivers/azure_blobs.py",
>  line 612, in _upload_in_chunks
>     (response.status), driver=self)
> LibcloudError: <LibcloudError in 
> <libcloud.storage.drivers.azure_blobs.AzureBlobsStorageDriver object at 
> 0x7f1e2778b790> 'Error initializing upload. Code: 400'>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to