【发布时间】:2016-02-03 05:16:57
【问题描述】:
我的 kitchen.yml 看起来像。
driver:
name: ec2
require_chef_omnibus: true
instance_type: t2.micro
block_device_mappings:
- ebs_device_name: /dev/sda1
ebs_volume_type: standard
ebs_virtual_name: test
ebs_volume_size: 50
ebs_delete_on_termination: true
transport:
ssh_key: /home/atg/.ssh/id_rsa
connection_timeout: 10
connection_retries: 5
provisioner:
name: chef_zero
# Uncomment the following verifier to leverage Inspec instead of Busser (the
# default verifier)
# verifier:
# name: inspec
platforms:
- name: redhat-7.2
driver:
image_id: ami-2051294a
transport:
username: root
- name: ubuntu-14.04
driver:
image_id: ami-fce3c696
transport:
username: ubuntu
suites:
- name: default
run_list:
- recipe[ssh::default]
- recipe[python::default]
- recipe[git::default]
- recipe[ureka::default]
attributes:
ssh:
options': {'Compression': 'yes', 'ForwardX11': 'yes', 'X11UseLocalhost': 'yes', 'UsePAM': 'no'}
厨房收敛返回
在实例上创建失败。请参见 .kitchen/logs/default-redhat-72.log 了解更多详情 ------Exception------- 类:Kitchen::ActionFailed 消息:InvalidParameterCombination => 具有 目前不支持“hvm”的虚拟化类型 实例类型。
【问题讨论】:
-
实例是否在 VPC 中创建?
标签: amazon-ec2 chef-infra test-kitchen