cloudfoundry-attic / cf-riak-cs-release Goto Github PK
View Code? Open in Web Editor NEWA BOSH release for riak and riak-cs
License: Apache License 2.0
A BOSH release for riak and riak-cs
License: Apache License 2.0
I find that it's conf error, so I close it.
Release: cf-riak-cs 6+dev.1* 273e00a
Stemcells: bosh-aws-xen-ubuntu-trusty-go_agent 2719.3* ami-134c6141
- set +x
/bin/sh: 1: git: not found
/bin/sh: 1: git: not found
dirname: missing operand
Try 'dirname --help' for more information.
/usr/bin/env: escript: No such file or directory
make: **\* [deps] Error 127
What is causing this error? I see the git package being uploaded when I upload the release.
$ CONFIG=/Users/pivotal/workspace/riak-release/test/cf-service-acceptance-tests/integration_config.json go test
init_test.go:4:2: cannot find package "github.com/onsi/ginkgo" in any of:
/usr/local/Cellar/go/1.2/libexec/src/pkg/github.com/onsi/ginkgo (from $GOROOT)
/Users/scoen/go/src/github.com/onsi/ginkgo (from $GOPATH)
FAIL _/Users/scoen/workspace/cf-riak-cs-release/test/cf-service-acceptance-tests/apps [setup failed]
Hey guys,
I'm trying to backup some riak-cs buckets at work. And it isn't working. :(
I'm using Mac OS X 10.10.5.
Other pertinent facts:
Cf command line version: 6.12.3
Elastic Runtime and Ops Manager Director version: 1.5.3
s3cmd version: 1.6.0
The service URL that the applicaton is using to contact RiakCS:
And when I run the riak_backup command, this is the result I get back:
./riak_backup ~/Desktop/pcf/backup/riakcs ~/.s3cfg admin AdminPasswordHere
Command: cf auth admin AdminPasswordHere
API endpoint: https://api.cloudeast.example.com
Authenticating...
OK
Use 'cf target' to view or set your target org and space
=== PROCESSING SPACE 1 OF 48: SPACE NAME: apps-manager, ORG NAME: system
=== PROCESSING SERVICE INSTANCE 1 OF 2 IN SPACE apps-manager: Not of type p-riakcs. Skipping.
=== PROCESSING SERVICE INSTANCE 2 OF 2 IN SPACE apps-manager: Not of type p-riakcs. Skipping.
=== PROCESSING SPACE 2 OF 48: SPACE NAME: app-usage-service, ORG NAME: system
=== PROCESSING SPACE 3 OF 48: SPACE NAME: autoscaling, ORG NAME: system
=== PROCESSING SPACE 4 OF 48: SPACE NAME: ShowDB-acceptance, ORG NAME: ITTheatricalTechSolutions
=== PROCESSING SERVICE INSTANCE 1 OF 7 IN SPACE ShowDB-acceptance: Not of type p-riakcs. Skipping.
=== PROCESSING SERVICE INSTANCE 2 OF 7 IN SPACE ShowDB-acceptance:
Backing up bucket service-instance-32231acf-ed9f-4c04-8a05-19db08911311 to /Users/MyUsername/Desktop/pcf/backup/riakcs/orgs/ITTheatricalTechSolutions/spaces/ShowDB-acceptance/service_instances/mybucket/data
failed to back up contents of bucket service-instance-32231acf-ed9f-4c04-8a05-19db08911311
exit status 74
And the bucket I'm trying to download is called: service-instance-9bb5031d-fcd5-4a5a-8884-5a84deb1cac3
It's a different one from the one that riak_backup is trying to download.
This is my ~/.s3cfg file
[default] access_key = URZSBWX9BRI3CDC3ZROB access_token = add_encoding_exts = add_headers = bucket_location = US ca_certs_file = cache_file = check_ssl_certificate = True check_ssl_hostname = True cloudfront_host = cloudfront.amazonaws.com default_mime_type = binary/octet-stream delay_updates = False delete_after = False delete_after_fetch = False delete_removed = False dry_run = False enable_multipart = True encoding = UTF-8 encrypt = False expiry_date = expiry_days = expiry_prefix = follow_symlinks = False force = False get_continue = False gpg_command = /usr/local/bin/gpg gpg_decrypt = %(gpg_command)s -d --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s gpg_encrypt = %(gpg_command)s -c --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s gpg_passphrase = guess_mime_type = True host_base = s3.amazonaws.com host_bucket = %(bucket)s.s3.amazonaws.com human_readable_sizes = False invalidate_default_index_on_cf = False invalidate_default_index_root_on_cf = True invalidate_on_cf = False kms_key = limitrate = 0 list_md5 = False log_target_prefix = long_listing = False max_delete = -1 mime_type = multipart_chunk_size_mb = 15 preserve_attrs = True progress_meter = True proxy_host = proxy_port = 0 put_continue = False recursive = False recv_chunk = 65536 reduced_redundancy = False requester_pays = False restore_days = 1 secret_key = my_secret_key send_chunk = 65536 server_side_encryption = False signature_v2 = False simpledb_host = sdb.amazonaws.com
I use the newest bosh-lite (Commit: 9a3577c71daf9bbe5c5c8967793ae604bef2f9a8) and cf-riak-cs-release (Commit: 67d0533)
My virtualbox runs on mac with 10GB base memory, Ruby 2.1.5, Go 1.4.1
After creating a new instance via
vagrant up --provider=virtualbox
./bin/provision_cf
I'm following the instructions of the cf-riak-cs-release README.md.
minor issue: bosh create release
when downloading infos like "downloading 72.1M (13%)" override previous lines in the terminal so the prompt for "Please enter development release name" gets a little 'hidden'.
BUT two out of three acceptance-tests fail:
[Fail] [BeforeEach] Riak CS Nodes Register a Route Allows users to access the riak-cs service using external url instead of IP of single machine after register the route
/var/vcap/packages/acceptance-tests/vendor/src/github.com/cloudfoundry-incubator/cf-test-helpers/services/context_setup/context_setup.go:67
[Fail] Riak CS Service Lifecycle [It] Allows users to create, bind, write to, read from, unbind, and destroy the service instance
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:41
How can I fix that?
Best regards, Stephan
Here's the full output:
$ bosh run errand broker-registrar
Processing deployment manifest
Director task 9
Started preparing deployment
Started preparing deployment > Binding deployment. Done (00:00:00)
Started preparing deployment > Binding releases. Done (00:00:00)
Started preparing deployment > Binding existing deployment. Done (00:00:00)
Started preparing deployment > Binding resource pools. Done (00:00:00)
Started preparing deployment > Binding stemcells. Done (00:00:00)
Started preparing deployment > Binding templates. Done (00:00:00)
Started preparing deployment > Binding properties. Done (00:00:00)
Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
Started preparing deployment > Binding instance networks. Done (00:00:00)
Done preparing deployment (00:00:00)
Started preparing package compilation > Finding packages to compile. Done (00:00:00)
Started creating bound missing vms > broker-pool/0. Done (00:00:02)
Started binding instance vms > broker-registrar/0. Done (00:00:00)
Started updating job broker-registrar > broker-registrar/0 (canary). Done (00:00:38)
Started running errand > broker-registrar/0. Done (00:00:03)
Started fetching logs for broker-registrar/0 > Finding and packing log files. Done (00:00:01)
Started deleting errand instances broker-registrar > b2220f8f-3c4f-4293-6b2d-970b60535fae. Done (00:00:01)
Task 9 done
Started 2015-01-25 22:42:51 UTC
Finished 2015-01-25 22:43:36 UTC
Duration 00:00:45
[stdout]
bundle exec ./bin/broker-registrar register
--cf-address https://api.10.244.0.34.xip.io
--cf-username admin
--cf-password ********
--broker-name p-riakcs
--broker-url http://p-riakcs-broker.10.244.0.34.xip.io:80
--broker-username admin
--broker-password ********
I, [2015-01-25T22:43:33.904866 #93] INFO -- : Registered service broker [p-riakcs]
I, [2015-01-25T22:43:34.168393 #93] INFO -- : Made service plan [developer] public
[stderr]
None
Errand `broker-registrar' completed successfully (exit code 0)
23:43:37 d025876@WDFM32407851A /cf/cf-riak-cs-release @ (release-candidate)
$ bosh run errand acceptance-tests
Processing deployment manifest
Director task 10
Started preparing deployment
Started preparing deployment > Binding deployment. Done (00:00:00)
Started preparing deployment > Binding releases. Done (00:00:00)
Started preparing deployment > Binding existing deployment. Done (00:00:00)
Started preparing deployment > Binding resource pools. Done (00:00:00)
Started preparing deployment > Binding stemcells. Done (00:00:00)
Started preparing deployment > Binding templates. Done (00:00:00)
Started preparing deployment > Binding properties. Done (00:00:00)
Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
Started preparing deployment > Binding instance networks. Done (00:00:00)
Done preparing deployment (00:00:00)
Started preparing package compilation > Finding packages to compile. Done (00:00:00)
Started creating bound missing vms > broker-pool/0. Done (00:00:02)
Started binding instance vms > acceptance-tests/0. Done (00:00:00)
Started updating job acceptance-tests > acceptance-tests/0 (canary). Done (00:00:41)
Started running errand > acceptance-tests/0. Done (00:01:52)
Started fetching logs for acceptance-tests/0 > Finding and packing log files. Done (00:00:01)
Started deleting errand instances acceptance-tests > bd696e21-9134-41b5-42d8-30c4d206e751. Done (00:00:01)
Task 10 done
Started 2015-01-25 22:44:11 UTC
Finished 2015-01-25 22:46:48 UTC
Duration 00:02:37
[stdout]
/var/vcap/packages/golang/bin/go
Running Suite: Riak CS Services Suite
Random Seed: 1422225895
Will run 3 of 3 specs
Riak CS Nodes Register a Route
Allows users to access the riak-cs service using external url instead of IP of single machine after register the route
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/route_register_test.go:23
[2015-01-25 22:44:57.27 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:44:57.50 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:44:58.04 (UTC)]> cf create-user RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
Creating user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
[2015-01-25 22:45:08.05 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:45:08.10 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:45:08.15 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:08.24 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:08.53 (UTC)]> cf delete-user -f RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Deleting user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:14.01 (UTC)]> cf delete-org -f RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Deleting org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
Org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s does not exist.
[2015-01-25 22:45:14.09 (UTC)]> cf curl /v2/quota_definitions/?recursive=true -X DELETE -d
{
"code": 10000,
"description": "Unknown request",
"error_code": "CF-NotFound"
}
[2015-01-25 22:45:14.21 (UTC)]> cf logout
Logging out...
OK
• Failure [16.986 seconds]
Riak CS Nodes Register a Route [BeforeEach]
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/route_register_test.go:24
Allows users to access the riak-cs service using external url instead of IP of single machine after register the route
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/route_register_test.go:23
failed to create user
/var/vcap/packages/acceptance-tests/vendor/src/github.com/cloudfoundry-incubator/cf-test-helpers/services/context_setup/context_setup.go:67
Riak Broker Registers a Route
Allows users to access the riak-cs broker using a url
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/route_register_test.go:37
[2015-01-25 22:45:14.26 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:14.34 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:14.75 (UTC)]> cf create-user RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
Creating user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK
TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'
[2015-01-25 22:45:14.96 (UTC)]> cf curl /v2/quota_definitions -X POST -d {"name":"RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s","non_basic_services_allowed":true,"total_services":100,"total_routes":1000,"memory_limit":10240}
{
"metadata": {
"guid": "d82cff98-3aa8-4841-aace-cd74015600ec",
"url": "/v2/quota_definitions/d82cff98-3aa8-4841-aace-cd74015600ec",
"created_at": "2015-01-25T22:45:15+00:00",
"updated_at": null
},
"entity": {
"name": "RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s",
"non_basic_services_allowed": true,
"total_services": 100,
"total_routes": 1000,
"memory_limit": 10240,
"trial_db_allowed": false,
"instance_memory_limit": -1
}
}
[2015-01-25 22:45:15.06 (UTC)]> cf create-org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Creating org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s' to target new org
[2015-01-25 22:45:15.16 (UTC)]> cf set-quota RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s
Setting quota RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s to org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:15.35 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:45:15.39 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:15.47 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:15.73 (UTC)]> cf create-space -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
Creating space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
Assigning role SpaceManager to user admin in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
Assigning role SpaceDeveloper to user admin in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s -s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s' to target new space
[2015-01-25 22:45:16.10 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceManager
Assigning role SpaceManager to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:16.40 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceDeveloper
Assigning role SpaceDeveloper to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:16.83 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceAuditor
Assigning role SpaceAuditor to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:17.13 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:45:17.17 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:17.25 (UTC)]> cf auth RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:17.52 (UTC)]> cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s -s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
User: RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Org: RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Space: RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
[2015-01-25 22:45:17.70 (UTC)]> curl -s -k -s -w %{http_code} http://p-riakcs-broker.10.244.0.34.xip.io/v2/catalog -o /dev/null
401
[2015-01-25 22:45:17.84 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:45:17.88 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:17.95 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:18.21 (UTC)]> cf delete-user -f RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Deleting user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:23.47 (UTC)]> cf delete-org -f RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Deleting org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:28.69 (UTC)]> cf curl /v2/quota_definitions/d82cff98-3aa8-4841-aace-cd74015600ec?recursive=true -X DELETE -d
[2015-01-25 22:45:28.78 (UTC)]> cf logout
Logging out...
OK
•
Riak CS Service Lifecycle
Allows users to create, bind, write to, read from, unbind, and destroy the service instance
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:54
[2015-01-25 22:45:28.82 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:28.90 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:29.20 (UTC)]> cf create-user RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
Creating user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK
TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'
[2015-01-25 22:45:29.44 (UTC)]> cf curl /v2/quota_definitions -X POST -d {"name":"RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s","non_basic_services_allowed":true,"total_services":100,"total_routes":1000,"memory_limit":10240}
{
"metadata": {
"guid": "289025cc-bcc1-42d7-bc2b-380f9a175a45",
"url": "/v2/quota_definitions/289025cc-bcc1-42d7-bc2b-380f9a175a45",
"created_at": "2015-01-25T22:45:29+00:00",
"updated_at": null
},
"entity": {
"name": "RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s",
"non_basic_services_allowed": true,
"total_services": 100,
"total_routes": 1000,
"memory_limit": 10240,
"trial_db_allowed": false,
"instance_memory_limit": -1
}
}
[2015-01-25 22:45:29.52 (UTC)]> cf create-org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Creating org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s' to target new org
[2015-01-25 22:45:29.61 (UTC)]> cf set-quota RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s
Setting quota RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s to org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:29.81 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:45:29.85 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:29.94 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:30.20 (UTC)]> cf create-space -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
Creating space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
Assigning role SpaceManager to user admin in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
Assigning role SpaceDeveloper to user admin in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s -s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s' to target new space
[2015-01-25 22:45:30.56 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceManager
Assigning role SpaceManager to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:30.86 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceDeveloper
Assigning role SpaceDeveloper to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:31.16 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceAuditor
Assigning role SpaceAuditor to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:31.47 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:45:31.51 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:31.59 (UTC)]> cf auth RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:31.85 (UTC)]> cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s -s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
User: RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Org: RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Space: RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
[2015-01-25 22:45:32.03 (UTC)]> cf push 9dbdf53b-51ca-422f-535f-ff3f207bd275 -m 256M -p ../assets/app_sinatra_service -no-start
Creating app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK
Creating route 9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io...
OK
Binding 9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io to 9dbdf53b-51ca-422f-535f-ff3f207bd275...
OK
Uploading 9dbdf53b-51ca-422f-535f-ff3f207bd275...
Uploading app files from: ../assets/app_sinatra_service
Uploading 10.7M, 22 files
OK
Endpoint deprecated
[2015-01-25 22:45:38.30 (UTC)]> cf create-service p-riakcs developer ac6e2e9c-d6de-4117-6609-6c818dd06200
Creating service ac6e2e9c-d6de-4117-6609-6c818dd06200 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK
[2015-01-25 22:45:40.38 (UTC)]> cf bind-service 9dbdf53b-51ca-422f-535f-ff3f207bd275 ac6e2e9c-d6de-4117-6609-6c818dd06200
Binding service ac6e2e9c-d6de-4117-6609-6c818dd06200 to app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK
TIP: Use 'cf push' to ensure your env variable changes take effect
[2015-01-25 22:45:41.82 (UTC)]> cf start 9dbdf53b-51ca-422f-535f-ff3f207bd275
Starting app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK
-----> Downloaded app package (11M)
-------> Buildpack version 1.2.0
-----> Compiling Ruby/Rack
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.6.3
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Installing formatador 0.2.4
Installing builder 3.2.2
Installing excon 0.31.0
Installing multi_json 1.8.4
Installing mime-types 2.1
Installing ruby-hmac 0.4.0
Installing mini_portile 0.5.2
Installing tilt 1.4.1
Using bundler 1.6.3
Installing net-ssh 2.8.0
Installing net-scp 1.1.2
Installing rack 1.5.2
Installing rack-protection 1.5.2
Installing sinatra 1.4.4
Installing nokogiri 1.6.1
Installing fog 1.19.0
Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
Bundle completed (7.84s)
Cleaning up the bundler cache.
WARNING:
You have not declared a Ruby version in your Gemfile.
To set your Ruby version add this line to your Gemfile:
ruby '2.0.0'
WARNING:
No Procfile detected, using the default web server (webrick)
https://devcenter.heroku.com/articles/ruby-default-web-server
-----> Uploading droplet (34M)
1 of 1 instances running
App started
Showing health and status for app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK
requested state: started
instances: 1/1
usage: 256M x 1 instances
urls: 9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io
state since cpu memory disk
#0 running 2015-01-25 10:46:11 PM 0.0% 75M of 256M 0 of 1G
Posting to url: https://9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io/service/blobstore/ac6e2e9c-d6de-4117-6609-6c818dd06200/mykey
[2015-01-25 22:46:22.80 (UTC)]> curl -s -k -d myvalue https://9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io/service/blobstore/ac6e2e9c-d6de-4117-6609-6c818dd06200/mykey
Error: Connection refused - connect(2) (Errno::ECONNREFUSED)
Backtrace: /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in connect_nonblock' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:inrescue in block in connect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:171:in block in connect' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:ineach'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in connect' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:97:inconnect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:28:in initialize' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:9:ininitialize'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in new' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:insocket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:122:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/mock.rb:42:inrequest_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/instrumentor.rb:22:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:inrequest_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:inrequest_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:265:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in rescue in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:inrequest'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:inrescue in request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in rescue in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:inrequest'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/xml/sax_parser_connection.rb:36:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/core/deprecated/connection.rb:18:inrequest'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/storage.rb:539:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/requests/storage/get_bucket.rb:44:inget_bucket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/models/storage/directories.rb:24:in get' /home/vcap/app/main.rb:48:inblock in '
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:inblock in compile!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in []' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:inblock (3 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:976:in route_eval' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:inblock (2 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:997:in block in process_route' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:incatch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in process_route' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:955:inblock in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in each' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:inroute!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1067:in block in dispatch!' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:inblock in invoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in catch' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:ininvoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1064:in dispatch!' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:inblock in call!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in block in invoke' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:incatch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in invoke' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:incall!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:877:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/xss_header.rb:18:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/path_traversal.rb:16:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/json_csrf.rb:18:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/frame_options.rb:31:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/logger.rb:15:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/commonlogger.rb:33:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:217:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:210:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:180:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:2004:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:inblock in call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1778:in synchronize' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in service' /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:inservice'
/home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in run' /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:inblock in start_thread'
[2015-01-25 22:46:27.81 (UTC)]> cf delete 9dbdf53b-51ca-422f-535f-ff3f207bd275 -f
Deleting app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK
[2015-01-25 22:46:29.14 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:46:29.19 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:46:29.26 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:46:29.53 (UTC)]> cf delete-user -f RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Deleting user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:46:34.95 (UTC)]> cf delete-org -f RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Deleting org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:46:45.25 (UTC)]> cf curl /v2/quota_definitions/289025cc-bcc1-42d7-bc2b-380f9a175a45?recursive=true -X DELETE -d
[2015-01-25 22:46:45.36 (UTC)]> cf logout
Logging out...
OK
• Failure [76.582 seconds]
Riak CS Service Lifecycle
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:55
Allows users to create, bind, write to, read from, unbind, and destroy the service instance [It]
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:54
No future change is possible. Bailing out early after 5.007s.
Got stuck at:
Error: Connection refused - connect(2) (Errno::ECONNREFUSED)
Backtrace: /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in connect_nonblock' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in
rescue in block in connect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:171:in block in connect' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in
each'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in connect' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:97:in
connect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:28:in initialize' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:9:in
initialize'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in new' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in
socket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:122:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/mock.rb:42:in
request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/instrumentor.rb:22:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in
request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in
request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:265:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in rescue in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in
request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in
rescue in request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in rescue in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in
request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/xml/sax_parser_connection.rb:36:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/core/deprecated/connection.rb:18:in
request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/storage.rb:539:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/requests/storage/get_bucket.rb:44:in
get_bucket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/models/storage/directories.rb:24:in get' /home/vcap/app/main.rb:48:in
block in <top (required)>'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in
block in compile!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in []' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in
block (3 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:976:in route_eval' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in
block (2 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:997:in block in process_route' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in
catch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in process_route' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:955:in
block in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in each' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in
route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1067:in block in dispatch!' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in
block in invoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in catch' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in
invoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1064:in dispatch!' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:in
block in call!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in block in invoke' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in
catch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in invoke' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:in
call!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:877:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/xss_header.rb:18:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/path_traversal.rb:16:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/json_csrf.rb:18:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/frame_options.rb:31:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/logger.rb:15:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/commonlogger.rb:33:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:217:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:210:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:180:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:2004:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in
block in call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1778:in synchronize' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in service' /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in
service'
/home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in run' /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in
block in start_thread'
Waiting for:
myvalue
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:41
Summarizing 2 Failures:
[Fail] [BeforeEach] Riak CS Nodes Register a Route Allows users to access the riak-cs service using external url instead of IP of single machine after register the route
/var/vcap/packages/acceptance-tests/vendor/src/github.com/cloudfoundry-incubator/cf-test-helpers/services/context_setup/context_setup.go:67
[Fail] Riak CS Service Lifecycle [It] Allows users to create, bind, write to, read from, unbind, and destroy the service instance
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:41
Ran 3 of 3 Specs in 108.130 seconds
FAIL! -- 1 Passed | 2 Failed | 0 Pending | 0 Skipped --- FAIL: TestServices (108.13s)
FAIL
Ginkgo ran 1 suite in 1m49.561745033s
Test Suite Failed
[stderr]
bin/test
set -u
which go
GOPATH=/var/vcap/packages/acceptance-tests/vendor
go install github.com/onsi/ginkgo/ginkgo
go fmt ./riak-cs-service/...
GOPATH=/var/vcap/packages/acceptance-tests/vendor
CF_COLOR=false
CF_VERBOSE_OUTPUT=true
vendor/bin/ginkgo -v -slowSpecThreshold=300 ./riak-cs-service
Errand `acceptance-tests' completed with error (exit code 1)
Stephan Weber
weberstephanhd commented 12 hours ago
I forgot: cf-release is on tag 196
Stephan Weber
weberstephanhd commented 6 hours ago
If I use cf-riak-cs-release v7 I only have one failing acceptance test:
$ bosh run errand acceptance-tests
Processing deployment manifest
Director task 7
Started preparing deployment
Started preparing deployment > Binding deployment. Done (00:00:00)
Started preparing deployment > Binding releases. Done (00:00:00)
Started preparing deployment > Binding existing deployment. Done (00:00:01)
Started preparing deployment > Binding resource pools. Done (00:00:00)
Started preparing deployment > Binding stemcells. Done (00:00:00)
Started preparing deployment > Binding templates. Done (00:00:00)
Started preparing deployment > Binding properties. Done (00:00:00)
Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
Started preparing deployment > Binding instance networks. Done (00:00:00)
Done preparing deployment (00:00:01)
Started preparing package compilation > Finding packages to compile. Done (00:00:00)
Started creating bound missing vms > broker-pool/0. Done (00:00:01)
Started binding instance vms > acceptance-tests/0. Done (00:00:00)
Started updating job acceptance-tests > acceptance-tests/0 (canary). Done (00:00:41)
Started running errand > acceptance-tests/0. Done (00:01:59)
Started fetching logs for acceptance-tests/0 > Finding and packing log files. Done (00:00:01)
Started deleting errand instances acceptance-tests > 5f4c279a-d638-4971-6f12-161154bdc9fc. Done (00:00:01)
Task 7 done
Started 2015-01-26 18:38:03 UTC
Finished 2015-01-26 18:40:47 UTC
Duration 00:02:44
[stdout]
/var/vcap/packages/golang/bin/go
Running Suite: Riak CS Services Suite
Random Seed: 1422297528
Will run 3 of 3 specs
Riak CS Nodes Register a Route
Allows users to access the riak-cs service using external url instead of IP of single machine after register the route
/var/vcap/data/packages/acceptance-tests/cd135e633f376c9e41a5458fd0881bfb338eefd1.1-93facb3369d9be27eb6acc6574c6a756e925290e/riak-cs-service/route_register_test.go:22
cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
cf create-user RiakCSATS-USER-1-2015_01_26-18h38m49.762s meow
Creating user RiakCSATS-USER-1-2015_01_26-18h38m49.762s as admin...
OK
TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'
cf curl /v2/quota_definitions -X POST -d {"name":"RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s","non_basic_services_allowed":true,"total_services":100,"total_routes":1000,"memory_limit":10240}
{
"metadata": {
"guid": "3af175d9-3a4c-4b9d-a162-82f344730f36",
"url": "/v2/quota_definitions/3af175d9-3a4c-4b9d-a162-82f344730f36",
"created_at": "2015-01-26T18:38:50+00:00",
"updated_at": null
},
"entity": {
"name": "RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s",
"non_basic_services_allowed": true,
"total_services": 100,
"total_routes": 1000,
"memory_limit": 10240,
"trial_db_allowed": false,
"instance_memory_limit": -1
}
}
cf create-org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Creating org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s' to target new org
cf set-quota RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s
Setting quota RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s to org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
cf logout
Logging out...
OK
cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
cf create-space -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
Creating space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
Assigning role SpaceManager to user admin in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
Assigning role SpaceDeveloper to user admin in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s -s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s' to target new space
cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceManager
Assigning role SpaceManager to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceDeveloper
Assigning role SpaceDeveloper to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceAuditor
Assigning role SpaceAuditor to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
cf logout
Logging out...
OK
cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
cf auth RiakCSATS-USER-1-2015_01_26-18h38m49.762s meow
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s -s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
User: RiakCSATS-USER-1-2015_01_26-18h38m49.762s
Org: RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Space: RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
curl -s -k https://p-riakcs.10.244.0.34.xip.io/riak-cs/ping
OK
cf logout
Logging out...
OK
cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
cf delete-user -f RiakCSATS-USER-1-2015_01_26-18h38m49.762s
Deleting user RiakCSATS-USER-1-2015_01_26-18h38m49.762s as admin...
OK
cf delete-org -f RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Deleting org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
cf curl /v2/quota_definitions/3af175d9-3a4c-4b9d-a162-82f344730f36?recursive=true -X DELETE -d
cf logout
Logging out...
OK
•
Riak CS Service Lifecycle
Allows users to create, bind, write to, read from, unbind, and destroy the service instance
/var/vcap/data/packages/acceptance-tests/cd135e633f376c9e41a5458fd0881bfb338eefd1.1-93facb3369d9be27eb6acc6574c6a756e925290e/riak-cs-service/riak_cs_test.go:53
cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
cf create-user RiakCSATS-USER-1-2015_01_26-18h38m49.762s meow
Creating user RiakCSATS-USER-1-2015_01_26-18h38m49.762s as admin...
OK
TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'
cf curl /v2/quota_definitions -X POST -d {"name":"RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s","non_basic_services_allowed":true,"total_services":100,"total_routes":1000,"memory_limit":10240}
{
"metadata": {
"guid": "315f1ac4-b55c-4de8-8dba-4dcb36108cfd",
"url": "/v2/quota_definitions/315f1ac4-b55c-4de8-8dba-4dcb36108cfd",
"created_at": "2015-01-26T18:39:06+00:00",
"updated_at": null
},
"entity": {
"name": "RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s",
"non_basic_services_allowed": true,
"total_services": 100,
"total_routes": 1000,
"memory_limit": 10240,
"trial_db_allowed": false,
"instance_memory_limit": -1
}
}
cf create-org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Creating org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s' to target new org
cf set-quota RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s
Setting quota RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s to org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
cf logout
Logging out...
OK
cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
cf create-space -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
Creating space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
Assigning role SpaceManager to user admin in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
Assigning role SpaceDeveloper to user admin in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s -s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s' to target new space
cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceManager
Assigning role SpaceManager to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceDeveloper
Assigning role SpaceDeveloper to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceAuditor
Assigning role SpaceAuditor to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
cf logout
Logging out...
OK
cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
cf auth RiakCSATS-USER-1-2015_01_26-18h38m49.762s meow
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s -s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
User: RiakCSATS-USER-1-2015_01_26-18h38m49.762s
Org: RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Space: RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
cf push 9f7e89de-2a49-4576-7446-258b30a85e6f -m 256M -p ../assets/app_sinatra_service -no-start
Creating app 9f7e89de-2a49-4576-7446-258b30a85e6f in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as RiakCSATS-USER-1-2015_01_26-18h38m49.762s...
OK
Creating route 9f7e89de-2a49-4576-7446-258b30a85e6f.10.244.0.34.xip.io...
OK
Binding 9f7e89de-2a49-4576-7446-258b30a85e6f.10.244.0.34.xip.io to 9f7e89de-2a49-4576-7446-258b30a85e6f...
OK
Uploading 9f7e89de-2a49-4576-7446-258b30a85e6f...
Uploading app files from: ../assets/app_sinatra_service
Uploading 10.7M, 22 files
OK
Endpoint deprecated
cf create-service p-riakcs developer 31e9d180-966e-4223-7606-5f1af2a856e0
Creating service 31e9d180-966e-4223-7606-5f1af2a856e0 in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as RiakCSATS-USER-1-2015_01_26-18h38m49.762s...
OK
cf bind-service 9f7e89de-2a49-4576-7446-258b30a85e6f 31e9d180-966e-4223-7606-5f1af2a856e0
Binding service 31e9d180-966e-4223-7606-5f1af2a856e0 to app 9f7e89de-2a49-4576-7446-258b30a85e6f in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as RiakCSATS-USER-1-2015_01_26-18h38m49.762s...
OK
TIP: Use 'cf push' to ensure your env variable changes take effect
cf start 9f7e89de-2a49-4576-7446-258b30a85e6f
Starting app 9f7e89de-2a49-4576-7446-258b30a85e6f in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as RiakCSATS-USER-1-2015_01_26-18h38m49.762s...
OK
-----> Downloaded app package (11M)
-------> Buildpack version 1.2.0
-----> Compiling Ruby/Rack
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.6.3
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Installing formatador 0.2.4
Installing builder 3.2.2
Installing excon 0.31.0
Installing mime-types 2.1
Installing multi_json 1.8.4
Installing mini_portile 0.5.2
Installing ruby-hmac 0.4.0
Installing tilt 1.4.1
Using bundler 1.6.3
Installing net-ssh 2.8.0
Installing rack 1.5.2
Installing net-scp 1.1.2
Installing rack-protection 1.5.2
Installing sinatra 1.4.4
Installing nokogiri 1.6.1
Installing fog 1.19.0
Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
Bundle completed (7.51s)
Cleaning up the bundler cache.
WARNING:
You have not declared a Ruby version in your Gemfile.
To set your Ruby version add this line to your Gemfile:
ruby '2.0.0'
WARNING:
No Procfile detected, using the default web server (webrick)
https://devcenter.heroku.com/articles/ruby-default-web-server
-----> Uploading droplet (34M)
1 of 1 instances running
App started
Showing health and status for app 9f7e89de-2a49-4576-7446-258b30a85e6f in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as RiakCSATS-USER-1-2015_01_26-18h38m49.762s...
OK
requested state: started
instances: 1/1
usage: 256M x 1 instances
urls: 9f7e89de-2a49-4576-7446-258b30a85e6f.10.244.0.34.xip.io
state since cpu memory disk
#0 running 2015-01-26 06:40:02 PM 0.0% 71.7M of 256M 0 of 1G
Posting to url: https://9f7e89de-2a49-4576-7446-258b30a85e6f.10.244.0.34.xip.io/service/blobstore/31e9d180-966e-4223-7606-5f1af2a856e0/mykey
curl -s -k -d myvalue https://9f7e89de-2a49-4576-7446-258b30a85e6f.10.244.0.34.xip.io/service/blobstore/31e9d180-966e-4223-7606-5f1af2a856e0/mykey
Error: Connection refused - connect(2) (Errno::ECONNREFUSED)
Backtrace: /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in connect_nonblock' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:inrescue in block in connect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:171:in block in connect' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:ineach'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in connect' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:97:inconnect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:28:in initialize' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:9:ininitialize'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in new' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:insocket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:122:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/mock.rb:42:inrequest_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/instrumentor.rb:22:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:inrequest_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:inrequest_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:265:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in rescue in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:inrequest'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:inrescue in request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in rescue in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:inrequest'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/xml/sax_parser_connection.rb:36:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/core/deprecated/connection.rb:18:inrequest'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/storage.rb:539:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/requests/storage/get_bucket.rb:44:inget_bucket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/models/storage/directories.rb:24:in get' /home/vcap/app/main.rb:48:inblock in '
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:inblock in compile!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in []' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:inblock (3 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:976:in route_eval' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:inblock (2 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:997:in block in process_route' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:incatch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in process_route' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:955:inblock in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in each' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:inroute!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1067:in block in dispatch!' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:inblock in invoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in catch' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:ininvoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1064:in dispatch!' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:inblock in call!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in block in invoke' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:incatch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in invoke' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:incall!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:877:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/xss_header.rb:18:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/path_traversal.rb:16:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/json_csrf.rb:18:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/frame_options.rb:31:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/logger.rb:15:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/commonlogger.rb:33:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:217:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:210:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:180:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:2004:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:inblock in call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1778:in synchronize' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in service' /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:inservice'
/home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in run' /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:inblock in start_thread'
cf delete 9f7e89de-2a49-4576-7446-258b30a85e6f -f
Deleting app 9f7e89de-2a49-4576-7446-258b30a85e6f in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as RiakCSATS-USER-1-2015_01_26-18h38m49.762s...
OK
cf logout
Logging out...
OK
cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
cf delete-user -f RiakCSATS-USER-1-2015_01_26-18h38m49.762s
Deleting user RiakCSATS-USER-1-2015_01_26-18h38m49.762s as admin...
OK
cf delete-org -f RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Deleting org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
cf curl /v2/quota_definitions/315f1ac4-b55c-4de8-8dba-4dcb36108cfd?recursive=true -X DELETE -d
cf logout
Logging out...
OK
• Failure [84.957 seconds]
Riak CS Service Lifecycle
/var/vcap/data/packages/acceptance-tests/cd135e633f376c9e41a5458fd0881bfb338eefd1.1-93facb3369d9be27eb6acc6574c6a756e925290e/riak-cs-service/riak_cs_test.go:54
Allows users to create, bind, write to, read from, unbind, and destroy the service instance [It]
/var/vcap/data/packages/acceptance-tests/cd135e633f376c9e41a5458fd0881bfb338eefd1.1-93facb3369d9be27eb6acc6574c6a756e925290e/riak-cs-service/riak_cs_test.go:53
No future change is possible. Bailing out early after 5.010s.
Got stuck at:
Error: Connection refused - connect(2) (Errno::ECONNREFUSED)
Backtrace: /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in connect_nonblock' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in
rescue in block in connect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:171:in block in connect' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in
each'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in connect' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:97:in
connect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:28:in initialize' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:9:in
initialize'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in new' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in
socket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:122:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/mock.rb:42:in
request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/instrumentor.rb:22:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in
request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in
request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:265:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in rescue in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in
request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in
rescue in request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in rescue in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in
request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/xml/sax_parser_connection.rb:36:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/core/deprecated/connection.rb:18:in
request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/storage.rb:539:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/requests/storage/get_bucket.rb:44:in
get_bucket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/models/storage/directories.rb:24:in get' /home/vcap/app/main.rb:48:in
block in <top (required)>'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in
block in compile!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in []' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in
block (3 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:976:in route_eval' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in
block (2 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:997:in block in process_route' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in
catch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in process_route' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:955:in
block in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in each' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in
route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1067:in block in dispatch!' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in
block in invoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in catch' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in
invoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1064:in dispatch!' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:in
block in call!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in block in invoke' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in
catch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in invoke' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:in
call!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:877:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/xss_header.rb:18:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/path_traversal.rb:16:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/json_csrf.rb:18:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/frame_options.rb:31:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/logger.rb:15:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/commonlogger.rb:33:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:217:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:210:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:180:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:2004:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in
block in call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1778:in synchronize' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in service' /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in
service'
/home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in run' /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in
block in start_thread'
Waiting for:
myvalue
/var/vcap/data/packages/acceptance-tests/cd135e633f376c9e41a5458fd0881bfb338eefd1.1-93facb3369d9be27eb6acc6574c6a756e925290e/riak-cs-service/riak_cs_test.go:40
Riak Broker Registers a Route
Allows users to access the riak-cs broker using a url
/var/vcap/data/packages/acceptance-tests/cd135e633f376c9e41a5458fd0881bfb338eefd1.1-93facb3369d9be27eb6acc6574c6a756e925290e/riak-cs-service/route_register_test.go:36
cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
cf create-user RiakCSATS-USER-1-2015_01_26-18h38m49.762s meow
Creating user RiakCSATS-USER-1-2015_01_26-18h38m49.762s as admin...
OK
TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'
cf curl /v2/quota_definitions -X POST -d {"name":"RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s","non_basic_services_allowed":true,"total_services":100,"total_routes":1000,"memory_limit":10240}
{
"metadata": {
"guid": "240340c4-4581-4d3b-9376-930cbc61a804",
"url": "/v2/quota_definitions/240340c4-4581-4d3b-9376-930cbc61a804",
"created_at": "2015-01-26T18:40:31+00:00",
"updated_at": null
},
"entity": {
"name": "RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s",
"non_basic_services_allowed": true,
"total_services": 100,
"total_routes": 1000,
"memory_limit": 10240,
"trial_db_allowed": false,
"instance_memory_limit": -1
}
}
cf create-org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Creating org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s' to target new org
cf set-quota RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s
Setting quota RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s to org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
cf logout
Logging out...
OK
cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
cf create-space -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
Creating space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
Assigning role SpaceManager to user admin in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
Assigning role SpaceDeveloper to user admin in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s -s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s' to target new space
cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceManager
Assigning role SpaceManager to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceDeveloper
Assigning role SpaceDeveloper to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceAuditor
Assigning role SpaceAuditor to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
cf logout
Logging out...
OK
cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
cf auth RiakCSATS-USER-1-2015_01_26-18h38m49.762s meow
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s -s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
User: RiakCSATS-USER-1-2015_01_26-18h38m49.762s
Org: RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Space: RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
curl -s -k -s -w %{http_code} http://p-riakcs-broker.10.244.0.34.xip.io/v2/catalog -o /dev/null
401
cf logout
Logging out...
OK
cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
cf delete-user -f RiakCSATS-USER-1-2015_01_26-18h38m49.762s
Deleting user RiakCSATS-USER-1-2015_01_26-18h38m49.762s as admin...
OK
cf delete-org -f RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Deleting org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
cf curl /v2/quota_definitions/240340c4-4581-4d3b-9376-930cbc61a804?recursive=true -X DELETE -d
cf logout
Logging out...
OK
•
Summarizing 1 Failure:
[Fail] Riak CS Service Lifecycle [It] Allows users to create, bind, write to, read from, unbind, and destroy the service instance
/var/vcap/data/packages/acceptance-tests/cd135e633f376c9e41a5458fd0881bfb338eefd1.1-93facb3369d9be27eb6acc6574c6a756e925290e/riak-cs-service/riak_cs_test.go:40
Ran 3 of 3 Specs in 115.302 seconds
FAIL! -- 2 Passed | 1 Failed | 0 Pending | 0 Skipped --- FAIL: TestServices (115.30 seconds)
FAIL
Ginkgo ran 1 suite in 1m56.825919671s
Test Suite Failed
[stderr]
bin/test
set -u
which go
GOPATH=/var/vcap/packages/acceptance-tests/vendor
go install github.com/onsi/ginkgo/ginkgo
go fmt ./riak-cs-service/...
GOPATH=/var/vcap/packages/acceptance-tests/vendor
CF_COLOR=false
CF_VERBOSE_OUTPUT=true
vendor/bin/ginkgo -v -slowSpecThreshold=300 ./riak-cs-service
Errand `acceptance-tests' completed with error (exit code 1)
I am trying to leverage the apache jclouds blobstore lib to access RiakCS service instance (http://jclouds.apache.org/guides/aws/).
I had to tweak 3 properties on the BlobStoreContext to adapt to RiakCS S3 API
PROPERTY_TRUST_ALL_CERTS : true
PROPERTY_RELAX_HOSTNAME : true
PROPERTY_S3_VIRTUAL_HOST_BUCKETS : false
I can successfully connect, and list bucket content, but experience errors for creating blobs or directory.
The jclouds lib tries first to read the ACL of the bucket, which is denied for the service binding authKey.
2014-12-05 19:00:18,534 DEBUG [main] jclouds.headers(56) - >> GET https://p-riakcs.xxx.xxx.fr/service-instance-a8327d5a-8e80-491a-b6c0-b9ed67cca31f?acl HTTP/1.1
2014-12-05 19:00:18,544 DEBUG [main] jclouds.headers(56) - >> Date: Fri, 05 Dec 2014 18:00:16 GMT
2014-12-05 19:00:18,547 DEBUG [main] jclouds.headers(56) - >> Authorization: AWS 4ZO-BKDBAA5A1BQGIQTQ:NN5UxB2zCmWpKuAcmBTExHx5gsE=
2014-12-05 19:00:18,687 DEBUG [main] jclouds.headers(56) - << HTTP/1.1 403 Forbidden
2014-12-05 19:00:18,688 DEBUG [main] jclouds.headers(56) - << X-Cf-Requestid: b67cc89f-86a7-4823-72de-07150d6b9595
2014-12-05 19:00:18,688 DEBUG [main] jclouds.headers(56) - << Date: Fri, 05 Dec 2014 18:00:18 GMT
2014-12-05 19:00:18,689 DEBUG [main] jclouds.headers(56) - << Server: Riak CS
2014-12-05 19:00:18,689 DEBUG [main] jclouds.headers(56) - << Content-Type: application/xml
2014-12-05 19:00:18,690 DEBUG [main] jclouds.headers(56) - << Content-Length: 208
2014-12-05 19:00:18,690 DEBUG [main] jclouds.wire(56) - << "AccessDenied
Access Denied/service-instance-a8327d5a-8e80-491a-b6c0-b9ed67cca31f"
Is there a security reason not to grant this bucket acl read right ?
After deploying riak (v6 release) to cf the broker returns the catalog. But while creating a service instance the broker returns with 500 and the message below. I did dig deeper into the issue and curled the riak-cs instance with /cf-riak-cs-service-broker-bindings which returned 503. Then Google lead to an issue with stanchion. I remember that bosh deployment had a timeout but instance was running afterwards. Actually it seems that stanchion dumps and is not running. So, stanchion seems to be the root cause of all issues.
Is this a known issue?
{
description: "Excon::Errors::Forbidden: Expected(200) <=> Actual(403 Forbidden) response => #<Excon::Response:0x007f80d03fc430 @DaTa={:body=>"InvalidAccessKeyId
The AWS Access Key Id you provided does not exist in our records./cf-riak-cs-service-broker-bindings", :headers=>{"Connection"=>"close", "Content-Length"=>"247", "Content-Type"=>"application/xml", "Date"=>"Fri, 14 Nov 2014 14:36:15 GMT", "Server"=>"Riak CS", "X-Cf-Requestid"=>"0e1ff3e8-81b6-460c-7db2-9249247108b0"}, :status=>403, :remote_ip=>"10.97.71.122"}, @Body="InvalidAccessKeyId
The AWS Access Key Id you provided does not exist in our records./cf-riak-cs-service-broker-bindings", @headers={"Connection"=>"close", "Content-Length"=>"247", "Content-Type"=>"application/xml", "Date"=>"Fri, 14 Nov 2014 14:36:15 GMT", "Server"=>"Riak CS", "X-Cf-Requestid"=>"0e1ff3e8-81b6-460c-7db2-9249247108b0"}, @status=403, @remote_ip="10.97.71.122">"
}
I'm watching this project via http://blogtrottr.com/ to get notified of new final releases; the last tags were for v1 & v2; but there is a v8 final release. Not tags for v3 .. v8.
Can you please create tags for each final release in future? xoxo ❤️
hi,
I have a question about cf-riak-cs-broker, but I got it.
so close it.
i want to use the riak cs as a cc blobstore in cloud foundry. but when i deploy the riak cs and write some data to riak cs. i found that the read/write speed is very slow. compare to nfs server. i use the s3curl to put data to riak cs .i have the test as below:
a 475M file write to riak cs need 1m53.915s but 9m23.342s in nfs server
a 296M file write to riak cs need 0m50.229s
it take me a long time when i cf push app. i want to know why cloudfoundry use the riak cs for cc blobstore? even the speed is 3x lower than nfs server? is there a Performance Tuning of riak cs when you use it as a blobstore?
i hope you can help me , thank you .
Hi,
we've forked this release, but it's fail when i deploying it:
Director task 1475
Started preparing deployment
Started preparing deployment > Binding deployment. Done (00:00:00)
Started preparing deployment > Binding releases. Done (00:00:00)
Started preparing deployment > Binding existing deployment. Done (00:00:00)
Started preparing deployment > Binding resource pools. Done (00:00:00)
Started preparing deployment > Binding stemcells. Done (00:00:00)
Started preparing deployment > Binding templates. Done (00:00:00)
Started preparing deployment > Binding properties. Done (00:00:00)
Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
Started preparing deployment > Binding instance networks. Done (00:00:00)
Done preparing deployment (00:00:00)
Started preparing package compilation
Started preparing package compilation > Finding packages to compile. Done (00:00:00)
Done preparing package compilation (00:00:00)
Started preparing dns > Binding DNS. Done (00:00:00)
Started creating bound missing vms
Started creating bound missing vms > riak-pool/0
Started creating bound missing vms > riak-pool/1
Started creating bound missing vms > riak-pool/2
Started creating bound missing vms > riak-pool/3
Started creating bound missing vms > broker-pool/0
Started creating bound missing vms > broker-pool/1
Started creating bound missing vms > broker-pool/2
Done creating bound missing vms > broker-pool/1 (00:01:47)
Done creating bound missing vms > broker-pool/2 (00:01:52)
Done creating bound missing vms > broker-pool/0 (00:01:58)
Done creating bound missing vms > riak-pool/1 (00:02:04)
Done creating bound missing vms > riak-pool/2 (00:02:07)
Done creating bound missing vms > riak-pool/0 (00:02:08)
Done creating bound missing vms > riak-pool/3 (00:02:08)
Done creating bound missing vms (00:02:08)
Started binding instance vms
Started binding instance vms > riak-cs/0
Started binding instance vms > riak-cs/1
Started binding instance vms > riak-cs/2
Started binding instance vms > stanchion/0
Started binding instance vms > cf-riak-cs-broker/0
Started binding instance vms > broker-registrar/0
Started binding instance vms > broker-deregistrar/0
Done binding instance vms > riak-cs/0 (00:00:01)
Done binding instance vms > stanchion/0 (00:00:01)
Done binding instance vms > riak-cs/2 (00:00:01)
Done binding instance vms > cf-riak-cs-broker/0 (00:00:01)
Done binding instance vms > riak-cs/1 (00:00:01)
Done binding instance vms > broker-registrar/0 (00:00:01)
Done binding instance vms > broker-deregistrar/0 (00:00:01)
Done binding instance vms (00:00:01)
Started preparing configuration > Binding configuration. Done (00:00:01)
Started updating job riak-cs
Started updating job riak-cs > riak-cs/0 (canary). Done (00:01:23)
Started updating job riak-cs > riak-cs/1
Started updating job riak-cs > riak-cs/2. Done (00:02:21)
Done updating job riak-cs > riak-cs/1 (00:02:21)
Done updating job riak-cs (00:03:44)
Started updating job stanchion > stanchion/0 (canary). Done (00:01:05)
Started updating job cf-riak-cs-broker > cf-riak-cs-broker/0 (canary). Done (00:00:49)
Started updating job broker-registrar > broker-registrar/0 (canary). Done (00:00:43)
Started updating job broker-deregistrar > broker-deregistrar/0 (canary). Done (00:00:42)
Error 100: undefined local variable or method `name' for #Bosh::Director::ResourcePoolUpdater:0x00000003de56b8
Generate the manifest:
$ ./generate_deployment_manifest aws cf-riak-cs-aws-stub.yml > cf-riak-cs-aws.yml
what wrong with it?
Bosh compilation of git package fail with stemcell 3093.
The failure trace:
Error 450001: Action Failed get_task: Task 15350037-d4ee-45ea-7689-f5f4aeeb286f result: Compiling package git: Running packaging script: Command exited with 1; Truncated stdout: MSGFMT po/build/locale/sv/LC_MESSAGES/git.mo
MSGFMT po/build/locale/vi/LC_MESSAGES/git.mo
MSGFMT po/build/locale/zh_CN/LC_MESSAGES/git.mo
CC test-chmtime.o
CC test-ctype.o
CC test-date.o
CC test-delta.o
CC test-dump-cache-tree.o
CC test-genrandom.o
CC test-index-version.o
CC test-line-buffer.o
CC test-match-trees.o
CC test-mergesort.o
CC test-mktemp.o
CC test-parse-options.o
CC test-path-utils.o
CC test-prio-queue.o
CC test-read-cache.o
CC test-regex.o
CC test-revision-walking.o
CC test-run-command.o
CC test-scrap-cache-tree.o
CC test-sha1.o
CC test-sigchain.o
CC test-string-list.o
CC test-subprocess.o
CC test-svn-fe.o
CC test-wildmatch.o
GEN bin-wrappers/git
GEN bin-wrappers/git-upload-pack
GEN bin-wrappers/git-receive-pack
GEN bin-wrappers/git-upload-archive
GEN bin-wrappers/git-shell
GEN bin-wrappers/git-cvsserver
GEN bin-wrappers/test-chmtime
GEN bin-wrappers/test-ctype
GEN bin-wrappers/test-date
GEN bin-wrappers/test-delta
GEN bin-wrappers/test-dump-cache-tree
GEN bin-wrappers/test-genrandom
GEN bin-wrappers/test-index-version
GEN bin-wrappers/test-line-buffer
GEN bin-wrappers/test-match-trees
GEN bin-wrappers/test-mergesort
GEN bin-wrappers/test-mktemp
GEN bin-wrappers/test-parse-options
GEN bin-wrappers/test-path-utils
GEN bin-wrappers/test-prio-queue
GEN bin-wrappers/test-read-cache
GEN bin-wrappers/test-regex
GEN bin-wrappers/test-revision-walking
GEN bin-wrappers/test-run-command
GEN bin-wrappers/test-scrap-cache-tree
GEN bin-wrappers/test-sha1
GEN bin-wrappers/test-sigchain
GEN bin-wrappers/test-string-list
GEN bin-wrappers/test-subprocess
GEN bin-wrappers/test-svn-fe
GEN bin-wrappers/test-wildmatch
GEN git-remote-testgit
GEN git-remote-testpy
CC credential-store.o
CC abspath.o
CC advice.o
CC alias.o
CC alloc.o
CC archive.o
CC archive-tar.o
CC archive-zip.o
CC argv-array.o
CC attr.o
CC help.o
CC version.o
AR xdiff/lib.a
AR vcs-svn/lib.a
GEN git-am
GEN git-bisect
GEN git-difftool--helper
GEN git-filter-branch
GEN git-lost-found
GEN git-merge-octopus
GEN git-merge-one-file
GEN git-merge-resolve
GEN git-mergetool
GEN git-pull
GEN git-quiltimport
GEN git-rebase
GEN git-repack
GEN git-request-pull
GEN git-stash
GEN git-submodule
GEN git-web--browse
SUBDIR perl
/usr/bin/perl Makefile.PL PREFIX='/var/vcap/packages/git' INSTALL_BASE='' --localedir='/var/vcap/packages/git/share/locale'
GEN git-p4
GEN git-instaweb
AR libgit.a
LINK git-credential-store
LINK git-daemon
LINK git-fast-import
LINK git-http-backend
LINK git-imap-send
LINK git-sh-i18n--envsubst
LINK git-shell
LINK git-show-index
LINK git-upload-pack
LINK git-remote-testsvn
LINK git-http-fetch
LINK git-credential-cache
LINK git-credential-cache--daemon
LINK git-remote-http
GEN git-add--interactive
GEN git-difftool
GEN git-archimport
GEN git-cvsexportcommit
GEN git-cvsimport
GEN git-cvsserver
GEN git-relink
GEN git-send-email
GEN git-svn
LINK git
LINK test-chmtime
LINK test-ctype
LINK test-date
LINK test-delta
LINK test-dump-cache-tree
LINK test-genrandom
LINK test-index-version
LINK test-line-buffer
LINK test-match-trees
LINK test-mergesort
LINK test-mktemp
LINK test-parse-options
LINK test-path-utils
LINK test-prio-queue
LINK test-read-cache
LINK test-regex
LINK test-revision-walking
LINK test-run-command
LINK test-scrap-cache-tree
LINK test-sha1
LINK test-sigchain
LINK test-string-list
LINK test-subprocess
LINK test-svn-fe
LINK test-wildmatch
LN/CP git-remote-https
LN/CP git-remote-ftp
LN/CP git-remote-ftps
BUILTIN git-add
BUILTIN git-annotate
BUILTIN git-apply
BUILTIN git-archive
BUILTIN git-bisect--helper
BUILTIN git-blame
BUILTIN git-branch
BUILTIN git-bundle
BUILTIN git-cat-file
BUILTIN git-check-attr
BUILTIN git-check-ignore
BUILTIN git-check-mailmap
BUILTIN git-check-ref-format
BUILTIN git-checkout-index
BUILTIN git-checkout
BUILTIN git-clean
BUILTIN git-clone
BUILTIN git-column
BUILTIN git-commit-tree
BUILTIN git-commit
BUILTIN git-config
BUILTIN git-count-objects
BUILTIN git-credential
BUILTIN git-describe
BUILTIN git-diff-files
BUILTIN git-diff-index
BUILTIN git-diff-tree
BUILTIN git-diff
BUILTIN git-fast-export
BUILTIN git-fetch-pack
BUILTIN git-fetch
BUILTIN git-fmt-merge-msg
BUILTIN git-for-each-ref
BUILTIN git-fsck
BUILTIN git-gc
BUILTIN git-grep
BUILTIN git-hash-object
BUILTIN git-help
BUILTIN git-index-pack
BUILTIN git-init-db
BUILTIN git-log
BUILTIN git-ls-files
BUILTIN git-ls-remote
BUILTIN git-ls-tree
BUILTIN git-mailinfo
BUILTIN git-mailsplit
BUILTIN git-merge
BUILTIN git-merge-base
BUILTIN git-merge-file
BUILTIN git-merge-index
BUILTIN git-merge-ours
BUILTIN git-merge-recursive
BUILTIN git-merge-tree
BUILTIN git-mktag
BUILTIN git-mktree
BUILTIN git-mv
BUILTIN git-name-rev
BUILTIN git-notes
BUILTIN git-pack-objects
BUILTIN git-pack-redundant
BUILTIN git-pack-refs
BUILTIN git-patch-id
BUILTIN git-prune-packed
BUILTIN git-prune
BUILTIN git-push
BUILTIN git-read-tree
BUILTIN git-receive-pack
BUILTIN git-reflog
BUILTIN git-remote
BUILTIN git-remote-ext
BUILTIN git-remote-fd
BUILTIN git-replace
BUILTIN git-rerere
BUILTIN git-reset
BUILTIN git-rev-list
BUILTIN git-rev-parse
BUILTIN git-revert
BUILTIN git-rm
BUILTIN git-send-pack
BUILTIN git-shortlog
BUILTIN git-show-branch
BUILTIN git-show-ref
BUILTIN git-stripspace
BUILTIN git-symbolic-ref
BUILTIN git-tag
BUILTIN git-tar-tree
BUILTIN git-unpack-file
BUILTIN git-unpack-objects
BUILTIN git-update-index
BUILTIN git-update-ref
BUILTIN git-update-server-info
BUILTIN git-upload-archive
BUILTIN git-var
BUILTIN git-verify-pack
BUILTIN git-verify-tag
BUILTIN git-write-tree
BUILTIN git-cherry
BUILTIN git-cherry-pick
BUILTIN git-format-patch
BUILTIN git-fsck-objects
BUILTIN git-get-tar-commit-id
BUILTIN git-init
BUILTIN git-merge-subtree
BUILTIN git-peek-remote
BUILTIN git-repo-config
BUILTIN git-show
BUILTIN git-stage
BUILTIN git-status
BUILTIN git-whatchanged
SUBDIR git-gui
MSGFMT po/de.msg MSGFMT po/el.msg MSGFMT po/fr.msg 520 translated.
MSGFMT po/hu.msg 381 translated, 4 fuzzy, 6 untranslated.
MSGFMT po/it.msg 520 translated.
MSGFMT po/ja.msg 514 translated.
519 translated, 1 untranslated.
MSGFMT po/nb.msg MSGFMT po/pt_br.msg 520 translated.
MSGFMT po/ru.msg 474 translated, 39 untranslated.
MSGFMT po/sv.msg 520 translated.
MSGFMT po/zh_cn.msg 516 translated, 4 untranslated.
GEN git-gui
521 translated.
366 translated, 7 fuzzy, 17 untranslated.
INDEX lib/
SUBDIR gitk-git
Generating catalog po/de.msg
msgfmt --statistics --tcl po/de.po -l de -d po/
Generating catalog po/es.msg
msgfmt --statistics --tcl po/es.po -l es -d po/
Generating catalog po/fr.msg
msgfmt --statistics --tcl po/fr.po -l fr -d po/
Generating catalog po/hu.msg
msgfmt --statistics --tcl po/hu.po -l hu -d po/
Generating catalog po/it.msg
msgfmt --statistics --tcl po/it.po -l it -d po/
Generating catalog po/ja.msg
msgfmt --statistics --tcl po/ja.po -l ja -d po/
Generating catalog po/pt_br.msg
msgfmt --statistics --tcl po/pt_br.po -l pt_br -d po/
Generating catalog po/ru.msg
msgfmt --statistics --tcl po/ru.po -l ru -d po/
Generating catalog po/sv.msg
msgfmt --statistics --tcl po/sv.po -l sv -d po/
GEN gitk-wish
SUBDIR perl
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></var/vcap/packages/git/share/locale>" <Git/SVN/Utils.pm >blib/lib/Git/SVN/Utils.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></var/vcap/packages/git/share/locale>" <Git/SVN/GlobSpec.pm >blib/lib/Git/SVN/GlobSpec.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></var/vcap/packages/git/share/locale>" <Git/I18N.pm >blib/lib/Git/I18N.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></var/vcap/packages/git/share/locale>" <Git/IndexInfo.pm >blib/lib/Git/IndexInfo.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></var/vcap/packages/git/share/locale>" <Git/SVN/Ra.pm >blib/lib/Git/SVN/Ra.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></var/vcap/packages/git/share/locale>" <Git.pm >blib/lib/Git.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></var/vcap/packages/git/share/locale>" <Git/SVN/Log.pm >blib/lib/Git/SVN/Log.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></var/vcap/packages/git/share/locale>" <Git/SVN/Memoize/YAML.pm >blib/lib/Git/SVN/Memoize/YAML.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></var/vcap/packages/git/share/locale>" <Git/SVN/Editor.pm >blib/lib/Git/SVN/Editor.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></var/vcap/packages/git/share/locale>" <Git/SVN/Fetcher.pm >blib/lib/Git/SVN/Fetcher.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></var/vcap/packages/git/share/locale>" <Git/SVN/Prompt.pm >blib/lib/Git/SVN/Prompt.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></var/vcap/packages/git/share/locale>" <Git/SVN/Migration.pm >blib/lib/Git/SVN/Migration.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></var/vcap/packages/git/share/locale>" <Git/SVN.pm >blib/lib/Git/SVN.pm
/usr/bin/perl -pe "s<\Q++LOCALEDIR++\E></var/vcap/packages/git/share/locale>" <private-Error.pm >blib/lib/Error.pm
Manifying blib/man3/Git::SVN::Editor.3pm
Manifying blib/man3/Git::SVN::Memoize::YAML.3pm
Manifying blib/man3/Git::I18N.3pm
Manifying blib/man3/Git.3pm
Manifying blib/man3/Git::SVN::Ra.3pm
Manifying blib/man3/Git::SVN::Fetcher.3pm
Manifying blib/man3/Git::SVN::Prompt.3pm
Manifying blib/man3/private-Error.3pm
Manifying blib/man3/Git::SVN::Utils.3pm
SUBDIR git_remote_helpers
, Stderr: + tar xzf git/git-1.8.4.tar.gz
I use the newest bosh-lite (Commit: 9a3577c71daf9bbe5c5c8967793ae604bef2f9a8) and cf-riak-cs-release (Commit: 67d0533)
My virtualbox runs on mac with 10GB base memory, Ruby 2.1.5, Go 1.4.1
After creating a new instance via
vagrant up --provider=virtualbox
./bin/provision_cf
I'm following the instructions of the cf-riak-cs-release README.md.
minor issue: bosh create release
BUT two out of three acceptance-tests fail:
[Fail] [BeforeEach] Riak CS Nodes Register a Route Allows users to access the riak-cs service using external url instead of IP of single machine after register the route
/var/vcap/packages/acceptance-tests/vendor/src/github.com/cloudfoundry-incubator/cf-test-helpers/services/context_setup/context_setup.go:67
[Fail] Riak CS Service Lifecycle [It] Allows users to create, bind, write to, read from, unbind, and destroy the service instance
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:41
How can I fix that?
Best regards, Stephan
Here's the full output:
$ bosh run errand broker-registrar
Director task 9
Started preparing deployment
Started preparing deployment > Binding deployment. Done (00:00:00)
Started preparing deployment > Binding releases. Done (00:00:00)
Started preparing deployment > Binding existing deployment. Done (00:00:00)
Started preparing deployment > Binding resource pools. Done (00:00:00)
Started preparing deployment > Binding stemcells. Done (00:00:00)
Started preparing deployment > Binding templates. Done (00:00:00)
Started preparing deployment > Binding properties. Done (00:00:00)
Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
Started preparing deployment > Binding instance networks. Done (00:00:00)
Done preparing deployment (00:00:00)
Started preparing package compilation > Finding packages to compile. Done (00:00:00)
Started creating bound missing vms > broker-pool/0. Done (00:00:02)
Started binding instance vms > broker-registrar/0. Done (00:00:00)
Started updating job broker-registrar > broker-registrar/0 (canary). Done (00:00:38)
Started running errand > broker-registrar/0. Done (00:00:03)
Started fetching logs for broker-registrar/0 > Finding and packing log files. Done (00:00:01)
Started deleting errand instances broker-registrar > b2220f8f-3c4f-4293-6b2d-970b60535fae. Done (00:00:01)
Task 9 done
Started 2015-01-25 22:42:51 UTC
Finished 2015-01-25 22:43:36 UTC
Duration 00:00:45
[stdout]
bundle exec ./bin/broker-registrar register
--cf-address https://api.10.244.0.34.xip.io
--cf-username admin
--cf-password ********
--broker-name p-riakcs
--broker-url http://p-riakcs-broker.10.244.0.34.xip.io:80
--broker-username admin
--broker-password ********
I, [2015-01-25T22:43:33.904866 #93] INFO -- : Registered service broker [p-riakcs]
I, [2015-01-25T22:43:34.168393 #93] INFO -- : Made service plan [developer] public
[stderr]
None
Errand `broker-registrar' completed successfully (exit code 0)
23:43:37 d025876@WDFM32407851A /cf/cf-riak-cs-release @ (release-candidate)
$ bosh run errand acceptance-tests
Director task 10
Started preparing deployment
Started preparing deployment > Binding deployment. Done (00:00:00)
Started preparing deployment > Binding releases. Done (00:00:00)
Started preparing deployment > Binding existing deployment. Done (00:00:00)
Started preparing deployment > Binding resource pools. Done (00:00:00)
Started preparing deployment > Binding stemcells. Done (00:00:00)
Started preparing deployment > Binding templates. Done (00:00:00)
Started preparing deployment > Binding properties. Done (00:00:00)
Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
Started preparing deployment > Binding instance networks. Done (00:00:00)
Done preparing deployment (00:00:00)
Started preparing package compilation > Finding packages to compile. Done (00:00:00)
Started creating bound missing vms > broker-pool/0. Done (00:00:02)
Started binding instance vms > acceptance-tests/0. Done (00:00:00)
Started updating job acceptance-tests > acceptance-tests/0 (canary). Done (00:00:41)
Started running errand > acceptance-tests/0. Done (00:01:52)
Started fetching logs for acceptance-tests/0 > Finding and packing log files. Done (00:00:01)
Started deleting errand instances acceptance-tests > bd696e21-9134-41b5-42d8-30c4d206e751. Done (00:00:01)
Task 10 done
Started 2015-01-25 22:44:11 UTC
Finished 2015-01-25 22:46:48 UTC
Duration 00:02:37
[stdout]
/var/vcap/packages/golang/bin/go
Random Seed: 1422225895
Will run 3 of 3 specs
Riak CS Nodes Register a Route
Allows users to access the riak-cs service using external url instead of IP of single machine after register the route
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/route_register_test.go:23
[2015-01-25 22:44:57.27 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:44:57.50 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:44:58.04 (UTC)]> cf create-user RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
Creating user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
[2015-01-25 22:45:08.05 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:45:08.10 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:45:08.15 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:08.24 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:08.53 (UTC)]> cf delete-user -f RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Deleting user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:14.01 (UTC)]> cf delete-org -f RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Deleting org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
Org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s does not exist.
[2015-01-25 22:45:14.09 (UTC)]> cf curl /v2/quota_definitions/?recursive=true -X DELETE -d
{
"code": 10000,
"description": "Unknown request",
"error_code": "CF-NotFound"
}
[2015-01-25 22:45:14.21 (UTC)]> cf logout
Logging out...
OK
• Failure [16.986 seconds]
Riak CS Nodes Register a Route [BeforeEach]
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/route_register_test.go:24
Allows users to access the riak-cs service using external url instead of IP of single machine after register the route
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/route_register_test.go:23
failed to create user
Riak Broker Registers a Route
Allows users to access the riak-cs broker using a url
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/route_register_test.go:37
[2015-01-25 22:45:14.26 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:14.34 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:14.75 (UTC)]> cf create-user RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
Creating user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK
TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'
[2015-01-25 22:45:14.96 (UTC)]> cf curl /v2/quota_definitions -X POST -d {"name":"RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s","non_basic_services_allowed":true,"total_services":100,"total_routes":1000,"memory_limit":10240}
{
"metadata": {
"guid": "d82cff98-3aa8-4841-aace-cd74015600ec",
"url": "/v2/quota_definitions/d82cff98-3aa8-4841-aace-cd74015600ec",
"created_at": "2015-01-25T22:45:15+00:00",
"updated_at": null
},
"entity": {
"name": "RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s",
"non_basic_services_allowed": true,
"total_services": 100,
"total_routes": 1000,
"memory_limit": 10240,
"trial_db_allowed": false,
"instance_memory_limit": -1
}
}
[2015-01-25 22:45:15.06 (UTC)]> cf create-org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Creating org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s' to target new org
[2015-01-25 22:45:15.16 (UTC)]> cf set-quota RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s
Setting quota RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s to org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:15.35 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:45:15.39 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:15.47 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:15.73 (UTC)]> cf create-space -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
Creating space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
Assigning role SpaceManager to user admin in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
Assigning role SpaceDeveloper to user admin in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s -s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s' to target new space
[2015-01-25 22:45:16.10 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceManager
Assigning role SpaceManager to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:16.40 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceDeveloper
Assigning role SpaceDeveloper to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:16.83 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceAuditor
Assigning role SpaceAuditor to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:17.13 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:45:17.17 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:17.25 (UTC)]> cf auth RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:17.52 (UTC)]> cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s -s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
User: RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Org: RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Space: RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
[2015-01-25 22:45:17.70 (UTC)]> curl -s -k -s -w %{http_code} http://p-riakcs-broker.10.244.0.34.xip.io/v2/catalog -o /dev/null
401
[2015-01-25 22:45:17.84 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:45:17.88 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:17.95 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:18.21 (UTC)]> cf delete-user -f RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Deleting user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:23.47 (UTC)]> cf delete-org -f RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Deleting org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:28.69 (UTC)]> cf curl /v2/quota_definitions/d82cff98-3aa8-4841-aace-cd74015600ec?recursive=true -X DELETE -d
[2015-01-25 22:45:28.78 (UTC)]> cf logout
Logging out...
OK
Riak CS Service Lifecycle
Allows users to create, bind, write to, read from, unbind, and destroy the service instance
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:54
[2015-01-25 22:45:28.82 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:28.90 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:29.20 (UTC)]> cf create-user RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
Creating user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK
TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'
[2015-01-25 22:45:29.44 (UTC)]> cf curl /v2/quota_definitions -X POST -d {"name":"RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s","non_basic_services_allowed":true,"total_services":100,"total_routes":1000,"memory_limit":10240}
{
"metadata": {
"guid": "289025cc-bcc1-42d7-bc2b-380f9a175a45",
"url": "/v2/quota_definitions/289025cc-bcc1-42d7-bc2b-380f9a175a45",
"created_at": "2015-01-25T22:45:29+00:00",
"updated_at": null
},
"entity": {
"name": "RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s",
"non_basic_services_allowed": true,
"total_services": 100,
"total_routes": 1000,
"memory_limit": 10240,
"trial_db_allowed": false,
"instance_memory_limit": -1
}
}
[2015-01-25 22:45:29.52 (UTC)]> cf create-org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Creating org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s' to target new org
[2015-01-25 22:45:29.61 (UTC)]> cf set-quota RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s
Setting quota RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s to org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:29.81 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:45:29.85 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:29.94 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:30.20 (UTC)]> cf create-space -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
Creating space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
Assigning role SpaceManager to user admin in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
Assigning role SpaceDeveloper to user admin in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s -s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s' to target new space
[2015-01-25 22:45:30.56 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceManager
Assigning role SpaceManager to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:30.86 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceDeveloper
Assigning role SpaceDeveloper to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:31.16 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceAuditor
Assigning role SpaceAuditor to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:45:31.47 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:45:31.51 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:45:31.59 (UTC)]> cf auth RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:45:31.85 (UTC)]> cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s -s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
User: RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Org: RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Space: RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
[2015-01-25 22:45:32.03 (UTC)]> cf push 9dbdf53b-51ca-422f-535f-ff3f207bd275 -m 256M -p ../assets/app_sinatra_service -no-start
Creating app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK
Creating route 9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io...
OK
Binding 9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io to 9dbdf53b-51ca-422f-535f-ff3f207bd275...
OK
Uploading 9dbdf53b-51ca-422f-535f-ff3f207bd275...
Uploading app files from: ../assets/app_sinatra_service
Uploading 10.7M, 22 files
OK
Endpoint deprecated
[2015-01-25 22:45:38.30 (UTC)]> cf create-service p-riakcs developer ac6e2e9c-d6de-4117-6609-6c818dd06200
Creating service ac6e2e9c-d6de-4117-6609-6c818dd06200 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK
[2015-01-25 22:45:40.38 (UTC)]> cf bind-service 9dbdf53b-51ca-422f-535f-ff3f207bd275 ac6e2e9c-d6de-4117-6609-6c818dd06200
Binding service ac6e2e9c-d6de-4117-6609-6c818dd06200 to app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK
TIP: Use 'cf push' to ensure your env variable changes take effect
[2015-01-25 22:45:41.82 (UTC)]> cf start 9dbdf53b-51ca-422f-535f-ff3f207bd275
Starting app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK
-----> Downloaded app package (11M)
-------> Buildpack version 1.2.0
-----> Compiling Ruby/Rack
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.6.3
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Installing formatador 0.2.4
Installing builder 3.2.2
Installing excon 0.31.0
Installing multi_json 1.8.4
Installing mime-types 2.1
Installing ruby-hmac 0.4.0
Installing mini_portile 0.5.2
Installing tilt 1.4.1
Using bundler 1.6.3
Installing net-ssh 2.8.0
Installing net-scp 1.1.2
Installing rack 1.5.2
Installing rack-protection 1.5.2
Installing sinatra 1.4.4
Installing nokogiri 1.6.1
Installing fog 1.19.0
Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
Bundle completed (7.84s)
Cleaning up the bundler cache.
You have not declared a Ruby version in your Gemfile.
To set your Ruby version add this line to your Gemfile:
ruby '2.0.0'
# See https://devcenter.heroku.com/articles/ruby-versions for more information.
No Procfile detected, using the default web server (webrick)
https://devcenter.heroku.com/articles/ruby-default-web-server
-----> Uploading droplet (34M)
1 of 1 instances running
App started
Showing health and status for app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK
requested state: started
instances: 1/1
usage: 256M x 1 instances
urls: 9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io
state since cpu memory disk
#0 running 2015-01-25 10:46:11 PM 0.0% 75M of 256M 0 of 1G
Posting to url: https://9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io/service/blobstore/ac6e2e9c-d6de-4117-6609-6c818dd06200/mykey
[2015-01-25 22:46:22.80 (UTC)]> curl -s -k -d myvalue https://9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io/service/blobstore/ac6e2e9c-d6de-4117-6609-6c818dd06200/mykey
Error: Connection refused - connect(2) (Errno::ECONNREFUSED)
Backtrace: /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in connect_nonblock' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in
rescue in block in connect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:171:in block in connect' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in
each'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in connect' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:97:in
connect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:28:in initialize' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:9:in
initialize'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in new' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in
socket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:122:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/mock.rb:42:in
request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/instrumentor.rb:22:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in
request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in
request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:265:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in rescue in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in
request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in
rescue in request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in
error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in rescue in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in
request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/xml/sax_parser_connection.rb:36:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/core/deprecated/connection.rb:18:in
request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/storage.rb:539:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/requests/storage/get_bucket.rb:44:in
get_bucket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/models/storage/directories.rb:24:in get' /home/vcap/app/main.rb:48:in
block in <top (required)>'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in
block in compile!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in []' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in
block (3 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:976:in route_eval' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in
block (2 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:997:in block in process_route' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in
catch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in process_route' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:955:in
block in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in each' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in
route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1067:in block in dispatch!' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in
block in invoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in catch' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in
invoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1064:in dispatch!' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:in
block in call!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in block in invoke' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in
catch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in invoke' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:in
call!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:877:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/xss_header.rb:18:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/path_traversal.rb:16:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/json_csrf.rb:18:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/frame_options.rb:31:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/logger.rb:15:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/commonlogger.rb:33:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:217:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:210:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:180:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:2004:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in
block in call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1778:in synchronize' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in
call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in service' /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in
service'
/home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in run' /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in
block in start_thread'
[2015-01-25 22:46:27.81 (UTC)]> cf delete 9dbdf53b-51ca-422f-535f-ff3f207bd275 -f
Deleting app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK
[2015-01-25 22:46:29.14 (UTC)]> cf logout
Logging out...
OK
[2015-01-25 22:46:29.19 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.
[2015-01-25 22:46:29.26 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space
[2015-01-25 22:46:29.53 (UTC)]> cf delete-user -f RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Deleting user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:46:34.95 (UTC)]> cf delete-org -f RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Deleting org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
[2015-01-25 22:46:45.25 (UTC)]> cf curl /v2/quota_definitions/289025cc-bcc1-42d7-bc2b-380f9a175a45?recursive=true -X DELETE -d
[2015-01-25 22:46:45.36 (UTC)]> cf logout
Logging out...
OK
• Failure [76.582 seconds]
Riak CS Service Lifecycle
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:55
Allows users to create, bind, write to, read from, unbind, and destroy the service instance [It]
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:54
No future change is possible. Bailing out early after 5.007s.
Got stuck at:
Error: Connection refused - connect(2) (Errno::ECONNREFUSED)
Backtrace: /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in `connect_nonblock'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in `rescue in block in connect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:171:in `block in connect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in `each'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in `connect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:97:in `connect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:28:in `initialize'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:9:in `initialize'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in `new'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in `socket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:122:in `request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/mock.rb:42:in `request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/instrumentor.rb:22:in `request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:265:in `request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in `error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in `rescue in request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in `request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in `error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in `rescue in request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in `request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in `error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in `rescue in request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in `request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/xml/sax_parser_connection.rb:36:in `request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/core/deprecated/connection.rb:18:in `request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/storage.rb:539:in `request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/requests/storage/get_bucket.rb:44:in `get_bucket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/models/storage/directories.rb:24:in `get'
/home/vcap/app/main.rb:48:in `block in <top (required)>'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in `block in compile!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in `[]'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in `block (3 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:976:in `route_eval'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in `block (2 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:997:in `block in process_route'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in `catch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in `process_route'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:955:in `block in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in `each'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in `route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1067:in `block in dispatch!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `block in invoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `catch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `invoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1064:in `dispatch!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:in `block in call!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `block in invoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `catch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `invoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:in `call!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:877:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/xss_header.rb:18:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/path_traversal.rb:16:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/json_csrf.rb:18:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/frame_options.rb:31:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/logger.rb:15:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/commonlogger.rb:33:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:217:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:210:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:180:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:2004:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in `block in call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1778:in `synchronize'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in `call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Waiting for:
myvalue
Summarizing 2 Failures:
[Fail] [BeforeEach] Riak CS Nodes Register a Route Allows users to access the riak-cs service using external url instead of IP of single machine after register the route
/var/vcap/packages/acceptance-tests/vendor/src/github.com/cloudfoundry-incubator/cf-test-helpers/services/context_setup/context_setup.go:67
[Fail] Riak CS Service Lifecycle [It] Allows users to create, bind, write to, read from, unbind, and destroy the service instance
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:41
Ran 3 of 3 Specs in 108.130 seconds
FAIL! -- 1 Passed | 2 Failed | 0 Pending | 0 Skipped --- FAIL: TestServices (108.13s)
FAIL
Ginkgo ran 1 suite in 1m49.561745033s
Test Suite Failed
[stderr]
Errand `acceptance-tests' completed with error (exit code 1)
We have downloaded the p-riak-cs-1.2.0.0.pivotal release from https://network.gopivotal.com/products and installed it on CF/Ops Manager 1.2 running on Vsphere. We then created and bound a service to a Rails app running on CF.
However, we are unable to successfully connect access a bucket on the service.
Here's how to reproduce our problem:
cf files <APP> logs/env.log
Expected
Actual
We got similar failures when trying to access via other S3 clients (e.g. aws-s3 gem, a perl script client).
Hi,
we've forked this release, and have been working on improvements to support Riak (without CS).
While we've diverged a bit, we've added a few new features to the Riak bosh release you might be interested in, including:
We'd like eventually to get this all merged upstream - but our changes have been fairly extensive.
Feel free to pull whatever code you like - contact @trastle for more details, as CloudCredo will be rolling off this project shortly.
regards
James M
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.