← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: nova
     Importance: Medium
         Status: Confirmed


** Tags: api-ref

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

** Changed in: nova
   Importance: Undecided => Medium

-- 
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):
  Confirmed

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


Follow ups