Date   

Cluster Discovery Service in Cloud Foundry

Malmee Weerasinghe
 

Hi,
Can you please explain me on how Cluster Discovery Service happens in Cloud Foundry with Diego. I want to get the list of members (IP addresses) in a logical cluster. This approach is taken in order to initialize a Hazelcast Cluster.
Thank you


How to pass client IP to subsequent requests

Stanley Shen <meteorping@...>
 

Hello, all

I have a CF/diego instance deployed on AWS,
The environment is:
bosh-aws-xen-hvm-ubuntu-trusty-go_agent 3184.1*
cf 230*
diego 0.1450.0*
docker 23*
etcd 27*
garden-linux 0.330.0*

The VMs are deployed in internal subnets and expose to outside with a HA_Proxy VM.

We have applications pushed to this environment, and we have code to track the IP of users who accessed the application.
In our CF v1 environment, we defined a HTTP header in startup request, and then we can get its value in code.
proxy_set_header X-Real_IP $remote_addr

The project is nodejs and the code to read remote IP is:
var remoteIP = req.headers['x-real_ip'] || req.socket.remoteAddress;

And it gets IP ::ffff:10.0.16.102
10.0.16.102 is the private IP of cell VM. What does this "::ffff:" means?

Where should I add this header again so that all the subsequent can get the value?
Or if there are other approaches to use?

Thanks in advance.


Re: demo of support for multiple application ports and TCP routing

Dr Nic Williams
 

I understand that host:port is used for routing TCP requests.

What is the use case for some rare users of PWS or BlueMix or other large CF deployments to expect that they can declare what port they should be allowed to route?

Is this use case so common or important that we should allow it to leak into CF?

Will we support the 95-99% case (afaict sorry), where users just want any port (and to be able to look up what host:port they got - remembering that there will be multiple tcp LBs due to port limitations)? It wasn't in the demo - so its a question - what's the API call to say "yes I want a TCP route, but I don't care what host:port it is?"


Docker container linkage

Paul Bakare
 

Hi,

Does Diego support Docker Container linkage?

For example, my current vanilla docker container is running with 2 linked
containers namely postgres and rabbitmq. If I have to maintain this linkage
on CF, should I drop the linkage in favour CF services or it'd just work
OOTB?

Appreciate your response


Re: demo of support for multiple application ports and TCP routing

James Bayer
 

nic,

some clients require a particular port number to work, so just allocating
any of the available ones won't be enough if a client needs to specify a
particular port and wants to express that.

in this case, 60004 is a port mapping that this tcp route has that port
reserved. the incoming port is how we know which app to route to when
multiple ports are used on the same IP. there is no layer 7 http header to
base the route decision on, you just have HOST:PORT of the destination.

On Mon, Feb 22, 2016 at 7:24 PM, Dr Nic Williams <drnic(a)starkandwayne.com>
wrote:

Sorry for only commenting on the bit that I wanted to comment on. The rest
of the demo was super cool.


--
Thank you,

James Bayer


Re: Pushing Docker images to MicroPCF

Nanduni Nimalsiri
 

Thank you very much. I will try your instructions.

Best regards,
Nanduni


Re: Load balancing on Cloud Foundry with Docker

Nanduni Nimalsiri
 

Hi James,

Thank you for the explanation. It helps me a lot. Hoping more help in future.

Best regards,
Nanduni.


Re: demo of support for multiple application ports and TCP routing

Dr Nic Williams
 

Sorry for only commenting on the bit that I wanted to comment on. The rest of the demo was super cool.


Re: demo of support for multiple application ports and TCP routing

Dr Nic Williams
 

I don't like seeing that you're allowing/asking the user to choose the external port (60004) - it's exposing an implementation detail of the platform. The end user/developer should never need to haggle or decide what port that might be available.

Especially with the AWS 100 port limit (but a limit of 30k or 60k is still a limit), you're going to want the platform to manage the pooling of many LBs x 100 and carefully/programmatically allocate them, I think.


Re: Failed to delete an app due to "gateway timeout" error in server broker

Yunlong Yang
 

Good to know that, maybe the xip DNS server is not stable.
I will try building our own DNS server and have a try.


Action Required : UAA Properties Deprecation Notification

Sree Tummidi
 

Hi All,

We plan on deprecating properties in UAA that either have a replacement or
are no longer used.

The spreadsheet linked here
<https://docs.google.com/a/pivotal.io/spreadsheets/d/1C3VlW7BmUZ7b8o3zHwmbRxdOnSAP7nWA6Q8QKwiAj8s/edit?usp=sharing>
summarizes all the properties that will be deprecated. If you have any
questions about a property listed here, please comment and we can provide
further explanation.

We will be providing a *3 Month Window (End of May 2016)* before these
properties are completely removed from the UAA code base.

We advise you to take the following actions:

1. If you are using a deprecated property which has a replacement,
please switch to the replacement as documented in the spreadsheet linked
above.
2. If you are using a property that is no longer used, please remove it
from your deployment configuration files (manifest templates or the
UAA/Login YML)

Thanks,
Sree Tummidi
Sr. Product Manager
Identity - Pivotal Cloud Foundry


Re: trouble deploying app to CF

James Bayer
 

looks like staging failed with an unknown error after the app was
successfully uploaded. how did you deploy your cf? are there buildpacks
listed in "cf buildpacks"? perhaps you could look at the logs in either the
DEAs or Diego Cells depending on which type of configuration you're using.

have you tested the app you pushed with a known-to-work CF like PWS,
Bluemix, Appfog, etc to rule out it being an issue with the app?

On Mon, Feb 22, 2016 at 2:03 PM, Deepa Kalani <dkalani(a)gmail.com> wrote:

Hello,

I am new to CF and was trying to play around with it..., while I have the
stack running I cannot seem to deploy an application. (Trying dora from
cf-acceptance-tests), would appreciate some help as to where I could be
going wrong.

CF version :
ubuntu(a)ip-10-0-0-48:~/cf-acceptance-tests/assets/dora$ cf -v
cf version 6.12.4-b4b6af1-2015-09-18T17:55:23+00:00
ubuntu(a)ip-10-0-0-48:~/cf-acceptance-tests/assets/dora$

The error I run into is the following :

FAILED
Server error, status code: 500, error code: 10001, message: An unknown
error occurred.
FAILED
Server error, status code: 500, error code: 10001, message: An unknown
error occurred.

Thanks
Deepa

(More logs below)
ubuntu(a)ip-10-0-0-48:~/cf-acceptance-tests/assets/dora$ cf push dora
--random-route

REQUEST: [2016-02-22T21:59:11Z]
POST /oauth/token HTTP/1.1
Host: login.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/x-www-form-urlencoded
User-Agent: go-cli 6.12.4-b4b6af1 / linux


