【发布时间】:2015-04-13 07:23:42
【问题描述】:
我尝试根据链接 https://brooklyn.incubator.apache.org/v/latest/yaml/chef/creating-blueprints.html 从厨师创建蓝图。
大型实例的 location 和 provisioning.properties 是通过 yaml 提供的。
但是当我启动它时,我收到以下错误:
Required entity not healthy: ChefEntityImpl{id=aL3U028F}Failure running task invoking
start[locations] on 1 node (Aw2cyO4I): Error invoking start at ChefEntityImpl{id=aL3U028F}:
org.jclouds.aws.AWSResponseException: request POST https://ec2.us-west-1.amazonaws.com/
HTTP/1.1 failed with code 400, error: AWSError{requestId='27baa951-42d1-424d-9bca-c97047207ac3',
requestToken='null', code='InvalidParameterCombination', message=**'Virtualization type
'hvm' is required for instances of type 't2.small'.',**
Brooklyn 正在选择 t2.small 类型的实例,忽略通过 yaml 提到的 provisioning.properties。
有没有办法通过 brooklyn.properties 文件指定 provision.properties 或强制 Brooklyn 使用通过蓝图提供的配置覆盖?
有人可以帮我吗?
【问题讨论】:
-
这个问题似乎离题了,因为它与编程或开发无关。请参阅帮助中心的What topics can I ask about here。也许Super User、Web Applications Stack Exchange 或Webmaster Stack Exchange 会是一个更好的提问地点。
-
您可以在issues.apache.org/jira/browse/BROOKLYN-140 关注这个问题,在jclouds 中关注issues.apache.org/jira/browse/JCLOUDS-889
-
该链接 (brooklyn.incubator.apache.org/v/latest/yaml/chef/…) 上的 YAML 蓝图不包括 provisioning.properties。您能否将 YAML 包含在您的蓝图中?
标签: brooklyn