2016-09-30 8 views
0

私はlibcloud 1.2.1とpysphere 0.1.7を使用しています。 ESXiホストに接続しようとすると、以下のエラーが表示されます。libcloudとvsphereの統合でエラーが発生しました

Traceback (most recent call last): 
File "", line 1, in 
File "/Library/Python/2.7/site-packages/libcloud/compute/drivers/vsphere.py", line 152, in init 
port=port, url=url) 
File "/Library/Python/2.7/site-packages/libcloud/common/base.py", line 1177, in init 
self.connection = self.connectionCls(args, *conn_kwargs) 
TypeError: init() got an unexpected keyword argument 'retry_delay' 

私は以下のコマンドを使用してホストに接続しています。

from libcloud.compute.types import Provider 
from libcloud.compute.providers import get_driver 
vsphere = get_driver(Provider.VSPHERE) 
driver = vsphere(host='',username='username',password='password') 

これは、pysphereを使用してのみ行うことができますが、libcloudでは使用できません。インターネットを見て、ライブラリの内容を変えようとしましたが無駄でした。誰も助けることができますか?

答えて

関連する問題