grant_type=refresh_token&refresh_token=eyJhbGciOiJSUzI1NiJ9.eyJqdGkiOiI4MzM5NzBiNC00NWM1LTRmN2QtODJmZC1jZmRlZGFiMDExMzUtciIsInN1YiI6Ijg2MThlNDM0LTM2NTItNDRjMS05MTkwLTI3MTIyZWQ3ZTA1MSIsInNjb3BlIjpbIm9wZW5pZCIsInNjaW0ucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iLCJ1YWEudXNlciIsImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsInBhc3N3b3JkLndyaXRlIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSIsImRvcHBsZXIuZmlyZWhvc2UiLCJzY2ltLndyaXRlIl0sImlhdCI6MTQ1NTk0OTk1NywiZXhwIjoxNDU4NTQxOTU3LCJjaWQiOiJjZiIsImNsaWVudF9pZCI6ImNmIiwiaXNzIjoiaHR0cDovL3VhYS41Mi43Mi43Mi45OC54aXAuaW8vb2F1dGgvdG9rZW4iLCJ6aWQiOiJ1YWEiLCJncmFudF90eXBlIjoicGFzc3dvcmQiLCJ1c2VyX25hbWUiOiJhZG1pbiIsIm9yaWdpbiI6InVhYSIsInVzZXJfaWQiOiI4NjE4ZTQzNC0zNjUyLTQ0YzEtOTE5MC0yNzEyMmVkN2UwNTEiLCJyZXZfc2lnIjoiNmY2N2MxNTIiLCJhdWQiOlsiY2YiLCJvcGVuaWQiLCJzY2ltIiwiY2xvdWRfY29udHJvbGxlciIsInVhYSIsInBhc3N3b3JkIiwiZG9wcGxlciJdfQ.GNuAbgSaiwObdVDWnl1gZglTNGcw0CdKrgzYH6RFnTC85iQ4GYVyZcVIWE5w_79J5yW4nGxroMqMSweXE3WedmyfS18Pqqe9cv5rfip1-CfzlLlOX4iXvjweByUWW3d0dW0d0PlXsdSHj3Nor3Q
KsIoMGZe
wqWGpagbQmZFAaNs&scope=

RESPONSE: [2016-02-22T21:59:11Z]
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Cache-Control: no-store
Content-Type: application/json;charset=UTF-8
Date: Mon, 22 Feb 2016 21:59:15 GMT
Expires: 0
Pragma: no-cache
Pragma: no-cache
Server: Apache-Coyote/1.1
X-Cf-Requestid: d972cc57-e8cd-424a-56d4-bff8f6c420ea
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block

8cc
{"access_token":"[PRIVATE DATA
HIDDEN]","token_type":"bearer","refresh_token":"[PRIVATE DATA
HIDDEN]","expires_in":599,"scope":"cloud_controller.read password.write
cloud_controller.write openid doppler.firehose scim.write scim.read
cloud_controller.admin
uaa.user","jti":"79dfda8d-6a2c-496d-8cc2-df06293ce78d"}
0



REQUEST: [2016-02-22T21:59:11Z]
GET
/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/apps?q=name%3Adora&inline-relations-depth=1
HTTP/1.1
Host: api.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.4-b4b6af1 / linux



RESPONSE: [2016-02-22T21:59:11Z]
HTTP/1.1 200 OK
Content-Length: 4626
Content-Type: application/json;charset=utf-8
Date: Mon, 22 Feb 2016 21:59:15 GMT
Server: nginx
X-Cf-Requestid: 8379da01-3435-4a6c-726b-72aed8c7f94d
X-Content-Type-Options: nosniff
X-Vcap-Request-Id:
b85e66eb-43e3-4b84-519e-f17160f0c0df::1b30c6f0-c87d-47f3-86a6-b09ae9de18a9

{
"total_results": 1,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
{
"metadata": {
"guid": "b99a4c0a-caa1-40f6-8544-2292b78dc0aa",
"url": "/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa",
"created_at": "2016-02-20T03:33:43Z",
"updated_at": "2016-02-22T21:58:53Z"
},
"entity": {
"name": "dora",
"production": false,
"space_guid": "38f224ff-876a-419e-b986-a2103cac06ac",
"stack_guid": "471547d4-c207-4974-a08d-1e54292f04d4",
"buildpack": null,
"detected_buildpack": null,
"environment_json": {

},
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STARTED",
"version": "e467fd57-f59f-43f8-aeb0-f3e585a5be65",
"command": null,
"console": false,
"debug": null,
"staging_task_id": "f7918ae11fbf45c6884d0bb0f52fb2d6",
"package_state": "PENDING",
"health_check_type": "port",
"health_check_timeout": null,
"staging_failed_reason": null,
"staging_failed_description": null,
"diego": true,
"docker_image": null,
"package_updated_at": "2016-02-22T21:58:51Z",
"detected_start_command": "",
"enable_ssh": false,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
},
"space_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac",
"space": {
"metadata": {
"guid": "38f224ff-876a-419e-b986-a2103cac06ac",
"url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac",
"created_at": "2016-02-20T03:32:41Z",
"updated_at": null
},
"entity": {
"name": "boo1",
"organization_guid": "af341d88-2fd4-4a55-b9ce-c89fe64358dc",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url":
"/v2/organizations/af341d88-2fd4-4a55-b9ce-c89fe64358dc",
"developers_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/developers",
"managers_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/managers",
"auditors_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/auditors",
"apps_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/apps",
"routes_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/routes",
"domains_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/domains",
"service_instances_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/service_instances",
"app_events_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/app_events",
"events_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/events",
"security_groups_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/security_groups"
}
},
"stack_url": "/v2/stacks/471547d4-c207-4974-a08d-1e54292f04d4",
"stack": {
"metadata": {
"guid": "471547d4-c207-4974-a08d-1e54292f04d4",
"url": "/v2/stacks/471547d4-c207-4974-a08d-1e54292f04d4",
"created_at": "2016-02-20T03:09:47Z",
"updated_at": null
},
"entity": {
"name": "cflinuxfs2",
"description": "Cloud Foundry Linux-based filesystem"
}
},
"events_url":
"/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa/events",
"service_bindings_url":
"/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa/service_bindings",
"service_bindings": [

],
"routes_url":
"/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa/routes",
"routes": [
{
"metadata": {
"guid": "eae5e0ae-6b4f-4c1f-8fe7-320c81309ea4",
"url": "/v2/routes/eae5e0ae-6b4f-4c1f-8fe7-320c81309ea4",
"created_at": "2016-02-20T03:33:43Z",
"updated_at": null
},
"entity": {
"host": "dora",
"path": "",
"domain_guid": "8ab1614b-6bf0-4f41-9020-55f6b4125ba5",
"space_guid": "38f224ff-876a-419e-b986-a2103cac06ac",
"service_instance_guid": null,
"port": 0,
"domain_url":
"/v2/domains/8ab1614b-6bf0-4f41-9020-55f6b4125ba5",
"space_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac",
"apps_url":
"/v2/routes/eae5e0ae-6b4f-4c1f-8fe7-320c81309ea4/apps"
}
}
]
}
}
]
}
Updating app dora in org default_organization / space boo1 as admin...

REQUEST: [2016-02-22T21:59:11Z]
PUT
/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa?async=true&inline-relations-depth=1
HTTP/1.1
Host: api.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.4-b4b6af1 / linux

{"name":"dora"}

RESPONSE: [2016-02-22T21:59:11Z]
HTTP/1.1 201 Created
Content-Length: 4099
Content-Type: application/json;charset=utf-8
Date: Mon, 22 Feb 2016 21:59:15 GMT
Server: nginx
X-Cf-Requestid: dea744f3-8538-4886-7f86-b86e19f1b40a
X-Content-Type-Options: nosniff
X-Vcap-Request-Id:
e7e6c164-de4e-45dd-6e84-24c585a8fb02::634d61cf-eb58-4392-b28e-07602c86587a

