用vsphere测试厨房

时间:2015-04-27 10:23:44

标签: chef vmware vsphere test-kitchen

我尝试运行kitchen test时出现以下错误:

Starting Kitchen (v1.3.1)
Cleaning up any prior instances of <default-centos-65>
Finished destroying <default-centos-65> (0m0.00s).
Testing <default-centos-65>
Creating <default-centos-65>...
Please see .kitchen/logs/default-centos-65.log for more details
------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Fog::Compute::Vsphere::NotFound
>>>>>> ----------------------

我的.kitchen.yml文件是:

driver:
  name: vsphere
  use_sudo: false
  hostname: <vsphere host name>
  privileged: true

driver_config:
  require_chef_omnibus: 11.4.4
  username: 'root'
  password: <password>
  authentication:
    vsphere_username: 'root'
    vsphere_password: <password>
    vsphere_server: <vsphere host name>
    vsphere_expected_pubkey_hash: <public hash>
  server_create:
    datacenter: <datacenter name>
    template_path: <template path>
  sudo: true

provisioner:
  name: chef_zero

platforms:
  - name: centos-6.5

任何人都可以帮帮我

0 个答案:

没有答案