On Thu, Jun 19, 2014 at 5:07 PM, Sebastien Goasguen <run...@gmail.com> 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 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 > > Assuming there is no bug in the implementation of the API, can you check in ~/.cloudmonkey/log the actual URL that is sent to the management server. The args should be same in the log unless cloudmonkey is messing up the request URL. Next, you can debug in ApiServer (put a jdb watch on the line number I shared or simply put a print/log statement) what args are received by the mgmt server. Regards. > I am not sure if the arguments are right, has anyone done this before ? > > thanks, > > -sebastien