{
"metadata": {
"guid": "b99a4c0a-caa1-40f6-8544-2292b78dc0aa",
"url": "/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa",
"created_at": "2016-02-20T03:33:43Z",
"updated_at": "2016-02-22T21:59:15Z"
},
"entity": {
"name": "dora",
"production": false,
"space_guid": "38f224ff-876a-419e-b986-a2103cac06ac",
"stack_guid": "471547d4-c207-4974-a08d-1e54292f04d4",
"buildpack": null,
"detected_buildpack": null,
"environment_json": {

},
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STARTED",
"version": "e467fd57-f59f-43f8-aeb0-f3e585a5be65",
"command": null,
"console": false,
"debug": null,
"staging_task_id": "f7918ae11fbf45c6884d0bb0f52fb2d6",
"package_state": "PENDING",
"health_check_type": "port",
"health_check_timeout": null,
"staging_failed_reason": null,
"staging_failed_description": null,
"diego": true,
"docker_image": null,
"package_updated_at": "2016-02-22T21:58:51Z",
"detected_start_command": "",
"enable_ssh": false,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
},
"space_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac",
"space": {
"metadata": {
"guid": "38f224ff-876a-419e-b986-a2103cac06ac",
"url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac",
"created_at": "2016-02-20T03:32:41Z",
"updated_at": null
},
"entity": {
"name": "boo1",
"organization_guid": "af341d88-2fd4-4a55-b9ce-c89fe64358dc",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url":
"/v2/organizations/af341d88-2fd4-4a55-b9ce-c89fe64358dc",
"developers_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/developers",
"managers_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/managers",
"auditors_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/auditors",
"apps_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/apps",
"routes_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/routes",
"domains_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/domains",
"service_instances_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/service_instances",
"app_events_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/app_events",
"events_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/events",
"security_groups_url":
"/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/security_groups"
}
},
"stack_url": "/v2/stacks/471547d4-c207-4974-a08d-1e54292f04d4",
"stack": {
"metadata": {
"guid": "471547d4-c207-4974-a08d-1e54292f04d4",
"url": "/v2/stacks/471547d4-c207-4974-a08d-1e54292f04d4",
"created_at": "2016-02-20T03:09:47Z",
"updated_at": null
},
"entity": {
"name": "cflinuxfs2",
"description": "Cloud Foundry Linux-based filesystem"
}
},
"events_url": "/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa/events",
"service_bindings_url":
"/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa/service_bindings",
"service_bindings": [

],
"routes_url": "/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa/routes",
"routes": [
{
"metadata": {
"guid": "eae5e0ae-6b4f-4c1f-8fe7-320c81309ea4",
"url": "/v2/routes/eae5e0ae-6b4f-4c1f-8fe7-320c81309ea4",
"created_at": "2016-02-20T03:33:43Z",
"updated_at": null
},
"entity": {
"host": "dora",
"path": "",
"domain_guid": "8ab1614b-6bf0-4f41-9020-55f6b4125ba5",
"space_guid": "38f224ff-876a-419e-b986-a2103cac06ac",
"service_instance_guid": null,
"port": 0,
"domain_url": "/v2/domains/8ab1614b-6bf0-4f41-9020-55f6b4125ba5",
"space_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac",
"apps_url":
"/v2/routes/eae5e0ae-6b4f-4c1f-8fe7-320c81309ea4/apps"
}
}
]
}
}
OK

Uploading dora...

REQUEST: [2016-02-22T21:59:11Z]
PUT /v2/resource_match HTTP/1.1
Host: api.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.4-b4b6af1 / linux


