ame = url;
>>> }
>>>...
>>>
>>> if (dcId == null) {
>>> throw new InvalidParameterValueException("DataCenter id is null,
>>> and simulator image store has to be associated with a data center");
>>> }
>>>
...
>>
>>if (dcId == null) {
>>throw new InvalidParameterValueException("DataCenter id is null,
>> and simulator image store has to be associated with a data center");
>>}
>>
>> So my non Java expertise te
There is an s3.cfg under setup/dev that might do the job for you:
commit c79b8270a8eeda0c2f594cc84736f62df79d52c1
Author: Prasanna Santhanam
Date: Tue Jul 16 22:53:29 2013 +0530
Adding a sample configuration for the s3 enabled store
This sample marvin configuration can be used to add
ator image store has to be associated with a data center");
> }
>
> So my non Java expertise tells me that dcId is null because zoneId is not set
> ???
>
>
> >
> >
> > -Original Message-
> > From: Sebastien Goasguen [mailto:run...@gmail.com]
>
me that dcId is null because zoneId is not set
???
>
>
> -Original Message-
> From: Sebastien Goasguen [mailto:run...@gmail.com]
> Sent: Monday, 23 June 2014 5:47 PM
> To: dev@cloudstack.apache.org
> Subject: Re: S3 use with simulator
>
>
> On Jun 23
]
Sent: Monday, 23 June 2014 5:47 PM
To: dev@cloudstack.apache.org
Subject: Re: S3 use with simulator
On Jun 23, 2014, at 7:14 AM, Koushik Das wrote:
> This is the request
>
> http://localhost:8096/api?command=updateCloudToUseObjectStore&url=http
> ://localhost:1234/test&n
etkey&details[1].value=dummy
Any chance you can try with a signed api request ?
It looks like it's not finding a zoneId …hence dcId is null….
>
>
> -Original Message-
> From: sebgoa [mailto:run...@gmail.com]
> Sent: Monday, 23 June 2014 4:40 PM
> To: dev@cloudstac
goa [mailto:run...@gmail.com]
Sent: Monday, 23 June 2014 4:40 PM
To: dev@cloudstack.apache.org
Subject: Re: S3 use with simulator
On Jun 23, 2014, at 12:51 PM, Koushik Das wrote:
> inline
>
> On 23-Jun-2014, at 4:05 PM, Sebastien Goasguen wrote:
>
>> Hi Koushik, thanks fo
c7bd 100644
>>> ---
>>> a/plugins/hypervisors/simulator/src/org/apache/cloudstack/storage/datastore/lifecycle/SimulatorImageStoreLifeCycleImpl.java
>>> +++
>>> b/plugins/hypervisors/simulator/src/org/apache/cloudstack/storage/datastore/lifecycle/SimulatorImageSto
; +++
>> b/plugins/hypervisors/simulator/src/org/apache/cloudstack/storage/datastore/lifecycle/SimulatorImageStoreLifeCycleImpl.java
>> @@ -133,7 +133,7 @@ public class SimulatorImageStoreLifeCycleImpl implements
>> ImageStoreLifeCycle {
>> */
>>@Override
>>
; }
>
> -Original Message-
> From: Min Chen [mailto:min.c...@citrix.com]
> Sent: Saturday, 21 June 2014 3:44 AM
> To: dev@cloudstack.apache.org
> Subject: Re: S3 use with simulator
>
> Got it. The error seems from simulator, maybe Koushik has better idea on
&g
che.org
Subject: Re: S3 use with simulator
Got it. The error seems from simulator, maybe Koushik has better idea on that.
I didn't use that on simulator env though.
Thanks
-min
On 6/20/14 11:05 AM, "Sebastien Goasguen" wrote:
>I already have an Nsf secondary storage. I un
l String S3_IMAGE = "S3";
>>>> static final String SWIFT_IMAGE = "Swift";
>>>> static final String SAMPLE_IMAGE = "Sample";
>>>> static final String SMB = "NFS";
>>>> static final String DEFAULT_PRIMARY =
gt; static final String SWIFT_IMAGE = "Swift";
>>> static final String SAMPLE_IMAGE = "Sample";
>>> static final String SMB = "NFS";
>>> static final String DEFAULT_PRIMARY = "DefaultPrimary";
>>>
>>> Try passi
final String SAMPLE_IMAGE = "Sample";
>>static final String SMB = "NFS";
>>static final String DEFAULT_PRIMARY = "DefaultPrimary";
>>
>> Try passing S3 in the provider.
>> BTW when you setup simulator the image provider is NFS.
&
tic final String SMB = "NFS";
>static final String DEFAULT_PRIMARY = "DefaultPrimary";
>
> Try passing S3 in the provider.
> BTW when you setup simulator the image provider is NFS.
>
> -Original Message-
> From: Sebastien Goasguen [mailto:run...@gmai
o:run...@gmail.com]
Sent: Thursday, 19 June 2014 5:08 PM
To: dev@cloudstack.apache.org
Subject: S3 use with simulator
Hi,
I am using the simulator and started a basic zone.
I have an S3 object store locally (riakCS), and I am trying to add it to the
infra using the 'clou
On Fri, Jun 20, 2014 at 3:33 PM, Sebastien Goasguen
wrote:
>
>
> Thanks Rohit,
>
> looks like cloudmonkey is doing its job:
>
> 2014-06-20 06:00:45,030 - requester.py:41 - [DEBUG] START Request
>
> 2014-06-20 06:00:45,032 - requester.py:41 - [DEBUG] Requesting
> command=updateClo
On Jun 20, 2014, at 5:59 AM, Rohit Yadav wrote:
> On Thu, Jun 19, 2014 at 5:07 PM, Sebastien Goasguen
> wrote:
>
>> Hi,
>>
>> I am using the simulator and started a basic zone.
>> I have an S3 object store locally (riakCS), and I am trying to add it to
>> the infra using the 'cloudtouseobject
On Thu, Jun 19, 2014 at 5:07 PM, Sebastien Goasguen
wrote:
> Hi,
>
> I am using the simulator and started a basic zone.
> I have an S3 object store locally (riakCS), and I am trying to add it to
> the infra using the 'cloudtouseobjectstore' api with cloudmonkey.
>
> I tried with:
>
> > update clo
Hi Sebastien,
If you see the help doc's example it suggests how you pass in the URL. So,
you replace & with space and you run the following for any API that
needs to receive map arguments:
clodumonkey update cloudtouseobjectstore details[0].key=accesskey
details[0].value=valuex details[1].key=key
Adding Min,
@Min, it looks like you wrote:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Migration+of+NFS+Secondary+Storage+to+Object+Store
Can you confirm that this api (updateCloudToObjectStore) can be tested using
the simulator and an external S3 store ?
Should this work on basic zon
Hi,
I am using the simulator and started a basic zone.
I have an S3 object store locally (riakCS), and I am trying to add it to the
infra using the 'cloudtouseobjectstore' api with cloudmonkey.
I tried with:
> update cloudtouseobjectstore url=http://localhost:9081/riak-cs name=riak
> provider=
23 matches
Mail list logo