Comments (3)
This is a known issue with the Azure Python Storage SDK: Azure/azure-storage-python#67
A fix for properly handling file/blob names containing '?' is forthcoming in the next release if SAS keys are used.
from azure-batch-samples.
Hi,
I still see the same behaviour with my reproducer:
$ blobxfer --version
0.9.9.9
$ blobxfer --storageaccountkey 'redacted' redacted container x
xfer progress: [ ] 0.00% 0.00 blocks/min Traceback (most recent call last):
File "/blobxfer2/local/lib/python2.7/site-packages/blobxfer.py", line 880, in run
offset, bytestoxfer, encparam, flock, filedesc)
File "/blobxfer2/local/lib/python2.7/site-packages/blobxfer.py", line 1002, in putblobdata
content_md5=contentmd5, timeout=self.timeout)
File "/blobxfer2/local/lib/python2.7/site-packages/blobxfer.py", line 1309, in azure_request
return req(_args, *_kwargs)
File "/blobxfer2/local/lib/python2.7/site-packages/azure/storage/blob/blobservice.py", line 2366, in put_block
self._perform_request(request)
File "/blobxfer2/local/lib/python2.7/site-packages/azure/storage/storageclient.py", line 178, in _perform_request
_storage_error_handler(ex)
File "/blobxfer2/local/lib/python2.7/site-packages/azure/storage/_serialization.py", line 25, in _storage_error_handler
return _general_error_handler(http_error)
File "/blobxfer2/local/lib/python2.7/site-packages/azure/storage/_common_error.py", line 82, in _general_error_handler
raise AzureHttpError(message, http_error.status)
AzureHttpError: An HTTP header that's mandatory for this request is not specified.
MissingRequiredHeader
An HTTP header that's mandatory for this request is not specified.
RequestId:6bd0ee85-0001-004c-4794-5bb3af000000
Time:2016-01-30T19:30:14.1340017Zx-ms-blob-type
Is the stack trace when storageaccountkey is used something it's possible to fix?
For example, if a storage account key is provided could a sas key be generated from it as needed?
If not, what is the recommended way for blobxfer users to generate sas keys?
Thanks.
from azure-batch-samples.
As noted above, this is an underlying issue with the Azure Python Storage SDK if using a storage account key. You can generate a SAS key separately from the blobxfer invocation using the Azure Python Storage SDK or various graphical tools.
from azure-batch-samples.
Related Issues (20)
- "TypeError" exception when running sample1_helloword.py. HOT 1
- Cannot run CSharp/GettingStarted/01HelloWorld.csproj
- Java sample code fails to get batchUrl HOT 4
- C++ samples
- Access Linked Storage Account HOT 1
- add sample for Docker
- Azure batch -python running flask app in node and hitting it via flask
- How to upload applicationPackage to be installed on each node of the pool HOT 2
- 'BatchServiceClientConfiguration' object has no attribute 'signed_session'
- accountsettings null HOT 2
- Python Batch samples - please update to azure.storage.blob v12+ HOT 1
- CSharp/GettingStarted/02_PoolsAndResourceFiles throws NotFound for stdout.txt when run a 2nd time
- Hello world is insanely complex for a hello world
- How to use ILogger for AppInsights logs with azure batch
- Support for dotnet-sdk 3.1
- Loading mpi modules in Azure Batch with Ubuntu-hpc image
- Update samples to use VirtualMachineConfiguration
- BatchManagementClient example uses ADAL, which is out of support in December 2022 HOT 1
- OnAllTasksComplete.TerminateJob inconsistent
- Microsoft.Azure.Management.Batch - Deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-batch-samples.