[{"fn":".bundle","sha1":"0","size":0},{"fn":".bundle/install.log","sha1":"ab027c43515d47013ca3b5aacb78552ea801706a","size":2198},{"fn":".rspec","sha1":"9a2db04d99044ea5cb1c5ce13f23475cfc9c8a92","size":20},{"fn":"1","sha1":"808ce6e9ed852c94219e9f78ece086a213c4c8a0","size":21519},{"fn":"Gemfile","sha1":"478b91e0a812f365266573cc8ff59b25ec225e48","size":121},{"fn":"Gemfile.lock","sha1":"3244453b90faeaea32ad4593a3e9377cd94b147a","size":596},{"fn":"README.md","sha1":"d54bce9cf988b26663000a6419fb74bbd7220d88","size":1824},{"fn":"
config.ru
","sha1":"7848c85368d95451290f1f4350fa36431c6b1753","size":66},{"fn":"curl.rb","sha1":"fdc3bdf8c60d8170835e67526cd4216234a4a7da","size":288},{"fn":"dora.rb","sha1":"a3b7c6e6888c513b128248aabbe46ac94dbe7606","size":2176},{"fn":"get_instance_cookie_jars.sh","sha1":"b265ed1b32a436a7f78bb21c93b6eb63ec8d2e6e","size":1258},{"fn":"instances.rb","sha1":"2c4455d8d7aa170b068e14cac45fe8acba656fc3","size":205},{"fn":"log_utils.rb","sha1":"abb9726ab0673d748915f1
0df56dec
2411eb04bf","size":1453},{"fn":"logging_service.rb","sha1":"27de1bcfba1a726797b3a41ceb042715f12a57f9","size":853},{"fn":"scripts","sha1":"0","size":0},{"fn":"scripts/README.md","sha1":"37df019e71f5fdca2fd6265cce051449a35c7344","size":1505},{"fn":"scripts/clean
up map
script","sha1":"ac7b98715427e8643ba96cac6d274780ff17fab3","size":1357},{"fn":"scripts/map_cookie_jars_to_instances.rb","sha1":"3eb07af3bac47ad0981d9f2a407d29c9639c1e41","size":1134},{"fn":"scripts/run_performance_test_2_deas_multiple_bg.rb","sha1":"0e271b977a074eb9b0745ce6be13238c0e1e1b88","size":2859},{"fn":"scripts/run_performance_test_single_dea.rb","sha1":"5dd08917bca66e564223f526e5f28b4275a549b0","size":1092},{"fn":"scripts/run_performance_test_single_dea_multiple
bg.rb","sha1":"0235c35a11ea464f01c19b4e8f032c8e5ea2cc03","size":1855},{"fn":"scripts/scale_dora","sha1":"334d0cad73938d69d3f0dde7af9318cefa8305f8","size":541},{"fn":"spec","sha1":"0","size":0},{"fn":"spec/curl_spec.rb","sha1":"818d84cad65cae39d593
d76b1295

d71a7520226a","size":1211},{"fn":"spec/instances_spec.rb","sha1":"0feae2dbcad72d6e711faa0958141b3d30962d70","size":614},{"fn":"spec/logging_service_spec.rb","sha1":"45d4491e94c321201b524df9d8c5dc8303a77515","size":1072},{"fn":"spec/logutil_spec.rb","sha1":"64bfb7f5e4276a081e6369548e71ac4994caaa7e","size":1332},{"fn":"spec/spec_helper.rb","sha1":"879fa5919048dc0ca8bf3dc7ba5ebeda20834e03","size":1143},{"fn":"spec/stress_testers_spec.rb","sha1":"6ad229232480613abb145cf28fd58628e81b7e7c","size":3162},{"fn":"stress","sha1":"4cc2ce904af08c46989edb01a56cf544a7b53abc","size":22864},{"fn":"stress_testers.rb","sha1":"2f6094fd3c0a24f1a0804ea00f19f652a0645585","size":1073},{"fn":"vendor","sha1":"0","size":0},{"fn":"vendor/cache","sha1":"0","size":0},{"fn":"vendor/cache/diff-lcs-1.2.5.gem","sha1":"5f71a45f13780701f3a42297adc0269d0799e1d5","size":49152},{"fn":"vendor/cache/json-1.8.1.gem","sha1":"d39d0c7557642754a4641ff3a14aa8a7a9253260","size":148992},{"fn":"vendor/cache/rack-1.5.1.gem",
"sha1":"

d7e8299291fd6b52781107eeb2675105eb4d3722","size":210944},{"fn":"vendor/cache/rack-protection-1.3.2.gem","sha1":"ad72fe12b8eddfc35fa669a49ad06dc8c6ebdded","size":15872},{"fn":"vendor/cache/rack-test-0.6.2.gem","sha1":"43e9677eb817813ddbd1a1c1b5ebd1a3e60bb3da","size":22528},{"fn":"vendor/cache/rspec-2.14.1.gem","sha1":"33e6c3ce5db839feaafef780a9403e3352579273","size":4608},{"fn":"vendor/cache/rspec-core-2.14.7.gem","sha1":"a01ec7e28b3827ed95c8e8d1d98676766e975bee","size":181248},{"fn":"vendor/cache/rspec-expectations-2.14.4.gem","sha1":"6281eb928d35f2c52a17ce782593980550d1f3f6","size":90112},{"fn":"vendor/cache/rspec-mocks-2.14.4.gem","sha1":"d0958fcd99f4170635d2137f7ad4e1918ee5d05e","size":90624},{"fn":"vendor/cache/sinatra-1.3.4.gem","sha1":"57de66c8ccaf38e63720794a9c2a6109ce17e256","size":307200},{"fn":"vendor/cache/tilt-1.3.3.gem","sha1":"ef7276d8c1870c2111ef017c1abd451b4bcff07f","size":36352}]

RESPONSE: [2016-02-22T21:59:11Z]
HTTP/1.1 200 OK
Content-Length: 638
Content-Type: application/json;charset=utf-8
Date: Mon, 22 Feb 2016 21:59:15 GMT
Server: nginx
X-Cf-Requestid: c0aeab18-10b0-4d9e-4278-6d46dad1e752
X-Content-Type-Options: nosniff
X-Vcap-Request-Id:
2a2fe88a-7513-40c1-4a0f-94097815e665::8c91144a-5650-4740-acd7-1efcb49f81bd


[{"fn":"vendor/cache/json-1.8.1.gem","sha1":"d39d0c7557642754a4641ff3a14aa8a7a9253260","size":148992},{"fn":"vendor/cache/rack-1.5.1.gem","sha1":"d7e8299291fd6b52781107eeb2675105eb4d3722","size":210944},{"fn":"vendor/cache/rspec-core-2.14.7.gem","sha1":"a01ec7e28b3827ed95c8e8d1d98676766e975bee","size":181248},{"fn":"vendor/cache/rspec-expectations-2.14.4.gem","sha1":"6281eb928d35f2c52a17ce782593980550d1f3f6","size":90112},{"fn":"vendor/cache/rspec-mocks-2.14.4.gem","sha1":"d0958fcd99f4170635d2137f7ad4e1918ee5d05e","size":90624},{"fn":"vendor/cache/sinatra-1.3.4.gem","sha1":"57de66c8ccaf38e63720794a9c2a6109ce17e256","size":307200}]
Uploading app files from: /home/ubuntu/cf-acceptance-tests/assets/dora
Uploading 204K, 38 files

REQUEST: [2016-02-22T21:59:11Z]
PUT /v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa/bits?async=true HTTP/1.1
Host: api.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: multipart/form-data;
boundary=794715d602f7add0d57e1f1159377d49cada73f22c1ca5f7c2ceaacf9f56
User-Agent: go-cli 6.12.4-b4b6af1 / linux


[MULTIPART/FORM-DATA CONTENT HIDDEN]
Done uploading

RESPONSE: [2016-02-22T21:59:11Z]
HTTP/1.1 201 Created
Content-Length: 270
Content-Type: application/json;charset=utf-8
Date: Mon, 22 Feb 2016 21:59:15 GMT
Server: nginx
X-Cf-Requestid: 26f9a4a5-ca19-44fb-6bac-84a32fbe77c6
X-Content-Type-Options: nosniff
X-Vcap-Request-Id:
2c4bf68a-73cb-4d82-7808-9e62a9c6f5d7::d63b6265-4332-482c-8bf1-8c86d4457c8f

{
"metadata": {
"guid": "d127e682-e719-409a-b082-5eb2db36ed94",
"created_at": "2016-02-22T21:59:15Z",
"url": "/v2/jobs/d127e682-e719-409a-b082-5eb2db36ed94"
},
"entity": {
"guid": "d127e682-e719-409a-b082-5eb2db36ed94",
"status": "queued"
}
}

REQUEST: [2016-02-22T21:59:11Z]
GET /v2/jobs/d127e682-e719-409a-b082-5eb2db36ed94 HTTP/1.1
Host: api.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.4-b4b6af1 / linux



RESPONSE: [2016-02-22T21:59:11Z]
HTTP/1.1 200 OK
Content-Length: 270
Content-Type: application/json;charset=utf-8
Date: Mon, 22 Feb 2016 21:59:15 GMT
Server: nginx
X-Cf-Requestid: 86102095-5e11-40db-42e3-0898f4e44c4e
X-Content-Type-Options: nosniff
X-Vcap-Request-Id:
1b6bf68a-a4f7-47ad-75c3-60e19c6eee97::a409e60d-00bb-48aa-aafd-eb86866eea9c

{
"metadata": {
"guid": "d127e682-e719-409a-b082-5eb2db36ed94",
"created_at": "2016-02-22T21:59:15Z",
"url": "/v2/jobs/d127e682-e719-409a-b082-5eb2db36ed94"
},
"entity": {
"guid": "d127e682-e719-409a-b082-5eb2db36ed94",
"status": "queued"
}
}

REQUEST: [2016-02-22T21:59:16Z]
GET /v2/jobs/d127e682-e719-409a-b082-5eb2db36ed94 HTTP/1.1
Host: api.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.4-b4b6af1 / linux



RESPONSE: [2016-02-22T21:59:16Z]
HTTP/1.1 200 OK
Content-Length: 167
Content-Type: application/json;charset=utf-8
Date: Mon, 22 Feb 2016 21:59:20 GMT
Server: nginx
X-Cf-Requestid: a3644550-96f3-4f76-405c-3f628df5d09f
X-Content-Type-Options: nosniff
X-Vcap-Request-Id:
05c38c2f-8d30-4a2b-7c61-9f76b3e66437::4842b6e1-3762-4192-9b0d-9115c1a6e197

{
"metadata": {
"guid": "0",
"created_at": "1970-01-01T00:00:00Z",
"url": "/v2/jobs/0"
},
"entity": {
"guid": "0",
"status": "finished"
}
}
OK

Stopping app dora in org default_organization / space boo1 as admin...

REQUEST: [2016-02-22T21:59:16Z]
PUT
/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa?async=true&inline-relations-depth=1
HTTP/1.1
Host: api.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.4-b4b6af1 / linux

{"state":"STOPPED"}

RESPONSE: [2016-02-22T21:59:16Z]
HTTP/1.1 500 Internal Server Error
Content-Length: 99
Content-Type: application/json;charset=utf-8
Date: Mon, 22 Feb 2016 21:59:20 GMT
Server: nginx
X-Cf-Requestid: 97e10c4a-96ff-40e3-41c9-f2627798af51
X-Content-Type-Options: nosniff
X-Vcap-Request-Id:
0ce90df4-7c70-409c-58f7-058ed3ea70fb::96534db3-bb19-4dec-979e-80f5fb32e293

{
"error_code": "UnknownError",
"description": "An unknown error occurred.",
"code": 10001
}

FAILED
Server error, status code: 500, error code: 10001, message: An unknown
error occurred.
FAILED
Server error, status code: 500, error code: 10001, message: An unknown
error occurred.
ubuntu(a)ip-10-0-0-48:~/cf-acceptance-tests/assets/dora$
--
Thank you,

James Bayer


Re: Failed to delete an app due to "gateway timeout" error in server broker

Tom Sherrod <tom.sherrod@...>
 

I have used xip.io and ran into random errors such as this. Using a name
and dns resolved them. I narrowed it down that the xip name failed to
resolve at some time or another, for whatever reason.

On Sun, Feb 21, 2016 at 10:20 PM, Yunlong Yang <bruce.yang(a)emc.com> wrote:

Hi team,
We met an issue in deleting an APP. Below is the errorcode:

[errorcode]
Server error, status code: 500, error code: 10001, message: Service broker
error: Gateway timeout

Some information:
- The command we are using is:
cf unmap-route ${projectName} 10.62.90.144.xip.io -n
${projectName} >> /build/qaiaas/build.log
cf delete ${projectName} -f >> /build/qaiaas/build.log
- We are using the wildcard DNS of xip.io. I don't know if it is because
the DNS server is not so stable
- It is a random issue.


Can you help understand what the problem is?

Thank you


trouble deploying app to CF

Deepa Kalani
 

Hello,

I am new to CF and was trying to play around with it..., while I have the stack running I cannot seem to deploy an application. (Trying dora from cf-acceptance-tests), would appreciate some help as to where I could be going wrong.

CF version :
ubuntu(a)ip-10-0-0-48:~/cf-acceptance-tests/assets/dora$ cf -v
cf version 6.12.4-b4b6af1-2015-09-18T17:55:23+00:00
ubuntu(a)ip-10-0-0-48:~/cf-acceptance-tests/assets/dora$

The error I run into is the following :

FAILED
Server error, status code: 500, error code: 10001, message: An unknown error occurred.
FAILED
Server error, status code: 500, error code: 10001, message: An unknown error occurred.

Thanks
Deepa

(More logs below)
ubuntu(a)ip-10-0-0-48:~/cf-acceptance-tests/assets/dora$ cf push dora --random-route

REQUEST: [2016-02-22T21:59:11Z]
POST /oauth/token HTTP/1.1
Host: login.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/x-www-form-urlencoded
User-Agent: go-cli 6.12.4-b4b6af1 / linux

grant_type=refresh_token&refresh_token=eyJhbGciOiJSUzI1NiJ9.eyJqdGkiOiI4MzM5NzBiNC00NWM1LTRmN2QtODJmZC1jZmRlZGFiMDExMzUtciIsInN1YiI6Ijg2MThlNDM0LTM2NTItNDRjMS05MTkwLTI3MTIyZWQ3ZTA1MSIsInNjb3BlIjpbIm9wZW5pZCIsInNjaW0ucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iLCJ1YWEudXNlciIsImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsInBhc3N3b3JkLndyaXRlIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSIsImRvcHBsZXIuZmlyZWhvc2UiLCJzY2ltLndyaXRlIl0sImlhdCI6MTQ1NTk0OTk1NywiZXhwIjoxNDU4NTQxOTU3LCJjaWQiOiJjZiIsImNsaWVudF9pZCI6ImNmIiwiaXNzIjoiaHR0cDovL3VhYS41Mi43Mi43Mi45OC54aXAuaW8vb2F1dGgvdG9rZW4iLCJ6aWQiOiJ1YWEiLCJncmFudF90eXBlIjoicGFzc3dvcmQiLCJ1c2VyX25hbWUiOiJhZG1pbiIsIm9yaWdpbiI6InVhYSIsInVzZXJfaWQiOiI4NjE4ZTQzNC0zNjUyLTQ0YzEtOTE5MC0yNzEyMmVkN2UwNTEiLCJyZXZfc2lnIjoiNmY2N2MxNTIiLCJhdWQiOlsiY2YiLCJvcGVuaWQiLCJzY2ltIiwiY2xvdWRfY29udHJvbGxlciIsInVhYSIsInBhc3N3b3JkIiwiZG9wcGxlciJdfQ.GNuAbgSaiwObdVDWnl1gZglTNGcw0CdKrgzYH6RFnTC85iQ4GYVyZcVIWE5w_79J5yW4nGxroMqMSweXE3WedmyfS18Pqqe9cv5rfip1-CfzlLlOX4iXvjweByUWW3d0dW0d0PlXsdSHj3Nor3QKsIoMGZe
wqWGpagbQmZFAaNs&scope=

RESPONSE: [2016-02-22T21:59:11Z]
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Cache-Control: no-store
Content-Type: application/json;charset=UTF-8
Date: Mon, 22 Feb 2016 21:59:15 GMT
Expires: 0
Pragma: no-cache
Pragma: no-cache
Server: Apache-Coyote/1.1
X-Cf-Requestid: d972cc57-e8cd-424a-56d4-bff8f6c420ea
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block

8cc
{"access_token":"[PRIVATE DATA HIDDEN]","token_type":"bearer","refresh_token":"[PRIVATE DATA HIDDEN]","expires_in":599,"scope":"cloud_controller.read password.write cloud_controller.write openid doppler.firehose scim.write scim.read cloud_controller.admin uaa.user","jti":"79dfda8d-6a2c-496d-8cc2-df06293ce78d"}
0



REQUEST: [2016-02-22T21:59:11Z]
GET /v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/apps?q=name%3Adora&inline-relations-depth=1 HTTP/1.1
Host: api.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.4-b4b6af1 / linux



RESPONSE: [2016-02-22T21:59:11Z]
HTTP/1.1 200 OK
Content-Length: 4626
Content-Type: application/json;charset=utf-8
Date: Mon, 22 Feb 2016 21:59:15 GMT
Server: nginx
X-Cf-Requestid: 8379da01-3435-4a6c-726b-72aed8c7f94d
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: b85e66eb-43e3-4b84-519e-f17160f0c0df::1b30c6f0-c87d-47f3-86a6-b09ae9de18a9

{
"total_results": 1,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
{
"metadata": {
"guid": "b99a4c0a-caa1-40f6-8544-2292b78dc0aa",
"url": "/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa",
"created_at": "2016-02-20T03:33:43Z",
"updated_at": "2016-02-22T21:58:53Z"
},
"entity": {
"name": "dora",
"production": false,
"space_guid": "38f224ff-876a-419e-b986-a2103cac06ac",
"stack_guid": "471547d4-c207-4974-a08d-1e54292f04d4",
"buildpack": null,
"detected_buildpack": null,
"environment_json": {

},
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STARTED",
"version": "e467fd57-f59f-43f8-aeb0-f3e585a5be65",
"command": null,
"console": false,
"debug": null,
"staging_task_id": "f7918ae11fbf45c6884d0bb0f52fb2d6",
"package_state": "PENDING",
"health_check_type": "port",
"health_check_timeout": null,
"staging_failed_reason": null,
"staging_failed_description": null,
"diego": true,
"docker_image": null,
"package_updated_at": "2016-02-22T21:58:51Z",
"detected_start_command": "",
"enable_ssh": false,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
},
"space_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac",
"space": {
"metadata": {
"guid": "38f224ff-876a-419e-b986-a2103cac06ac",
"url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac",
"created_at": "2016-02-20T03:32:41Z",
"updated_at": null
},
"entity": {
"name": "boo1",
"organization_guid": "af341d88-2fd4-4a55-b9ce-c89fe64358dc",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/af341d88-2fd4-4a55-b9ce-c89fe64358dc",
"developers_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/developers",
"managers_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/managers",
"auditors_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/auditors",
"apps_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/apps",
"routes_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/routes",
"domains_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/domains",
"service_instances_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/service_instances",
"app_events_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/app_events",
"events_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/events",
"security_groups_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/security_groups"
}
},
"stack_url": "/v2/stacks/471547d4-c207-4974-a08d-1e54292f04d4",
"stack": {
"metadata": {
"guid": "471547d4-c207-4974-a08d-1e54292f04d4",
"url": "/v2/stacks/471547d4-c207-4974-a08d-1e54292f04d4",
"created_at": "2016-02-20T03:09:47Z",
"updated_at": null
},
"entity": {
"name": "cflinuxfs2",
"description": "Cloud Foundry Linux-based filesystem"
}
},
"events_url": "/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa/events",
"service_bindings_url": "/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa/service_bindings",
"service_bindings": [

],
"routes_url": "/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa/routes",
"routes": [
{
"metadata": {
"guid": "eae5e0ae-6b4f-4c1f-8fe7-320c81309ea4",
"url": "/v2/routes/eae5e0ae-6b4f-4c1f-8fe7-320c81309ea4",
"created_at": "2016-02-20T03:33:43Z",
"updated_at": null
},
"entity": {
"host": "dora",
"path": "",
"domain_guid": "8ab1614b-6bf0-4f41-9020-55f6b4125ba5",
"space_guid": "38f224ff-876a-419e-b986-a2103cac06ac",
"service_instance_guid": null,
"port": 0,
"domain_url": "/v2/domains/8ab1614b-6bf0-4f41-9020-55f6b4125ba5",
"space_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac",
"apps_url": "/v2/routes/eae5e0ae-6b4f-4c1f-8fe7-320c81309ea4/apps"
}
}
]
}
}
]
}
Updating app dora in org default_organization / space boo1 as admin...

