Re: apps logs
Siva Balan <mailsiva@...>
If you are trying to get the actual JWT token of your current UAA instance
targeted by UAAC, you can try: $uaac context On Wed, Feb 10, 2016 at 6:10 AM, Corentin Dupont < corentin.dupont(a)create-net.org> wrote: Still struggling... -- http://www.twitter.com/sivabalans |
|
Future of CAB calls - short survey
Michael Maximilien
Hi, all,
Based on recent low attendance and engagement, it's time we perhaps tweak the call. After briefly discussing with Colin, Chip, Sam, Chris, Stormy, and a few others, here is a short anonymous survey (5 minutes max) that I'd encourage you to take to help shape the future of the CAB call. https://goo.gl/83F726 I'll leave this open for one week. I'll send a reminder end of this week with an idea of how many responses we have and again next week before closing it on Wednesday 17th @ midnight. I'll share the results soon after and hopefully we can use the feedback to improve where we go from here. All the best, dr.max ibm cloud labs sillicon valley, ca Sent from my iPhone |
|
Re: apps logs
Warren Fernandes
You can obtain the "Authorization: bearer" token using the cf cli.
cf login cf oauth-token |
|
apps logs
Corentin Dupont <corentin.dupont@...>
Still struggling...
toggle quoted message
Show quoted text
I have already an account with CF, so I tried: $ uaac token client get Client ID: admin Client secret: ************ Successfully fetched token via client credentials grant. Target: http://uaa.172.16.0.191.xip.io Context: admin, from client admin Then: $ uaac token decode Note: no key given to validate token signature jti: 908139b9-28be-4490-9ffd-a0e6b2f1XXXX sub: admin authorities: password.write scim.write clients.write clients.read scim.read uaa.admin clients.secret scope: scim.read uaa.admin password.write scim.write clients.write clients.read clients.secret client_id: admin cid: admin azp: admin grant_type: client_credentials rev_sig: 78635a00 iat: 1455113000 exp: 1455156200 iss: https://uaa.172.16.0.191.xip.io/oauth/token zid: uaa aud: admin scim uaa password clients There is nothing looking like the "Authorization: bearer" code from the cURL command below... Should I use the "jti" field? Thanks a lot Hristo!! Corentin On Wed, Feb 10, 2016 at 12:38 AM, Hristo Iliev <hsiliev(a)gmail.com> wrote:
You should create a client with the proper permissions/authorities. For --
Corentin Dupont Researcher @ Create-Netwww.corentindupont.info |
|
Re: app auto-scaling in OSS CF contribution
Koper, Dies <diesk@...>
Hi Darren,
toggle quoted message
Show quoted text
We had put it on hold when we thought someone was going to open source a solution that matched our proposal in functionality. Apologies to everyone who responded at the time and have been waiting for an update! We still see a need for this in CF and have recently decided to restart it. I'm still working on assigning resources but fingers crossed we'll be progressing soon. Cheers, Dies Koper diesk(a)fast.au.fujitsu.com -----Original Message-----
From: Darren Ratcliffe [mailto:dratcliffe17(a)googlemail.com] Sent: Wednesday, February 10, 2016 1:00 AM To: cf-dev(a)lists.cloudfoundry.org Subject: [cf-dev] Re: app auto-scaling in OSS CF contribution Hi Dies, Have your thoughts on this moved on any since you posted this. We would be really interested to see this in the OSS release Thanks Darren |
|
Re: Deploying Diego to BOSH-Lite
Eric Malm <emalm@...>
Hi, Nanduni,
The diego-release README does recommend deploying the runtime-passed branch of cf-release alongside the master branch of diego-release. Although the two are typically compatible, development instability can sometimes cause that not to be the case. That's unfortunately true right now because of recent changes to certain cf-release property names that need to flow into the Diego deployment manifest. If you're only looking for releases of CF and Diego to deploy to BOSH-Lite in order to try pushing some apps, you may be more interested in deploying the latest stable CF release and an associated compatible Diego release. At the moment, that's CF v230, and you can find the Diego release version and other related releases listed at the end of the CF v230 release notes: https://github.com/cloudfoundry/cf-release/releases/tag/v230 To use these versions, check out cf-release and diego-release to the appropriate version tags, and make sure the submodules are up-to-date. This corresponds to slightly revised instructions for steps 3 and 4 in the diego-release README: cd ~/workspace/cf-release git checkout v230 ./scripts/update cd ~/workspace/diego-release git checkout v0.1450.0 ./scripts/update With the release repositories at those versions, you should then be able to proceed with the README instructions to generate the deployment manifests, create and upload the releases, and deploy CF and Diego. Hope that helps! If you need further assistance, please let us know here, or join us on the Cloud Foundry Slack channels at https://slack.cloudfoundry.org/. Best, Eric, CF Runtime Diego PM On Wed, Feb 10, 2016 at 1:36 AM, Nanduni Nimalsiri <nandunibw(a)gmail.com> wrote: Hi all, |
|
Re: Deploying Diego to BOSH-Lite
Nanduni Nimalsiri
Hi all,
Sorry for troubling again. I generated the CF manifests successfully. But I am getting errors while generating the Diego manifests. I gives me the following error. nanduni(a)nanduni-TECRA-M11:~/workspace/diego-release$ ./scripts/generate-bosh-lite-manifests ~/workspace/diego-release ~/workspace/diego-release 2016/02/10 14:54:28 error generating manifest: unresolved nodes: (( merge )) in ././scripts/../manifest-generation/config-from-cf-internal.yml properties.metron_agent.tls_client.cert (properties.metron_agent.tls_client.cert) (( merge )) in ././scripts/../manifest-generation/config-from-cf-internal.yml properties.metron_agent.tls_client.key (properties.metron_agent.tls_client.key) (( merge )) in ././scripts/../manifest-generation/config-from-cf-internal.yml properties.loggregator.tls.ca (properties.loggregator.tls.ca) (( properties.metron_agent.tls_client.cert )) in dynaml config_from_cf.metron_agent.tls_client.cert () (( properties.metron_agent.tls_client.key )) in dynaml config_from_cf.metron_agent.tls_client.key () (( properties.loggregator.tls.ca )) in dynaml config_from_cf.loggregator.tls.ca () How can I get over this? Any help is highly appreciated. Best regards, Nanduni. |
|
Re: Issue in deploying Docker images on Cloud Foundry via Diego
Nanduni Nimalsiri
Hi Daniel,
I got this issue solved. The cause had been setting the path incorrectly. Thank you very much. Looking forward for more help in upcoming issues. Best Regards, Nanduni |
|
Re: Application failed to stage with Error: 'No such file or directory [STG/0] ERR /usr/bin/env: ruby'
Amit Kumar Gupta
Since the code in those executables is meant to be ruby, you'll need the
appropriate shebang line, like this: https://github.com/cloudfoundry/ruby-buildpack/blob/45b22922827c02e6b7af0650cf1b02600455d3cd/bin/compile#L1 Does yours look different? It doesn't matter that it's a java buildpack, even the standard java buildpack uses ruby for those scripts: https://github.com/cloudfoundry/java-buildpack/blob/master/bin/compile#L1 The compilation takes place in CF (inside a container running in one of the CF nodes). It is looking for ruby in the compilation container. The root filesystem for the compilation containers probably defaults to cflinuxfs2 in your CF installation: https://github.com/cloudfoundry/stacks/tree/master/cflinuxfs2 This root FS has ruby in it (that's how the standard buildpacks work), you can even see that ruby is installed in the Dockerfile script used to build this root FS image. On Tue, Feb 9, 2016 at 11:11 PM, nitin padalia <padalia.nitin(a)gmail.com> wrote: Its a java buildpack, but detect, compile and release are written in ruby. |
|
Re: Application failed to stage with Error: 'No such file or directory [STG/0] ERR /usr/bin/env: ruby'
nitin padalia
Its a java buildpack, but detect, compile and release are written in ruby.
One question I've is: does this compilation takes place in CF or its done on the client machine where CF CLI is residing? Where its looking for ruby? Is there any file in buildpack which update PATH variable for ruby search? -Nitin |
|
Re: Deploying Diego to BOSH-Lite
Nanduni Nimalsiri
Thank you Kayode.
I followed your instructions. That helped me. Now it is working fine. Thanks again. Looking forward for more help in upcoming issues. Best Regards, Nanduni. |
|
Re: Deploying Diego to BOSH-Lite
Nanduni Nimalsiri
Thank you Tomoe.
You are exactly correct. I almost forgot that I have set path to a binary file. It is now working fine. Thank you very much. Looking forward for more help in upcoming issues. Best Regards, Nanduni. |
|
Re: Deploying Diego to BOSH-Lite
Paul Bakare
In addition, make sure you have GO installed. Also make sure GOPATH and
GOROOT env are set correctly. For example: export GOPATH=$HOME/projects/goprojects export GOROOT=/usr/local/opt/go/libexec On Wed, Feb 10, 2016 at 8:06 AM, Tomoe Sugihara <tsugihara(a)pivotal.io> wrote: On Wed, Feb 10, 2016 at 2:55 PM, Nanduni Nimalsiri <nandunibw(a)gmail.com> |
|
Re: Deploying Diego to BOSH-Lite
Tomoe Sugihara
On Wed, Feb 10, 2016 at 2:55 PM, Nanduni Nimalsiri <nandunibw(a)gmail.com>
wrote: Thank you for the reply.Isn't /home/nanduni/Downloads/spiff a binary file? If so, you should have /home/nanduni/Downloads/ in your PATH as opposed to /home/nanduni/Downloads*/spiff* Best, Tomoe |
|
Re: Tool To analyse memory on cf ||Application crashing on cloud foundry with java.lang.OutOfMemoryError: Metaspace
Paul Bakare
Mohit,
toggle quoted message
Show quoted text
Have you tried Ops metrics, https://docs.pivotal.io/pivotalcf/customizing/use-metrics.html . You can easily view memory usage using JMX client jconsole HTH On Wed, Feb 10, 2016 at 5:19 AM, Mohit Garg <gargmohit3890(a)gmail.com> wrote:
|
|
Re: Deploying Diego to BOSH-Lite
Nanduni Nimalsiri
Thank you for the reply.
Yes I did as you have told. But it gives me errors. I'll tell what I did so that you might be able to figure out my mistake. 1. I downloaded this binary: https://github.com/cloudfoundry-incubator/spiff/releases/download/v1.0.7/spiff_linux_amd64.zip Now it is in my Downloads folder. 2. I extracted it there. 3. Then I used the command: sudo gedit ~/.profile and set the path as below. export SPIFF_HOME=/home/nanduni/Downloads/spiff export PATH=$PATH:$SPIFF_HOME Then I saved and refreshed that content using : source ~/.profile Then I ran the following to generate the CF manifest. $ cd ~/workspace/cf-release $ ./scripts/generate-bosh-lite-dev-manifest But it gives me the following error. nanduni(a)nanduni-TECRA-M11:~/workspace/cf-release$ ./scripts/generate-bosh-lite-dev-manifest Aborted. Please install spiff by following https://github.com/cloudfoundry-incubator/spiff#installation Incorrect YAML structure in `/home/nanduni/workspace/cf-release/bosh-lite/deployments/cf.yml': expected Hash at the root Can you tell me where I have gone wrong? Best Regards, Nanduni. |
|
Re: Deploying Diego to BOSH-Lite
Tomoe Sugihara
Hi Nanduni,
toggle quoted message
Show quoted text
On Wed, Feb 10, 2016 at 1:05 PM, Nanduni Nimalsiri <nandunibw(a)gmail.com>
wrote: [snip] Can any one help me to install spiff or provide me any resource for this.There are built binaries here: https://github.com/cloudfoundry-incubator/spiff/releases I downloaded one and put it in a directory that is in the search path (PATH env variable), and worked fine. Ref: https://github.com/cloudfoundry-incubator/spiff#installation HTH, Tomoe |
|
Deploying Diego to BOSH-Lite
Nanduni Nimalsiri
Hi all,
I want to deploy Docker images to Cloud Foundry. I am still a newbie and I do not know much about it. My intention is to experience this locally in my machine via Bosh-Lite. So I suppose I need to follow the README[1] in BOSH Release for Diego (cloudfoundry-incubator/diego-release). [1] https://github.com/cloudfoundry-incubator/diego-release#deploying-diego-to-bosh-lite In brief, I want to deploy Diego to Bosh-Lite, but I am stuck with this for days. The README does not provide more details on this process. I am unable to install spiff which I suppose is a tool for generating the BOSH manifests. I followed spiff README[2]. But I failed to install spiff. Then I tried to install it by executable binaries as well as through its git hub repo by 'go get'. I followed this tutorial[3] too. But I could not succeed in any of the ways. [2] https://github.com/cloudfoundry-incubator/spiff [3] http://www.evoila.de/2015/03/13/installing-cloudfoundry-spiff-on-ubuntu/?lang=en Can any one help me to install spiff or provide me any resource for this. If some one can teach me the process of deploying Diego to Bosh-Lite, it would be a great relief for me. If you find any good blog post on this subject, share it with me. Please help. Best Regards, Nanduni. |
|
Re: Issue in deploying Docker images on Cloud Foundry via Diego
Nanduni Nimalsiri
Thanks Daniel. I was struggling with this for days and your explanation on PWS solved all my doubts.
I have already used bosh-lite set up and deployed applications locally in my machine using that. In case of integrating Docker support with Bosh-lite, I followed the following BOSH release for Docker(cloudfoundry-incubator/diego-release)[1]. [1]https://github.com/cloudfoundry-incubator/diego-release#deploying-diego-to-bosh-lite But I came up with several errors. That wants me to install spiff, which I suppose is a tool for generating BOSH manifests. I followed spiff README[2]. But I failed to install spiff. I tried to install it by executable binaries as well as through its git hub repo by 'go get'. I followed this tutorial[3] too. But I could not succeed in any of the ways. [2] https://github.com/cloudfoundry-incubator/spiff [3] http://www.evoila.de/2015/03/13/installing-cloudfoundry-spiff-on-ubuntu/?lang=en Can you please help me to install spiff or can you provide me any resource for this. Best Regards, Nanduni. |
|
Tool To analyse memory on cf ||Application crashing on cloud foundry with java.lang.OutOfMemoryError: Metaspace
Mohit Garg <gargmohit3890@...>
Hi Team,
I am deploying application on cloud foundry with 1 Gb memory. It fails after sometime when i push load on it. Could you help me the tool with which I can analyse my memory usage on cloud foundry. At my end I deployed my app on localmachine (deployed on system in tomcat) and analysed with new relic, and everything was fine.I tried to integrate Newrelic with my app but failed to do thus unable to analyse the app. Please help me in integrating the new relic with my app or suggest me tool for cloud foundry. Thanks in advance, Mohit Garg |
|