[watcher] Question about baremetal node support in nova CDM
mriedemos at gmail.com
Wed May 29 20:16:19 UTC 2019
On 5/23/2019 4:40 PM, Matt Riedemann wrote:
> Only in the case of ironic would we potentially get more than one
> hypervisor (node) for a single compute service (host).
As I was working on the change, I realized that while this is true, it's
not strictly what this API could return:
The problem is that is a fuzzy match in the DB query  so if you have
some computes like this:
And we're searching on compute1 we could get back 3 hypervisors which
would break on the watcher side, so we can't really use that.
There was a similar problem in some nova CLIs  which essentially does
the same kind of strict hostname checking that watcher already does.
So unfortunately this means I can't replace that code in watcher just
yet. But if the compute API adds a service host filter to the
hypervisors API we could push the strict service hostname filtering into
the server rather than the client (watcher). I can draft a nova spec for
More information about the openstack-discuss