REQUEST: [2016-02-22T21:59:11Z]
PUT /v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa?async=true&inline-relations-depth=1 HTTP/1.1
Host: api.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.4-b4b6af1 / linux

{"name":"dora"}

RESPONSE: [2016-02-22T21:59:11Z]
HTTP/1.1 201 Created
Content-Length: 4099
Content-Type: application/json;charset=utf-8
Date: Mon, 22 Feb 2016 21:59:15 GMT
Server: nginx
X-Cf-Requestid: dea744f3-8538-4886-7f86-b86e19f1b40a
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: e7e6c164-de4e-45dd-6e84-24c585a8fb02::634d61cf-eb58-4392-b28e-07602c86587a

{
"metadata": {
"guid": "b99a4c0a-caa1-40f6-8544-2292b78dc0aa",
"url": "/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa",
"created_at": "2016-02-20T03:33:43Z",
"updated_at": "2016-02-22T21:59:15Z"
},
"entity": {
"name": "dora",
"production": false,
"space_guid": "38f224ff-876a-419e-b986-a2103cac06ac",
"stack_guid": "471547d4-c207-4974-a08d-1e54292f04d4",
"buildpack": null,
"detected_buildpack": null,
"environment_json": {

},
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STARTED",
"version": "e467fd57-f59f-43f8-aeb0-f3e585a5be65",
"command": null,
"console": false,
"debug": null,
"staging_task_id": "f7918ae11fbf45c6884d0bb0f52fb2d6",
"package_state": "PENDING",
"health_check_type": "port",
"health_check_timeout": null,
"staging_failed_reason": null,
"staging_failed_description": null,
"diego": true,
"docker_image": null,
"package_updated_at": "2016-02-22T21:58:51Z",
"detected_start_command": "",
"enable_ssh": false,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
},
"space_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac",
"space": {
"metadata": {
"guid": "38f224ff-876a-419e-b986-a2103cac06ac",
"url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac",
"created_at": "2016-02-20T03:32:41Z",
"updated_at": null
},
"entity": {
"name": "boo1",
"organization_guid": "af341d88-2fd4-4a55-b9ce-c89fe64358dc",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/af341d88-2fd4-4a55-b9ce-c89fe64358dc",
"developers_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/developers",
"managers_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/managers",
"auditors_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/auditors",
"apps_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/apps",
"routes_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/routes",
"domains_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/domains",
"service_instances_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/service_instances",
"app_events_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/app_events",
"events_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/events",
"security_groups_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac/security_groups"
}
},
"stack_url": "/v2/stacks/471547d4-c207-4974-a08d-1e54292f04d4",
"stack": {
"metadata": {
"guid": "471547d4-c207-4974-a08d-1e54292f04d4",
"url": "/v2/stacks/471547d4-c207-4974-a08d-1e54292f04d4",
"created_at": "2016-02-20T03:09:47Z",
"updated_at": null
},
"entity": {
"name": "cflinuxfs2",
"description": "Cloud Foundry Linux-based filesystem"
}
},
"events_url": "/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa/events",
"service_bindings_url": "/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa/service_bindings",
"service_bindings": [

],
"routes_url": "/v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa/routes",
"routes": [
{
"metadata": {
"guid": "eae5e0ae-6b4f-4c1f-8fe7-320c81309ea4",
"url": "/v2/routes/eae5e0ae-6b4f-4c1f-8fe7-320c81309ea4",
"created_at": "2016-02-20T03:33:43Z",
"updated_at": null
},
"entity": {
"host": "dora",
"path": "",
"domain_guid": "8ab1614b-6bf0-4f41-9020-55f6b4125ba5",
"space_guid": "38f224ff-876a-419e-b986-a2103cac06ac",
"service_instance_guid": null,
"port": 0,
"domain_url": "/v2/domains/8ab1614b-6bf0-4f41-9020-55f6b4125ba5",
"space_url": "/v2/spaces/38f224ff-876a-419e-b986-a2103cac06ac",
"apps_url": "/v2/routes/eae5e0ae-6b4f-4c1f-8fe7-320c81309ea4/apps"
}
}
]
}
}
OK

