Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F2B0810F4F for ; Fri, 2 Aug 2013 12:41:49 +0000 (UTC) Received: (qmail 96009 invoked by uid 500); 2 Aug 2013 12:41:49 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 95863 invoked by uid 500); 2 Aug 2013 12:41:49 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 95852 invoked by uid 500); 2 Aug 2013 12:41:49 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 95848 invoked by uid 99); 2 Aug 2013 12:41:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Aug 2013 12:41:48 +0000 Date: Fri, 2 Aug 2013 12:41:48 +0000 (UTC) From: "Sanjeev N (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CLOUDSTACK-2505) Object_Store_Refactor- Adding s3 image store fails if optional parameters are not passed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sanjeev N closed CLOUDSTACK-2505. --------------------------------- Works fine. > 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: Jessica Wang > 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