← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1696554] Re: api-ref: wrong type for marker in GET /os-hypervisors(/detail)

 

Reviewed:  https://review.openstack.org/471970
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4404c4444cd00c0c5d4b2e43f71dd09499f9b246
Submitter: Jenkins
Branch:    master

commit 4404c4444cd00c0c5d4b2e43f71dd09499f9b246
Author: Matt Riedemann <mriedem.os@xxxxxxxxx>
Date:   Wed Jun 7 20:18:24 2017 -0400

    api-ref: fix type for hypervisor_marker
    
    The marker for paging over hypervisors (compute nodes) is the
    integer id field (compute_nodes.id column). This corrects the
    type in the API reference parameters.
    
    Change-Id: If925929171a2d7a1fbd0a8926e550512915c24a3
    Closes-Bug: #1696554


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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/1696554

Title:
  api-ref: wrong type for marker in GET /os-hypervisors(/detail)

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  The api-ref for:

  https://developer.openstack.org/api-ref/compute/?expanded=list-
  hypervisors-detail#list-hypervisors

  and

  https://developer.openstack.org/api-ref/compute/?expanded=list-
  hypervisors-details-detail#list-hypervisors-details

  says the marker is a string, but it's actually an int, it's the
  compute_nodes.id field.

  Eventually used here:

  https://github.com/openstack/nova/blob/3d84232d7b2cf658413370fc9496ab329020738d/nova/db/sqlalchemy/api.py#L669

  https://github.com/openstack/nova/blob/3d84232d7b2cf658413370fc9496ab329020738d/nova/db/sqlalchemy/api.py#L631

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


References