-
-
Save onlyanegg/e83e0b3c108d23e6b20992c8b3207798 to your computer and use it in GitHub Desktop.
boto_elb.deregister_instances is not working
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove_box_from_elb: | |
module.run: | |
- name: boto_elb.deregister_instances | |
- m_name: elb-app | |
- instances: i-00000000000000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file_client: local | |
top_file_merging_strategy: same | |
#state_output: mixed # Removed until issue 36028 is included in the centos repo | |
environment: common | |
file_roots: | |
common: | |
- /srv/salt/common/states | |
- /srv/salt/common/files | |
pillar_roots: | |
common: | |
- /srv/salt/common/pillar | |
elb.region: us-east-1 | |
elb.keyid: [xxxxxx] | |
elb.key: [xxxxxxx] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@app101 ~]# pip show boto3 | |
Name: boto3 | |
Version: 1.4.4 | |
Summary: The AWS SDK for Python | |
Home-page: https://github.com/boto/boto3 | |
Author: Amazon Web Services | |
Author-email: UNKNOWN | |
License: Apache License 2.0 | |
Location: /usr/lib/python2.7/site-packages | |
Requires: botocore, jmespath, s3transfer | |
[root@app101 ~]# | |
[root@app101 ~]# salt-call state.apply elb_test | |
[ERROR ] Failed to import utils win_osinfo, this is due most likely to a syntax error: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1332, in _load_module | |
), fn_, fpath, desc) | |
File "/usr/lib/python2.7/site-packages/salt/utils/win_osinfo.py", line 9, in <module> | |
from ctypes.wintypes import BYTE, WORD, DWORD, WCHAR | |
File "/usr/lib64/python2.7/ctypes/wintypes.py", line 23, in <module> | |
class VARIANT_BOOL(_SimpleCData): | |
ValueError: _type_ 'v' not supported | |
[ERROR ] Module function boto_elb.deregister_instances is not available | |
local: | |
---------- | |
ID: remove_box_from_elb | |
Function: module.run | |
Name: boto_elb.deregister_instances | |
Result: False | |
Comment: Module function boto_elb.deregister_instances is not available | |
Started: 17:05:28.184479 | |
Duration: 1388.868 ms | |
Changes: | |
Summary for local | |
------------ | |
Succeeded: 0 | |
Failed: 1 | |
------------ | |
Total states run: 1 | |
Total run time: 1.389 s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@app101 ~]# salt-call --versions-report | |
Salt Version: | |
Salt: 2016.11.1 | |
Dependency Versions: | |
cffi: Not Installed | |
cherrypy: Not Installed | |
dateutil: 2.6.0 | |
gitdb: Not Installed | |
gitpython: Not Installed | |
ioflo: Not Installed | |
Jinja2: 2.7.2 | |
libgit2: Not Installed | |
libnacl: Not Installed | |
M2Crypto: Not Installed | |
Mako: Not Installed | |
msgpack-pure: Not Installed | |
msgpack-python: 0.4.8 | |
mysql-python: Not Installed | |
pycparser: Not Installed | |
pycrypto: 2.6.1 | |
pygit2: Not Installed | |
Python: 2.7.5 (default, Sep 15 2016, 22:37:39) | |
python-gnupg: Not Installed | |
PyYAML: 3.11 | |
PyZMQ: 15.3.0 | |
RAET: Not Installed | |
smmap: Not Installed | |
timelib: Not Installed | |
Tornado: 4.2.1 | |
ZMQ: 4.1.4 | |
System Versions: | |
dist: centos 7.2.1511 Core | |
machine: x86_64 | |
release: 3.10.0-327.36.3.el7.x86_64 | |
system: Linux | |
version: CentOS Linux 7.2.1511 Core |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment