project_id and user_id are empty in ceilometer storage.objects.outgoing.bytes for dlo objects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Clément Contini |
Bug Description
Ceilometer data for storage.
Expected behavior for a multipart file:
{
"path": "/v1/7f9adf4f43
},
"source": "openstack",
"user_id": "8f9383bb23cd4a
},
{
"path": "/v1/7f9adf4f43
},
"source": "openstack",
"user_id": "8f9383bb23cd4a
},
{
"path": "/v1/7f9adf4f43
},
"source": "openstack",
"user_id": "8f9383bb23cd4a
}
Observed behavior:
{
"path": "/v1/7f9adf4f43
},
"source": "openstack",
"user_id": null
},
{
"path": "/v1/7f9adf4f43
},
"source": "openstack",
"user_id": null
},
{
"path": "/v1/7f9adf4f43
},
"source": "openstack",
"user_id": null
}
We found that the problem is related to https:/
--- a/swift/
+++ b/swift/
@@ -1085,7 +1085,7 @@ def make_env(env, method=None, path=None, agent='Swift', query_string=None,
- 'swift.authorize'):
+ 'swift.authorize', 'HTTP_X_USER_ID', 'HTTP_X_
if name in env:
if method:
CVE References
Changed in swift: | |
assignee: | nobody → Clément Contini (ccontini) |
Changed in swift: | |
milestone: | none → 2.4.0 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/212149
Review: https:/