NGUYEN Hong Chau <nguyenhongchau@...>
Thank Shannon for your detailed explanation. It is really useful for us. Have a good day,
Regards, -- NGUYEN Hong Chau
toggle quoted messageShow quoted text
On Tue, Jun 30, 2015 at 5:31 AM, Shannon Coen <scoen(a)pivotal.io> wrote: Nguyen, The cause of your error is explained here:
App Log Streaming - http://docs.cloudfoundry.org/services/app-log-streaming.html
Your broker is returning syslog_drain_url in response to a bind request, but has not declared requires:syslog_drain in the catalog endpoint.
Catalog: http://docs.cloudfoundry.org/services/api.html#catalog-mgmt Response Body services.requires - A list of permissions that the user would have to give the service, if they provision it. The only permission currently supported is syslog_drain.
Binding: http://docs.cloudfoundry.org/services/api.html#binding Response Body syslog_drain_url - A URL to which Cloud Foundry should drain logs to for the bound application.
I noticed that in our description for the syslog_drain_url field, we should probably also refer to the requires field. I'll update the docs.
Shannon Coen Product Manager, Cloud Foundry Pivotal, Inc.
On Mon, Jun 29, 2015 at 3:04 AM, NGUYEN Hong Chau < nguyenhongchau(a)gmail.com> wrote:
Thank James and Shannon for your answer,
The support for the Arbitrary Parameters feature is actually a great improvement for service broker. I'm really wish to test it soon. Now when i'm implementing my service broker, the operation fails at binding the created service instance to an application: "FAILED Server error, status code: 502, error code: 10001, message: The service is attempting to stream logs from your application, but is not registered as a logging service. Please contact the service provider."
I'll try to check the logs from brokers and controller,
Regards, -- NGUYEN Hong Chau
On Fri, Jun 26, 2015 at 11:57 PM, Shannon Coen <scoen(a)pivotal.io> wrote:
Hello,
A commit to increment the broker API version header went out by mistake. We are currently backfilling docs for 2.5 (should be published very soon): https://www.pivotaltracker.com/story/show/88824286
Broker API v2.5 represents support for the Arbitrary Parameters feature. Cloud Controller may include a field called "parameters" in the provision, update, and bind request bodies. Values for this field are only included if provided by the CF API client (CLI, etc).
These changes are expected to be backwards compatible. A broker that does not support the "parameters" field should ignore it.
Info that could help troubleshoot: - what operation fails; create/update broker, provision, bind, etc? - logs from the broker of the request and response - logs from cloud controller of the request and response to the broker - output of CLI with CF_TRACE=true
Thank you,
Shannon Coen Product Manager, Cloud Foundry Pivotal, Inc.
On Thu, Jun 25, 2015 at 8:26 PM, James Bayer <jbayer(a)pivotal.io> wrote:
looks like the docs are only at 2.4: http://docs.cloudfoundry.org/services/api.html
2.5 should only have been incremental changes and should be backward compatible with other 2.x versions.
when you say it doesn't work, do you have details of an interaction that shows the problem?
On Thu, Jun 25, 2015 at 7:45 PM, NGUYEN Hong Chau < nguyenhongchau(a)gmail.com> wrote:
Hi all,
I'm trying to implement a service broker for cf-release v210. I implemented my service broker in cf-release v207 based on this service broker project <https://github.com/cloudfoundry-community/spring-boot-cf-service-broker>. Now cf-release v210 using api version 2.5 for broker and my code doesn't work. I'm looking up docs for api version 2.5 but find no document available yet. Does anyone implement a service broker for api version 2.5? And could you explain me the modifications I must do for the new broker version?
Thanks in advance.
-- Nguyen Hong-Chau
_______________________________________________ cf-dev mailing list cf-dev(a)lists.cloudfoundry.org https://lists.cloudfoundry.org/mailman/listinfo/cf-dev
-- Thank you,
James Bayer
_______________________________________________ cf-dev mailing list cf-dev(a)lists.cloudfoundry.org https://lists.cloudfoundry.org/mailman/listinfo/cf-dev
_______________________________________________ cf-dev mailing list cf-dev(a)lists.cloudfoundry.org https://lists.cloudfoundry.org/mailman/listinfo/cf-dev
-- Nguyen Hong-Chau
_______________________________________________ cf-dev mailing list cf-dev(a)lists.cloudfoundry.org https://lists.cloudfoundry.org/mailman/listinfo/cf-dev
_______________________________________________ cf-dev mailing list cf-dev(a)lists.cloudfoundry.org https://lists.cloudfoundry.org/mailman/listinfo/cf-dev
-- Nguyen Hong-Chau
|