cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5530) attempt to add secondary storage with the same name is ignored
Date Thu, 26 Dec 2013 21:01:50 GMT

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

ASF subversion and git services commented on CLOUDSTACK-5530:
-------------------------------------------------------------

Commit fead6706ff25f42b6185aa2c41856778f639cc76 in branch refs/heads/master from [~bharat.kumar]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=fead670 ]

CLOUDSTACK-5530 attempt to add secondary storage with the same name is ignored


> attempt to add secondary storage with the same name is ignored 
> ---------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5530
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5530
>             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: xenserver
> advanced zone
>            Reporter: Srikanteswararao Talluri
>            Assignee: Bharat Kumar
>            Priority: Critical
>             Fix For: 4.3.0
>
>
> 1. create a image store(secondary storage) with name 's'.
> 2. Try to add another secondary storage with same name.
> API doesn't fail but it ignores the addimagestore command. 
> DB just shows only one image store:
> mysql> select * from image_store;
> +----+------+---------------------+----------+-----------------------------------------------+----------------+-------+-------+--------------------------------------+--------------------------------------+---------------------+---------+------------+------------+
> | id | name | image_provider_name | protocol | url                                  
        | data_center_id | scope | role  | uuid                                 | parent 
                             | created             | removed | total_size | used_bytes |
> +----+------+---------------------+----------+-----------------------------------------------+----------------+-------+-------+--------------------------------------+--------------------------------------+---------------------+---------+------------+------------+
> |  1 | s    | NFS                 | nfs      | nfs://10.147.28.7/export/home/talluri/xen/sec
|              1 | ZONE  | Image | a03584ab-5858-437a-99cd-4627ff3d543b | 423a8ae9-3eed-3dcb-9463-b0866af4c4be
| 2013-12-16 17:54:12 | NULL    |       NULL |       NULL |
> +----+------+---------------------+----------+-----------------------------------------------+----------------+-------+-------+--------------------------------------+--------------------------------------+---------------------+---------+------------+------------+
> 1 row in set (0.00 sec)
> Management server log for second image store addition:
> ===START===  10.252.193.28 -- GET  command=addImageStore&response=json&sessionkey=tFtENjuwRWIixsebaImtLuJhOD4%3D&name=s&provider=NFS&zoneid=9fb59079-b686-47eb-8d58-faabc9e39e60&url=nfs%3A%2F%2F10.147.28.7%2Fexport%2Fhome%2Ftalluri%2Fxen%2Fsecb&_=1387288311423
> 2013-12-18 00:44:42,197 INFO  [o.a.c.s.d.l.CloudStackImageStoreLifeCycleImpl] (catalina-exec-7:ctx-6f9f0b38
ctx-c386ef69) Trying to add a new data store at nfs://10.147.28.7/export/home/talluri/xen/secb
to data center 2
> 2013-12-18 00:44:42,242 DEBUG [c.c.a.ApiServlet] (catalina-exec-7:ctx-6f9f0b38 ctx-c386ef69)
===END===  10.252.193.28 -- GET  command=addImageStore&response=json&sessionkey=tFtENjuwRWIixsebaImtLuJhOD4%3D&name=s&provider=NFS&zoneid=9fb59079-b686-47eb-8d58-faabc9e39e60&url=nfs%3A%2F%2F10.147.28.7%2Fexport%2Fhome%2Ftalluri%2Fxen%2Fsecb&_=1387288311423



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message