cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangeetha Hariharan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-5264) Xenserver - Full Snapshots are not being created even after snapshot.delta.max is exceeded
Date Mon, 25 Nov 2013 22:48:38 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-5264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sangeetha Hariharan updated CLOUDSTACK-5264:
--------------------------------------------

    Description: 
Snapshots are not being created even after snapshot.delta.max is exceeded.

Set up - Advanced zone with 2 Xenserver 6.2 hosts
Deploy 10 Vms in each of the hosts , so we start with 20 Vms.
We are constantly writing to the ROOT volume ( print timestamp every 1 minute).
Start concurrent snapshots for ROOT volumes for all the Vms.

Even after 16 snapshots have been created for the ROOT volumes , subsequent snapshot is still
not a FULL snapshot. They continue to be delta snapshot.

mysql> select snapshot_id, parent_snapshot_id,install_path,store_id,store_role from snapshot_store_ref
where volume_id=89;
+-------------+--------------------+-----------------------------------------------------+----------+------------+
| snapshot_id | parent_snapshot_id | install_path                                        |
store_id | store_role |
+-------------+--------------------+-----------------------------------------------------+----------+------------+
|          23 |                  0 | snapshots/9/89/8546a63f-dc01-4348-babc-c34c138579c7 |
       1 | Image      |
|          45 |                 23 | snapshots/9/89/9d1404ca-c97e-4f6b-a1a4-3bb5fb1d3900 |
       1 | Image      |
|         105 |                 45 | snapshots/9/89/0323b0cb-446e-4550-a443-d135c4a960b8 |
       1 | Image      |
|         126 |                105 | snapshots/9/89/e440d533-c5cf-464c-940a-505d5b0108c4 |
       1 | Image      |
|         148 |                126 | snapshots/9/89/53f884fb-cd9c-4c35-bcf1-b90f3ce0ea5f |
       1 | Image      |
|         170 |                148 | snapshots/9/89/8ad156ad-e63f-44e1-a8ad-7bcc8acd0b26 |
       1 | Image      |
|         192 |                170 | snapshots/9/89/2781b5af-7c92-482c-8775-f331c7df9b2b |
       1 | Image      |
|         214 |                192 | snapshots/9/89/a2c06f0c-92e4-41b2-a4cb-7d1675146111 |
       1 | Image      |
|         236 |                214 | snapshots/9/89/3bd9fe33-ce59-4148-825f-f9e75e56d088 |
       1 | Image      |
|         258 |                236 | snapshots/9/89/ab414c2b-ed16-4ee2-b3f8-d17b5075fe8d |
       1 | Image      |
|         280 |                258 | snapshots/9/89/cdd97481-d32d-4350-aaae-0a2132c2d934 |
       1 | Image      |
|         302 |                280 | snapshots/9/89/1d82a5a0-1a75-44f3-8a27-dffcf1127b62 |
       1 | Image      |
|         324 |                302 | snapshots/9/89/061043e7-9c22-404c-88e5-183ab4590f5e |
       1 | Image      |
|         346 |                324 | snapshots/9/89/f82e0d43-e83b-493b-b953-6f06a94a369b |
       1 | Image      |
|         368 |                346 | snapshots/9/89/6c0065ad-9fc0-4ce6-957c-0475153c2ed4 |
       1 | Image      |
|         390 |                368 | snapshots/9/89/4399cb51-78a0-4e95-8fc5-8fe2e9e3aa9a |
       1 | Image      |
|         412 |                390 | snapshots/9/89/dd295bd3-1fab-44ad-820e-67a037c828c7 |
       1 | Image      |
|         434 |                412 | snapshots/9/89/afc0ed83-24d5-4373-8e0d-2047d965f1b2 |
       1 | Image      |
|         456 |                434 | snapshots/9/89/88ffc423-a8c6-49c1-8eba-5a000091e80c |
       1 | Image      |
|         478 |                  0 | 513340d8-d788-4f80-99d4-e8331ce97818                |
       1 | Primary    |
|         478 |                456 | snapshots/9/89/53d67b21-e6b9-4382-a41e-7c18a7605af0 |
       1 | Image      |
+-------------+--------------------+-----------------------------------------------------+----------+------------+
21 rows in set (0.00 sec)


