You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sanjeev N (JIRA)" <ji...@apache.org> on 2013/05/15 09:37:15 UTC

[jira] [Created] (CLOUDSTACK-2507) Object_Store_Refactor-listImageStores response gives two image stores even though only one image store was added

Sanjeev N created CLOUDSTACK-2507:
-------------------------------------

             Summary: Object_Store_Refactor-listImageStores response gives two image stores even though only one image store was added 
                 Key: CLOUDSTACK-2507
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2507
             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 branch
            Reporter: Sanjeev N
             Fix For: 4.2.0


Object_Store_Refactor-listImageStores response gives two image stores even though only one image store was added 

1.API fired to create image store:
2013-05-15 08:20:29,407 INFO  [cloud.api.ApiServer] (catalina-exec-21:null) (userId=2 accountId=2 sessionId=8485E1A6B00031D4172286329DCC02F4) 10.146.0.15 -- GET command=addImageStore&response=json&sessionkey=NWajIbj6m6eR9RDr5919OL3dqGA%3D&provider=S3&details%5B0%5D.key=accesskey&details%5B0%5D.value=GLSDOYWL06R-NTXGU_VM&details%5B1%5D.key=secretkey&details%5B1%5D.value=c9eS5SzPLfYkd-BetHKWhd-eSoYPWHjF6-xo4Q%3D%3D&details%5B2%5D.key=bucket&details%5B2%5D.value=s3%3A%2F%2Ftemplates&details%5B3%5D.key=endpoint&details%5B3%5D.value=10.147.29.56&details%5B4%5D.key=usehttps&details%5B4%5D.value=false&details%5B5%5D.key=connectiontimeout&details%5B5%5D.value=100&details%5B6%5D.key=maxerrorretry&details%5B6%5D.value=3&details%5B7%5D.key=sockettimeout&details%5B7%5D.value=100&_=1368600717344 200 { "addimagestoreresponse" :  { "secondarystorage" : {"id":"45128ea7-f30c-4c8f-8eec-75010369b2fb","name":"45128ea7-f30c-4c8f-8eec-75010369b2fb","protocol":"http","providername":"S3","scope":"REGION","details":[{"name":"connectiontimeout","value":"100"},{"name":"bucket","value":"s3://templates"},{"name":"usehttps","value":"false"},{"name":"sockettimeout","value":"100"},{"name":"endpoint","value":"10.147.29.56"},{"name":"secretkey","value":"c9eS5SzPLfYkd-BetHKWhd-eSoYPWHjF6-xo4Q=="},{"name":"accesskey","value":"GLSDOYWL06R-NTXGU_VM"},{"name":"maxerrorretry","value":"3"}]} }  }

2.listImageStore response:

{ "listimagestoreresponse" : { "count":2 ,"imagestore" : [  {"id":"45128ea7-f30c-4c8f-8eec-75010369b2fb","name":"45128ea7-f30c-4c8f-8eec-75010369b2fb","protocol":"http","providername":"S3","scope":"REGION","details":[{"name":"connectiontimeout","value":"100"},{"name":"bucket","value":"s3://templates"},{"name":"usehttps","value":"false"},{"name":"sockettimeout","value":"100"},{"name":"endpoint","value":"10.147.29.56"},{"name":"secretkey","value":"c9eS5SzPLfYkd-BetHKWhd-eSoYPWHjF6-xo4Q=="},{"name":"accesskey","value":"GLSDOYWL06R-NTXGU_VM"},{"name":"maxerrorretry","value":"3"}]}, {"id":"c3871a8f-4a0d-4c50-8230-ebc09b8c1d49","name":"c3871a8f-4a0d-4c50-8230-ebc09b8c1d49","protocol":"http","providername":"S3","scope":"REGION","details":[{"name":"connectiontimeout","value":""},{"name":"bucket","value":"s3://templates"},{"name":"usehttps","value":"false"},{"name":"sockettimeout","value":""},{"name":"endpoint","value":""},{"name":"secretkey","value":"c9eS5SzPLfYkd-BetHKWhd-eSoYPWHjF6-xo4Q=="},{"name":"accesskey","value":"GLSDOYWL06R-NTXGU_VM"},{"name":"maxerrorretry","value":""}]} ] } }

--
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