在 OSX 10.7.4 上的 VMWare Fusion 5.0.1 上运行 MCF。VMC 是版本 0.3.19
当我尝试在 MCF 上创建 mysql 服务时,我进入了 vmc:
maguro:Desktop darrellberry$ vmc create-service
1: redis
2: mongodb
3: postgresql
4: mysql
5: rabbitmq
Which service would you like to provision?: 4
Creating Service [mysql-eaca7]:
Error 503: Unexpected response from service gateway
在 MCF 实例上,/var/vcap/sys/log/mysql_gateway/mysql_gateway.log 显示:
[2012-09-06 09:14:56] mysql_gateway - 3249 c74f 72e9 INFO -- Sending info to cloud controller: http://api.xx.cloudfoundry.me/services/v1/offerings
[2012-09-06 09:14:56] mysql_gateway - 3249 c74f 72e9 INFO -- Successfully registered with cloud controller
[2012-09-06 09:15:55] mysql_gateway - 3249 c74f 72e9 DEBUG -- Provision request for label=mysql-5.1 plan=free
[2012-09-06 09:15:55] mysql_gateway - 3249 c74f 72e9 DEBUG -- [MyaaS-Provisioner] Attempting to provision instance (request={:label=>"mysql-5.1", :name=>"mysql-83457", :email=>"xx@xx.com", :plan=>"free"})
[2012-09-06 09:15:56] mysql_gateway - 3249 c74f 72e9 INFO -- Sending info to cloud controller: http://api.xx.cloudfoundry.me/services/v1/offerings
[2012-09-06 09:15:56] mysql_gateway - 3249 c74f 72e9 INFO -- Successfully registered with cloud controller
[2012-09-06 09:15:57] mysql_gateway - 3249 c74f 72e9 DEBUG -- [MyaaS-Provisioner] Found the following nodes: []
[2012-09-06 09:16:05] mysql_gateway - 3249 c74f 72e9 WARN -- Request timeout in 10 seconds.
(网址和电子邮件在这里被混淆了——日志中的看起来是正确的)
这是 100% 可重复的。但是,我可以毫无错误地提供其他类型的服务(postgresql、rabbitmq 等)。所有帮助表示赞赏。