Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/elixir/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Cloud foundry Can';t在CloudFoundry中创建服务实例_Cloud Foundry - Fatal编程技术网

Cloud foundry Can';t在CloudFoundry中创建服务实例

Cloud foundry Can';t在CloudFoundry中创建服务实例,cloud-foundry,Cloud Foundry,我正在尝试让该应用程序与我在机器上运行的Cloud Foundry实例一起工作。我尝试推送应用程序,收到以下消息: 找不到要绑定到hello spring cloud的service postgres服务 所以我开始追踪博士后服务。当我运行cf marketplace时,我得到 service plans description mongodb default MongoDB NoSQL database postgresql default Postgr

我正在尝试让该应用程序与我在机器上运行的Cloud Foundry实例一起工作。我尝试推送应用程序,收到以下消息:

找不到要绑定到hello spring cloud的service postgres服务

所以我开始追踪博士后服务。当我运行cf marketplace时,我得到

service plans description mongodb default MongoDB NoSQL database postgresql default PostgreSQL database rabbitmq default RabbitMQ message queue redis default Redis key-value store **更新2:cf服务访问**

$ cf service-access Getting service access as admin... $cf服务访问 正在以管理员身份获取服务访问权限。。。 然后在终端上不显示任何内容。所以我尝试启用服务访问

$ cf enable-service-access postgresql Enabling access to all plans of service postgresql for all orgs as admin... All plans of the service are already accessible for all orgs OK $cf启用服务访问postgresql 以管理员身份为所有组织启用对所有postgresql服务计划的访问。。。 所有组织都可以访问该服务的所有计划 好啊
但我仍然无法创建该服务。

不确定是否有解决方案,但这似乎是部署ServiceBroker for PostgreSQL(ServiceBroker的auth creds)的问题

可通过以下方式进行检查/更新:

cf service-brokers
cf update-service-broker ...

或者通过重新部署服务(通过PCF/bosh中的tile或您使用的任何方式)

我看到您正在使用
admin
用户创建服务实例,但可以肯定的是,该用户是否拥有您
开发
空间中的space developer权限?我假设
org xyz==org ge
如您的日志所示?是的,您是正确的。您是否可以运行
cf service access
查看您的
默认服务计划是否已公开?如果是,则
access
列应显示
all
。(我想
limited
应该也适用于
admin
).hmmm。。那我不知道发生了什么事。尝试向CF发布消息。你可能会在那里得到更快的周转。 $ cf enable-service-access postgresql Enabling access to all plans of service postgresql for all orgs as admin... All plans of the service are already accessible for all orgs OK
cf service-brokers
cf update-service-broker ...