{"action":"created","issue":{"url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/issues/709","repository_url":"https://api.github.com/repos/couchbaselabs/mobile-testkit","labels_url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/issues/709/labels{/name}","comments_url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/issues/709/comments","events_url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/issues/709/events","html_url":"https://github.com/couchbaselabs/mobile-testkit/issues/709","id":180217863,"number":709,"title":"Provisioning error 400 Client Error: Bad Request for url:","user":{"login":"tleyden","id":296876,"avatar_url":"https://avatars.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-30T04:32:32Z","updated_at":"2016-09-30T04:48:47Z","closed_at":null,"body":"\r\nThis is on the strip-robot branch .. provisioning on AWS via:\r\n\r\n```\r\npython libraries/provision/provision_cluster.py --server-version 4.5.0 --sync-gateway-version 1.3.1-16\r\n```\r\n\r\nGetting error:\r\n\r\n```\r\n>>> Waiting for server to be in 'healthy' state\r\n{u'load_generators': [{u'ip': u'ec2-54-166-60-190.compute-1.amazonaws.com', u'name': u'lg1'}], u'couchbase_servers': [{u'ip': u'ec2-54-172-168-29.compute-1.amazonaws.com', u'name': u'cb1'}, {u'ip': u'ec2-54-174-108-179.compute-1.amazonaws.com', u'name': u'cb2'}, {u'ip': u'ec2-54-165-178-169.compute-1.amazonaws.com', u'name': u'cb3'}], u'sync_gateways': [{u'ip': u'ec2-54-164-42-81.compute-1.amazonaws.com', u'name': u'sg1'}, {u'ip': u'ec2-54-172-68-104.compute-1.amazonaws.com', u'name': u'sg2'}, {u'ip': u'ec2-54-172-10-45.compute-1.amazonaws.com', u'name': u'sg3'}], u'hosts': [{u'ip': u'ec2-54-172-168-29.compute-1.amazonaws.com', u'name': u'host1'}, {u'ip': u'ec2-54-174-108-179.compute-1.amazonaws.com', u'name': u'host2'}, {u'ip': u'ec2-54-165-178-169.compute-1.amazonaws.com', u'name': u'host3'}, {u'ip': u'ec2-54-164-42-81.compute-1.amazonaws.com', u'name': u'host4'}, {u'ip': u'ec2-54-172-68-104.compute-1.amazonaws.com', u'name': u'host5'}, {u'ip': u'ec2-54-172-10-45.compute-1.amazonaws.com', u'name': u'host6'}, {u'ip': u'ec2-52-91-248-42.compute-1.amazonaws.com', u'name': u'host7'}, {u'ip': u'ec2-54-166-60-190.compute-1.amazonaws.com', u'name': u'host8'}], u'load_balancers': [], u'sg_accels': [{u'ip': u'ec2-52-91-248-42.compute-1.amazonaws.com', u'name': u'ac1'}]}\r\nGET http://ec2-54-172-168-29.compute-1.amazonaws.com:8091/pools/nodes 200\r\nAll nodes are healthy\r\nInstalling Sync Gateway\r\n\r\n  sync_gateway configuration\r\n  ------------------------------------------\r\n  version:          1.3.1\r\n  build number:     16\r\n  commit:           None\r\n  config path:      /Users/tleyden/Development/mobile-testkit/resources/sync_gateway_configs/sync_gateway_default.json\r\n  build flags:\r\n  skip bucketcreation: False\r\n\r\n{u'load_generators': [{u'ip': u'ec2-54-166-60-190.compute-1.amazonaws.com', u'name': u'lg1'}], u'couchbase_servers': [{u'ip': u'ec2-54-172-168-29.compute-1.amazonaws.com', u'name': u'cb1'}, {u'ip': u'ec2-54-174-108-179.compute-1.amazonaws.com', u'name': u'cb2'}, {u'ip': u'ec2-54-165-178-169.compute-1.amazonaws.com', u'name': u'cb3'}], u'sync_gateways': [{u'ip': u'ec2-54-164-42-81.compute-1.amazonaws.com', u'name': u'sg1'}, {u'ip': u'ec2-54-172-68-104.compute-1.amazonaws.com', u'name': u'sg2'}, {u'ip': u'ec2-54-172-10-45.compute-1.amazonaws.com', u'name': u'sg3'}], u'hosts': [{u'ip': u'ec2-54-172-168-29.compute-1.amazonaws.com', u'name': u'host1'}, {u'ip': u'ec2-54-174-108-179.compute-1.amazonaws.com', u'name': u'host2'}, {u'ip': u'ec2-54-165-178-169.compute-1.amazonaws.com', u'name': u'host3'}, {u'ip': u'ec2-54-164-42-81.compute-1.amazonaws.com', u'name': u'host4'}, {u'ip': u'ec2-54-172-68-104.compute-1.amazonaws.com', u'name': u'host5'}, {u'ip': u'ec2-54-172-10-45.compute-1.amazonaws.com', u'name': u'host6'}, {u'ip': u'ec2-52-91-248-42.compute-1.amazonaws.com', u'name': u'host7'}, {u'ip': u'ec2-54-166-60-190.compute-1.amazonaws.com', u'name': u'host8'}], u'load_balancers': [], u'sg_accels': [{u'ip': u'ec2-52-91-248-42.compute-1.amazonaws.com', u'name': u'ac1'}]}\r\nGET http://ec2-54-172-168-29.compute-1.amazonaws.com:8091/pools/default/buckets 200\r\nExisting buckets: []\r\nDeleting buckets: []\r\nCreating buckets: [u'data-bucket', u'index-bucket']\r\ntotal_avail_ram_mb: 0 effective_avail_ram_mb: -512 effective_avail_ram_mb: -512\r\nCreate bucket data-bucket with per_bucket_ram_mb -256\r\nPOST http://ec2-54-172-168-29.compute-1.amazonaws.com:8091/pools/default/buckets 400\r\nTraceback (most recent call last):\r\n  File \"libraries/provision/provision_cluster.py\", line 136, in <module>\r\n    sync_gateway_config=sync_gateway_conf\r\n  File \"libraries/provision/provision_cluster.py\", line 54, in provision_cluster\r\n    sync_gateway_config=sync_gateway_config\r\n  File \"/Users/tleyden/Development/mobile-testkit/libraries/provision/install_sync_gateway.py\", line 106, in install_sync_gateway\r\n    create_server_buckets(os.environ[\"CLUSTER_CONFIG\"], sync_gateway_config)\r\n  File \"/Users/tleyden/Development/mobile-testkit/libraries/provision/install_sync_gateway.py\", line 160, in create_server_buckets\r\n    server_helper.create_buckets(couchbase_server_url, bucket_names)\r\n  File \"/Users/tleyden/Development/mobile-testkit/keywords/CouchbaseServer.py\", line 205, in create_buckets\r\n    self.create_bucket(url, bucket_name, per_bucket_ram_mb)\r\n  File \"/Users/tleyden/Development/mobile-testkit/keywords/CouchbaseServer.py\", line 231, in create_bucket\r\n    resp.raise_for_status()\r\n  File \"/Users/tleyden/Development/mobile-testkit/venv/lib/python2.7/site-packages/requests/models.py\", line 840, in raise_for_status\r\n    raise HTTPError(http_error_msg, response=self)\r\nrequests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://ec2-54-172-168-29.compute-1.amazonaws.com:8091/pools/default/buckets\r\n```"},"comment":{"url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/issues/comments/250657940","html_url":"https://github.com/couchbaselabs/mobile-testkit/issues/709#issuecomment-250657940","issue_url":"https://api.github.com/repos/couchbaselabs/mobile-testkit/issues/709","id":250657940,"user":{"login":"tleyden","id":296876,"avatar_url":"https://avatars.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T04:48:46Z","updated_at":"2016-09-30T04:48:46Z","body":"In the json returned from couchbase server, the mem_total is actually being reported as 0 for the first node: https://gist.github.com/tleyden/97ce746e432f56a7511968a8b36f6ada  (sorry about formatting)"}}
{"actor":{"display_login":"tleyden"}}