In secondary store:
-rw-r--r-- 1 root root 7186309632 Nov 22 15:42 8546a63f-dc01-4348-babc-c34c138579c7.vhd
-rw-r--r-- 1 root root  155537920 Nov 22 16:36 9d1404ca-c97e-4f6b-a1a4-3bb5fb1d3900.vhd
-rw-r--r-- 1 root root  229081600 Nov 24 18:52 0323b0cb-446e-4550-a443-d135c4a960b8.vhd
-rw-r--r-- 1 root root   75690496 Nov 24 19:35 e440d533-c5cf-464c-940a-505d5b0108c4.vhd
-rw-r--r-- 1 root root   81994240 Nov 24 20:35 53f884fb-cd9c-4c35-bcf1-b90f3ce0ea5f.vhd
-rw-r--r-- 1 root root   81994240 Nov 24 21:35 8ad156ad-e63f-44e1-a8ad-7bcc8acd0b26.vhd
-rw-r--r-- 1 root root   79892992 Nov 24 22:35 2781b5af-7c92-482c-8775-f331c7df9b2b.vhd
-rw-r--r-- 1 root root   75690496 Nov 24 23:35 a2c06f0c-92e4-41b2-a4cb-7d1675146111.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 00:35 3bd9fe33-ce59-4148-825f-f9e75e56d088.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 01:35 ab414c2b-ed16-4ee2-b3f8-d17b5075fe8d.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 02:35 cdd97481-d32d-4350-aaae-0a2132c2d934.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 03:35 1d82a5a0-1a75-44f3-8a27-dffcf1127b62.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 04:35 061043e7-9c22-404c-88e5-183ab4590f5e.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 05:35 f82e0d43-e83b-493b-b953-6f06a94a369b.vhd
-rw-r--r-- 1 root root   84095488 Nov 25 06:35 6c0065ad-9fc0-4ce6-957c-0475153c2ed4.vhd
-rw-r--r-- 1 root root   79892992 Nov 25 07:35 4399cb51-78a0-4e95-8fc5-8fe2e9e3aa9a.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 08:35 dd295bd3-1fab-44ad-820e-67a037c828c7.vhd
-rw-r--r-- 1 root root   79892992 Nov 25 09:35 afc0ed83-24d5-4373-8e0d-2047d965f1b2.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 10:35 88ffc423-a8c6-49c1-8eba-5a000091e80c.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 11:35 53d67b21-e6b9-4382-a41e-7c18a7605af0.vhd
[root@nfs3 89]#

In primary store:
rw-r--r-- 1 root root  46K Nov 25 14:18 eca900e8-f5bf-4f45-868c-53563964261e.vhd


  was:
Snapshots are not being created even after snapshot.delta.max is exceeded.

Set up - Advanced zone with 2 Xenserver 6.2 hosts
Deploy 10 Vms in each of the hosts , so we start with 20 Vms.
We are constantly writing to the ROOT volume ( print timestamp every 1 minute).
Start concurrent snapshots for ROOT volumes for all the Vms.

Even after 16 snapshots have been created for the ROOT volumes , subsequent snapshot is still
not a FULL snapshot. They continue to be delta snapshot.

mysql> select snapshot_id, parent_snapshot_id,install_path,store_id,store_role from snapshot_store_ref
where volume_id=89;
+-------------+--------------------+-----------------------------------------------------+----------+------------+
| snapshot_id | parent_snapshot_id | install_path                                        |
store_id | store_role |
+-------------+--------------------+-----------------------------------------------------+----------+------------+
|          23 |                  0 | snapshots/9/89/8546a63f-dc01-4348-babc-c34c138579c7 |
       1 | Image      |
|          45 |                 23 | snapshots/9/89/9d1404ca-c97e-4f6b-a1a4-3bb5fb1d3900 |
       1 | Image      |
|         105 |                 45 | snapshots/9/89/0323b0cb-446e-4550-a443-d135c4a960b8 |
       1 | Image      |
|         126 |                105 | snapshots/9/89/e440d533-c5cf-464c-940a-505d5b0108c4 |
       1 | Image      |
|         148 |                126 | snapshots/9/89/53f884fb-cd9c-4c35-bcf1-b90f3ce0ea5f |
       1 | Image      |
