Activity log for bug #1721791

Date Who What changed Old value New value Message
2017-10-06 14:21:11 Andriy Kurilin bug added bug
2017-10-06 14:21:49 Andriy Kurilin description Listing of instances returns a limited number of resources. To list all instances, "marker" parameter can be used to list all the pages, i.e to obtain all the servers. results = [] marker = None while True: servers = list_server(marker) if not servers: break results.extend(servers) marker = results[-1].id Actually, novaclient implements the same logic for `limit=-1`. For some reasons, it stopped working. Listing instances starting from X instance returns a list of resources with X instance in it. Catched by the scenario when 2 VMs are created at almost the same time (<1sec between requests) in the same tenant by the same user, but with different names. Listing of instances returns a limited number of resources. To list all instances, "marker" parameter can be used to list all the pages, i.e to obtain all the servers. # novaclient implements the same logic for `limit=-1`.     results = []     marker = None     while True:          servers = list_server(marker)          if not servers:              break          results.extend(servers)          marker = results[-1].id For some reasons, it stopped working. Listing instances starting from X instance returns a list of resources with X instance in it. Caught by the scenario when 2 VMs are created at almost the same time (<1sec between requests) in the same tenant by the same user, but with different names.
2017-10-06 14:42:34 OpenStack Infra nova: status New In Progress
2017-10-06 14:42:34 OpenStack Infra nova: assignee Dan Smith (danms)
2017-10-07 01:19:05 Matt Riedemann nova: importance Undecided High
2017-10-07 01:19:11 Matt Riedemann tags api cells
2017-10-09 20:59:39 OpenStack Infra nova: status In Progress Fix Released