Uploading dora...

REQUEST: [2016-02-22T21:59:11Z]
PUT /v2/resource_match HTTP/1.1
Host: api.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.4-b4b6af1 / linux

[{"fn":".bundle","sha1":"0","size":0},{"fn":".bundle/install.log","sha1":"ab027c43515d47013ca3b5aacb78552ea801706a","size":2198},{"fn":".rspec","sha1":"9a2db04d99044ea5cb1c5ce13f23475cfc9c8a92","size":20},{"fn":"1","sha1":"808ce6e9ed852c94219e9f78ece086a213c4c8a0","size":21519},{"fn":"Gemfile","sha1":"478b91e0a812f365266573cc8ff59b25ec225e48","size":121},{"fn":"Gemfile.lock","sha1":"3244453b90faeaea32ad4593a3e9377cd94b147a","size":596},{"fn":"README.md","sha1":"d54bce9cf988b26663000a6419fb74bbd7220d88","size":1824},{"fn":"config.ru","sha1":"7848c85368d95451290f1f4350fa36431c6b1753","size":66},{"fn":"curl.rb","sha1":"fdc3bdf8c60d8170835e67526cd4216234a4a7da","size":288},{"fn":"dora.rb","sha1":"a3b7c6e6888c513b128248aabbe46ac94dbe7606","size":2176},{"fn":"get_instance_cookie_jars.sh","sha1":"b265ed1b32a436a7f78bb21c93b6eb63ec8d2e6e","size":1258},{"fn":"instances.rb","sha1":"2c4455d8d7aa170b068e14cac45fe8acba656fc3","size":205},{"fn":"log_utils.rb","sha1":"abb9726ab0673d748915f10df56dec
2411eb04bf","size":1453},{"fn":"logging_service.rb","sha1":"27de1bcfba1a726797b3a41ceb042715f12a57f9","size":853},{"fn":"scripts","sha1":"0","size":0},{"fn":"scripts/README.md","sha1":"37df019e71f5fdca2fd6265cce051449a35c7344","size":1505},{"fn":"scripts/clean up map script","sha1":"ac7b98715427e8643ba96cac6d274780ff17fab3","size":1357},{"fn":"scripts/map_cookie_jars_to_instances.rb","sha1":"3eb07af3bac47ad0981d9f2a407d29c9639c1e41","size":1134},{"fn":"scripts/run_performance_test_2_deas_multiple_bg.rb","sha1":"0e271b977a074eb9b0745ce6be13238c0e1e1b88","size":2859},{"fn":"scripts/run_performance_test_single_dea.rb","sha1":"5dd08917bca66e564223f526e5f28b4275a549b0","size":1092},{"fn":"scripts/run_performance_test_single_dea_multiple bg.rb","sha1":"0235c35a11ea464f01c19b4e8f032c8e5ea2cc03","size":1855},{"fn":"scripts/scale_dora","sha1":"334d0cad73938d69d3f0dde7af9318cefa8305f8","size":541},{"fn":"spec","sha1":"0","size":0},{"fn":"spec/curl_spec.rb","sha1":"818d84cad65cae39d593d76b1295
d71a7520226a","size":1211},{"fn":"spec/instances_spec.rb","sha1":"0feae2dbcad72d6e711faa0958141b3d30962d70","size":614},{"fn":"spec/logging_service_spec.rb","sha1":"45d4491e94c321201b524df9d8c5dc8303a77515","size":1072},{"fn":"spec/logutil_spec.rb","sha1":"64bfb7f5e4276a081e6369548e71ac4994caaa7e","size":1332},{"fn":"spec/spec_helper.rb","sha1":"879fa5919048dc0ca8bf3dc7ba5ebeda20834e03","size":1143},{"fn":"spec/stress_testers_spec.rb","sha1":"6ad229232480613abb145cf28fd58628e81b7e7c","size":3162},{"fn":"stress","sha1":"4cc2ce904af08c46989edb01a56cf544a7b53abc","size":22864},{"fn":"stress_testers.rb","sha1":"2f6094fd3c0a24f1a0804ea00f19f652a0645585","size":1073},{"fn":"vendor","sha1":"0","size":0},{"fn":"vendor/cache","sha1":"0","size":0},{"fn":"vendor/cache/diff-lcs-1.2.5.gem","sha1":"5f71a45f13780701f3a42297adc0269d0799e1d5","size":49152},{"fn":"vendor/cache/json-1.8.1.gem","sha1":"d39d0c7557642754a4641ff3a14aa8a7a9253260","size":148992},{"fn":"vendor/cache/rack-1.5.1.gem","sha1":"
d7e8299291fd6b52781107eeb2675105eb4d3722","size":210944},{"fn":"vendor/cache/rack-protection-1.3.2.gem","sha1":"ad72fe12b8eddfc35fa669a49ad06dc8c6ebdded","size":15872},{"fn":"vendor/cache/rack-test-0.6.2.gem","sha1":"43e9677eb817813ddbd1a1c1b5ebd1a3e60bb3da","size":22528},{"fn":"vendor/cache/rspec-2.14.1.gem","sha1":"33e6c3ce5db839feaafef780a9403e3352579273","size":4608},{"fn":"vendor/cache/rspec-core-2.14.7.gem","sha1":"a01ec7e28b3827ed95c8e8d1d98676766e975bee","size":181248},{"fn":"vendor/cache/rspec-expectations-2.14.4.gem","sha1":"6281eb928d35f2c52a17ce782593980550d1f3f6","size":90112},{"fn":"vendor/cache/rspec-mocks-2.14.4.gem","sha1":"d0958fcd99f4170635d2137f7ad4e1918ee5d05e","size":90624},{"fn":"vendor/cache/sinatra-1.3.4.gem","sha1":"57de66c8ccaf38e63720794a9c2a6109ce17e256","size":307200},{"fn":"vendor/cache/tilt-1.3.3.gem","sha1":"ef7276d8c1870c2111ef017c1abd451b4bcff07f","size":36352}]

RESPONSE: [2016-02-22T21:59:11Z]
HTTP/1.1 200 OK
Content-Length: 638
Content-Type: application/json;charset=utf-8
Date: Mon, 22 Feb 2016 21:59:15 GMT
Server: nginx
X-Cf-Requestid: c0aeab18-10b0-4d9e-4278-6d46dad1e752
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 2a2fe88a-7513-40c1-4a0f-94097815e665::8c91144a-5650-4740-acd7-1efcb49f81bd

[{"fn":"vendor/cache/json-1.8.1.gem","sha1":"d39d0c7557642754a4641ff3a14aa8a7a9253260","size":148992},{"fn":"vendor/cache/rack-1.5.1.gem","sha1":"d7e8299291fd6b52781107eeb2675105eb4d3722","size":210944},{"fn":"vendor/cache/rspec-core-2.14.7.gem","sha1":"a01ec7e28b3827ed95c8e8d1d98676766e975bee","size":181248},{"fn":"vendor/cache/rspec-expectations-2.14.4.gem","sha1":"6281eb928d35f2c52a17ce782593980550d1f3f6","size":90112},{"fn":"vendor/cache/rspec-mocks-2.14.4.gem","sha1":"d0958fcd99f4170635d2137f7ad4e1918ee5d05e","size":90624},{"fn":"vendor/cache/sinatra-1.3.4.gem","sha1":"57de66c8ccaf38e63720794a9c2a6109ce17e256","size":307200}]
Uploading app files from: /home/ubuntu/cf-acceptance-tests/assets/dora
Uploading 204K, 38 files

REQUEST: [2016-02-22T21:59:11Z]
PUT /v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa/bits?async=true HTTP/1.1
Host: api.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: multipart/form-data; boundary=794715d602f7add0d57e1f1159377d49cada73f22c1ca5f7c2ceaacf9f56
User-Agent: go-cli 6.12.4-b4b6af1 / linux


[MULTIPART/FORM-DATA CONTENT HIDDEN]
Done uploading

RESPONSE: [2016-02-22T21:59:11Z]
HTTP/1.1 201 Created
Content-Length: 270
Content-Type: application/json;charset=utf-8
Date: Mon, 22 Feb 2016 21:59:15 GMT
Server: nginx
X-Cf-Requestid: 26f9a4a5-ca19-44fb-6bac-84a32fbe77c6
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 2c4bf68a-73cb-4d82-7808-9e62a9c6f5d7::d63b6265-4332-482c-8bf1-8c86d4457c8f

{
"metadata": {
"guid": "d127e682-e719-409a-b082-5eb2db36ed94",
"created_at": "2016-02-22T21:59:15Z",
"url": "/v2/jobs/d127e682-e719-409a-b082-5eb2db36ed94"
},
"entity": {
"guid": "d127e682-e719-409a-b082-5eb2db36ed94",
"status": "queued"
}
}

REQUEST: [2016-02-22T21:59:11Z]
GET /v2/jobs/d127e682-e719-409a-b082-5eb2db36ed94 HTTP/1.1
Host: api.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.4-b4b6af1 / linux



RESPONSE: [2016-02-22T21:59:11Z]
HTTP/1.1 200 OK
Content-Length: 270
Content-Type: application/json;charset=utf-8
Date: Mon, 22 Feb 2016 21:59:15 GMT
Server: nginx
X-Cf-Requestid: 86102095-5e11-40db-42e3-0898f4e44c4e
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 1b6bf68a-a4f7-47ad-75c3-60e19c6eee97::a409e60d-00bb-48aa-aafd-eb86866eea9c

{
"metadata": {
"guid": "d127e682-e719-409a-b082-5eb2db36ed94",
"created_at": "2016-02-22T21:59:15Z",
"url": "/v2/jobs/d127e682-e719-409a-b082-5eb2db36ed94"
},
"entity": {
"guid": "d127e682-e719-409a-b082-5eb2db36ed94",
"status": "queued"
}
}

REQUEST: [2016-02-22T21:59:16Z]
GET /v2/jobs/d127e682-e719-409a-b082-5eb2db36ed94 HTTP/1.1
Host: api.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.4-b4b6af1 / linux



RESPONSE: [2016-02-22T21:59:16Z]
HTTP/1.1 200 OK
Content-Length: 167
Content-Type: application/json;charset=utf-8
Date: Mon, 22 Feb 2016 21:59:20 GMT
Server: nginx
X-Cf-Requestid: a3644550-96f3-4f76-405c-3f628df5d09f
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 05c38c2f-8d30-4a2b-7c61-9f76b3e66437::4842b6e1-3762-4192-9b0d-9115c1a6e197

{
"metadata": {
"guid": "0",
"created_at": "1970-01-01T00:00:00Z",
"url": "/v2/jobs/0"
},
"entity": {
"guid": "0",
"status": "finished"
}
}
OK

Stopping app dora in org default_organization / space boo1 as admin...

REQUEST: [2016-02-22T21:59:16Z]
PUT /v2/apps/b99a4c0a-caa1-40f6-8544-2292b78dc0aa?async=true&inline-relations-depth=1 HTTP/1.1
Host: api.52.72.72.98.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.12.4-b4b6af1 / linux

{"state":"STOPPED"}

RESPONSE: [2016-02-22T21:59:16Z]
HTTP/1.1 500 Internal Server Error
Content-Length: 99
Content-Type: application/json;charset=utf-8
Date: Mon, 22 Feb 2016 21:59:20 GMT
Server: nginx
X-Cf-Requestid: 97e10c4a-96ff-40e3-41c9-f2627798af51
X-Content-Type-Options: nosniff
X-Vcap-Request-Id: 0ce90df4-7c70-409c-58f7-058ed3ea70fb::96534db3-bb19-4dec-979e-80f5fb32e293

{
"error_code": "UnknownError",
"description": "An unknown error occurred.",
"code": 10001
}

FAILED
Server error, status code: 500, error code: 10001, message: An unknown error occurred.
FAILED
Server error, status code: 500, error code: 10001, message: An unknown error occurred.
ubuntu(a)ip-10-0-0-48:~/cf-acceptance-tests/assets/dora$


Re: demo of support for multiple application ports and TCP routing

Josh Long
 

This is exciting and I'd love to see it on PWS as well!

On Mon, Feb 22, 2016 at 10:54 Shannon Coen <scoen(a)pivotal.io> wrote:

Hello Ruben,

We've still got some work to do still to enable operators (including PWS)
to offer TCP routing to a limited audience if they choose. This is
especially important for deployments on AWS, since ELBs can only be
configured to forward 100 ports [facepalm].

Also, the CLI work is still underway. Curl is no way to live :)

So, we may still be a month or two away. Thank you for your interest; I'll
certainly send another announcement when we're closer.

Best,

Shannon Coen
Product Manager, Cloud Foundry
Pivotal, Inc.

On Thu, Feb 18, 2016 at 10:42 PM, Ruben Koster <superruup(a)gmail.com>
wrote:

Hi Shannon,

The demo looks awesome, when will this functionality be available on PWS?
I'm especially interested in the TCP routing aspact.

Kind regards,

Ruben Koster


Re: demo of support for multiple application ports and TCP routing

Shannon Coen
 

Hello Ruben,

We've still got some work to do still to enable operators (including PWS)
to offer TCP routing to a limited audience if they choose. This is
especially important for deployments on AWS, since ELBs can only be
configured to forward 100 ports [facepalm].

Also, the CLI work is still underway. Curl is no way to live :)

