You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

SAP BTP Cloud Foundry中启用route_sharing权限不足及路由共享求助

问题:SAP BTP Cloud Foundry跨Space共享路由失败,无法启用route_sharing功能

背景

在SAP BTP Cloud Foundry运行时环境下,尝试在originspace和otherspace两个Space之间共享路由,避免应用从originspace迁移至otherspace时出现停机。参考官方文档执行相关命令后,遇到权限不足和功能禁用的问题。

执行的命令

cf target -o orgname -s originspace
cf8 enable-feature-flag route_sharing
cf8 share-route example.com --hostname exampleroutehost -s otherspace -o orgname

收到的错误提示

Enabling feature flag route_sharing as myemail@example.com...
You are not authorized to perform the requested action
FAILED

Sharing route exampleroutehost.example.com to space otherspace as myemail@example.com
Feature Disabled: route_sharing
FAILED

当前权限与功能状态

  • 已拥有该组织及对应Space的ORG_MANAGER和ORG_AUDITOR角色
  • 无法获取Cloud Foundry管理员权限(BTP环境中无访问权限)
  • 执行cf8 feature-flags查看功能标志状态,结果显示route_sharing为disabled:
$ cf8 feature-flags
Getting feature flags as myemail@example.com...

name                                          state
app_bits_upload                               enabled
app_scaling                                   enabled
diego_docker                                  enabled
env_var_visibility                            enabled
hide_marketplace_from_unauthenticated_users   disabled
private_domain_creation                       enabled
resource_matching                             enabled
route_creation                                enabled
route_sharing                                 disabled
service_instance_creation                     enabled
service_instance_sharing                      enabled
set_roles_by_username                         enabled
space_developer_env_var_visibility            enabled
space_scoped_private_broker_creation          enabled
task_creation                                 enabled
unset_roles_by_username                       enabled
user_org_creation                             disabled

请求解决

请告知如何获取管理员权限,或如何启用路由共享功能。

内容的提问来源于stack exchange,提问作者Daniela Betancourt

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.09 03:05:42