lakeFS
lakeFS copied to clipboard
[Bug]: Error when setting presigned expiry on Azure blob container
What happened?
When using LAKEFS_BLOCKSTORE_AZURE_PRE_SIGNED_EXPIRY environment variable, requesting data via the Python SDK results in the following exception:
lakefs.exceptions.ServerException: code: 500, reason: Internal Server Error, body: {'message': 'POST https://[redacted].blob.core.windows.net\n--------------------------------------------------------------------------------\nRESPONSE 400: 400 The value for one of the XML nodes is not in the correct format.\nERROR CODE: InvalidXmlNodeValue\n--------------------------------------------------------------------------------\n\ufeff<?xml version="1.0" encoding="utf-8"?><Error><Code>InvalidXmlNodeValue</Code><Message>The value for one of the XML nodes is not in the correct format.\nRequestId:[redacted]\nTime:2025-04-09T12:57:23.7801593Z</Message><XmlNodeName>2026-04-09T13:57:23Z</XmlNodeName><XmlNodeValue>2026-04-09T13:57:23Z</XmlNodeValue></Error>\n--------------------------------------------------------------------------------\n'}
Note, the XmlNodeName looks suspect:
<XmlNodeName>2026-04-09T14:06:22Z</XmlNodeName>
<XmlNodeValue>2026-04-09T14:06:22Z</XmlNodeValue>
Steps to Reproduce:
- Set
LAKEFS_BLOCKSTORE_AZURE_PRE_SIGNED_EXPIRY(e.g.24h) - Attempt to read object using the Python SDK.
Expected behavior
No response
lakeFS version
No response
How lakeFS is installed
No response
Affected clients
No response
Relevant log output
Contact details
No response