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/15 19:57:19 UTC

[jira] [Commented] (CLOUDSTACK-2505) Object_Store_Refactor- Adding s3 image store fails if optional parameters are not passed

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

Min Chen commented on CLOUDSTACK-2505:
--------------------------------------

Next time, please attach management server log to help us debugging. From this log, I cannot see what errors there are, only see the API fired. 
                
> Object_Store_Refactor- Adding s3 image store fails if optional parameters are not passed 
> -----------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2505
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2505
>             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 feature branch
>            Reporter: Sanjeev N
>            Assignee: Min Chen
>             Fix For: 4.2.0
>
>
> Object_Store_Refactor- Adding s3 image store fails if optional parameters are not passed 
> Steps to Reproduce:
> =================
> 1.While adding s3 as secondary storage don't pass optional arguments
> Expected Result:
> ==============
> Adding image store should succeed 
> Actual Result:
> ===========
> Failed to add image store with following error:
> Something went wrong; please correct the following:
> For input string: ""
> API being fired:
> 2013-05-15 08:08:26,058 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) ===START===  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=&details%5B4%5D.key=usehttps&details%5B4%5D.value=false&details%5B5%5D.key=connectiontimeout&details%5B5%5D.value=&details%5B6%5D.key=maxerrorretry&details%5B6%5D.value=&details%5B7%5D.key=sockettimeout&details%5B7%5D.value=&_=1368599994473
> 2013-05-15 08:08:26,100 INFO  [datastore.lifecycle.CloudStackImageStoreLifeCycleImpl] (catalina-exec-12:null) Trying to add a new host at nfs://10.147.28.7/export/home/sanjeev/sec_xen_os in data center 1
> 2013-05-15 08:08:26,107 INFO  [datastore.lifecycle.S3ImageStoreLifeCycleImpl] (catalina-exec-10:null) Trying to add a S3 store in data center null
> 2013-05-15 08:08:26,237 DEBUG [cloud.api.ApiServlet] (catalina-exec-12:null) ===END===  10.146.0.15 -- GET  command=createCacheStore&response=json&sessionkey=NWajIbj6m6eR9RDr5919OL3dqGA%3D&provider=NFS&zoneid=3ae5c4e1-9605-45a6-b797-6a3f28c113c1&url=nfs%3A%2F%2F10.147.28.7%2Fexport%2Fhome%2Fsanjeev%2Fsec_xen_os&_=1368599994478
> 2013-05-15 08:08:26,458 INFO  [cloud.api.ApiServer] (catalina-exec-10:null) For input string: ""
> 2013-05-15 08:08:26,460 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) ===END===  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=&details%5B4%5D.key=usehttps&details%5B4%5D.value=false&details%5B5%5D.key=connectiontimeout&details%5B5%5D.value=&details%5B6%5D.key=maxerrorretry&details%5B6%5D.value=&details%5B7%5D.key=sockettimeout&details%5B7%5D.value=&_=1368599994473
> If the optional parameter value is not specified blank values are being passed to api.

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