Re: CATs failing
Quintessence Anx
Aha! Thank you very much. We have been working on network issues but I
toggle quoted messageShow quoted text
think for the interim I will up the cf_push_timeout.
On Fri, Sep 4, 2015 at 2:08 PM, Amit Gupta <agupta(a)pivotal.io> wrote:
curl exit code 6 means DNS failed. xip.io is flaky, so we this often in
|
|
Re: can't login with cf CLI but the UAAC tool works
kyle havlovitz <kylehav@...>
ok so the 'uaac token client get' fails, and the error is 'Bad credentials'
toggle quoted messageShow quoted text
On Fri, Sep 4, 2015 at 3:33 PM, Filip Hanik <fhanik(a)pivotal.io> wrote:
ok, so we can validate that
|
|
Re: can't login with cf CLI but the UAAC tool works
Filip Hanik
ok, so we can validate that
toggle quoted messageShow quoted text
uaac target http://localhost:8080 uaac token client get admin -s <your admin client secret> uaac clients Should show your 'cf' client in the list then we can do uaac token owner get cf <username> -s "" -p <user password> and if that works, we can take it to the next step
On Fri, Sep 4, 2015 at 1:26 PM, kyle havlovitz <kylehav(a)gmail.com> wrote:
I started the uaa by building from the tagged version in cf-release v215
|
|
[lattice] v0.4.0
Marco Nicosia
On behalf of the Lattice AND the Routing teams, I am pleased to announce
v0.4.0 of Lattice! We've taken some time off to convert our pipelines from GoCD to Concourse, and the Routing team has integrated the TCP Router into Lattice. This is something we've been looking forward to, please check it out and give us feedback! The full release notes are included below. I'm also happy to announce David Wadden as the new Product Manager for Lattice. David's been the anchor of the project team for the last 6 months, so he's well-equipped to step into the position. Please welcome in his new role, and thank you David! As always: - If you think you've found a bug, please file a GitHub issue. - If you have a contribution, we'd be happy to give you feedback via a Pull Request. - You can track our prioritized queue of work at: http://bit.ly/lattice-tracker -- Marco Nicosia && David Wadden ---------- Forwarded message ---------- From: Marco Nicosia <notifications(a)github.com> Date: Fri, Sep 4, 2015 at 11:12 AM Subject: [lattice] v0.4.0 To: cloudfoundry-incubator/lattice <lattice(a)noreply.github.com> v0.4.0 Beginning with v0.4.1, direct access to Lattice cells will be restricted to private addresses within the cluster. Introducing TCP Router TCP Router is a collection of components that balances traffic across one or more instances of an application. Unlike gorouter, tcp-router balances traffic other than HTTP, such as mysql, redis, or mongodb. Using ltc, a user defines a route from an external port on the Lattice brain to an exposed port on the application container. Under the hood, tcp-emitter regularly updates HAProxy <http://www.haproxy.org/> with the TCP routes defined on the Lattice cluster. - #172 <https://github.com/cloudfoundry-incubator/lattice/pull/172> #182 <https://github.com/cloudfoundry-incubator/lattice/pull/182> #191 <https://github.com/cloudfoundry-incubator/lattice/pull/191>: Merge TCP Router functionality [#101089176 <https://www.pivotaltracker.com/story/show/101089176>] [#101699282 <https://www.pivotaltracker.com/story/show/101699282>] [#102296358 <https://www.pivotaltracker.com/story/show/102296358>] - [image: :+1:] Big thanks to the Routing team for their contributions! @shalako <https://github.com/shalako> @fordaz <https://github.com/fordaz> @atulkc <https://github.com/atulkc> - --routes no longer works on ltc create and ltc launch-droplet. - Use the --http-routes flag to define HTTP routes for an app. [ #100758692 <https://www.pivotaltracker.com/story/show/100758692>] [ #100436212 <https://www.pivotaltracker.com/story/show/100436212>] - --http-routes takes a comma-delimited set of ROUTE:CONTAINER_PORT - This is reversed from --routes (*breaking change*) - New --tcp-routes flag takes comma-delimited set of EXTERNAL_PORT:CONTAINER_PORT - Multiple TCP routes can route to same container port. [#101697408 <https://www.pivotaltracker.com/story/show/101697408>] - ltc update changes HTTP and/or TCP routes for a running application. [ #98240702 <https://www.pivotaltracker.com/story/show/98240702>] - Replaces ltc update-routes (will be removed in a future release). - ltc status and ltc list show TCP routes [#100258924 <https://www.pivotaltracker.com/story/show/100258924>] [#100258722 <https://www.pivotaltracker.com/story/show/100258722>] New Distribution Bundles With the recent conversion to Concourse <http://concourse.ci/> as our CI platform, we took the opportunity to change the way we distribute Lattice -- no more git checkout; vagrant up. Starting with *v0.4.0*, we distribute a *bundle* (links below) that contains ltc along with the vagrant/terraform files needed to launch Lattice. - Distribute Lattice via bundles [#101458202 <https://www.pivotaltracker.com/story/show/101458202>] [#101314108 <https://www.pivotaltracker.com/story/show/101314108>] [#101314112 <https://www.pivotaltracker.com/story/show/101314112>] New Features - ltc target --s3 uses an S3 bucket as the droplet store [#100236758 <https://www.pivotaltracker.com/story/show/100236758>] [#100237448 <https://www.pivotaltracker.com/story/show/100237448>] - Allows multiple developers to share droplets - Persists droplets across subsequent Lattice deployments - ltc create --monitor-command uses a custom healthcheck command [ #91461922 <https://www.pivotaltracker.com/story/show/91461922>] Usability Fixes - ltc target times out when a connection to the blob store hangs [ #101164182 <https://www.pivotaltracker.com/story/show/101164182>] - No longer downloads RootFS at provision-time on Vagrant and AWS [ #101844068 <https://www.pivotaltracker.com/story/show/101844068>] [ #101844098 <https://www.pivotaltracker.com/story/show/101844098>] - Upgraded base Ubuntu image to 14.04.3 [#102162900 <https://www.pivotaltracker.com/story/show/102162900>] - Document <https://github.com/cloudfoundry-incubator/lattice/tree/v0.4.0#vagrant-ip-conflict-errors> how to diagnose and resolve multiple vagrant instances running [ #101992188 <https://www.pivotaltracker.com/story/show/101992188>] For Developers - ci.lattice.cf shows the current build status [#101284204 <https://www.pivotaltracker.com/story/show/101284204>] - As part of our migration to Concourse, we now track master. Moving forward, please submit any PRs against the *master* branch. [#101834808 <https://www.pivotaltracker.com/story/show/101834808>] — View it on GitHub <https://github.com/cloudfoundry-incubator/lattice/releases/tag/v0.4.0>.
|
|
Re: can't login with cf CLI but the UAAC tool works
kyle havlovitz <kylehav@...>
I started the uaa by building from the tagged version in cf-release v215
toggle quoted messageShow quoted text
and running it via tomcat with a custom config file, but I didn't specify a database. I have both a cf and admin section in the uaa clients config: cf: id: cf override: true authorized-grant-types: password,implicit,refresh_token authorities: uaa.none scope: cloud_controller.read,cloud_controller.write,openid,password.write,cloud_controller.admin,scim.read,scim.write secret: 'xxxxxxxxxx' admin: id: admin authorized-grant-types: client_credentials authorities: clients.read,clients.write,clients.secret,password.write,scim.read,uaa.admin scope: read,write,password resource-ids: clients secret: 'xxxxxxxxxx'
On Fri, Sep 4, 2015 at 3:09 PM, Filip Hanik <fhanik(a)pivotal.io> wrote:
ok, so the URL you have is /oauth/token, that's fine. your trace returns
|
|
Re: can't login with cf CLI but the UAAC tool works
Filip Hanik
ok, so the URL you have is /oauth/token, that's fine. your trace returns
toggle quoted messageShow quoted text
"authorization_endpoint":"http://localhost:8080","token_endpoint":" http://localhost:8080/uaa" indicating that there is a misconfiguration somewhere, but we can fix that later. How did you start the UAA? Are you sure that your UAA has a client named 'cf' in its database?
On Fri, Sep 4, 2015 at 1:05 PM, kyle havlovitz <kylehav(a)gmail.com> wrote:
Running that command against /uaa/oauth/token gives just a redirect to
|
|
Re: can't login with cf CLI but the UAAC tool works
kyle havlovitz <kylehav@...>
Running that command against /uaa/oauth/token gives just a redirect to
/login. Doing it with /oauth/token gives a 401 unauthorized, same as the cf cli. What do you mean by deploy it as root "/"? As in, a override the url it hosts the endpoints at?
|
|
Re: So many hard-coded dropsonde destinations to metrons
Amit Kumar Gupta
Oddly, I can see your list on nabble here:
toggle quoted messageShow quoted text
http://cf-dev.70369.x6.nabble.com/So-many-hard-coded-dropsonde-destinations-to-metrons-tp1474.html But it's just blank in the email, and also on the cloudfoundry.org archive: https://lists.cloudfoundry.org/archives/list/cf-dev(a)lists.cloudfoundry.org/thread/73TWLI6BVETB5PCI4CBKXNCLUZRJJIIV/ Here's the list for anyone else trying to read it: garden-linux-release/src/github.com/cloudfoundry/dropsonde/dropsonde.go: 10:// dropsonde.Initialize("localhost:3457", origins...) garden-linux-release/src/ github.com/cloudfoundry-incubator/garden-linux/main.go: 175: "localhost:3457", github.com/cloudfoundry-incubator/auctioneer/cmd/auctioneer/main.go: 84: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/bbs/cmd/bbs/main.go: 67: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/converger/cmd/converger/main.go: 82: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/diego-ssh/cmd/ssh-proxy/main.go: 68: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/file-server/cmd/file-server/main.go: 59: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/garden-linux/old/main.go: 178: "localhost:3457", github.com/cloudfoundry-incubator/nsync/cmd/nsync-bulker/main.go: 109: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/nsync/cmd/nsync-listener/main.go: 53: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/receptor/cmd/receptor/main.go: 120: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/rep/cmd/rep/main.go: 166: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/route-emitter/cmd/route-emitter/main.go: 91: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/runtime-metrics-server/cmd/runtime-metrics-server/main.go : 65: "localhost:3457", github.com/cloudfoundry-incubator/stager/cmd/stager/main.go: 89: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/tps/cmd/tps-listener/main.go: 53: dropsondeDestination = "localhost:3457" github.com/cloudfoundry-incubator/tps/cmd/tps-watcher/main.go: 74: dropsondeDestination = "localhost:3457"
On Fri, Sep 4, 2015 at 3:34 AM, Noburou TANIGUCHI <dev(a)nota.m001.jp> wrote:
Hi,
|
|
Re: can't login with cf CLI but the UAAC tool works
Filip Hanik
ok, this should be an easy one to test (put in your username and password)
toggle quoted messageShow quoted text
curl -v -XPOST -H"Accept:application/json" -u "cf:" -d "username=marissa&password=koala&client_id=cf&grant_type=password" " http://localhost:8080/uaa/oauth/token" and this should return a token POST /oauth/token HTTP/1.1 Host: localhost:8080 I had expected this to be POST */uaa*/oauth/token HTTP/1.1 Host: localhost:8080 So it is possible that the CF CLI doesn't support the relative paths, and you may have to deploy it as root "/" Filip
On Fri, Sep 4, 2015 at 12:10 PM, kyle havlovitz <kylehav(a)gmail.com> wrote:
cf loginAPI endpoint: http://localhost:8181Also: when i do 'uaac token get' with those same credentials, it succeeds.
|
|
Re: can't login with cf CLI but the UAAC tool works
kyle havlovitz <kylehav@...>
Also: when i do 'uaac token get' with those same credentials, it succeeds.
|
|
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
|
|