cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "edison su (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-2497) Object_Store_Refactor - Snapshots - Not able to delete snapshots.
Date Wed, 15 May 2013 16:59:15 GMT

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

edison su resolved CLOUDSTACK-2497.
-----------------------------------

    Resolution: Fixed

fixed in object_store
                
> Object_Store_Refactor - Snapshots - Not able to delete snapshots.
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2497
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2497
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: Build from object_store
>            Reporter: Sangeetha Hariharan
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Steps to reproduce the problem:
> Deploy a Vm.
> Take a snapshot of the root volume.
> Delete the snapshot.
> Snapshot deletion job reports success , but the snapshot itself is left in the DB in
"Error" state.
> Also the snapshots are not cleaned up from the secondary storage.
> mysql> select * from snapshots;
> +----+----------------+------------+-----------+-----------+------------------+----------+------+-----------------------------------+----------------------------
     ----------+---------------+------------------+-------------+---------------------+---------+----------------+----------+------------+--------------+-------------
     ----+---------+-------+
> | 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_t      ype | version | s3_id |
> +----+----------------+------------+-----------+-----------+------------------+----------+------+-----------------------------------+----------------------------
     ----------+---------------+------------------+-------------+---------------------+---------+----------------+----------+------------+--------------+-------------
     ----+---------+-------+
> |  1 |              1 |          2 |         1 |         5 |                1 | Error
   | NULL | test-2_ROOT-5_20130514161859      | d44ae73f-3cbd-49d3-8964-6c3      325c24286
|             0 | MANUAL           |  8589934592 | 2013-05-14 16:18:59 | NULL    | NULL  
        |     NULL |       NULL |         NULL | XenServer             | 2.2     |  NULL |
> |  2 |              1 |          2 |         1 |         5 |                1 | Error
   | NULL | test-2_ROOT-5_20130514162437      | c7bc851c-a7aa-4125-8d8e-f3d      70b807e2c
|             0 | MANUAL           |  8589934592 | 2013-05-14 16:24:37 | NULL    | NULL  
        |     NULL |       NULL |         NULL | XenServer             | 2.2     |  NULL |
> |  3 |              1 |          2 |         1 |        11 |                2 | BackedUp
| NULL | test-new-vm_ROOT-9_20130514234030 | 0824997f-8127-463b-b62e-cb4      1714ae0b8 |
            0 | MANUAL           | 21474836480 | 2013-05-14 23:40:30 | NULL    | NULL    
      |     NULL |       NULL |         NULL | XenServer             | 2.2     |  NULL |
> +----+----------------+------------+-----------+-----------+------------------+----------+------+-----------------------------------+----------------------------
     ----------+---------------+------------------+-------------+---------------------+---------+----------------+----------+------------+--------------+-------------
     ----+---------+-------+
> 3 rows in set (0.00 sec)
> mysql> select * from snapshot_store_ref;
> +----+----------+-------------+---------------------+--------------+--------+------------+------+---------------+--------------------+---------------------------
     --------------------------+-------+---------+--------------+---------------------+
> | id | store_id | snapshot_id | created             | last_updated | job_id | store_role
| size | physical_size | parent_snapshot_id | install_path                               
              | state | removed | update_count | updated             |
> +----+----------+-------------+---------------------+--------------+--------+------------+------+---------------+--------------------+---------------------------
     --------------------------+-------+---------+--------------+---------------------+
> |  1 |        1 |           1 | 2013-05-14 16:18:59 | NULL         | NULL   | Primary
   |    0 |             0 |                  0 | ae65ebf9-1c85-4ccc-bb91-3f      b3b9c5316b
               | Ready | NULL    |            2 | 2013-05-14 16:19:03 |
> |  2 |        1 |           1 | 2013-05-14 16:19:03 | NULL         | NULL   | Image 
    |    0 |             0 |                  0 | snapshots/2/1/29d8dd25-c22      1-4bbc-bc8b-b89d37e362de
 | Ready | NULL    |            2 | 2013-05-14 16:20:45 |
> |  3 |        1 |           2 | 2013-05-14 16:24:37 | NULL         | NULL   | Primary
   |    0 |             0 |                  0 | c58584dc-a294-4a80-a835-09      0a2504f474
               | Ready | NULL    |            2 | 2013-05-14 16:24:41 |
> |  4 |        1 |           2 | 2013-05-14 16:24:41 | NULL         | NULL   | Image 
    |    0 |             0 |                  0 | snapshots/2/2/76979672-c72      5-4b20-a517-eb8410205ef6
 | Ready | NULL    |            4 | 2013-05-14 16:55:53 |
> |  5 |        1 |           3 | 2013-05-14 23:40:30 | NULL         | NULL   | Primary
   |    0 |             0 |                  0 | 80a3f476-c3ce-421f-9502-a0      d87b87d0d1
               | Ready | NULL    |            2 | 2013-05-14 23:40:32 |
> |  6 |        1 |           3 | 2013-05-14 23:40:32 | NULL         | NULL   | Image 
    |    0 |             0 |                  0 | snapshots/2/11/e3386b08-b2      a2-4611-9500-0d7fabc32246
| Ready | NULL    |            2 | 2013-05-14 23:41:53 |
> +----+----------+-------------+---------------------+--------------+--------+------------+------+---------------+--------------------+---------------------------
     --------------------------+-------+---------+--------------+---------------------+
> 6 rows in set (0.00 sec)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message