Error 402: App packaging failed: 'Failed synchronizing resource pool'

VMC PUSH时出现的错误.

错误分析:
查看cloudfoundry运行的日志发现,都是permission的问题,执行如下命令:

sudo chown  当前登录用户:当前登录用户 -R /var/vcap/*
sudo chown  当前登录用户:当前登录用户 -R /var/vcap.local/*


然后再执行vmc push

zhangyunpeng@z:~/AptanaWorkspace/youhui2013$ vmc push
Using manifest file manifest.yml

1: erlangR14B01
2: java
3: java7
4: node
5: node06
6: node08
7: php
8: python2
9: ruby18
10: ruby19
11: ruby193
Runtime> 11

Creating youhui2013... OK

1: youhui2013.vcap.me
2: none
Domain> youhui2013.vcap.me

Updating youhui2013... OK
Uploading youhui2013... OK
Starting youhui2013... OK
Checking youhui2013...
  0/1 instances: 1 starting
  0/1 instances: 1 starting
  0/1 instances: 1 starting
  0/1 instances: 1 starting
  0/1 instances: 1 starting
  0/1 instances: 1 starting
  1/1 instances: 1 running
OK
zhangyunpeng@z:~/AptanaWorkspace/youhui2013$ vmc apps
Getting applications... OK
name         status    usage      runtime   url               
youhui2013   running   1 x 256M   ruby193   youhui2013.vcap.me


你可能感兴趣的:(resource)