cloudfoundry-attic / warden

Cloud Foundry - the open platform as a service project
Apache License 2.0
283 stars 108 forks source link

failed to stage application, Failed setting memory limit: Permission denied #88

Closed pradiprawat closed 9 years ago

pradiprawat commented 9 years ago

hi all, i had setup cloud foundry environment using openstack murano but while deploying any web application i am getting error, Below is the error which is i am getting while deploying application.

root@murano-rafwci9e19pw13-mkhufi9e19kkt2-f5maq3h3jtdd:~/php# cf push  php -m 128M
Updating app php in org DevBox / space dev as admin...
OK

Uploading php...
Uploading app files from: /root/php
Uploading 3.6K, 1 files
OK

Stopping app php in org DevBox / space dev as admin...
OK

Starting app php in org DevBox / space dev as admin...
FAILED
Server error, status code: 400, error code: 170001, message: Staging error: failed to stage application:
Failed setting memory limit: Permission denied @ rb_sysopen - /tmp/warden/cgroup/memory/instance-18lg2d2vsmb/memory.memsw.limit_in_bytes
cf-gitbot commented 9 years ago

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/94113606.

ozzozz commented 9 years ago

@pradiprawat oh you use OpenStack Murano Cloud Foundry app, it is based on cf_nise_installer. see https://github.com/openstack/murano-apps/blob/master/CloudFoundry/package/Resources/scripts/installRuby.sh#L34

cf_nise_installer has an open issue https://github.com/yudai/cf_nise_installer/issues/137 , same as you encountered. can you try this hack on your CF VM? https://github.com/yudai/cf_nise_installer/issues/124#issuecomment-93802192

Amit-PivotalLabs commented 9 years ago

Closing due to inactivity.