Comment 1 for bug 1833542

Revision history for this message
Matt Riedemann (mriedem) wrote :

I have thought about adding a new microversion to the os-services API to include the service version for something like this in the past but never went through with it. I'm not sure you'd want something to be relying the REST API during an upgrade anyway. I'm guessing we'd want something in the "nova-status upgrade" command area, either in the "check" subcommand (though that's more for pre and post validation - to which this could apply) or maybe some new subcommand.

I'm not sure what you mean by "Ideally it would not be necessary for the caller to know the actual minimum RPC version." Aren't you just looking for a command to say whether or not all services (does it need to be just nova-compute binaries or also things like nova-conductor, nova-scheduler, etc?) are running the current latest version for that release, i.e. this:

https://github.com/openstack/nova/blob/7ecdee01ed0efcecc4b448118a412d2c6554a27d/nova/objects/service.py#L34

This sounds like more of a specless blueprint than a bug so I'm going to mark this as wishlist but it sounds simple enough that we could add something to the nova-status upgrade command.