-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
$ cf push php -b https://github.com/cloudfoundry/php-buildpack
Creating app php in org DevBox / space default as admin...
OK
Creating route php.192.168.14.122.xip.io...
OK
Binding php.192.168.14.122.xip.io to php...
OK
Uploading php...
Uploading app files from: /home/ken/apps/phpinfo
Uploading 152, 1 files
Done uploading
OK
Starting app php in org DevBox / space default as admin...
FAILED
Server error, status code: 400, error code: 170001, message: Staging error: fail
ed to stage application:
Failed setting memory limit: Permission denied @ rb_sysopen - /tmp/warden/cgroup
/memory/instance-18u3786vbj0/memory.memsw.limit_in_bytes
$ cf logs php --recent
Connected, dumping recent logs for app php in org DevBox / space default as admi
n...
2015-08-25T11:51:30.60+0900 [API/0] OUT Created app with guid b223abab-3504
-4218-9c42-90b2e62c1b51
2015-08-25T11:51:31.38+0900 [API/0] OUT Updated app with guid b223abab-3504
-4218-9c42-90b2e62c1b51 ({"route"=>"f84b2038-c43b-4364-98b8-81b0aedf35b5"})
2015-08-25T11:51:37.26+0900 [DEA/0] OUT Got staging request for app with id
b223abab-3504-4218-9c42-90b2e62c1b51
2015-08-25T11:51:45.81+0900 [API/0] ERR exception handling first response S
taging error: failed to stage application:
2015-08-25T11:51:45.81+0900 [API/0] ERR Failed setting memory limit: Permis
sion denied @ rb_sysopen - /tmp/warden/cgroup/memory/instance-18u3786vbj0/memory
.memsw.limit_in_bytes
2015-08-25T11:51:45.82+0900 [API/0] ERR encountered error: Staging error: f
ailed to stage application: staging had already been marked as failed, this coul
d mean that staging took too long
I could fix it by the same hack as #124 (comment)
my environment is Ubuntu 14.04.1 server
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
$ uname -a
Linux kinoko 3.13.0-62-generic #102-Ubuntu SMP Tue Aug 11 14:29:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
and, I use the most recent cf_nise_installer.
$ git log -1
commit a6f0673ceee33d00ffb938f16191017637758db1
Author: Iwasaki Yudai <yudai.iwasaki@ntti3.com>
Date: Mon Aug 24 14:21:50 2015 -0700
Bump cf-release to v215
Metadata
Metadata
Assignees
Labels
No labels