SAP雲平臺部署應用時遇到的502 Updating service failed - Bad Gateway

i042416發表於2020-02-24

我在SAP雲平臺的WebIDE裡建立了一個新的UI5應用,新增了一個HTML5 module:

SAP雲平臺部署應用時遇到的502 Updating service failed - Bad Gateway SAP雲平臺部署應用時遇到的502 Updating service failed - Bad Gateway

試圖將其部署到SAP雲平臺時,

SAP雲平臺部署應用時遇到的502 Updating service failed - Bad Gateway


遇到如下錯誤:

SAP雲平臺部署應用時遇到的502 Updating service failed - Bad Gateway

> Service operation failed: Controller operation failed: 502 Updating service "dest_tutorial" failed: Bad Gateway:


> Error creating service "dest_tutorial" from offering "destination" and plan "lite": Service broker error: Service broker destination-service-broker failed with: Quota limit exceeded. Instance creation not allowed. To download logs of the process, use the multi-target application plug-in for the Cloud Foundry CLI command "cf dmol -i 4dd8405e-4e41-11ea-a7fb-eeee0a981a17" directly in your Cloud Foundry space.For more information see  SAP Help Portal failed.

我的mta.yaml檔案如下:

```yaml

ID: tutorial
_schema-version: '2.1'
version: 0.0.1
modules:
 - name: ui
   type: html5
   path: ui
   parameters:
      disk-quota: 256M
      memory: 256M
   build-parameters:
      builder: grunt
   requires:
    - name: uaa_tutorial
    - name: dest_tutorial
resources:
 - name: uaa_tutorial
   parameters:
      path: ./xs-security.json
      service-plan: application
      service: xsuaa
   type: org.cloudfoundry.managed-service
 - name: dest_tutorial
   parameters:
      service-plan: lite
      service: destination
   type: org.cloudfoundry.managed-service

```


錯誤訊息的核心是這一行:


> Service broker destination-service-broker failed with: Quota limit exceeded.


在quota分配裡,增加Destination service的quota即可:

SAP雲平臺部署應用時遇到的502 Updating service failed - Bad Gateway SAP雲平臺部署應用時遇到的502 Updating service failed - Bad Gateway


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2676893/,如需轉載,請註明出處,否則將追究法律責任。

相關文章