So, we may still be a month or two away. Thank you for your interest; I'll
certainly send another announcement when we're closer.

Best,

Shannon Coen
Product Manager, Cloud Foundry
Pivotal, Inc.

On Thu, Feb 18, 2016 at 10:42 PM, Ruben Koster <superruup(a)gmail.com> wrote:

Hi Shannon,

The demo looks awesome, when will this functionality be available on PWS?
I'm especially interested in the TCP routing aspact.

Kind regards,

Ruben Koster


Re: build pack

Stanley Goston
 

Thanks looks like I just need to wait till the compiler script and I was able to print out fine.


Re: OpenStack Leads

David <David@...>
 

Hi,



Did you get a chance to review my previou email? Let me know!



Thanks,

David



From: David [mailto:David(a)lead2tech.com]
Sent: Thursday, February 18, 2016 12:51 PM
To: 'cf-dev(a)lists.cloudfoundry.org'
Subject: OpenStack Leads



Hi,



As your organization is a part of " OpenStack Summit 2016 " I'm writing to
check if you would be interested in a leads of OpenStack users for marketing
campaign and lead generation initiative.



You may choose job titles such as: IT Architects, CTOs, IT Directors, Data
Centre Managers, Developers and more.



Each lead will be delivered to you with multi-channel data fields such as
Company name, Web address, Contact Name, Job Title, Phone Number, Direct
Business Emails, Postal address, Industry, employee size, Revenue size, SIC
code, Fax number, Application/Technology usage etc.



