Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ironic: Continue pagination when listing nodes
Ironic API supports pagination and limit the number of items returned by the API based on a config option, by default a max of 1000 items is returned per request. The Ironic client library by default respect that limit, so when the Nova Ironic driver list the nodes it might hit that limit and the wrong information will be passed to nova. This patch fix the problem by passing a "limit=0" flag to the client library to tell it to continue pagination until there're no more nodes ot be returned. Change-Id: I63795e2b4de828fa41e97812e99a714f04d2f580 Closes-Bug: #1367349
- Loading branch information
Showing
2 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters