Re: CATs failing
Amit Kumar Gupta
curl exit code 6 means DNS failed. xip.io is flaky, so we this often in
our dev environments where our app domains tend to be HA_PROXY_IP.xip.io. The CATS expect the apps to finish uploading, staging, and running in 2 minutes, although in reality this can take longer depending on the size of the app, the number of dependencies it needs to fetch, etc. The CATS apps are designed to generally get up and running within the 2 minute period, but can't account for all possible types of network slowness. openjdk is 43M and downloading on my machine takes about 7 seconds. In your test output, we see it took 55 seconds. The last thing it was trying to do was upload the 51M droplet, then at some point the 2min time limit for everything to finish gets hit and the test fails. My guess is you're experiencing network issues. If you can't fix those, you may want to configure a more lenient push timeout in your acceptance_tests errand: https://github.com/cloudfoundry/cf-release/blob/5fa14702bca4d36d1fdc7241c63d0b3e40dcbe90/jobs/acceptance-tests/spec#L69 Note, the above value is in seconds, so for e.g. if you want 3 minutes, set it to 180. On Fri, Sep 4, 2015 at 10:52 AM, Quintessence Anx <qanx(a)starkandwayne.com> wrote: Good afternoon!
|
|
Re: can't login with cf CLI but the UAAC tool works
Filip Hanik
Turn on trace, and post your data here. remember, if this is a prod
toggle quoted messageShow quoted text
environment, you may want to send me the token directly We can show you how to decode this token, and see why it is invalid. Filip
On Fri, Sep 4, 2015 at 11:59 AM, kyle havlovitz <kylehav(a)gmail.com> wrote:
I'm having an issue with my cloud controller/UAA setup where when I do cf
|
|
can't login with cf CLI but the UAAC tool works
kyle havlovitz <kylehav@...>
I'm having an issue with my cloud controller/UAA setup where when I do cf
login I get '401 unauthorized' back, but when I use the uaac command line tool to get a token it works fine. This makes me think the UAA is working but something is off with the cloud controller config, but I'm not sure what. The only strange thing I see is that the CLI is POSTing to /oauth/token and the uaac goes to /oauth/authorize. This is all using v215 of cloudfoundry running/built locally and 6.12.3 of the cli. Is there some endpoint that needs to be set correctly in the cloud controller config?
|
|
Re: Generic data points for dropsonde
Benjamin Black
johannes,
the problem of upstream schema changes causing downstream change or breakage is the current situation: every addition of a metric type implies a change to the dropsonde-protocol requiring everything downstream to be updated. the schema concerns are similar. currently there is no schema whatsoever beyond the very fine grained "this is a name and this is a value". this means every implementation of redis info export, for example, can, and almost certainly will, be different. this results in every downstream consumer having to know every possible variant or to only support specific variants, both exactly the problem you are looking to avoid. i share the core concern regarding ensuring points are "sufficiently" self describing. however, there is no clear line delineating what is sufficient. the current proposal pushes almost everything out to schema. we could imagine a change to the attributes that includes what an attribute is (gauge, counter, etc), what the units are for the attribute, and so on. it is critical that we balance the complexity of the points against complexity of the consumers as there is no free lunch here. which specific functionality would you want to see in the generic points to achieve the balance you prefer? b On Wed, Sep 2, 2015 at 2:07 PM, Johannes Tuchscherer < jtuchscherer(a)pivotal.io> wrote: The current way of sending metrics as either Values or Counters through
|
|
CATs failing
Quintessence Anx
Good afternoon!
Our CF deployment fails 4 of the CATs. I have put the errors and the full output in a GIST here: https://gist.github.com/qanx/677d64df27d911f39acd Summary: * There's a curl error even though the curl succeeds when I run it in terminal. * There's a Java buildpack error I can't figure out. * There are two other buildpack errors, one each for the binary and staticfile buildpacks. I believe these are expected, though, since we don't have these two buildpacks in our deployment. Does anyone know what could be causing these failures? Thanks! Quinn
|
|
Re: Status of support for route paths in cli
Mike Youngstrom
Great! Thanks Dieu.
toggle quoted messageShow quoted text
Mike
On Fri, Sep 4, 2015 at 10:46 AM, Dieu Cao <dcao(a)pivotal.io> wrote:
Shannon recently pulled the story over into the Routing team's tracker [1]
|
|
Re: Status of support for route paths in cli
Dieu Cao <dcao@...>
Shannon recently pulled the story over into the Routing team's tracker [1]
toggle quoted messageShow quoted text
with the intention to submit a PR for it to the CLI team. -Dieu CF CAPI PM [1] https://www.pivotaltracker.com/story/show/93368928
On Fri, Sep 4, 2015 at 9:09 AM, Mike Youngstrom <youngm(a)gmail.com> wrote:
Route path support has been in the CC and Router for several months now.
|
|
Status of support for route paths in cli
Mike Youngstrom
Route path support has been in the CC and Router for several months now.
What is the status of getting these into the CLI? I did a quick search for a CLI tracker story and couldn't find one. Mike
|
|
Re: Request timeout in CloudFoundry
Mike Youngstrom
I have disabled the timeout on the gorouter "-1" trusting our Front end
toggle quoted messageShow quoted text
load balancer to manage the timeout. That way I only need to worry about configuring timeout on one device in my proxy chain. That may simplify your problem. Is there any theoretical issues with that approach? It seems to have worked well for us. Mike
On Fri, Sep 4, 2015 at 6:49 AM, James Bayer <jbayer(a)pivotal.io> wrote:
i would trace through the various system component logs to see where the
|
|
Re: Notifications for service brokers
Dieu Cao <dcao@...>
To follow up on this, I've been working with Simon Moser on an initial
toggle quoted messageShow quoted text
proposal for this and he is now taking lead on it. Simon just completed a PM dojo at the end of August. Dieu
On Tuesday, August 18, 2015, Dieu Cao <dcao(a)pivotal.io> wrote:
I planned to put together a proposal for this a couple of weeks ago as a
|
|
Re: Need Help. How to register custom routes to gorouter
Mark St.Godard
The new routing-api and routing-api-cli allow you to register / unregister
toggle quoted messageShow quoted text
routes You will need to ensure you are also deploying routing-api with cf-release Routing API https://github.com/cloudfoundry-incubator/routing-api Routing API CLI https://github.com/cloudfoundry-incubator/routing-api-cli Cheers
On Fri, Sep 4, 2015 at 7:53 AM, James Bayer <jbayer(a)pivotal.io> wrote:
which cf-release are you using?
|
|
Re: Placement Pools
Dieu Cao <dcao@...>
Yes, I was just talking with Onsi and Mark Kropf about this yesterday and
toggle quoted messageShow quoted text
plan to submit a talk on this with Mark Kropf for cf summit berlin. I'll take on getting the proposal for isolation groups shared with cf-dev, hopefully, in the next couple of weeks. -Dieu CF CAPI PM
On Friday, September 4, 2015, James Bayer <jbayer(a)pivotal.io> wrote:
i believe dieu is working on this in preparate for cf summit in berlin.
|
|
Re: Need Help. How to register custom routes to gorouter
James Bayer
which cf-release are you using?
newer versions support an http api for trusted components to register routes. shannon is the PM for the routing team and can explain more and perhaps point to documentation. note there is an example of mysql registering a route with the previous approach in a bosh release here: https://github.com/cloudfoundry/cf-mysql-release/blob/master/jobs/cf-mysql-broker/templates/route-registrar_ctl.erb On Thu, Sep 3, 2015 at 4:20 PM, Lakshman Mukkamalla (lmukkama) < lmukkama(a)cisco.com> wrote: Hi cf devs, -- Thank you, James Bayer
|
|
Re: Request timeout in CloudFoundry
James Bayer
i would trace through the various system component logs to see where the
toggle quoted messageShow quoted text
timeout is starting with each component that the client connects to and seeing if that request came through. by submitting a silly uniquely identifiable hostname you can usually find something quickly by grepping logs.
On Thu, Sep 3, 2015 at 6:47 AM, Kayode Odeyemi <dreyemi(a)gmail.com> wrote:
Hi, --
Thank you, James Bayer
|
|
Re: Placement Pools
James Bayer
i believe dieu is working on this in preparate for cf summit in berlin.
dieu, did i understand that correctly? On Thu, Sep 3, 2015 at 4:50 PM, Carlo Alberto Ferraris < cafxx(a)strayorange.com> wrote: James, Onsi, -- Thank you, James Bayer
|
|
Re: Application only starts when a bogus service is attached
Daniel Mikusa
On Fri, Sep 4, 2015 at 4:32 AM, Ramon Makkelie <ramon.makkelie(a)klm.com>
wrote: we have some application that since our upgrade from 207 to 214 would notWhat version of the Java build pack do you have installed? `cf buildpacks`? What does your `cf push` command & manifest.yml look like? What do you mean by "fake"? Is it an actual service attached to a DB? Is it a user provided service with no info? Some suggestions for troubleshooting... 1.) Run `cf logs <app>` in a second terminal. Then run `cf push`. After the build pack completes, you should see a line that says CF is starting the app. If you see no logging between that and the notice that the app exited, you might try this. Sometimes when an app exits too fast, logging is lost. http://support.run.pivotal.io/entries/82506749-Help-My-app-is-crashing-and-I-don-t-see-any-thing-in-the-logs 2.) Because it's a Java app, you might also try this. http://support.run.pivotal.io/entries/59869725-Java-Web-Applications-Slow-Startup-or-Failing (sorry for the PWS links, those should be relevant for anyone running CF though) You might try the samples for Tomcat 8, since that's what the Java build pack has been deploying for a while. Dan
|
|
So many hard-coded dropsonde destinations to metrons
Noburou TANIGUCHI
Hi,
(This is a post in proxy of my collegue.) There are so many hard-coded dropsonde destinations (actually each of them is a metron's listening port) in multiple repositories, while metron's listening port itself is configurable. Below is the list that we've found it is hard-coded: Are they going to be finally configurable in the near future, or is there any reason to hard-code them? Thanks in advance. ----- I'm not a ... noburou taniguchi -- View this message in context: http://cf-dev.70369.x6.nabble.com/So-many-hard-coded-dropsonde-destinations-to-metrons-tp1474.html Sent from the CF Dev mailing list archive at Nabble.com.
|
|
Application only starts when a bogus service is attached
ramonskie
we have some application that since our upgrade from 207 to 214 would not run
If I push an app (java web/ Spring) on cf without any services, CF loop on the push and sometime at the end (10 or 15minutes) the app running or not. I have this trace in the events : 2015-08-26T13:19:28.00+0200 app.crash pocretform index: 0, reason: CRASHED, exit_description: failed to accept connections within health check timeout, exit_status: -1 2015-08-26T13:18:10.00+0200 app.crash pocretform index: 0, reason: CRASHED, exit_description: failed to accept connections within health check timeout, exit_status: -1 2015-08-26T13:16:48.00+0200 app.crash pocretform index: 0, reason: CRASHED, exit_description: failed to accept connections within health check timeout, exit_status: -1 and in the stdout : 2015-08-26T13:16:48.00+0200 [DEA/8] ERR Instance (index 0) failed to start accepting connections If I bind a fake service (like mongo), the app is pushed without any problem and in the log (stdout) I have : 2015-08-26T13:29:50.87+0200 [App/0] OUT [CONTAINER] org.apache.catalina.startup.HostConfig INFO Deployment of web application directory /home/vcap/app/.java-buildpack/tomcat/webapps/ROOT has finished in 6,502 ms 2015-08-26T13:29:50.87+0200 [App/0] OUT [CONTAINER] org.apache.coyote.http11.Http11NioProtocol INFO Starting ProtocolHandler ["http-nio-61230"] 2015-08-26T13:29:50.88+0200 [App/0] OUT [CONTAINER] org.apache.tomcat.util.net.NioSelectorPool INFO Using a shared selector for servlet write/read 2015-08-26T13:29:50.88+0200 [App/0] OUT [CONTAINER] org.apache.catalina.startup.Catalina INFO Server startup in 6540 ms This trace does not appear, if I unbind the service. I have also tried to push the Tomcat demo app (https://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/), same behaviour. So it's not our app problem any suggestions?
|
|
Re: why does cf app show always 0.0% CPU
Amit Kumar Gupta
Answered on stackoverflow: http://stackoverflow.com/a/32392125/1061413
toggle quoted messageShow quoted text
On Thu, Sep 3, 2015 at 11:25 PM, Lukas Lehner <weblehner(a)gmail.com> wrote:
Hi
|
|
Re: Announcing Experimental support for Asynchronous Service Operations
Dieu Cao <dcao@...>
Thanks Guillaume for the feedback. I've now gathered enough feedback to
toggle quoted messageShow quoted text
bring async operations out of the experimental phase and bump the service broker api version. I've added stories to the CAPI backlog [1] and we'll get the diagram updated too. Localized error messages is not something we are looking to work on right now. I believe there was a previous attempt to have CC errors localized that ended up not being merged due to issues with the way v2 constructed error messages and not being backwards compatible. As these descriptions passed from brokers via the last_operation end point don't go that route, there's perhaps a path forward there. Happy to discuss if it's work that anyone is interested in taking on via PR. -Dieu CF CAPI PM [1] https://www.pivotaltracker.com/epic/show/2058352
On Wed, Sep 2, 2015 at 5:00 AM, Guillaume Berche <bercheg(a)gmail.com> wrote:
Thanks Dieu for your response.
|
|