前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >SAP云平台部署应用时遇到的502 Updating service failed - Bad Gateway

SAP云平台部署应用时遇到的502 Updating service failed - Bad Gateway

原创
作者头像
Jerry Wang
修改2020-02-17 11:07:17
5380
修改2020-02-17 11:07:17
举报

我在SAP云平台的WebIDE里创建了一个新的UI5应用,添加了一个HTML5 module:

试图将其部署到SAP云平台时,

遇到如下错误:

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 https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e93b231895b64cbc9221a62953563a6f.html.Job failed.

我的mta.yaml文件如下:

代码语言:txt
复制
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即可:

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档