|         170 |                148 | snapshots/9/89/8ad156ad-e63f-44e1-a8ad-7bcc8acd0b26 |
       1 | Image      |
|         192 |                170 | snapshots/9/89/2781b5af-7c92-482c-8775-f331c7df9b2b |
       1 | Image      |
|         214 |                192 | snapshots/9/89/a2c06f0c-92e4-41b2-a4cb-7d1675146111 |
       1 | Image      |
|         236 |                214 | snapshots/9/89/3bd9fe33-ce59-4148-825f-f9e75e56d088 |
       1 | Image      |
|         258 |                236 | snapshots/9/89/ab414c2b-ed16-4ee2-b3f8-d17b5075fe8d |
       1 | Image      |
|         280 |                258 | snapshots/9/89/cdd97481-d32d-4350-aaae-0a2132c2d934 |
       1 | Image      |
|         302 |                280 | snapshots/9/89/1d82a5a0-1a75-44f3-8a27-dffcf1127b62 |
       1 | Image      |
|         324 |                302 | snapshots/9/89/061043e7-9c22-404c-88e5-183ab4590f5e |
       1 | Image      |
|         346 |                324 | snapshots/9/89/f82e0d43-e83b-493b-b953-6f06a94a369b |
       1 | Image      |
|         368 |                346 | snapshots/9/89/6c0065ad-9fc0-4ce6-957c-0475153c2ed4 |
       1 | Image      |
|         390 |                368 | snapshots/9/89/4399cb51-78a0-4e95-8fc5-8fe2e9e3aa9a |
       1 | Image      |
|         412 |                390 | snapshots/9/89/dd295bd3-1fab-44ad-820e-67a037c828c7 |
       1 | Image      |
|         434 |                412 | snapshots/9/89/afc0ed83-24d5-4373-8e0d-2047d965f1b2 |
       1 | Image      |
|         456 |                434 | snapshots/9/89/88ffc423-a8c6-49c1-8eba-5a000091e80c |
       1 | Image      |
|         478 |                  0 | 513340d8-d788-4f80-99d4-e8331ce97818                |
       1 | Primary    |
|         478 |                456 | snapshots/9/89/53d67b21-e6b9-4382-a41e-7c18a7605af0 |
       1 | Image      |
+-------------+--------------------+-----------------------------------------------------+----------+------------+
21 rows in set (0.00 sec)


In secondary store:
-rw-r--r-- 1 root root 7186309632 Nov 22 15:42 8546a63f-dc01-4348-babc-c34c138579c7.vhd
-rw-r--r-- 1 root root  155537920 Nov 22 16:36 9d1404ca-c97e-4f6b-a1a4-3bb5fb1d3900.vhd
-rw-r--r-- 1 root root  229081600 Nov 24 18:52 0323b0cb-446e-4550-a443-d135c4a960b8.vhd
-rw-r--r-- 1 root root   75690496 Nov 24 19:35 e440d533-c5cf-464c-940a-505d5b0108c4.vhd
-rw-r--r-- 1 root root   81994240 Nov 24 20:35 53f884fb-cd9c-4c35-bcf1-b90f3ce0ea5f.vhd
-rw-r--r-- 1 root root   81994240 Nov 24 21:35 8ad156ad-e63f-44e1-a8ad-7bcc8acd0b26.vhd
-rw-r--r-- 1 root root   79892992 Nov 24 22:35 2781b5af-7c92-482c-8775-f331c7df9b2b.vhd
-rw-r--r-- 1 root root   75690496 Nov 24 23:35 a2c06f0c-92e4-41b2-a4cb-7d1675146111.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 00:35 3bd9fe33-ce59-4148-825f-f9e75e56d088.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 01:35 ab414c2b-ed16-4ee2-b3f8-d17b5075fe8d.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 02:35 cdd97481-d32d-4350-aaae-0a2132c2d934.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 03:35 1d82a5a0-1a75-44f3-8a27-dffcf1127b62.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 04:35 061043e7-9c22-404c-88e5-183ab4590f5e.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 05:35 f82e0d43-e83b-493b-b953-6f06a94a369b.vhd
-rw-r--r-- 1 root root   84095488 Nov 25 06:35 6c0065ad-9fc0-4ce6-957c-0475153c2ed4.vhd
-rw-r--r-- 1 root root   79892992 Nov 25 07:35 4399cb51-78a0-4e95-8fc5-8fe2e9e3aa9a.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 08:35 dd295bd3-1fab-44ad-820e-67a037c828c7.vhd
-rw-r--r-- 1 root root   79892992 Nov 25 09:35 afc0ed83-24d5-4373-8e0d-2047d965f1b2.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 10:35 88ffc423-a8c6-49c1-8eba-5a000091e80c.vhd
-rw-r--r-- 1 root root   81994240 Nov 25 11:35 53d67b21-e6b9-4382-a41e-7c18a7605af0.vhd
[root@nfs3 89]#



