You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Min Chen (JIRA)" <ji...@apache.org> on 2013/05/23 01:11:20 UTC
[jira] [Assigned] (CLOUDSTACK-2633) Object_Store_Refactor - Even
after a secondary store is deleted , it is being returned in the
listImageStores() API.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-2633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Min Chen reassigned CLOUDSTACK-2633:
------------------------------------
Assignee: Min Chen
> Object_Store_Refactor - Even after a secondary store is deleted , it is being returned in the listImageStores() API.
> --------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-2633
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2633
> 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
> Assignee: Min Chen
> Fix For: 4.2.0
>
>
> Object_Store_Refactor - Even after a secondary store is deleted , it is being returned in the listImageStores() API.
> Steps to reproduce the problem:
> Create couple of secondary storages.
> Delete 1 of them.
> Use listImageStores() command , to list all the secondary storages.
> The deleted secondary storage is listed
> http://10.223.57.194:8080/client/api?command=listImageStores&response=json&sessionkey=5LuVTJbq8L9whPX%2FrBchZgFpeGs%3D&type=SecondaryStorage&page=1&pageSize=20&listAll=true&_=1369263683503
> { "listimagestoreresponse" : { "count":3 ,"imagestore" : [ {"id":"c449842d-47e3-4694-aa6e-5e0ddc6890ab","zoneid":"9c88115b-ff6e-47af-9033-e592da1f395c","zonename":"zone1","name":"nfs://10.223.110.232/export/home/sangeetha/campo-systemp-1/secondary4","url":"nfs://10.223.110.232/export/home/sangeetha/campo-systemp-1/secondary4","protocol":"nfs","providername":"NFS","scope":"ZONE","details":[]}, {"id":"4a2f25c9-3ae0-4b8c-9e13-4a821d262df8","zoneid":"9c88115b-ff6e-47af-9033-e592da1f395c","zonename":"zone1","name":"nfs://10.223.110.232/export/home/sangeetha/campo-systemp-1/secondary1","url":"nfs://10.223.110.232/export/home/sangeetha/campo-systemp-1/secondary1","protocol":"nfs","providername":"NFS","scope":"ZONE","details":[]}, {"id":"4548f72a-3da4-4014-8330-80907a213fbc","zoneid":"9c88115b-ff6e-47af-9033-e592da1f395c","zonename":"zone1","name":"nfs://10.223.110.232/export/home/sangeetha/campo-systemp-1/secondary","url":"nfs://10.223.110.232/export/home/sangeetha/campo-systemp-1/secondary","protocol":"nfs","providername":"NFS","scope":"ZONE","details":[]} ] } }
> mysql> select * from image_store;
> +----+-----------------------------------------------------------------------+---------------------+----------+-----------------------------------------------------------------------+----------------+-------+-------+--------------------------------------+--------------------------------------+---------------------+---------------------+------------+
> | id | name | image_provider_name | protocol | url | data_center_id | scope | role | uuid | parent | created | removed | total_size |
> +----+-----------------------------------------------------------------------+---------------------+----------+-----------------------------------------------------------------------+----------------+-------+-------+--------------------------------------+--------------------------------------+---------------------+---------------------+------------+
> | 1 | nfs://10.223.110.232/export/home/sangeetha/campo-systemp-1/secondary | NFS | nfs | nfs://10.223.110.232/export/home/sangeetha/campo-systemp-1/secondary | 1 | ZONE | Image | 4548f72a-3da4-4014-8330-80907a213fbc | 6cbcf976-4416-3c80-8c9e-319590e1d160 | 2013-05-20 21:35:13 | NULL | NULL |
> | 2 | nfs://10.223.110.232/export/home/sangeetha/campo-systemp-1/secondary1 | NFS | nfs | nfs://10.223.110.232/export/home/sangeetha/campo-systemp-1/secondary1 | 1 | ZONE | Image | 4a2f25c9-3ae0-4b8c-9e13-4a821d262df8 | b5e999f3-0f10-3b01-a6d5-64dee8bf4820 | 2013-05-20 21:47:42 | 2013-05-22 20:13:08 | NULL |
> | 3 | nfs://10.223.110.232/export/home/sangeetha/campo-systemp-1/secondary4 | NFS | nfs | nfs://10.223.110.232/export/home/sangeetha/campo-systemp-1/secondary4 | 1 | ZONE | Image | c449842d-47e3-4694-aa6e-5e0ddc6890ab | ac7f749d-eb30-394b-8ef8-ab52dc2b5c7c | 2013-05-22 19:16:46 | 2013-05-22 19:52:03 | NULL |
> +----+-----------------------------------------------------------------------+---------------------+----------+-----------------------------------------------------------------------+----------------+-------+-------+--------------------------------------+--------------------------------------+---------------------+---------------------+------------+
> 3 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