Specify 'active' status for deleting situations
Specify 'active' status for deleting situations

The test creates 3 backups with the rotation 2 and checks that
2 backups exist with getting its image list. test_create_backup
fails sometimes due to the existence of 3 backups.

Glance v1 delete_image API changes an image's status to 'deleted'
then the deleted flag to 'true'. If getting a list between the
status change and the delete flag change, we can get a list including
the deleting backup also like the following:

{"images": [
  {"status": "deleted", "name": "backup-1-tempest-438772029",
   "deleted": false, ..},
  {"status": "active", "name": "backup-2-tempest-2111479443",
   "deleted": false, ..},

To avoid this situation, this patch adds the status 'active' to the
calls which get the backup list.

Change-Id: I59966534a8eb1430604cada1f64b8c8df46a5f17
Closes-Bug: #1267326

manasi24/jiocloud-tempest-qatempest,pandeyop/tempest,xbezdick/tempest,rzarzynski/tempest,bigswitch/tempest,hayderimran7/tempest,jaspreetw/tempest,openstack/tempest,zsoltdudas/lis-tempest,vedujoshi/os_tempest,flyingfish007/tempest,LIS/lis-tempest,Juraci/tempest,manasi24/tempest,alinbalutoiu/tempest,eggmaster/tempest,varunarya10/tempest,rakeshmi/tempest,vedujoshi/os_tempest,danielmellado/tempest,eggmaster/tempest,CiscoSystems/tempest,ntymtsiv/tempest,manasi24/jiocloud-tempest-qatempest,JioCloud/tempest,masayukig/tempest,manasi24/tempest,vedujoshi/tempest,FujitsuEnablingSoftwareTechnologyGmbH/tempest,alinbalutoiu/tempest,yamt/tempest,izadorozhna/tempest,Vaidyanath/tempest,flyingfish007/tempest,akash1808/tempest,vmahuli/tempest,JioCloud/tempest,varunarya10/tempest,tudorvio/tempest,pczerkas/tempest,tudorvio/tempest,ntymtsiv/tempest,yamt/tempest,Lilywei123/tempest,masayukig/tempest,cloudbase/lis-tempest,redhat-cip/tempest,izadorozhna/tempest,akash1808/tempest,jamielennox/tempest,FujitsuEnablingSoftwareTechnologyGmbH/tempest,NexusIS/tempest,Lilywei123/tempest,LIS/lis-tempest,neerja28/Tempest,xbezdick/tempest,jamielennox/tempest,cloudbase/lis-tempest,dkalashnik/tempest,hpcloud-mon/tempest,vmahuli/tempest,tonyli71/tempest,zsoltdudas/lis-tempest,hpcloud-mon/tempest,openstack/tempest,pandeyop/tempest,hayderimran7/tempest,Tesora/tesora-tempest,queria/my-tempest,afaheem88/tempest,tonyli71/tempest,sebrandon1/tempest,cisco-openstack/tempest,NexusIS/tempest,nunogt/tempest,cisco-openstack/tempest,dkalashnik/tempest,Tesora/tesora-tempest,Juniper/tempest,roopali8/tempest,rzarzynski/tempest,jaspreetw/tempest,neerja28/Tempest,queria/my-tempest,roopali8/tempest,danielmellado/tempest,afaheem88/tempest,nunogt/tempest,afaheem88/tempest_neutron,bigswitch/tempest,vedujoshi/tempest,rakeshmi/tempest,Juraci/tempest,pczerkas/tempest,Mirantis/tempest,ebagdasa/tempest,Mirantis/tempest,CiscoSystems/tempest,redhat-cip/tempest,ebagdasa/tempest,Vaidyanath/tempest,sebrandon1/tempest,afaheem88/tempest_neutron,Juniper/tempest