unable to create default bucket from command line
I'm attempting to script the installation process in our environment and I'm running into some problems with the command line tools. I can successfully initialize the application, but it won't let me create the default bucket. I can create any other bucket but we're currently running our code against the default port so we need to figure this out. Any help?
I execute this...
/opt/membase/bin/cli/membase cluster-init -c 10.49.59.7 --cluster-init-username=Administrator --cluster-init-password=apasswd
which works fine. But then when I try to do this it fails...
[root@BUILD ~]# /opt/membase/bin/cli/membase bucket-create -c 10.49.59.7 -u Administrator -p apasswd --bucket=default --bucket-type=membase --bucket-port=11211 --bucket-ramsize=1638 --bucket-replica=1
ERROR: unable to bucket-create (400) Bad Request
ERROR: command: bucket-create: 10.49.59.7:8091, 2
What is the proper command line sequence to produce the same results as if I had clicked through the setup screens in a browser? I can't seem to figure it out. If I can't get it, I'm just going to write a curl script that hits the http interface.