【发布时间】:2015-07-18 15:07:59
【问题描述】:
我正在尝试使用 boto_rds.present 创建一个 RDS 实例,代码如下:
rds_instance_abc:
boto_rds.present:
- name: learn_rds1
- allocated_storage: 10
- storage_type: gp2
- db_name: abc_testing
- db_instance_class: db.t2.micro
- engine: MySQL
- master_username: root
- master_user_password: root
- region: us-east-1}
- keyid: fsdfsdfsdfs
- key: fsdfsdfsfsdfsdfsfsdfs
salt-call state.highstate 之后我有这个错误:
local:
----------
ID: rds_instance_abc
Function: boto_rds.present
Name: learn_rds1
Result: False
Comment: State 'boto_rds.present' found in SLS u'tester' is unavailable
Started:
Duration:
Changes:
Summary
------------
Succeeded: 0
Failed: 1
I have installed boto in my instance: pip27 install boto
如果我通过 shell 使用 boto’s RDS interface,则 rds 实例创建得很好。
我在我的状态是否遗漏了什么?
这是版本报告:
Salt: 2014.7.5
Python: 2.6.9 (unknown, Apr 1 2015, 18:16:00)
Jinja2: 2.7.2
M2Crypto: 0.21.1
msgpack-python: 0.4.6
msgpack-pure: Not Installed
pycrypto: 2.6.1
libnacl: Not Installed
PyYAML: 3.10
ioflo: Not Installed
PyZMQ: 14.3.1
RAET: Not Installed
ZMQ: 3.2.5
Mako: Not Installed
【问题讨论】:
-
你运行的是什么版本的 Salt?
-
@mafro:我用那个信息更新了帖子。
标签: amazon-web-services amazon-ec2 boto amazon-rds salt-stack