Find a solution. My keystone use ldap, the user's UUID is not 32-bit. So gnocchi recognized the illegal parameters.
---------------------------------------------------- user_id = headers.get("X-User-Id") if user_id: try: user_id = six.text_type(uuid.UUID(user_id)) except Exception: abort(400, "Malformed X-User-Id")
---------------------------------------------------
Find a solution.
My keystone use ldap, the user's UUID is not 32-bit.
So gnocchi recognized the illegal parameters.
------- ------- ------- ------- ------- ------- ------- --- get("X- User-Id" ) type(uuid. UUID(user_ id))
abort( 400, "Malformed X-User-Id")
user_id = headers.
if user_id:
try:
user_id = six.text_
except Exception:
------- ------- ------- ------- ------- ------- ------- --