Comment 2 for bug 1778763

Revision history for this message
Eric Fried (efried) wrote :

I don't get how it's meaningless to delete a consumer.

It seems like the only reason we're resisting treating a consumer as a thing is because we haven't thus far. We haven't thus far purely out of momentum from when the concept was originally created. And it was created as a non-thing because there were originally no other fields associated with a consumer.

Consider resource providers. The only associated datum for a provider was a name; absent that, we might have done the same thing, implicitly creating the provider when we created its inventory. But that's not how we chose to go. We chose to have endpoints and real records for providers. And if you want to delete a provider, you have to go through a (certainly not meaningless) separate step.

Back to consumers: they now possess additional fields: project and user ID and generation. So why shouldn't they be a thing just like a provider?

See comment #3 at https://bugs.launchpad.net/nova/+bug/1778591 for more.