I think Erik's looking for a timeframe for this, too. We could implement this tomorrow in Glance, but there's been a conscience decision to use URIs as an image's globally-unique identifier, and to allow Glance registries to implement whatever image ID they wanted. This can, of course, change, but would break on existing Glance installations. The same would be true of Nova, of course. Old instances would need to be migrated to the new key as well.
In Nova, I would say the following must all occur: 1) Change the ID in the model from autoinc keys to string/text UUIDs 2) Remove the current logic in various places that looks for integer keys 3) Add a field to the necessary tables for storing the EC2 ID (internal_id?) 4) Update all the test cases to use non-integer keys (PITA) 5) Test, test, test -jay On Fri, May 27, 2011 at 4:05 PM, Vishvananda Ishaya <[email protected]> wrote: > +1 > > We have blueprints for migrating nova but it will take some time. > > On May 27, 2011, at 1:02 PM, Mark Washenberger wrote: > >> +1 for UUIDs. >> >> If we agree on this approach, there is some difficulty incorporating it into >> nova as Ed has identified. However, any other projects, especially those >> hoping to be adopted as Openstack projects by the PPB, can probably switch >> to this approach more immediately. >> >> Just a thought. >> >> "Ed Leafe" <[email protected]> said: >> >>> On May 27, 2011, at 1:15 PM, Erik Carlin wrote: >>> >>>> With the proliferation of new openstack services being built, is there any >>>> reason >>>> not to use UUID as the standard resource ID format? >>> >>> The consensus at the last summit was to move to UUIDs for instance >>> IDs. The >>> biggest concerns were that a) it breaks the current API (which can be >>> updated), >>> and it breaks the EC2 API (which can't be updated). I know that there were >>> some >>> ideas for working around the ec2 issues, but I don't remember them. >>> >>> I think moving ahead, UUIDs scale way better than locally-generated >>> sequential >>> integers. >>> >>> >>> >>> -- Ed Leafe >>> >>> >>> >>> >>> _______________________________________________ >>> Mailing list: https://launchpad.net/~openstack >>> Post to : [email protected] >>> Unsubscribe : https://launchpad.net/~openstack >>> More help : https://help.launchpad.net/ListHelp >>> >> >> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~openstack >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~openstack >> More help : https://help.launchpad.net/ListHelp > > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : [email protected] > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