Appreciate your time and look forward to hearing from you.



Regards,



David Reid | Lead Generation Specialist
Lead2Tech LLC | Technology Division

If you do not wish to receive any more emails please reply to this email
with Leave out in the subject line.











<http://1816396.sigclick.mailinfo.com/sigclick/080A0307/010A074D/0D050007/06
4F0319221231.jpg>


Re: Pushing Docker images to MicroPCF

Will Pragnell <wpragnell@...>
 

Hi Nanduni,

When you deploy CF to bosh-lite, you generate a manifest which contains
properties for the various jobs that get deployed.

In the manifest (big yaml file) for the Diego deployment, there should be
some properties under a key `garden`. You can edit this manifest, adding a
new property there, and then redeploy to update your deployment.

An IP:PORT tuple in this context is something like "127.0.0.1:8080", so if
you know the IP and port (default for Docker registries is generally 5000 I
think) of your registry then you can just set this as `[ "<MY REGISTRY
IP>:5000" ]`. I'm not sure whether DNS is supported here I'm afraid, though
it may work, so give it a try if you don't just have an IP to work with.

You mention credentials. I'm afraid there's another limitation I should
point out: CF doesn't currently support pulling Docker images from private
repositories (repositories that require a password to access). If your
local repo on your internal registry requires this, you won't be able to
pull the image directly into CF.

Hope this helps. If the BOSH properties part doesn't make sense, then I'd
recommend checking out http://mariash.github.io/learn-bosh to become more
familiar with BOSH.

Best,
Will

On 18 February 2016 at 05:46, Nanduni Nimalsiri <nandunibw(a)gmail.com> wrote:

Hi Will,

Thank you very much for the detailed information. You have cleared lots of
doubts that I had been struggling with. Actually I have an internal private
docker registry for this scenario. If I do this task with Diego in
Bosh-Lite and that private docker registry, can you please explain me how I
should list the registry's address in 'spec' which you have mentioned.

In this context, what is meant by 'IP:PORT tuples and CIDR subnet masks'?
I know the address of the private registry so that I can do a docker login
and give credentials for docker login.

Should I clone the 'cloudfoundry-incubator/garden-linux-release' and
follow its README? Please explain me how I should proceed with this task.
Looking forward for your help.

Best Regards,
Nanduni


Re: 'uaac' is not recognized as an internal or external command, operable program or batch file.

Juan Pablo Genovese
 

Hi Divya,

Quick question: how did you install Ruby? What operating system are you
using?

Thank you!

2016-02-22 11:36 GMT-03:00 divya mamidishetti <divya.mamidishetti(a)ge.com>:

Hi team,

After runing this "gem install cf-uaac" command for cf-uaac app
(CloudFoundry UAA Command Line Client)

when i run "uaac help" we are not able to run this cammand

"'uaac' is not recognized as an internal or external command, operable
program or batch file."

getting this error please help me in fixing this issue

Thanks
divya
--
Mis mejores deseos,
Best wishes,
Meilleurs vœux,

Juan Pablo
------------------------------------------------------
http://www.jpgenovese.com

5421 - 5440 of 9330