]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
SolidFire API RequestID is useless.
authorJohn Griffith <john.griffith@solidfire.com>
Tue, 9 Jul 2013 01:22:34 +0000 (19:22 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Tue, 9 Jul 2013 01:22:34 +0000 (19:22 -0600)
commit723486b120f3b2cc106c94191e8de9dc0b4c185f
tree11440f5370b3bf471efa7eccf48be37cd74d4077
parente95839466898e5606263721887633b2f66a360c0
SolidFire API RequestID is useless.

The SolidFire API can take an int or a string for a request-id,
when using an int however it needs to actually be a valid int.

The driver currently was doing an int(uuid) which is too large and
as a result get's truncated making it difficult or impossible to track
request-ids.

This patch chanes the generate request-id to form a hash of the uuid so
that it can be tracked.

Fixed bug: 1199198

Change-Id: I38d5e3d189e679678898c329a9fa173a47853d47
cinder/volume/drivers/solidfire.py