Comment 2 for bug 1617918

Revision history for this message
Jake Yip (waipengyip) wrote : Re: Resource UUID are not unique per tenant

Thanks Julien for replying! Hopefully this discussion can help other gnocchi users with the same questions.

I agree that resource ids should be unique across the system. Maybe the name should not be? Just thinking along the lines of nova names, cinder names and uuid...

Maybe name-to-uuid transformation can be better. Off the top of my mind, a possible improvement can be to use the tenant uuid to generate the resource uuid. What do you think?

Of course we have to take care of existing resource, which can be handled via the upgrade script.

Re: quota, we can handle this separately. I was just making a point that dictionary collisions occur much more easily/frequently then UUID collision.