← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1598373] Re: the result of "nova hypervisor-servers hypervisor-name" is error

 

I think this is intentional. The python-novaclient [1] (and its docs
[2]) says:

    "The hypervisor hostname (or pattern) to search for."

The Nova REST API queries for all compute nodes [3], and the DB layer
explicitly uses a "LIKE" in its SQL query [4] for finding compute hosts
by name.

References:
[1] https://github.com/openstack/python-novaclient/blob/d052f2609f1f46440a01ef7701591e17da20418e/novaclient/v2/shell.py#L4070
[2] http://docs.openstack.org/cli-reference/nova.html#nova-hypervisor-servers
[3] https://github.com/openstack/nova/blob/a46e3c89eadc9fa2841f36090565bead97eb6409/nova/api/openstack/compute/hypervisors.py#L166-L166
[4] https://github.com/openstack/nova/blob/0871f4953d99bc6e5b35dbe8ccf8644a282167d3/nova/db/sqlalchemy/api.py#L655-L655

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1598373

Title:
  the result of "nova hypervisor-servers hypervisor-name" is error

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  version:master
  problem:
     the result of "nova hypervisor-servers hypervisor-name" is error, for example:
  the result of "nova hypervisor-servers dell-nova-1" will include the servers on dell-nova-11 when there are dell-nova-1 and dell-nova-11 hypervisor nodes.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1598373/+subscriptions


References