状态 'boto_rds.present' 不可用。 Ec2/saltstack
State 'boto_rds.present' is unavailable. Ec2/saltstack
我正在尝试使用 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
boto_rds Salt 模块在 2014.7 分支中不可用。它进入了 2015.5 分支,应该很快就会发布。
您可能会从您的 Salt master 上的 /srv/salt/_modules 和 /srv/salt/_state 目录获取 boto_rds.py 模块并声明和部署它们。
我正在尝试使用 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
boto_rds Salt 模块在 2014.7 分支中不可用。它进入了 2015.5 分支,应该很快就会发布。
您可能会从您的 Salt master 上的 /srv/salt/_modules 和 /srv/salt/_state 目录获取 boto_rds.py 模块并声明和部署它们。