> Xenserver - Full Snapshots are not being created even after snapshot.delta.max is exceeded
> ------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5264
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5264
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0
>         Environment: Build from 4.3
>            Reporter: Sangeetha Hariharan
>            Priority: Blocker
>             Fix For: 4.3.0
>
>
> Snapshots are not being created even after snapshot.delta.max is exceeded.
> Set up - Advanced zone with 2 Xenserver 6.2 hosts
> Deploy 10 Vms in each of the hosts , so we start with 20 Vms.
> We are constantly writing to the ROOT volume ( print timestamp every 1 minute).
> Start concurrent snapshots for ROOT volumes for all the Vms.
> Even after 16 snapshots have been created for the ROOT volumes , subsequent snapshot
is still not a FULL snapshot. They continue to be delta snapshot.
> mysql> select snapshot_id, parent_snapshot_id,install_path,store_id,store_role from
snapshot_store_ref where volume_id=89;
> +-------------+--------------------+-----------------------------------------------------+----------+------------+
> | snapshot_id | parent_snapshot_id | install_path                                   
    | store_id | store_role |
> +-------------+--------------------+-----------------------------------------------------+----------+------------+
> |          23 |                  0 | snapshots/9/89/8546a63f-dc01-4348-babc-c34c138579c7
|        1 | Image      |
> |          45 |                 23 | snapshots/9/89/9d1404ca-c97e-4f6b-a1a4-3bb5fb1d3900
|        1 | Image      |
> |         105 |                 45 | snapshots/9/89/0323b0cb-446e-4550-a443-d135c4a960b8
|        1 | Image      |
> |         126 |                105 | snapshots/9/89/e440d533-c5cf-464c-940a-505d5b0108c4
|        1 | Image      |
> |         148 |                126 | snapshots/9/89/53f884fb-cd9c-4c35-bcf1-b90f3ce0ea5f
|        1 | Image      |
> |         170 |                148 | snapshots/9/89/8ad156ad-e63f-44e1-a8ad-7bcc8acd0b26
|        1 | Image      |
> |         192 |                170 | snapshots/9/89/2781b5af-7c92-482c-8775-f331c7df9b2b
|        1 | Image      |
> |         214 |                192 | snapshots/9/89/a2c06f0c-92e4-41b2-a4cb-7d1675146111
|        1 | Image      |
> |         236 |                214 | snapshots/9/89/3bd9fe33-ce59-4148-825f-f9e75e56d088
|        1 | Image      |
> |         258 |                236 | snapshots/9/89/ab414c2b-ed16-4ee2-b3f8-d17b5075fe8d
|        1 | Image      |
> |         280 |                258 | snapshots/9/89/cdd97481-d32d-4350-aaae-0a2132c2d934
|        1 | Image      |
> |         302 |                280 | snapshots/9/89/1d82a5a0-1a75-44f3-8a27-dffcf1127b62
|        1 | Image      |
> |         324 |                302 | snapshots/9/89/061043e7-9c22-404c-88e5-183ab4590f5e
|        1 | Image      |
> |         346 |                324 | snapshots/9/89/f82e0d43-e83b-493b-b953-6f06a94a369b
|        1 | Image      |
> |         368 |                346 | snapshots/9/89/6c0065ad-9fc0-4ce6-957c-0475153c2ed4
|        1 | Image      |
> |         390 |                368 | snapshots/9/89/4399cb51-78a0-4e95-8fc5-8fe2e9e3aa9a
|        1 | Image      |
> |         412 |                390 | snapshots/9/89/dd295bd3-1fab-44ad-820e-67a037c828c7
|        1 | Image      |
> |         434 |                412 | snapshots/9/89/afc0ed83-24d5-4373-8e0d-2047d965f1b2
|        1 | Image      |
> |         456 |                434 | snapshots/9/89/88ffc423-a8c6-49c1-8eba-5a000091e80c
|        1 | Image      |
> |         478 |                  0 | 513340d8-d788-4f80-99d4-e8331ce97818           
    |        1 | Primary    |
