pagination does not work for stack events when resource is specified
Bug #1502751 reported by
Pratik Mallya
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Pratik Mallya |
Bug Description
Pagination is broken when trying to retrieve events and specifying resource name.
Error is easy to reproduce. Just deploy a nova server and list the events. Then try to list the events specifying the resource name and limit as 1:
heat event-list STACK_NAME --resource RESOURCE_NAME --limit 1
This will return a resource not found, even if the events are present.
From my investigation, this is because of the hacky way that filtering on resource names is handled. There should be an api call in heat/db/
Changed in heat: | |
assignee: | nobody → Pratik Mallya (pratik-mallya) |
Changed in heat: | |
importance: | Undecided → Medium |
milestone: | none → mitaka-1 |
tags: | added: liberty-rc-potential |
no longer affects: | heat/mitaka |
no longer affects: | heat/liberty |
Changed in heat: | |
status: | Triaged → In Progress |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | liberty-rc2 → 5.0.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/230879
Review: https:/