Re: Failed to start app with diego enabled
Daniel Mikusa
The 500 error is coming from Cloud Controller, which indicates a problem
there. Check out the CC logs and look for a stack trace to get more
details on what is failing. It doesn't mean that CC is necessarily at
fault, CC depends on other components so one of those could be failing, but
it is a good place to start looking.
Also, run `bosh instances --ps` and see if any report failing. That might
be another way to spot the problem.
Dan
toggle quoted message
Show quoted text
there. Check out the CC logs and look for a stack trace to get more
details on what is failing. It doesn't mean that CC is necessarily at
fault, CC depends on other components so one of those could be failing, but
it is a good place to start looking.
Also, run `bosh instances --ps` and see if any report failing. That might
be another way to spot the problem.
Dan
On Thu, Oct 27, 2016 at 8:42 AM, Anuj Jain <anuj17280(a)gmail.com> wrote:
Hi,
I am facing issue while trying to deploy application with diego enabled
- I need to provide the build pack information to make app run with diego
cell - seems if want to run the application on diego cell, we need to
pass/provide build pack information explicitly.
Belwo are the steps which I am executing to run the app on diego cell -
which is not working.
1. cf push diego-test-app -p ./sample.war --no-start
2. cf enable-diego diego-test-app
3. cf start diego-test-app
Error: Server error, status code: 500, error code: 170011, message: Stager
error: staging failed: staging failed
If I am trying to run the application with JAVA build pack information - I
can run the application.
1. cf push diego-test-app -p ./sample.war -b java_buildpack --no-start
2. cf enable-diego diego-test-app
3. cf start diego-test-app
Note: I am not seeing this issue when trying to run the application on dea
runner's - cloud foundry cli is detecting buildpack automatically.
============ My Cloud Foundry stemcells and release version information
==============
$ bosh stemcells
RSA 1024 bit CA certificates are loaded due to old openssl compatibility
Acting as user 'admin' on 'my-bosh'
+------------------------------------------+---------------+
---------+-----------------------------------------+
| Name | OS | Version |
CID |
+------------------------------------------+---------------+
---------+-----------------------------------------+
| bosh-vsphere-esxi-ubuntu-trusty-go_agent | ubuntu-trusty | 3197* |
sc-b53d78ad-1bbc-4c3a-8656-aed0b7208ba7 |
+------------------------------------------+---------------+
---------+-----------------------------------------+
(*) Currently in-use
Stemcells total: 1
$ bosh releases
RSA 1024 bit CA certificates are loaded due to old openssl compatibility
Acting as user 'admin' on 'my-bosh'
+--------------------+-----------+-------------+
| Name | Versions | Commit Hash |
+--------------------+-----------+-------------+
| cf | 230 | 3de108d9+ |
| | 231* | f67ebb73+ |
| | 232 | 67a5f78e+ |
| chef_client | 2* | 00000000 |
| diego | 0.1454.0* | 72b65532 |
| diego-docker-cache | 0.1021.0 | 772f7d33+ |
| etcd | 36* | 993cbd05 |
| garden-linux | 0.333.0* | 98b28e0d |
+--------------------+-----------+-------------+
(*) Currently deployed
(+) Uncommitted changes
Releases total: 6
==========================================================
- Anuj