无法使用Vagrant启动Mesos

时间:2018-07-20 07:14:11

标签: python amazon-web-services cassandra vagrant mesos

我试图在Mesos上运行Cassandra-cluster,所以我找到了一种使用Vagrant创建Mesos集群的解决方案。

我尝试使用Vagrant运行Mesos集群。

我安装了Vagrant版本2.1.2及其所有插件:

vagrant-aws (0.7.2)
vagrant-berkshelf (5.1.2)
vagrant-cachier (1.2.1)
vagrant-hosts (2.8.2)
vagrant-omnibus (1.5.0)

我还在以下文件中更改了AWS凭证

# Please set AWS credentials
 access_key_id:  EDIT_HERE
 secret_access_key: EDIT_HERE

 # Please choose one from
 # ["ap-northeast-1", "ap-southeast-1", "eu-west-1", "sa-east-1", "us-east-1",
 #  "us-west-1", "ap-southeast-2", "us-west-2"]
 region: us-east-1

 # array of security groups. e.g. ['sg*** ']
 security_groups: EDIT_HERE

 # See http://aws.amazon.com/ec2/instance-types/#selecting-instance-types
 # for other instance types and its specs.
 instance_type: m1.small

 keypair_name: EDIT_HERE

 ssh_private_key_path: EDIT_HERE 

然后我运行以下命令:

vagrant up --provider=aws 

它显示错误:

 Recipe Compile Error in /var/chef/cache/cookbooks/python/attributes/default.rb

有一个在线解决方案,它说在default.rb中放置poise-python而不是python 因此,我应该安装Poise-python还是其他解决方案,因为我还没有为Vagrant安装Python,并且它使用的是内置的。

0 个答案:

没有答案