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
[INFO ] Executing command ['apt-cache', '-q', 'policy', 'elasticsearch'] in directory '/home/dylan' | |
[DEBUG ] stdout: elasticsearch: | |
Installed: (none) | |
Candidate: 1.1.1 | |
Version table: | |
1.1.1 0 | |
500 http://packages.elasticsearch.org/elasticsearch/1.1/debian/ stable/main amd64 Packages | |
1.1.0 0 | |
500 http://packages.elasticsearch.org/elasticsearch/1.1/debian/ stable/main amd64 Packages | |
1.0.3 0 |
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
dylan@salt /srv/salt (internal-ip-nginx-endpoint●)$ _ salt-cloud -m /etc/salt/logstash-stage-only -d | |
[INFO ] salt-cloud starting | |
[INFO ] Applying map from '/etc/salt/logstash-stage-only'. | |
[ERROR ] An un-handled exception was caught by salt's global exception handler: | |
KeyError: 'logstash_ops' | |
Traceback (most recent call last): | |
File "/usr/bin/salt-cloud", line 10, in <module> | |
salt_cloud() | |
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 121, in salt_cloud |
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
base_ec2_private: | |
provider: my-ec2-us-east-private-ips | |
image: ami-018c9568 | |
size: Micro Instance | |
ssh_username: ubuntu | |
base_ec2_public: | |
provider: my-ec2-us-east-public-ips | |
image: ami-018c9568 | |
size: Micro Instance |
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
dylan@salt /srv/salt (internal-ip-nginx-endpoint●)$ _ salt '*' grains.item roles | |
logstash_staging: | |
roles: {'logstash-reciever': True, 'elasticsearch': True, 'logstash': True, 'kibana': True} | |
logstash_ops: | |
roles: | |
logstash-reciever | |
logstash | |
elasticsearch | |
kibana | |
dylan@salt /srv/salt (internal-ip-nginx-endpoint●)$ _ salt -G 'roles:elasticsearch' test.ping |
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
dylan@salt /srv/salt (internal-ip-nginx-endpoint●)$ _ salt '*' grains.item roles | |
logstash_staging: | |
roles: | |
logstash-reciever | |
logstash | |
elasticsearch | |
kibana | |
logstash_ops: | |
roles: | |
logstash-reciever |
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
salt-minion: | |
pkgrepo.managed: | |
- ppa: saltstack/salt | |
pkg.latest: | |
- name: salt-minion | |
- refresh: True |
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
dockerfile/elasticsearch: | |
docker.pulled: | |
- name: dockerfile/elasticsearch | |
- require_in: elasticsearch-container | |
elasticsearch-container: | |
docker.installed: | |
- name: elasticsearch | |
- hostname: elasticsearch | |
- image: dockerfile/elasticsearch |
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
# causes salt-cloud to hang | |
my-aws-ubuntu: | |
- id: XXXXXXXX | |
ssh_interface: private_ips | |
grains: | |
node_type: managed | |
key: 'XXXXXXXX' | |
private_key: /etc/salt/salt-master.pem | |
keyname: salt-master |
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
Connection to (successfully created instance, IP removed) closed. | |
[INFO ] Salt installed on ops_elk_slave-00 | |
[INFO ] Created Cloud VM 'ops_elk_slave-00' | |
[INFO ] Create and attach volumes to node ops_elk_slave-00 | |
[INFO ] Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com | |
[INFO ] Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com | |
[ERROR ] EC2 Response Status Code and Error: [400 400 Client Error: Bad Request] {'Errors': {'Error': {'Message': "vol-6eed552a is not 'available'.", 'Code': 'IncorrectState'}}, 'RequestID': '2261f3a9-6672-4b60-8c94-b8380c882730'} | |
[INFO ] Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com | |
[INFO ] Starting new HTTPS connection (1): ec2.us-east-1.amazonaws.com | |
[ERROR ] EC2 Response Status Code and Error: [400 400 Client Error: Bad Request] {'Errors': {'Error': {'Message': 'No attributes specified.', 'Code': 'InvalidParameterCombination'}}, 'RequestID': '6d544e7b-02da-42bd-8d92-4533f8f5ba78'} |
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
motd: | |
pkg.installed: | |
- name: update-motd | |
/etc/update-motd.d/00-dynmotd: | |
file.managed: | |
- source: salt://configs/update-motd.d/00-dynmotd | |
/etc/update-motd.d/20-list-updates: | |
file.managed: |
OlderNewer