Re: how to debug "BuildpackCompileFailed" issue?
Ning Fu
Yes, Gemfile and Gemfile.lock files are present at the top level.
toggle quoted message
Show quoted text
I can get "cf logs" output for other apps I pushed. So I think the reason that I don't see anything from "cf logs --recent" is that there are no logs produced at all. Anyway, whatever the root cause it may be, I think the key point is not the root cause itself, it is the utilities that we provide to developers to investigate when such an error occurs. I think it is really a bad user experience for developers when such an error occurs but they can only guess the root cause and try the solutions, rather than find clues from logs. PHP build pack has a BP_DEBUG environment variable that helps debugging. But it seems Ruby build pack doesn't support it. Thanks, Ning On Wed, Mar 9, 2016 at 12:45 AM, Jesse Alford <jalford(a)pivotal.io> wrote:
Are your Gemfile and Gemfile.lock files literally named Gemfile and |
|
Re: how to debug "BuildpackCompileFailed" issue?
Ning Fu
Here is the output of "cf buildpacks":
toggle quoted message
Show quoted text
cf buildpacks Getting buildpacks... buildpack position enabled locked filename staticfile_buildpack 1 true false staticfile_buildpack-cached-v1.2.3.zip java_buildpack_offline 2 true false java-buildpack-offline-v3.6.zip ruby_buildpack 3 true false ruby_buildpack-cached-v1.6.11.zip nodejs_buildpack 4 true false nodejs_buildpack-cached-v1.5.4.zip go_buildpack 5 true false go_buildpack-cached-v1.7.1.zip python_buildpack 6 true false python_buildpack-cached-v1.5.3.zip php_buildpack 7 true false php_buildpack-cached-v4.3.1.zip binary_buildpack 8 true false binary_buildpack-cached-v1.0.1.zip java_buildpack 9 true false java-buildpack-v3.3.1.zip On Wed, Mar 9, 2016 at 12:45 AM, Jesse Alford <jalford(a)pivotal.io> wrote:
Are your Gemfile and Gemfile.lock files literally named Gemfile and |
|
Can resources of a IDLE application be shared by others?
Stanley Shen <meteorping@...>
Hello, all
When pushing an application to CF, we need to define its disk/memory limitation. The memory limitation is just the possible maximum value will be needed in this application, but in most time, we don't need so much memory. For example, I have one application which needs at most 5G memory at startup some some specific operation, but in most time it just needs 2G. So right now I need to specify 5G in deployment manifest, and 5G memory is allocated. Take m3.large VM for example, it has 7.5G. Right now we can only push one application on it, but ideally we should can push more applications, like 3 since only 2G is needed for each application. Can the resources of a IDLE application be shared by other applications? It seems right now all the resources are pre-allocated when pushing application, it will not be released even I stopped the application. |
|
Re: how to debug "BuildpackCompileFailed" issue?
Jesse T. Alford
Are your Gemfile and Gemfile.lock files literally named Gemfile and
toggle quoted message
Show quoted text
Gemfile.lock, and both checked present at the top level of the directory you're pushing from, on the machine you're pushing from? The Ruby Buildpack looks for (and requires) the presence of these to identify a Ruby app. If you've got some other setup, you can put empty files with the appropriate names in the top level dir. This might not be your problem, but I've seen it cause the error you report many times. On Tue, Mar 8, 2016, 7:12 AM JT Archie <jarchie(a)pivotal.io> wrote:
Ning, |
|
Re: Removing Ruby 1.9.3 and adding Ruby 2.2.4 in cflinuxfs2
Danny Rosen
This has been completed in Stacks 1.42.0 [1]
toggle quoted message
Show quoted text
[1] - https://github.com/cloudfoundry/stacks/releases/tag/1.42.0 On Sun, Feb 21, 2016 at 9:54 AM, Danny Rosen <drosen(a)pivotal.io> wrote:
Hi there, |
|
Re: how to debug "BuildpackCompileFailed" issue?
JT Archie <jarchie@...>
Ning,
toggle quoted message
Show quoted text
What is the output of `cf buildpacks`? JT On Tue, Mar 8, 2016 at 1:27 AM, Ning Fu <nfu(a)pivotal.io> wrote:
Hi, |
|
Dial tcp: i/o timeout while pushing a sample app to Cloud Foundry BOSH-Lite deployment
Giovanni Napoli
Hi everybody, few days ago i've deployed Cloud Foundry locally using BOSH-Lite, and seems that all VMS deployed run without any problem. Here's a screen with the VMS and IP's:
http://imgur.com/zEo68Dp Than i've followed this blog to push a sample "Hello World" app, for testing my deployment: https://blog.pivotal.io/labs/labs/worlds-smallest-iaas-part-4-hello-world But when i launche the "cf push hello -b ruby_buildpack" command, i have an intermintently "dial tcp: i/o timeout": http://imgur.com/eWYRd6M As you can see, at first launch, it gave me the timeout error. Then it started to push the app but stopped again. Can you help me? Thanks. |
|
Re: Update Parallelization in Cloud Foundry
Marco Voelz
Does NATS also need to come up before any of the other components?
toggle quoted message
Show quoted text
On 07/03/16 21:16, "Amit Gupta" <agupta(a)pivotal.io<mailto:agupta(a)pivotal.io>> wrote:
Hey Omar, You can set the "serial" property at the global level of a deployment (you can think of it as setting a default for all jobs), and then override it at the individual job levels. You will want the consul server jobs to be deployed first, with serial: true, and max_in_flight: 1. The important thing here is, if you have more than one server in your consul cluster, they need to come up one at a time to ensure the cluster orchestration goes smoothly. The same is true if your etcd cluster has more than one server in it. If you're using the postgres job for CCDB and/or UAADB (instead of some external database), then you will want the postgres job to come up before CC and/or UAA. Similarly, if you're using the provided blobstore job instead of an external blobstore, you'll want it up before CC comes up. You might be able to get away with parallelizing some of the things above. E.g. if you bring the CC and blobstore up at the same time, CC might fail to start for a while until Blobstore comes up, and then CC might successfully start up. Monit also generally keeps retrying even after BOSH gives up. So your deploy might fail but later on, you might see everything up and running. Cheers, Amit On Mon, Mar 7, 2016 at 5:54 AM, Omar Elazhary <omazhary(a)gmail.com<mailto:omazhary(a)gmail.com>> wrote: Hello everyone, I know it is possible to update and redeploy components in parallel in cloud foundry by setting the "serial" property in the deployment manifest to "false". However, is such a thing recommended? Are there particular job dependencies that I need to pay attention to? Regards, Omar |
|
how to debug "BuildpackCompileFailed" issue?
Ning Fu
Hi,
Does anyone know how to debug "BuildpackCompileFailed" issue? When I push a ruby app: ======================== ... Done uploadingOK Starting app happy in org funorg / space development as funcloud... FAILEDBuildpackCompileFailed TIP: use 'cf logs happy --recent' for more informationPivotals-iMac:happy-root-route-app pivotal$ cf logs happy --recent Connected, dumping recent logs for app happy in org funorg / space development as funcloud... ======================== But I got nothing from "cf logs happy --recent". It is "ruby '2.2.2'" in Gemfile, and my ruby build back is cached-1.6.11. I've also tried "bundle package --all" before I push. Any suggestions? Doesn't ruby build pack provide any logs? Thanks, Ning |
|
Re: CF CAB call for March is next Wednesday March 9th, 2016 @ 8a PDT
Michael Maximilien
Final reminder to all. Please note that we will be implementing new approach to CAN call based on survey results which we will review briefly...
toggle quoted message
Show quoted text
Also, if you are a PM, please still update your status section of the agenda doc. This is for all to read on their own time and for posterity. Thanks and talk soon. Best, dr.max ibm cloud labs sillicon valley, ca Sent from my iPhone On Mar 3, 2016, at 4:06 PM, Michael Maximilien <maxim(a)us.ibm.com> wrote: |
|
Re: `api_z1/0' is not running after update to CF v231
Filip Hanik
follow the steps in here
toggle quoted message
Show quoted text
https://github.com/cloudfoundry/bosh-lite/blob/master/bin/provision_cf for a working bosh-lite. key is to start with a virtualbox image. the fusion/workstation are not up to date. Filip On Monday, March 7, 2016, Wayne Ha <wayne.h.ha(a)gmail.com> wrote:
Filip, |
|
Re: `api_z1/0' is not running after update to CF v231
Amit Kumar Gupta
Hey Wayne,
toggle quoted message
Show quoted text
What command did you run to generate your manifest? Amit On Mon, Mar 7, 2016 at 8:03 PM, Wayne Ha <wayne.h.ha(a)gmail.com> wrote:
Filip, |
|
Re: `api_z1/0' is not running after update to CF v231
Wayne Ha <wayne.h.ha@...>
Filip,
I am running with the latest CF v231. Initially, I ran it with older stemcell and got: `api_z1/0' is not running after update After running with the latest stemcell, I got a successful deployment but failed to login with error: Error performing request: Get https://login.bosh-lite.com/login: stopped after 1 redirect Could there be some configurations that I missed? Note that I am using default bosh-lite-v231.yml. Thanks, |
|
Re: `api_z1/0' is not running after update to CF v231
Filip Hanik
Error performing request: Get https://login.bosh-lite.com/login: stopped
toggle quoted message
Show quoted text
after 1 redirect that's the error right there. it's a redirect loop what version of CF is this? upgrade to the latest. On Monday, March 7, 2016, sridhar vennela <sridhar.vennela(a)gmail.com> wrote:
Hi Wayne, |
|
Re: `api_z1/0' is not running after update to CF v231
sridhar vennela
Hi Wayne,
I am not seeing any errors in above. To capture UAA errors, It is better to open 2 terminals in one terminal you can do tail -f uaa.log and in another terminal try to do cf login -a api.bosh-lite.com -u admin -p admin --skip-ssl-validation. Thank you, Sridhar |
|
Re: `api_z1/0' is not running after update to CF v231
Wayne Ha <wayne.h.ha@...>
Zach,
After using the latest stemcell, I got a successful deployment. But after that, cf login fails: vagrant(a)agent-id-bosh-0:~$ cf login -a api.bosh-lite.com -u admin -p admin API endpoint: api.bosh-lite.com FAILED Invalid SSL Cert for api.bosh-lite.com TIP: Use 'cf login --skip-ssl-validation' to continue with an insecure API endpoint vagrant(a)agent-id-bosh-0:~$ cf login -a api.bosh-lite.com -u admin -p admin --skip-ssl-validation API endpoint: api.bosh-lite.com FAILED Error performing request: Get https://login.bosh-lite.com/login: stopped after 1 redirect API endpoint: https://api.bosh-lite.com (API version: 2.51.0) Not logged in. Use 'cf login' to log in. I saw the following in uaa.log: root(a)d142fabc-f823-40df-b9ea-97d306bf7209:/var/vcap/sys/log/uaa# grep -A9 -i error uaa.log | cut -c 65-650 DEBUG --- AntPathRequestMatcher: Checking match of request : '/login'; against '/error' DEBUG --- AntPathRequestMatcher: Checking match of request : '/login'; against '/email_sent' DEBUG --- AntPathRequestMatcher: Checking match of request : '/login'; against '/create_account*' DEBUG --- AntPathRequestMatcher: Checking match of request : '/login'; against '/accounts/email_sent' DEBUG --- AntPathRequestMatcher: Checking match of request : '/login'; against '/invalid_request' DEBUG --- AntPathRequestMatcher: Checking match of request : '/login'; against '/saml_error' DEBUG --- UaaRequestMatcher: [loginAuthenticateRequestMatcher] Checking match of request : '/login'; '/authenticate' with parameters={} and headers {Authorization=[bearer ], accept=[application/json]} DEBUG --- AntPathRequestMatcher: Checking match of request : '/login'; against '/authenticate/**' DEBUG --- UaaRequestMatcher: [loginAuthorizeRequestMatcher] Checking match of request : '/login'; '/oauth/authorize' with parameters={source=login} and headers {accept=[application/json]} DEBUG --- UaaRequestMatcher: [loginTokenRequestMatcher] Checking match of request : '/login'; '/oauth/token' with parameters={source=login, grant_type=password, add_new=} and headers {Authorization=[bearer ], accept=[application/json]} DEBUG --- UaaRequestMatcher: [loginAuthorizeRequestMatcherOld] Checking match of request : '/login'; '/oauth/authorize' with parameters={login={} and headers {accept=[application/json]} DEBUG --- AntPathRequestMatcher: Checking match of request : '/login'; against '/password_*' DEBUG --- AntPathRequestMatcher: Checking match of request : '/login'; against '/email_*' DEBUG --- AntPathRequestMatcher: Checking match of request : '/login'; against '/oauth/token/revoke/**' DEBUG --- UaaRequestMatcher: [passcodeTokenMatcher] Checking match of request : '/login'; '/oauth/token' with parameters={grant_type=password, passcode=} and headers {accept=[application/json, application/x-www-form-urlencoded]} But I don't know what the above mean. Thanks, |
|
Re: New CF Service Broker "chaos-galago" - a chaos-monkey for your Cloud Foundry
Cornelia Davis <cdavis@...>
wicked cool!
toggle quoted message
Show quoted text
On Mon, Mar 7, 2016 at 4:57 AM, Sam Bryant <srbry(a)hotmail.com> wrote:
For anyone interested we have also now added a smoke tests project for --
Cornelia Davis (805) 452 8941 |
|
OAuth Client Details changed for CF CLI
Madhura Bhave
Hi All,
The oauth client with client ID *cf* is meant to be used by the CF CLI for communicating with the UAA using password grant type. There are default values for this client here: https://github.com/cloudfoundry/cf-release/blob/master/templates/cf-properties.yml#L337-L344 We have noticed that this client has been used by applications other than the CF CLI using the implicit grant type. We have decided that this client should not have implicit grant type and therefore this will not work going forward. Along with this change, we will also remove `autoapprove: true` for this client. For anyone using this client with implicit grant type, please consider making a separate client for that purpose. Thanks, Jeremy & Madhura |
|
Re: ERR_CONNECTION_TIMED_OUT
Amit Kumar Gupta
Upcoming support for TCP routing (not just HTTP routing) will allow you to
run a container that serves HTTPS traffic. Currently the wso2 product ships with an untrusted self-signed cert. How do you plan on using wso2? Will it be exposed to external consumers, or is it just something internal that other applications need to talk to? If exposed to external consumers, will you want to configure it with a real trusted cert? What about DNS, would it be exposed under a proper DNS hostname (instead of clients requesting a raw IP)? Do you plan on being able to horizontally scale your wso2 application, i.e. run more than one instance of the server to share traffic load and provide fault tolerance? Cheers, Amit On Thu, Mar 3, 2016 at 8:39 PM, Nanduni Nimalsiri <nandunibw(a)gmail.com> wrote: Hi Eric, |
|
Re: Reg the minimal-openstack yml files
Amit Kumar Gupta
You need some static IPs, because some components don't use service
discovery, so clients need to be configured up front to know those components' IPs. For example, the route-registrar jobs talk to the NATS cluster to register routes for CC, HM9k, UAA, and Doppler. NATS servers must be assigned static IPs in the manifest and components like route-registrar that talk to NATS need to have those IPs provided in their config in the manifest. This current requirement on static IPs exists for some other components as well. Some other components however would be fine with dynamic networking. A private vendor may be able to work with you to manage a Cloud Foundry installation that suits your networking requirements, but said guidance is beyond the scope of this mailing list. The deployments that the Foundation tests continuously use static IPs for simplicity. Cheers, Amit On Monday, March 7, 2016, Jayarajan Ramapurath Kozhummal (jayark) < jayark(a)cisco.com> wrote: Thanks Amit! |
|