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] [Created] (CLOUDSTACK-5283) Not able to list snapshots when few snapshots are in "CreatedOnPrimary" state.
Date Wed, 27 Nov 2013 03:00:35 GMT
Sangeetha Hariharan created CLOUDSTACK-5283:
-----------------------------------------------

             Summary: Not able to list snapshots when few snapshots are in "CreatedOnPrimary"
state.
                 Key: CLOUDSTACK-5283
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5283
             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 frpm 4.3.0
            Reporter: Sangeetha Hariharan
            Priority: Critical
             Fix For: 4.3.0


Not able to list snapshots when few snapshots are in "CreatedOnPrimary" state.

Deploy 10 Vms in each of the hosts , so we start with 20 Vms.
We will be constantly writing to the ROOT volume ( print timestamp every 1 minute).
Start concurrent snapshots for ROOT volumes for all the Vms by creating "Hourly" snapshot
policy at the same time.

Some of the snapshot creation fails , leaving behind Vms in "CreatedOnPrimary" state.

When listing snapshot , we see the following error message:

http://10.223.49.6:8080/client/api?command=listSnapshots&response=json&sessionkey=elVWw%2Bt7r%2BIn8qoB0bx2S5G43gE%3D&listAll=true&page=1&pagesize=20&_=1385520897726

Response:
"Unable to find info for image store snapshot with uuid '3e1d21b4-35bc-4e8b-91d2-8321b19d7bcf'"

mysql> select * from snapshots where uuid="3e1d21b4-35bc-4e8b-91d2-8321b19d7bcf";
+----+----------------+------------+-----------+-----------+------------------+------------------+------+-------------------------------------------------+--------------------------------------+---------------+------------------+-------------+---------------------+---------+----------------+----------+------------+--------------+-----------------+---------+-------+
| id | data_center_id | account_id | domain_id | volume_id | disk_offering_id | status   
       | path | name                                            | uuid                   
             | snapshot_type | type_description | size        | created             | removed
| backup_snap_id | swift_id | sechost_id | prev_snap_id | hypervisor_type | version | s3_id
|
+----+----------------+------------+-----------+-----------+------------------+------------------+------+-------------------------------------------------+--------------------------------------+---------------+------------------+-------------+---------------------+---------+----------------+----------+------------+--------------+-----------------+---------+-------+
| 26 |              1 |          3 |         1 |        26 |               14 | CreatedOnPrimary
| NULL | TestVM-tiny-host-1ps-0-5_ROOT-26_20131127004142 | 3e1d21b4-35bc-4e8b-91d2-8321b19d7bcf
|             3 | HOURLY           | 21474836480 | 2013-11-27 00:41:42 | NULL    | NULL  
        |     NULL |       NULL |         NULL | KVM             | 2.2     |  NULL |
+----+----------------+------------+-----------+-----------+------------------+------------------+------+-------------------------------------------------+--------------------------------------+---------------+------------------+-------------+---------------------+---------+----------------+----------+------------+--------------+-----------------+---------+-------+
1 row in set (0.00 sec)



mysql> select * from snapshot_store_ref where snapshot_id="3e1d21b4-35bc-4e8b-91d2-8321b19d7bcf";
Empty set, 1 warning (0.00 sec)








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

Mime
View raw message