> |         478 |                456 | snapshots/9/89/53d67b21-e6b9-4382-a41e-7c18a7605af0
|        1 | Image      |
> +-------------+--------------------+-----------------------------------------------------+----------+------------+
> 21 rows in set (0.00 sec)
> In secondary store:
> -rw-r--r-- 1 root root 7186309632 Nov 22 15:42 8546a63f-dc01-4348-babc-c34c138579c7.vhd
> -rw-r--r-- 1 root root  155537920 Nov 22 16:36 9d1404ca-c97e-4f6b-a1a4-3bb5fb1d3900.vhd
> -rw-r--r-- 1 root root  229081600 Nov 24 18:52 0323b0cb-446e-4550-a443-d135c4a960b8.vhd
> -rw-r--r-- 1 root root   75690496 Nov 24 19:35 e440d533-c5cf-464c-940a-505d5b0108c4.vhd
> -rw-r--r-- 1 root root   81994240 Nov 24 20:35 53f884fb-cd9c-4c35-bcf1-b90f3ce0ea5f.vhd
> -rw-r--r-- 1 root root   81994240 Nov 24 21:35 8ad156ad-e63f-44e1-a8ad-7bcc8acd0b26.vhd
> -rw-r--r-- 1 root root   79892992 Nov 24 22:35 2781b5af-7c92-482c-8775-f331c7df9b2b.vhd
> -rw-r--r-- 1 root root   75690496 Nov 24 23:35 a2c06f0c-92e4-41b2-a4cb-7d1675146111.vhd
> -rw-r--r-- 1 root root   81994240 Nov 25 00:35 3bd9fe33-ce59-4148-825f-f9e75e56d088.vhd
> -rw-r--r-- 1 root root   81994240 Nov 25 01:35 ab414c2b-ed16-4ee2-b3f8-d17b5075fe8d.vhd
> -rw-r--r-- 1 root root   81994240 Nov 25 02:35 cdd97481-d32d-4350-aaae-0a2132c2d934.vhd
> -rw-r--r-- 1 root root   81994240 Nov 25 03:35 1d82a5a0-1a75-44f3-8a27-dffcf1127b62.vhd
> -rw-r--r-- 1 root root   81994240 Nov 25 04:35 061043e7-9c22-404c-88e5-183ab4590f5e.vhd
> -rw-r--r-- 1 root root   81994240 Nov 25 05:35 f82e0d43-e83b-493b-b953-6f06a94a369b.vhd
> -rw-r--r-- 1 root root   84095488 Nov 25 06:35 6c0065ad-9fc0-4ce6-957c-0475153c2ed4.vhd
> -rw-r--r-- 1 root root   79892992 Nov 25 07:35 4399cb51-78a0-4e95-8fc5-8fe2e9e3aa9a.vhd
> -rw-r--r-- 1 root root   81994240 Nov 25 08:35 dd295bd3-1fab-44ad-820e-67a037c828c7.vhd
> -rw-r--r-- 1 root root   79892992 Nov 25 09:35 afc0ed83-24d5-4373-8e0d-2047d965f1b2.vhd
> -rw-r--r-- 1 root root   81994240 Nov 25 10:35 88ffc423-a8c6-49c1-8eba-5a000091e80c.vhd
> -rw-r--r-- 1 root root   81994240 Nov 25 11:35 53d67b21-e6b9-4382-a41e-7c18a7605af0.vhd
> [root@nfs3 89]#
> In primary store:
> rw-r--r-- 1 root root  46K Nov 25 14:18 eca900e8-f5bf-4f45-868c-53563964261e.vhd



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message