簡體   English   中英

廚房沒有檢測到流浪插件`kitchen-vagrant`

[英]kitchen not detecting vagrant plugin `kitchen-vagrant`

Ubuntu 14.10 全新安裝

chef@ubuntu:~/db2$ uname -a
Linux ubuntu 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

chef@ubuntu:~/db2$ vagrant -v 
Vagrant 1.4.3
chef@ubuntu:~/db2$ vagrant plugin list
kitchen-vagrant (0.15.0)
chef@ubuntu:~/db2$ chef -v
Chef Development Kit Version: 0.4.0
chef@ubuntu:~/db2$ 

chef@ubuntu:~/db2$ kitchen converge --parallel
-----> Starting Kitchen (v1.3.1)
-----> Creating <default-centos-511>...
-----> Creating <default-fedora-20>...
The plugin "kitchen-vagrant" could not be found. Please make sure that it is
properly installed via `vagrant plugin`. Note that plugins made for
Vagrant 1.0.x are not compatible with 1.1+ and this error will likely
continue to show when you use `plugin install` with a 1.0.x plugin.

chef gem list表明還安裝了 kitchen-vagrant:

io-console (0.4.2)
ipaddress (0.8.0)
json (1.8.2, 1.8.1)
kitchen-vagrant (0.15.0)
knife-spork (1.5.0)
libyajl2 (1.2.0)
....

即使它被列為已安裝,為什么 kitchen 沒有檢測到 vagrant 插件 kitchen-vagrant?

由於錯誤說明是由於安裝的 vagrant 版本和 vagrant 插件之間的兼容性問題。 要解決此問題,請安裝與 vagrant 版本 1.1x 兼容的插件版本

Chef 預裝了它自己的 ruby​​ 版本,因此包、插件和東西。

有一種可能性:

  • 你已經在System Ruby上安裝了 Kitchen-vagrant 插件

  • kitchen converge從 Chef ruby​​ 調用插件,因此無法在其 Gem 路徑中找到它。

嘗試 Arthur 提到的chef gem list以了解該插件是否安裝在chef ruby​​ 版本中。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM