You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Nitin Mehta (JIRA)" <ji...@apache.org> on 2013/12/12 01:50:07 UTC

[jira] [Commented] (CLOUDSTACK-5283) Not able to list snapshots when few snapshots are in "CreatedOnPrimary" state.

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13845933#comment-13845933 ] 

Nitin Mehta commented on CLOUDSTACK-5283:
-----------------------------------------

Sangeetha - Do you have the logs for this ?

> 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
>            Assignee: Nitin Mehta
>            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.4#6159)