Service parameter is not implemented on Hosts list api

Bug #1224763 reported by Alvin Garcia
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Guangya Liu (Jay Lau)
python-novaclient
Fix Released
Medium
Michal Dulko

Bug Description

Service parameter is in the documentation as a filter but is not implemented. Only the zone parameter is working.
http://api.openstack.org/api-ref.html#ext-os-hosts

description: updated
Jake Liu (jake-liu)
Changed in nova:
assignee: nobody → Jake Liu (jake-liu)
Jake Liu (jake-liu)
Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/46661

Revision history for this message
Guangya Liu (Jay Lau) (jay-lau-513) wrote :

A new patch was propsed to https://review.openstack.org/#/c/52867/

Changed in nova:
assignee: Jake Liu (jake-liu) → Jay Lau (jay-lau-513)
Changed in python-novaclient:
assignee: nobody → Jay Lau (jay-lau-513)
Revision history for this message
melanie witt (melwitt) wrote :

Once nova supports the service parameter, novaclient can add an option --service for the host-list command.

Changed in python-novaclient:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/52867
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=67c0d16eb6022551ab4c629ee3901fc9cd58353c
Submitter: Jenkins
Branch: master

commit 67c0d16eb6022551ab4c629ee3901fc9cd58353c
Author: Jay Lau <email address hidden>
Date: Sun Feb 23 08:52:19 2014 +0800

    Adds service request parameter filter for V3 API os-hosts request

    Both V2 and V3 API do not support service request parameter filter
    for os-hosts request. For V2 API, there is no need to having two
    different clouds having different APIs (one with service filter
    one without) but just take V2 API as a document bug. This patch
    will only fix V3 API.

    DocImpact
    Adds the ability to filter a hosts list request by service for
    the V3 API.

    Change-Id: I42163707049300b0dee677558ed49280bcc7369d
    Partial-Bug: #1224763

Changed in nova:
status: In Progress → Fix Committed
milestone: none → icehouse-3
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-3 → 2014.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/115246

Changed in python-novaclient:
assignee: Jay Lau (jay-lau-513) → Michal Dulko (michal-dulko-f)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/115246
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=3fa04e6d2d8bee36c4089620c16ce750dd115ece
Submitter: Jenkins
Branch: master

commit 3fa04e6d2d8bee36c4089620c16ce750dd115ece
Author: Michal Dulko <email address hidden>
Date: Tue Aug 19 13:21:00 2014 +0200

    Add filtering by service to hosts list command

    This commit adds --service-name option to host-list command allowing
    user to filter hosts by service.

    DocImpact
    Closes-Bug: 1224763
    Change-Id: Ic67deb3af7ddbe23c14fa38ae180d43ab484b78f

Changed in python-novaclient:
status: In Progress → Fix Committed
Michael Still (mikal)
Changed in python-novaclient:
milestone: none → 2.19.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.