Re: [p1-data-services] feedback request: extracting a common route-registrar job
Jens Deppe <jdeppe@...>
The GemFire service registers HA routes to our dashboard(s). For this to
toggle quoted messageShow quoted text
work correctly and have the gorouter honor session stickiness I submitted this pull request to natbeat: https://github.com/cloudfoundry-incubator/natbeat/pull/5. The essence of the fix is: For a HA backend service (such as a dashboard) I need to have requests be sticky. To enable this I need to set the private_instance_id in the RegistryMessage so that the gorouter does the right thing by setting a __VCAP_ID__ cookie. This is enabled by a private_instance_id in the registration message. Thanks --Jens
On Tue, Sep 8, 2015 at 12:53 PM, Amit Gupta <agupta(a)pivotal.io> wrote:
Hi all,
|
|
feedback request: extracting a common route-registrar job
Amit Kumar Gupta
Hi all,
Several components within cf-release, as well as many jobs in different releases, register a route with the gorouter: - *doppler* registers the "doppler" and "loggregator" routes - the *hm9000* API server registers the "hm9000" route - *UAA* registers "uaa", "*.uaa", "login", and "*.login" routes - *CC* registers the "api" route - Many *service brokers* also register a route. All these components register their routes in different ways. They also all use the existing NATS flow, and will all need to switch their implementations to use the routing API once that goes live and we start to phase out NATS. We have been working on extracting a route-registrar job which can be colocated with other jobs and register routes on their behalf. Currently it naively just always advertises the configured routes, and relies on the gorouter's behaviour around knowing not to route requests to addresses that aren't currently up. One might require more sophisticated logic than this, however. For example, a server may be "up" and theoretically capable of handling requests, but not actually ready yet. Perhaps the router-registrar should have some contract with its colocated jobs where those jobs can define a health check script, and the route-registrar will only update the route registration if the check succeeds. Another requirement may exist around shutdown behaviour. Jobs may only want to stop having its routes registered at a certain point in its drain lifecycle. *We would like feedback* from anyone maintaining a job or release that does some sort of route registration to gather requirements that would be desired of a generic route-registration component. Thanks, Amit, CF OSS Release Integration team
|
|
Proposal: Decomposing cf-release and Extracting Deployment Strategies
Amit Kumar Gupta
Hi all,
The CF OSS Release Integration team (casually referred to as the "MEGA team") is trying to solve a lot of tightly interrelated problems, and make many of said problems less interrelated. It is difficult to address just one issue without touching the others, so the following proposal addresses several issues, but the most important ones are: * decompose cf-release into many independently manageable, independently testable, independently usable releases * separate manifest generation strategies from the release source, paving the way for Diego to be part of the standard deployment This proposal will outline a picture of how manifest generation will work in a unified manner in development, test, and integration environments. It will also outline a picture of what each release’s test pipelines will look like, how they will feed into a common integration environment, and how feedback from the integration environment will feed back into the test environments. Finally, it will propose a picture for what the integration environment will look like, and how we get from the current integration environment to where we want to be. For further details, please feel free to view and comment here: https://docs.google.com/document/d/1Viga_TzUB2nLxN_ILqksmUiILM1hGhq7MBXxgLaUOkY Thanks, Amit, CF OSS Release Integration team
|
|
Re: How to deploy a Web application using HTTPs
James Bayer
juan i don't understand what you are trying to do.
your node app should listen to the $PORT environment variable with a plain http connection. the load balancer you use for cloud foundry (HAProxy or a LB you provide like F5 or ELB) should terminate SSL and add the appropriate x-forwarded-proto header to indicate whether the originating request was SSL. gorouter also supports received https traffic from the load balancer, but does not re-encrypt the traffic to the backend container. app client ---HTTPS---> LB ---HTTPS---> GoRouter ---HTTP---> DEA/DiegoCell what are you trying to do? On Tue, Sep 8, 2015 at 11:34 AM, Juan Antonio Breña Moral < bren(a)juanantonio.info> wrote: Hi James, -- Thank you, James Bayer
|
|
Re: How to deploy a Web application using HTTPs
Juan Antonio Breña Moral <bren at juanantonio.info...>
Hi James,
I have just tested and I received this message: "502 Bad Gateway: Registered endpoint failed to handle the request." Source: https://github.com/jabrena/CloudFoundryLab/tree/master/Node_HelloWorld_ssl I think that it is a very important feature. In the example, I use a local certificate to offer a https connection with an API, but CF doesn't have any support. My question is: How to deploy in Pivotal a secure application if the platform doesn't that support? Juan Antonio
|
|
Re: So many hard-coded dropsonde destinations to metrons
Warren Fernandes
The LAMB team added a chore to discuss how we can better manage a dropsonde_incoming_port on the metron_agent over here https://www.pivotaltracker.com/story/show/102935222
We'll update this thread once we decide how to proceed.
|
|
Re: CAB September Call on 9/9/2015 @ 8a PDT
Michael Maximilien
Final reminder for the CAB call tomorrow. See you at Pivotal SF and talk to you all then.
toggle quoted messageShow quoted text
Best, dr.max ibm cloud labs silicon valley, ca Sent from my iPhone
On Sep 2, 2015, at 6:04 PM, Michael Maximilien <maxim(a)us.ibm.com> wrote:
|
|
Re: Generic data points for dropsonde
Johannes Tuchscherer
Ben,
toggle quoted messageShow quoted text
I guess I am working under the assumption that the current upstream schema is not going to see a terrible amount of change. The StatsD protocol has been very stable for over four years, so I don't understand why we would add more and more metric types. (I already struggle with the decision to have container metrics as their own data type. I am not quite sure why that was done vs just expressing them as ValueMetrics). I am also not following your argument with the multiple implementations of a redis export? Why would you have multiple implementations of a redis info export? Also, why does the downstream consumer have to know about the schema? Neither the datadog nozzle nor the graphite nozzle cares about any type of schema right now. But to answer your question, I think as a downstream developer I am not as interested in whether you are sending me a uint32 or uint64, but the meaning (e.g. counter vs value) is much more important to me. So, if you were to do nested metrics, I think I would rather like to see having nested counters or values in there plus maybe one type that we are missing which is a generic event with just a string. Generally, I would try to avoid falling into the trap of creating a overly generic system at the cost of making consumers unnecessarily complicated. Maybe it would help if you outlined a few use cases that might benefit from a system like this and how specifically you would implement a downstream consumer (e.g. is there a common place where I can fetch the schema for the generic data point?).
On Sat, Sep 5, 2015 at 6:57 AM, James Bayer <jbayer(a)pivotal.io> wrote:
after understanding ben's proposal of what i would call an extensible
|
|
Re: How to deploy a Web application using HTTPs
James Bayer
this related story is in the routing team tracker, not currently scheduled:
https://www.pivotaltracker.com/story/show/80674008 On Tue, Sep 8, 2015 at 4:30 AM, Matthew Sykes <matthew.sykes(a)gmail.com> wrote: There isn't a way to tell CF that you want https only at this time. You'll -- Thank you, James Bayer
|
|
Re: How to execute multiple CF REST methods with an unique authentication
James Bayer
* access tokens have a short time to live, something usually measured in
minutes, and generally are not revokable by the issuer as endpoints do not check in with the issuer when making decisions * refresh tokens have a longer time to love, usually hours or days, and can be used to get new access tokens. refresh tokens are revokable. use base64 to decode the token and you'll see the attributes. On Mon, Sep 7, 2015 at 11:40 PM, Juan Antonio Breña Moral < bren(a)juanantonio.info> wrote: Hi, -- Thank you, James Bayer
|
|
Re: When will dea be replaced by diego?
Amit Kumar Gupta
Done, anyone with the link should be able to comment now.
Best, Amit On Tuesday, September 8, 2015, Matthew Sykes <matthew.sykes(a)gmail.com> wrote: Hi Guillaume. The proposal document was created by Amit and I had assumed
|
|
Re: Security group rules to allow HTTP communication between 2 apps deployed on CF
Matthew Sykes <matthew.sykes@...>
I'm afraid I don't really understand your questions or what you're trying
toggle quoted messageShow quoted text
to accomplish. Security groups intended to be managed by platform administrators so unless you have admin access to your target environment, you will not be able to create security groups. If you're trying to access the cloud controller api or other applications, you should be going through the front door (the external host names). The security group rules should not be preventing you from doing that. If you're trying to access something internal to the cloud foundry deployment, you will need explicit support from the administrators.
On Tue, Sep 8, 2015 at 5:20 AM, Naveen Asapu <asapu.naveen(a)gmail.com> wrote:
How to get destination address for bluemix.net can you suggest any --
Matthew Sykes matthew.sykes(a)gmail.com
|
|
Re: So many hard-coded dropsonde destinations to metrons
Noburou TANIGUCHI
Thank you, Warren.
So "localhost" is ok, but what about port numbers? Warren Fernandes wrote Dropsonde is a go library that allows the CF components using it to emit ----- 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-tp1474p1543.html Sent from the CF Dev mailing list archive at Nabble.com.
|
|
Re: Public access to Pivotal Tracker stories for BOSH and CF.
Christopher B Ferris <chrisfer@...>
Look in the right-hand margin of the wiki [1] for the list of CFF public trackers.
Cheers, Christopher Ferris IBM Distinguished Engineer, CTO Open Technology IBM Cloud, Open Technologies email: chrisfer@... twitter: @christo4ferris blog: http://thoughtsoncloud.com/index.php/author/cferris/ phone: +1 508 667 0402
----- Original message -----
|
|
Re: How to deploy a Web application using HTTPs
Matthew Sykes <matthew.sykes@...>
There isn't a way to tell CF that you want https only at this time. You'll
have to check the x-forwarded-proto header in your application and redirect to the secure endpoint if needed. On Tue, Sep 8, 2015 at 6:16 AM, Juan Antonio Breña Moral < bren(a)juanantonio.info> wrote: Hi, -- Matthew Sykes matthew.sykes(a)gmail.com
|
|
Public access to Pivotal Tracker stories for BOSH and CF.
Alexander Lomov <alexander.lomov@...>
Hi, all.
Last few months I started to find more and more extremely interesting trends in BOSH and CF development. For instance BOSH AZ [1] or Garden OCS support [2]. I would like to somehow to follow this changes and I’m sure that Pivatal Tracker can be the tool to do so. Still I found only this Pivotal Tracker instructions in cf-docs-contrib [3], that is discussed in BOSH Users group some time ago [4]. Still links from cf-docs-contrib page are missing (or I don’t have access to them) [5]. Could you please tell if there is any public access to Pivatal Tracker to follow this changes. Thank you, Alex L. [1] https://github.com/cloudfoundry/bosh-notes/blob/master/availability-zones.md [2] https://docs.google.com/document/d/1SCOlAquyUmNM-AQnekCOXiwhLs6gveTxAcduvDcW_xI/edit# [3] https://github.com/cloudfoundry-community/cf-docs-contrib/wiki/Pivotal-Tracker-Instructions#pivotal-trackers [4] https://groups.google.com/a/cloudfoundry.org/forum/#!topic/bosh-users/kSwYfQNwO54 [5] https://www.evernote.com/shard/s108/sh/d322f0a4-39e8-4825-9f3c-ae242aaa39d6/64a83b76dcb0b4d7/res/d2792e9a-3763-4d77-833c-0855d3cb25f5/skitch.png?resizeSmall&width=832
|
|
Re: When will dea be replaced by diego?
Matthew Sykes <matthew.sykes@...>
Hi Guillaume. The proposal document was created by Amit and I had assumed
toggle quoted messageShow quoted text
it was public. I'll try to make sure he sees this chain today so he can address it. Sorry to send a unusable link.
On Tue, Sep 8, 2015 at 3:02 AM, Guillaume Berche <bercheg(a)gmail.com> wrote:
Thanks Matthew for the additional details and pointers. It seems that the --
Matthew Sykes matthew.sykes(a)gmail.com
|
|
How to deploy a Web application using HTTPs
Juan Antonio Breña Moral <bren at juanantonio.info...>
Hi,
I would like to deploy an App but I would like to use it using only https. What is the way to indicate CF that the Application X will use https only? Juan Antonio
|
|
Re: Security group rules to allow HTTP communication between 2 apps deployed on CF
Naveen Asapu
How to get destination address for bluemix.net can you suggest any command for getting destination address
actually i'm creating security group for abacus for that it needs destination address how can i get command: cf create-security-group abacus abacus_group.json error: Creating security group abacus as xxxx(a)xxxx.in FAILED Server error, status code: 403, error code: 10003, message: You are not authorized to perform the requested action
|
|
Re: When will dea be replaced by diego?
Thanks Matthew for the additional details and pointers. It seems that the
deployment strategy proposal mentionned in [2] is lacking read/comment permissions. Any chance to fix that ? Guillaume. On Tue, Sep 8, 2015 at 2:07 AM, Matthew Sykes <matthew.sykes(a)gmail.com> wrote: The notes you're pointing to were a straw man proposal; many of the dates
|
|