Auto-extract looses X-Delete-At and X-Delete-After headers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
High
|
Unassigned |
Bug Description
When putting new objects into the storage using the auto-extract feature headers like X-Delete-At or X-Delete-After are not saved. No such headers appear on a created objects. As a result objects are not deleted as expected.
Same command without the extract-archive option saves the file to the storage and sets the header properly.
Happens on Swift 2.22.1.dev67
Our provider claims that it appeared after upgrading from Swift 2.18 to 2.22. Unfortunately I cannot test on other versions. But I can confirm that it was working before.
Command to reproduce:
curl -f -i -XPUT -H 'X-Auth-Token: [...]' -H 'X-Delete-After: 600' https:/
summary: |
- Auto-extract looses X-DELETE-AT and X-DELETE-AFTER headers + Auto-extract looses X-Delete-At and X-Delete-After headers |
description: | updated |
description: | updated |
Almost certainly introduced in https:/ /github. com/openstack/ swift/commit/ 6f00d42 -- sorry about that.