Nova servers cleanup doesn't work for big number of servers in one tenant

Bug #1490940 reported by Andriy Kurilin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Medium
Andriy Kurilin

Bug Description

Nova API returns only limited number('osapi_max_limit' option in nova.conf) of servers. In case when number of servers is bigger that this limit, rally cleanup will leave "total number of servers in tenant" - 'osapi_max_limit' servers.

Tags: cleanup nova
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to rally (master)

Reviewed: https://review.openstack.org/217126
Committed: https://git.openstack.org/cgit/openstack/rally/commit/?id=720eff5472ea521a7366bdf53790b72bc47b92f3
Submitter: Jenkins
Branch: master

commit 720eff5472ea521a7366bdf53790b72bc47b92f3
Author: Andrey Kurilin <email address hidden>
Date: Wed Aug 26 15:59:47 2015 +0300

    Add specific list method for NovaServer res

    Nova API returns limited number of resources by one call. To clean all nova
    servers, we should:
    - list all pages(via marker option) [old novaclient].
    - use limit=-1 and novaclient will list all pages for us.

    Closes-Bug: #1490940
    Change-Id: Ic4d2852d9fd7602ac99b08654d2f99c52adf1cfe

Changed in rally:
status: In Progress → Fix Committed
Changed in rally:
milestone: none → 0.1.0
Changed in rally:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.