cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francois Gaudreault <fgaudrea...@cloudops.com>
Subject StorageManager-Scavenger tries to delete VMs that are no longer existing.
Date Tue, 06 Jan 2015 21:12:01 GMT
We had an issue last November when our storage repositories went a 
little crazy.

For some reason, 1 of the two SR was available so ACS tried to copy the 
running VMs to the available SR. Which is by the way a wrong approach 
when the source is not available... whatever.

Now I keep having these scavenger threads going with this message in the 
logs:
2015-01-06 15:47:46,287 DEBUG [c.c.a.m.ClusteredAgentAttache] 
(StorageManager-Scavenger-10:ctx-0a0112b5) Seq 1-3174756262319494428: 
Forwarding Seq 1-3174756262319494428:  { Cmd , MgmtId: 130589506760615, 
via: 1(cca-c7-xen01), Ver: v1, Flags: 100011, 
[{"org.apache.cloudstack.storage.command.DeleteCommand":{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"da40461c-a04f-4a67-8eb1-a7c8b69c4ff8","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"3e6146bb-0252-3336-89cd-6bfa10dbad7d","id":13,"poolType":"IscsiLUN",......

Output from the DB:
mysql> select pool_id, instance_id, name, state, created, removed from 
volumes where instance_id = 128;
+---------+-------------+----------+----------+---------------------+---------------------+
| pool_id | instance_id | name     | state    | created | 
removed             |
+---------+-------------+----------+----------+---------------------+---------------------+
|      13 |         128 | ROOT-128 | Destroy  | 2014-09-16 17:35:34 | 
NULL                |
|       7 |         128 | ROOT-128 | Expunged | 2014-11-13 17:38:05 | 
2014-11-13 18:01:25 |
|       7 |         128 | ROOT-128 | Destroy  | 2014-11-13 17:38:10 | 
NULL                |
|       7 |         128 | ROOT-128 | Destroy  | 2014-11-13 17:38:16 | 
NULL                |
|       7 |         128 | ROOT-128 | Destroy  | 2014-11-13 17:38:21 | 
NULL                |
|       7 |         128 | ROOT-128 | Destroy  | 2014-11-13 17:38:26 | 
NULL                |
|       7 |         128 | ROOT-128 | Destroy  | 2014-11-13 17:38:31 | 
NULL                |
+---------+-------------+----------+----------+---------------------+---------------------+

Should I just go and delete the first row?

-- 
Francois Gaudreault
Gestionnaire de Produit | Product Manager - Cloud Platform & Services
t:514-629-6775

CloudOps Votre partenaire infonuagique | Cloud Solutions Experts
420 rue Guy | Montreal | Quebec | H3J 1S6
w: cloudops.com | tw: @CloudOps_


Mime
View raw message