Re: no more stdout in app files since upgrade to 214
James Bayer
here are some things that should help us troubleshoot:
toggle quoted messageShow quoted text
does "cf logs APPNAME --recent" show anything different? how did you create your deployment manifest? how many availability zones do you have in your deployment? how many traffic controllers and doppler instances do you have? is the dea_logging_agent co-located with the DEAs and your "runner" VMs configured with jobs something like this [0]? with our installations, we typically use the affectance tests (CATS) [1] to cover platform functionality. there is also a set of acceptance tests just for loggregator [2]. [0] https://github.com/cloudfoundry/cf-release/blob/master/example_manifests/minimal-aws.yml#L229-L239 [1] https://github.com/cloudfoundry/cf-acceptance-tests [2] https://github.com/cloudfoundry/loggregator/tree/develop/bosh/jobs/loggregator-acceptance-tests
On Mon, Aug 17, 2015 at 1:11 AM, ramonskie <ramon.makkelie(a)klm.com> wrote:
okay so no problem there --
Thank you, James Bayer
|
|
Re: Web proxy support in buildpacks
JT Archie <jarchie@...>
Jack,
toggle quoted messageShow quoted text
For cached buildpacks, it would not be useful to set HTTP proxying. The dependencies are bundled with the buildpack and are loaded via the local file system, not HTTP. Most of the buildpacks use curl to download the dependencies from the HTTP server. You should be able to set the environment variables HTTP_PROXY or HTTPS_PROXY to for curl to use the proxy server. <http://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html> If this works for you it would be great to hear your feedback. Kinds Regards, JT
On Mon, Aug 17, 2015 at 9:26 AM, Jack Cai <greensight(a)gmail.com> wrote:
Currently I see that the Java buildpack and the PHP buildpack explicitly
|
|
Web proxy support in buildpacks
Jack Cai
Currently I see that the Java buildpack and the PHP buildpack explicitly
mentioned in their doc that they can run behind a Web proxy, by setting the HTTP_PROXY and HTTPS_RPOXY environment variable. And I suppose this is supported in either the cached version or the uncached one, and for both the old lucid64 stack and the new cflinuxfs2 stack (which has different Ruby version). Do other buildpacks support the same? Aka node.js, python, ruby, go, etc. Thanks in advance! Jack
|
|
no more APP logs when tailing the app since the upgrade from 207 to 214
ramonskie
since the upgrade from 207 to 214 i noticed 2 things
1) no more stdout and stderr in the logs/ dir off the app/container someone pointet it out that this is removed in https://github.com/cloudfoundry/dea_ng/commit/930d3236b155da8660175198f4a1e4f18bf3cb6d 2) no more APP logs shown when tailing the app the only thing i see are the RTR logs i check all the job specs/templates of the loggregator, doppler and metron_agent but i can't find anything
|
|
Re: CF integration with logger and monitoring tools
Daniel Mikusa
I think you're talking about two separate things here:
toggle quoted messageShow quoted text
If you create a user defined service and bind that to your application [1], the Java build pack should install the agent and configure it to monitor your application. That's the key here, it will monitor that *one* application. This will work very similar to if you ran your app locally with the wily agent installed. You can then repeat this process for any number of Java apps running on CF. When you're talking about collector & firehose, you're talking about ways to pull logs and metrics from the entire CF system, not just a single app. This is unrelated to what is supported through the Java build pack. I have no idea if Interscope is capable of doing this or if it would make sense to use it for this type of data gathering. Dan [1] - https://github.com/cloudfoundry/java-buildpack/blob/master/docs/framework-introscope_agent.md
On Mon, Aug 17, 2015 at 7:40 AM, Swatz bosh <swatzron(a)gmail.com> wrote:
Thanks Gwenn.
|
|
Re: CF integration with logger and monitoring tools
Swatz bosh
Thanks Gwenn.
I found a link for integrating AppDynamics (agent based monitoring like Wily) with PCF, where its mentioned to create user-defined service and bind it to application, so that AppDynamic agent will detect the service 'VCAP_SERVICE' and start sending metrics/logs to AppDynamic collector. http://blog.pivotal.io/pivotal-cloud-foundry/products/getting-started-with-pivotal-cloud-foundry-and-appdynamics I am using here they are using 'collector' and not firehose nozzle? So does that mean I should not be using (java_buildpack agent of introscope) https://github.com/cloudfoundry/java-buildpack/blob/master/docs/framework-introscope_agent.md where introscope will need VCAP_SERVICE i.e. service binding with substring as 'introscope' to all my java apps ? I think its old 'collector' approach like AppDynamic ? And I should not be creating in user defined service for Introscope and bind to my java apps? I should rely on dea and metron to provide java application metrics and configure my firehose nozzle to point to Introscope-Enterprise Manager to collect all App metrics, is it correct? If yes, then are we saying firehouse metric will be auto understood by Introscope-Enterprise Manager? Thanks for all your response.
|
|
Re: Hard-coded domain name in diego etcd job
Gwenn Etourneau
You not should change it, this domain is use only with consul as DNS.
toggle quoted messageShow quoted text
Many component rely on it, uaa and so on. https://github.com/cloudfoundry/cf-release/blob/90d730a2d13d9e065a7f348e7fd31a1522074d02/jobs/consul_agent/templates/config.json.erb Do you have some logs ?
On Mon, Aug 17, 2015 at 7:41 PM, Meng, Xiangyi <xiangyi.meng(a)emc.com> wrote:
Hi,
|
|
Hard-coded domain name in diego etcd job
MaggieMeng
Hi,
I am trying to deploy diego 0.1402.0 into vShpere server to work with CF 210. However the deployment failed when creating job 'etcd' with following error. Error: cannot sync with the cluster using endpoints https://database-z1-0.etcd.service.cf.internal:4001 I tried to change the domain name to my own domain name in diego yml file. But it didn't work. I found the domain name was hard-coded in etcd_bosh_utils.sh. https://github.com/cloudfoundry-incubator/diego-release/blob/develop/jobs/etcd/templates/etcd_bosh_utils.sh.erb Could anyone tell me how to work around it? Thanks, Maggie
|
|
Re: CF integration with logger and monitoring tools
Gwenn Etourneau
I think the easy way is to use the provided logs system by CF, so
toggle quoted messageShow quoted text
deaagent-> metron -> dopler -> Firehose consumer - forwarder -> Willy Will be strange that Willy agent / or server don't provide the specification of their format or any forwarder exist. I found some opensource things about Wily so maybe you can find some usefull work there. https://github.com/nickman/wiex
On Mon, Aug 17, 2015 at 5:42 PM, Swati Goyal <swatzron(a)gmail.com> wrote:
Thanks James for your reply.
|
|
Warden: Failed retrieving quota for uid=20002: Block device doesn't exist.
R M
I am getting this error while trying to deploy a test app. It fails during staging with this exception:
/=================================================/ 2015-08-13 17:33:16.542443 Warden::Container::Linux pid=13619 tid=885a fid=d6ee container/base.rb/dispatch:300 handle=18t6vhrf6d0,request={"bind_mounts"=>["#<Warden::Protocol::CreateRequest::BindMount:0x0002ab0a5e79c0>", "#<Warden::Protocol::CreateRequest::BindMount:0x0002ab0a5ebca0>", "#<Warden::Protocol::CreateRequest::BindMount:0x0002ab0a5e9860>"], "rootfs"=>"/var/vcap/packages/rootfs_cflinuxfs2"},response={"handle"=>"18t6vhrf6d0"} DEBUG -- create (took 9.700584) 2015-08-13 17:33:16.543524 Warden::Container::Linux pid=13619 tid=885a fid=0ccd container/base.rb/write_snapshot:334 handle=18t6vhrf6d0 DEBUG -- Wrote snapshot in 0.000068 2015-08-13 17:33:16.543599 Warden::Container::Linux pid=13619 tid=885a fid=0ccd container/base.rb/dispatch:300 handle=18t6vhrf6d0,request={"handle"=>"18t6vhrf6d0", "limit_in_shares"=>512},response={"limit_in_shares"=>512} DEBUG -- limit_cpu (took 0.000289) 2015-08-13 17:33:16.553165 Warden::Container::Linux pid=13619 tid=885a fid=f1ec container/spawn.rb/set_deferred_success:135 stdout=,stderr=Failed retrieving quota for uid=20002: Block device doesn't exist. WARN -- Exited with status 1 (0.008s): [["/var/vcap/data/packages/warden/724f030f2d6e90d02c2afbe90ed5fe1ce2de1667/warden/src/closefds/closefds", "/var/vcap/data/packages/warden/724f030f2d6e90d02c2afbe90ed5fe1ce2de1667/warden/src/closefds/closefds"], "/var/vcap/data/packages/warden/724f030f2d6e90d02c2afbe90ed5fe1ce2de1667/warden/src/repquota/repquota", "/var", "20002"] /=================================================/ Any tips to debug this further greatly appreciated. Thanks.
|
|
Re: CF integration with logger and monitoring tools
Swatz bosh
Thanks James for your reply.
toggle quoted messageShow quoted text
So you are recommending firehose nozzles for sending logs and metrics to 3rd party application monitoring and logging tools. For product like Wily Introscope (now known as APM), which is agent based monitoring approach, and I think these agents right now only support Java/.Net technologies, which sends such metrics to Wily-Enterprise Manager. I have found that cf has released Java-buildpack for this Introscope agent ( https://github.com/cloudfoundry/java-buildpack/blob/master/lib/java_buildpack/framework/introscope_agent.rb ). So how would the communication would work with such Introscope agent? Will it still need nozzle? like - introscope agent (assuming Java application) will send Metrics/Logs to cf metron-agent which in-turn send it to cf doppler, then have firehose-nozzle to consume logs/metrics from doppler and send it to Enterprise Manager? Is this the flow or have to follow someother approach for such agent based monitoring tool?
On Mon, Aug 17, 2015 at 1:12 PM, James Bayer <jbayer(a)pivotal.io> wrote:
i wrote back last week, but it looks like it was swallowed and never
|
|
Re: UAA: How to set client_credentials token grant type to not expire
Paul Bakare
Thank you. Needed to update to make this work.
toggle quoted messageShow quoted text
uaac client update useraccount --access_token_validity 315360000
On Fri, Jul 31, 2015 at 4:19 PM, Filip Hanik <fhanik(a)pivotal.io> wrote:
Start a local server (./gradlew run --info)
|
|
Re: no more stdout in app files since upgrade to 214
ramonskie
okay so no problem there
the only thing now is that there is no streaming logs with the cf logs command from my APP only RTS any ideas there? -- View this message in context: http://cf-dev.70369.x6.nabble.com/no-more-stdout-in-app-files-since-upgrade-to-214-tp1197p1217.html Sent from the CF Dev mailing list archive at Nabble.com.
|
|
Re: CF integration with logger and monitoring tools
James Bayer
i wrote back last week, but it looks like it was swallowed and never posted?
toggle quoted messageShow quoted text
---------- Forwarded message ---------- From: James Bayer <jbayer(a)pivotal.io> Date: Fri, Aug 14, 2015 at 6:33 AM Subject: Re: [cf-dev] Re: CF integration with logger and monitoring tools To: "Discussions about Cloud Foundry projects and the system overall." < cf-dev(a)lists.cloudfoundry.org> cf is moving toward the loggregator firehose nozzle approach for sending stuff in cf to other systems. most logging products and services support syslog. here is a syslog nozzle for the firehose that should work well with splunk and similar: https://github.com/cloudfoundry-community/firehose-to-syslog if you're sending metrics, then you can look at something like the datadog nozzle for integration with whatever metrics service you are using: https://github.com/cloudfoundry-incubator/datadog-firehose-nozzle the current system that is being replaced is called the collector [1], which has plugins for various providers. i hope that the CF ecosystem will start having nozzles for many different metrics providers over time similar to the collector. [1] https://github.com/cloudfoundry/collector/tree/master/lib/collector/historian
On Thu, Aug 13, 2015 at 11:14 PM, Swatz bosh <swatzron(a)gmail.com> wrote:
Can you please help me with above query? -- Thank you, James Bayer --
Thank you, James Bayer
|
|
Re: CF integration with logger and monitoring tools
Swatz bosh
Hi,
Can someone help me on my query please? Thanks
|
|
Re: Overcommit on Diego Cells
James Bayer
i know that onsi and eric have discussed this. i've heard that eric is
toggle quoted messageShow quoted text
working on a reply.
On Tue, Aug 11, 2015 at 12:50 PM, Mike Youngstrom <youngm(a)gmail.com> wrote:
Today my org manages our DEA resources using a heavy overcommit strategy. --
Thank you, James Bayer
|
|
CF Release Acceptance Test Changes
Zachary Auerbach <zauerbach@...>
The CF Acceptance Tests have been modified so that users can configure them
to run with HTTPS or HTTP. By default the settings have been changed from HTTP to HTTPS. If you need to run them in HTTP mode for development (like bosh-lite) then you can set the `"use_http": true` property in the integration json config. This property can also be set for the acceptance-test errand in your CF manifest. Zak + Dan CF OSS Integration "Defender of the Universe" -- -Zak CF Voltron "Defender of the Universe"
|
|
Re: Notifications for service brokers
Juan Pablo Genovese
Vineet,
toggle quoted messageShow quoted text
there is some proposals to add better notifications to CF in general and the CC in particular, but for now you can poll the CC API to get those events. See http://apidocs.cloudfoundry.org/214/ Thanks! 2015-08-14 18:31 GMT-03:00 Vineet Banga <vineetbanga1(a)gmail.com>:
Is there any notification pub/sub mechanism in cloud foundry when services --
Mis mejores deseos, Best wishes, Meilleurs vœux, Juan Pablo ------------------------------------------------------ http://www.jpgenovese.com
|
|
Re: Script hangs when updating the cf-release
CF Runtime
I see some differences in the submodules you are getting vs what is
toggle quoted messageShow quoted text
currently on cf-release dev or master branches. Which branch, tag, or SHA are you trying to check out? Joseph & Dies OSS Release Integration Team
On Thu, Aug 13, 2015 at 12:13 PM, Qing Gong <qinggong(a)gmail.com> wrote:
When I ran the following command, I always got stuck when updating the
|
|
Re: Recommended way/place to configure uaa for CF runtime
Madhura Bhave
Hi Tom,
toggle quoted messageShow quoted text
The recommended way to update uaa config in cf-release is to update the manifest file that was used for deploying CF and then doing a bosh deploy again. This will update the uaa.yml with the properties that are configured in the manifest. The properties required for LDAP configuration can be found here: https://github.com/cloudfoundry/cf-release/blob/master/jobs/uaa/spec#L169-L231 . Thanks, Madhura
On Thu, Aug 13, 2015 at 4:27 AM, Tom Sherrod <tom.sherrod(a)gmail.com> wrote:
I've deployed cf-release 214.
|
|