consul_z1 not running after updating
fang <fang_cloud@...>
I am deploying cloudfoundry on aws.
Failed: 'consul_z1/0 (411b0812-c3c2-4bec-8114-1eacb53b2dd5)' is not running after update. Review logs for failed jobs: consul_agent, metron_agent logs in metron_agent: 2016/11/28 11:08:40 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter) {"timestamp":1480330660.615530491,"process_id":7989,"source":"metron","log_level":"warn","message":"Failed to connect to etcd. Number of tries: 5. Backing off for 15.662ms.","data":{"error":"sync cluster consul logs: error during start: timeout exceeded: "Get http://127.0.0.1:8500/v1/agent/self: dial tcp 127.0.0.1:8500: getsockopt: connection refused" ==> Error starting agent: Failed to start Consul server: Failed to parse any CA certificates Could anybody help? -xiaoshan -- View this message in context: http://cf-dev.70369.x6.nabble.com/consul-z1-not-running-after-updating-tp6165.html Sent from the CF Dev mailing list archive at Nabble.com.
|
|
Re: Memory/Disk usage information -MB vs MiB
Ponraj E
Hi Nicholas,
There are so many API endpoints that returns response in MB. One such example is: http://apidocs.cloudfoundry.org/234/organizations/retrieving_organization_memory_usage.html Do you need all of them? -- Ponraj
|
|
Re: Memory/Disk usage information -MB vs MiB
Nicholas Calugar
Hi Ponraj and Daniel,
toggle quoted messageShow quoted text
Could you point me at documentation or API endpoints you are looking at the use MB? Thanks, Nick -- Nicholas Calugar Product Manager - Cloud Foundry API Pivotal Software, Inc.
On November 28, 2016 at 2:42:07 PM, Daniel Jones (
daniel.jones(a)engineerbetter.com) wrote: +1 for proper units (KiB, MiB) Regards, Daniel Jones - CTO +44 (0)79 8000 9153 @DanielJonesEB <https://twitter.com/DanielJonesEB> *EngineerBetter* Ltd <http://www.engineerbetter.com> - UK Cloud Foundry Specialists On Thu, Nov 24, 2016 at 7:00 AM, Ponraj E <ponraj.e(a)gmail.com> wrote: Hi Colleagues,
|
|
Re: IMPORTANT: Upcoming breaking changes in UAA V23/3.9.2/cf-release 248
Sree Tummidi
I have been informed by the CAPI team that the changes in Cloud Controller
toggle quoted messageShow quoted text
to use the new rotatable signing key format is not yet in place and is blocked on some fixes for CF-UAA-LIB <https://www.pivotaltracker.com/n/projects/997278/stories/133947925> For *CF-Release ONLY*, please continue to use the deprecated way of setting the UAA JWT Signing and Verification key as mentioned below. We will be sending out a separate notification on when we are ready to make the switch to rotatable signing key format. *uaa.jwt.signing_key:* description: "The key used to sign the JWT-based OAuth2 tokens" *uaa.jwt.verification_key:* description: "The key used to verify JWT-based OAuth2 tokens" Thanks, Sree Tummidi Staff Product Manager Identity - Pivotal Cloud Foundry
On Mon, Nov 28, 2016 at 11:41 AM, Sree Tummidi <stummidi(a)pivotal.io> wrote:
Hi Michael,
|
|
Re: Incubation proposal: Abacus Service Broker
Michael Maximilien
Hi, all,
Thanks to SAP and Hristo for moving this forward. Since I don't see any questions nor comments on this proposal, other than mine. As such, I propose to include this into the CF-Extensions PMC. Next step is to do an inception and start the project. Hristo, happy to help you. Please let's connect offline or during CF-Abacus weekly meetings von Friday. You can then announce details here afterwards. Welcome. Best, Max On Wed, Nov 16, 2016 at 3:51 PM, Michael Maximilien <mmaximilien(a)gmail.com> wrote: Thank you Hirsto and SAP for submitting this proposal. A nice extension -- max http://maximilien.org http://blog.maximilien.com
|
|
Re: IMPORTANT: Upcoming breaking changes in UAA V23/3.9.2/cf-release 248
Sree Tummidi
Hi Michael,
This is the new way to specify the signing key used by UAA for signing the JWT tokens. This format allows for rotation of the keys. bosh-lite is currently using the deprecated properties mentioned below. We will be changing these use the new rotatable properties in a subsequent version. Thank you bringing this up as I should have been clear in my communication. UAA is no longer shipped with a default signing key. There are two ways to set this key. I mentioned moving to the new format in my previous email. *Deprecated Format* *uaa.jwt.signing_key:* description: "Deprecated. Use uaa.jwt.policy.keys. The key used to sign the JWT-based OAuth2 tokens" *uaa.jwt.verification_key:* description: "Deprecated. Use uaa.jwt.policy.keys. The key used to verify JWT-based OAuth2 tokens" *New Format (verification key needn't be set as we derive it from the Private Key)* *uaa.jwt.policy.keys:* description: "Map of key IDs and signing keys, each defined with a property `signingKey`" example: key-1: signingKey: | -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- * uaa.jwt.policy.active_key_id:* description: "The ID of the JWT signing key to be used when signing tokens." example: "key-1" Thanks, Sree Tummidi Staff Product Manager Identity - Pivotal Cloud Foundry On Mon, Nov 28, 2016 at 11:29 AM, Michael Fraenkel < michael.fraenkel(a)gmail.com> wrote: How are the following required when they aren't used in bosh-lite?
|
|
Re: IMPORTANT: Upcoming breaking changes in UAA V23/3.9.2/cf-release 248
Michael Fraenkel <michael.fraenkel@...>
How are the following required when they aren't used in bosh-lite?
toggle quoted messageShow quoted text
*uaa.jwt.policy.keys: * * uaa.jwt.policy.active_key_id:* How does one migrate from what we have to these? - Michael
On 11/28/16 1:56 PM, Sree Tummidi wrote:
*Please read carefully if you are using UAA as _standalone_ or as a
|
|
IMPORTANT: Upcoming breaking changes in UAA V23/3.9.2/cf-release 248
Geoff Franks <geoff@...>
FYI for clients using UAA + BOSH, or other UAA customizations
toggle quoted messageShow quoted text
Begin forwarded message:
|
|
IMPORTANT: Upcoming breaking changes in UAA V23/3.9.2/cf-release 248
Sree Tummidi
*Please read carefully if you are using UAA as standalone or as a bosh
release or part of cf-release* Starting with UAA bosh release V23 <http://bosh.io/releases/github.com/cloudfoundry/uaa-release?version=23> which packages UAA 3.9.2 <https://github.com/cloudfoundry/uaa/releases/tag/3.9.2> and *cf-release 248 (in works)* the following *properties have been made required.* These are standard artifacts which can be generated using openssl. Please refer the topic here <https://github.com/cloudfoundry/uaa-release#generating-a-self-signed-certificate> on how to generate a self signed cert. *login.saml.serviceProviderCertificate:* description: "UAA SAML Service provider certificate. This is used for signing outgoing SAML Authentication Requests" example: | -----BEGIN CERTIFICATE----- -----END CERTIFICATE---- *login.saml.serviceProviderKey:* description: "Private key for the service provider certificate." example: | -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- *uaa.jwt.policy.keys:* description: "Map of key IDs and signing keys, each defined with a property `signingKey`" example: key-1: signingKey: | -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- * uaa.jwt.policy.active_key_id:* description: "The ID of the JWT signing key to be used when signing tokens." example: "key-1" Thanks, Sree Tummidi Staff Product Manager Identity - Pivotal Cloud Foundry
|
|
Re: escape $ in java_opts in cf manifest.yaml
Sridhar Vennela
Hi Amit,
toggle quoted messageShow quoted text
Try this.. Let me know. 2 -Dkey=$value -Dkey=\\\\\$value https://cf-docs.jp-east-1.paas.cloud.global.fujitsu.com/en/manual/faq/faq/topics/c-faq-33.html Sridhar
On Fri, Nov 25, 2016 at 11:25 PM, Amit k <amitvickysss(a)gmail.com> wrote:
Hi,
|
|
escape $ in java_opts in cf manifest.yaml
Amit k
Hi,
I am unable to find a proper way to escape the $ sign in the cf manifest yaml file. I have tried \\$ and \$ but it doesnt work, when java application reads it. What should be proper way to escape the $ sign so that my java application gets it with $ in the value.
|
|
Re: Memory/Disk usage information -MB vs MiB
Daniel Jones
+1 for proper units (KiB, MiB)
toggle quoted messageShow quoted text
Regards, Daniel Jones - CTO +44 (0)79 8000 9153 @DanielJonesEB <https://twitter.com/DanielJonesEB> *EngineerBetter* Ltd <http://www.engineerbetter.com> - UK Cloud Foundry Specialists
On Thu, Nov 24, 2016 at 7:00 AM, Ponraj E <ponraj.e(a)gmail.com> wrote:
Hi Colleagues,
|
|
Memory/Disk usage information -MB vs MiB
Ponraj E
Hi Colleagues,
I see CF using base 2 (1024 * 1024) for all the memory/disk quota/usage information, but base 10's unit at the end(MB). For ex, CF returns app instance memory as 1024 MB [using base 2 defintion (1024) and base 10's unit (MB)]. The problem arises when we have a client which does the conversion/formatting rightly and the values tend to differ from CF and the client. Though this confusion has been in varied existence still (for ex: Disk size of HDD), does CF have any plans of using one particular defintion throughout, like either 1024 MiB or 1000 MB? P.S : base 2 definition: 1 Kibibyte = 1024 Byte base 10 defintion: 1 Kilobyte = 1000 Byte ------ Ponraj
|
|
cf uaa project not triggering emails
Ganesh Kaila
Hi,
I am trying to run `cf uaa` java application (https://github.com/cloudfoundry/uaa) on my local machine as shown here (https://github.com/cloudfoundry/uaa#quick-start) using `gradlew` tool. I am able to see the cloudfoundry login page at url http://localhost:8080/uaa/login. When I try to create new account for myself, It shows verification link successfully sent. But, I'm not seeing any email inbox or spam. I'm pretty sure that my mailgun email service is working fine, I cross checked by trying this cloudfoundry sample applicaiton (https://github.com/cloudfoundry-samples/spring-sendgrid). Please someone help me to resolve this. Thanks, Ganesh
|
|
When using CloudFoundryClient, is there any alternative way to authenticate the application with CloudFoundry
Savneet Kaur
CloudCredentials creds = new CloudCredentials("user","pass");
cloudFoundryClient = new CloudFoundryClient(creds ,cloudFoundryURI); In this case we must provide username and password, is there any other way, where in it can work. like SSL or something.
|
|
unauthorized, bad credential
w.t.zhou74@...
Hi,
My account need an authentication from uaa server, but I always get the below error. org.springframework.security.authentication.event.AuthenticationFailureBadCredentialsEvent[source=org.springframework.security.authentication.UsernamePasswordAuthenticationToken(a)48d8d90a: Principal: admin-portal-ui; Credentials: [PROTECTED]; Authenticated: false; Details: remoteAddress=127.0.0.1, clientId=admin-portal-ui; Not granted any authorities] I am not sure what is the root cause that arises this problem, could you help me to figure it out? Any more details you need, please let me know. Thanks, Wentao
|
|
AuthenticationFailureBadCredentialsEvent Occurs
w.t.zhou74@...
Hi,
I need an authentication from UAA, but the below error always occur. org.springframework.security.authentication.event.AuthenticationFailureBadCredentialsEvent[source=org.springframework.security.authentication.UsernamePasswordAuthenticationToken(a)48d8d90a: Principal: admin-portal-ui; Credentials: [PROTECTED]; Authenticated: false; Details: remoteAddress=127.0.0.1, clientId=admin-portal-ui; Not granted any authorities] I am not sure what is root cause that arise the problem, could you help to figure it out ? Any details about it you need, please let me know. Thanks, Wentao
|
|
Re: Autoscaling tool
Marco Voelz
The autoscaler has been added as an official Incubation project in the meanwhile: https://github.com/cloudfoundry-incubator/app-autoscaler
toggle quoted messageShow quoted text
Warm regards Marco From: Edward Mikuszewski <emikuszewski(a)pivotal.io> Reply-To: "Discussions about Cloud Foundry projects and the system overall." <cf-dev(a)lists.cloudfoundry.org> Date: Monday, 21 November 2016 at 22:07 To: "Discussions about Cloud Foundry projects and the system overall." <cf-dev(a)lists.cloudfoundry.org> Subject: [cf-dev] Re: Autoscaling tool Hey Prateek, Check out this repo here: https://github.com/cfibmers/open-Autoscaler. It sounds like it's what you're looking for. Thanks, -Ed
On Mon, Nov 21, 2016 at 5:08 AM, prateek khushalani <prateek.khushalani(a)gmail.com<mailto:prateek.khushalani(a)gmail.com>> wrote:
Hi All, I am an active user of Cloud-foundry and have been using it over to provide a PaaS layer over the IaaS layer powered by Openstack. I have been using CF version 170 for 6 months and then I finally upgraded the version to 237. The on-boarding of applications on CF is very smooth and even the applications perform very well even when I try to do some stress testing, I must admit that the results are very impressive. However I found one particular feature missing in the Cloud-Foundry which is auto-scaling of application based on the load that the container is getting at a particular point of time. There was not much available on the internet so I developed a tool which does the up-scaling and down-scaling of application container based on load average. Internally the tool performs well and now I would like to contribute it to the community. The tool is made in Python language and runs on a Ubuntu/Centos machine. I wanted to know how can I create a repo in the community and contribute it to the cloud-foundry community. Regards, Prateek -- Ed Mikuszewski | [https://docs.google.com/uc?export=download&id=0B9yzfKg3RFseYzFGUV9FZWdPVHc&revid=0B9yzfKg3RFsedWQ4ZndBa2hnNWZKcWhMYWt6OS9zcFB4WUlJPQ] <https://youtu.be/Ue_ArLRs00E> | Mobile: 646-628-2872<tel:646-628-2872> | Email: emikuszewski(a)pivotal.io<mailto:emikuszewski(a)pivotal.io>
|
|
Re: How to create a custom service
Savneet Kaur
Thanks for the clarity, Takeshi .
|
|
Request for Comment: Routing for Isolation Segments
Shannon Coen
Some workloads require isolation of networking, in addition to isolation of
compute resources. The following proposal describes how we plan to support dedicated routing tiers for one or many isolation segments. https://docs.google.com/document/d/1FFW8YwKeBK1DuSXFHH_wxGpSZpOpkPN5yOUB-03whsI/edit?usp=sharing The document is open for public comment and I look forward to your feedback there. Thank you, Shannon Coen Product Manager, Cloud Foundry Pivotal, Inc.
|
|