When requested `--limit` is above `max_limit` set in nova API configuration or no limit is specified (or limit=-1) and number of instances is higher than `max_limit` the output of `nova list` is cut to `max_limit` entries.
Example:
max_limit = 3
Expected output:
# nova list
+--------------------------------------+-------+--------+------------+-------------+----------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------+--------+------------+-------------+----------------------+
| 3b4bdc95-8cbe-40e4-97ca-ef83f15e3b2b | inst1 | ACTIVE | - | Running | fixed=192.168.123.9 |
| 936607a4-c5a9-4d81-a497-47e2c3be1928 | inst2 | ACTIVE | - | Running | fixed=192.168.123.10 |
| 44af16f0-ccb7-44de-b787-5af39095abca | inst3 | ACTIVE | - | Running | fixed=192.168.123.14 |
| b5d93027-f132-44ed-9975-4bacc3c3be0a | inst4 | ACTIVE | - | Running | fixed=192.168.123.6 |
| c4e925ae-85c3-4442-8038-386a7b0b2b61 | inst5 | ACTIVE | - | Running | fixed=192.168.123.3 |
| f962d85b-3e94-49cf-bd90-afb054f20735 | inst6 | ACTIVE | - | Running | fixed=192.168.123.15 |
| ca378516-c4d2-4216-830d-c2c7c69a6947 | inst7 | ACTIVE | - | Running | fixed=192.168.123.17 |
| 3fe2d243-7d62-49fc-a70f-b80ec326325d | inst8 | ACTIVE | - | Running | fixed=192.168.123.13 |
| d799ec11-bf97-4481-b6fc-07e13e6ea338 | inst9 | ACTIVE | - | Running | fixed=192.168.123.18 |
+--------------------------------------+-------+--------+------------+-------------+----------------------+
actual output:
# nova list
+--------------------------------------+-------+--------+------------+-------------+----------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------+--------+------------+-------------+----------------------+
| ca378516-c4d2-4216-830d-c2c7c69a6947 | inst7 | ACTIVE | - | Running | fixed=192.168.123.17 |
| 3fe2d243-7d62-49fc-a70f-b80ec326325d | inst8 | ACTIVE | - | Running | fixed=192.168.123.13 |
| d799ec11-bf97-4481-b6fc-07e13e6ea338 | inst9 | ACTIVE | - | Running | fixed=192.168.123.18 |
+--------------------------------------+-------+--------+------------+-------------+----------------------+
Fix proposed to branch: master /review. openstack. org/534222
Review: https:/