Move to UUID image identifiers

Registered by Jay Pipes

Based on the mailing list thread (https://lists.launchpad.net/openstack/msg02601.html), it looks like the consensus is to move to using UUIDs as identifiers for resources in OpenStack projects.

Blueprint information

Status:
Complete
Approver:
Jay Pipes
Priority:
Medium
Drafter:
Jay Pipes
Direction:
Approved
Assignee:
Brian Waldon
Definition:
Approved
Series goal:
Accepted for essex
Implementation:
Implemented
Milestone target:
milestone icon 2012.1
Started by
Brian Waldon
Completed by
Brian Waldon

Related branches

Sprints

Whiteboard

WORK ITEMS:

Modify registry code (db API) and documentation to switch to UUIDs for image identifiers: DONE
Modify test code to use UUID image identifiers: DONE
Write migration script that ensures existing images' identifiers are kept as-is, converted from integer to strings: DONE

Notes:

For test code changes, it may be easiest to have the DB API expose a function like create_image_identifier() that, in the normal case returns a UUID, but can be stubbed out in testing to return a predictable ordered identifier?

Gerrit topic: https://review.openstack.org/#q,topic:bp/uuid-image-identifiers,n,z

Addressed by: https://review.openstack.org/987
    Convert image id value to a uuid

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.