As per the code the following are the supported image store provider types
// constants for provider names
static final String NFS_IMAGE = "NFS";
static final 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 = "DefaultPrimary";
Try passing S3 in the provider.
BTW when you setup simulator the image provider is NFS.
-----Original Message-----
From: Sebastien Goasguen [mailto:[email protected]]
Sent: Thursday, 19 June 2014 5:08 PM
To: [email protected]
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 'cloudtouseobjectstore' api with cloudmonkey.
I tried with:
> update cloudtouseobjectstore url=http://localhost:9081/riak-cs name=riak
> provider=riakcs
> details[0].key=accesskey&details[0].value=STU6Z-ZMK1TPMDAXL9I1&details[1].key=secretkey&details[1].value=8OuY3mHDXihu0Tdb2aVJ4vuYZLBAl5Z7NiWKsg==
530: Failed to add data store: DataCenter id is null, and simulator image store
has to be associated with a data center
I am not sure if the arguments are right, has anyone done this before ?
thanks,
-sebastien