试图往SAP Cloud Platform CloudFoundry用命令行CLI部署应用时,遇到如下错误:


SAP云平台CloudFoundry环境里route 超过quota的错误处理-LMLPHP


原因是因为这个新建的名为Haytham的subaccount没有分配application runtime.
一个分配了application runtime的subaccount如下图所示,包含了Memory, Routes和Service.


SAP云平台CloudFoundry环境里route 超过quota的错误处理-LMLPHP


我试图给出问题的subaccount分配一个Application runtime,发现已经没有可用的service plan了:You have already used all the global account quota for this serviceplan. To add this service plan, purchase more quota or removequota from other subaccounts.


SAP云平台CloudFoundry环境里route 超过quota的错误处理-LMLPHP


从提示信息可知一个global account下的所有subaccount共享同一份service plan定义的资源。为了方便起见,我把我使用的另一个sub account的Application runtime减少了一个,把省下的这个分配到名为Haytham的subaccount上,问题解决:


SAP云平台CloudFoundry环境里route 超过quota的错误处理-LMLPHP


要获取更多Jerry的原创文章,请关注公众号"汪子熙":



SAP云平台CloudFoundry环境里route 超过quota的错误处理-LMLPHP


12-18 01:41