首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Apache Brooklyn中的"Virtualization type 'hvm‘required“错误

Apache Brooklyn中的"Virtualization type 'hvm‘required“错误
EN

Stack Overflow用户
提问于 2015-04-13 15:23:43
回答 1查看 81关注 0票数 0

我试着根据链接https://brooklyn.incubator.apache.org/v/latest/yaml/chef/creating-blueprints.html从厨师创建蓝图。

通过yaml提供大型实例的位置和provisioning.properties。

但是当我启动它时,我得到了以下错误:

代码语言:javascript
复制
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小类型的实例,忽略了通过yaml提到的provisioning.properties。

有没有办法通过brooklyn.properties文件指定provision.properties,或者强制Brooklyn用blueprint提供的配置覆盖?

有人能帮我一下吗?

EN

回答 1

Stack Overflow用户

发布于 2017-03-14 19:10:08

现在问题已经解决了。我可以通过将ami Id指定为provisioning.properties的一部分来启动厨师蓝图。provisioning.properties:#这将覆盖属性minRam: 5046mb minCores: 4 minDisk: 1024 imageId: eu-west-1/ami-3bbaa54f,我在缩进中犯了一个错误。有关详细信息,请参阅gist.github.com/ahgittin/ef8a4b39695f6d4c684e。谢谢你的帮助!

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29599882

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档