-
-
Save ajw0100/2aeb736f596c2d909436 to your computer and use it in GitHub Desktop.
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
mongodb: | |
pkg: | |
- installed | |
service: | |
- running | |
- enable: true | |
- require: | |
- pkg: mongodb | |
copy_mongo_data: | |
file: | |
- recurse | |
- name: /tmp/mongo_data | |
- source: salt://mongo/data | |
- user: {{ pillar['HOME_USER'] }} | |
- group: {{ pillar['HOME_GROUP'] }} | |
extract_mongo_data: | |
cmd: | |
- run | |
- name: gzip -d customer_reviews_1998.json.gz | |
- creates: /tmp/mongo_data/customer_reviews_1998.json | |
- user: {{ pillar['HOME_USER'] }} | |
- group: {{ pillar['HOME_USER'] }} | |
- cwd: /tmp/mongo_data | |
- require: | |
- file: copy_mongo_data | |
load_mongo_data: | |
cmd: | |
- run | |
- name: mongoimport --db test --collection customer_reviews --type json --file customer_reviews_1998.json | |
- user: {{ pillar['HOME_USER'] }} | |
- group: {{ pillar['HOME_USER'] }} | |
- cwd: /tmp/mongo_data | |
- require: | |
- cmd: extract_mongo_data | |
- service: mongodb |
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
---------- | |
ID: load_mongo_data | |
Function: cmd.run | |
Name: mongoimport --db test --collection customer_reviews --type json --file customer_reviews_1998.json | |
Result: False | |
Comment: Command "mongoimport --db test --collection customer_reviews --type json --file customer_reviews_1998.json" run | |
Started: 22:30:36.619720 | |
Duration: 7629.313 ms | |
Changes: | |
---------- | |
pid: | |
13220 | |
retcode: | |
255 | |
stderr: | |
couldn't connect to [127.0.0.1] couldn't connect to server 127.0.0.1:27017 | |
stdout: | |
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
---------- | |
ID: load_mongo_data | |
Function: cmd.run | |
Name: mongoimport --db test --collection customer_reviews --type json --file customer_reviews_1998.json | |
Result: True | |
Comment: Command "mongoimport --db test --collection customer_reviews --type json --file customer_reviews_1998.json" run | |
Started: 22:31:55.634270 | |
Duration: 86359.023 ms | |
Changes: | |
---------- | |
pid: | |
13561 | |
retcode: | |
0 | |
stderr: | |
stdout: | |
connected to: 127.0.0.1 | |
Tue Jan 6 22:31:58.079 Progress: 18597286/261965676 7% | |
Tue Jan 6 22:31:58.080 41600 13866/second | |
Tue Jan 6 22:32:01.008 Progress: 39414272/261965676 15% | |
Tue Jan 6 22:32:01.008 88200 14700/second | |
Tue Jan 6 22:32:04.004 Progress: 57080750/261965676 21% | |
Tue Jan 6 22:32:04.004 127700 14188/second | |
Tue Jan 6 22:32:07.008 Progress: 75223861/261965676 28% | |
Tue Jan 6 22:32:07.008 168300 14025/second | |
Tue Jan 6 22:32:10.009 Progress: 94782484/261965676 36% | |
Tue Jan 6 22:32:10.013 212100 14140/second | |
Tue Jan 6 22:32:13.004 Progress: 114531329/261965676 43% | |
Tue Jan 6 22:32:13.004 256500 14250/second | |
Tue Jan 6 22:32:16.250 Progress: 119920458/261965676 45% | |
Tue Jan 6 22:32:16.250 268700 12795/second | |
Tue Jan 6 22:32:20.485 Progress: 122133024/261965676 46% | |
Tue Jan 6 22:32:20.485 273700 10948/second | |
Tue Jan 6 22:32:23.740 Progress: 124479754/261965676 47% | |
Tue Jan 6 22:32:23.740 279000 9964/second | |
Tue Jan 6 22:32:27.000 Progress: 126783598/261965676 48% | |
Tue Jan 6 22:32:27.000 284200 9167/second | |
Tue Jan 6 22:32:30.075 Progress: 128954594/261965676 49% | |
Tue Jan 6 22:32:30.075 289100 8260/second | |
Tue Jan 6 22:32:33.426 Progress: 131304129/261965676 50% | |
Tue Jan 6 22:32:33.426 294400 7747/second | |
Tue Jan 6 22:32:36.028 Progress: 135906086/261965676 51% | |
Tue Jan 6 22:32:36.028 304800 7434/second | |
Tue Jan 6 22:32:39.004 Progress: 152054921/261965676 58% | |
Tue Jan 6 22:32:39.004 341300 7756/second | |
Tue Jan 6 22:32:42.043 Progress: 172208604/261965676 65% | |
Tue Jan 6 22:32:42.043 386800 8229/second | |
Tue Jan 6 22:32:45.099 Progress: 177238659/261965676 67% | |
Tue Jan 6 22:32:45.099 398200 7964/second | |
Tue Jan 6 22:32:48.171 Progress: 179137367/261965676 68% | |
Tue Jan 6 22:32:48.171 402500 7594/second | |
Tue Jan 6 22:32:51.029 Progress: 184007696/261965676 70% | |
Tue Jan 6 22:32:51.029 413500 7383/second | |
Tue Jan 6 22:32:54.041 Progress: 202794159/261965676 77% | |
Tue Jan 6 22:32:54.041 455900 7727/second | |
Tue Jan 6 22:32:57.004 Progress: 221574458/261965676 84% | |
Tue Jan 6 22:32:57.004 498300 8037/second | |
Tue Jan 6 22:33:00.780 Progress: 233476603/261965676 89% | |
Tue Jan 6 22:33:00.781 525300 8081/second | |
Tue Jan 6 22:33:03.814 Progress: 235511342/261965676 89% | |
Tue Jan 6 22:33:03.814 529900 7792/second | |
Tue Jan 6 22:33:06.006 Progress: 237725553/261965676 90% | |
Tue Jan 6 22:33:06.006 534900 7533/second | |
Tue Jan 6 22:33:09.737 Progress: 239452567/261965676 91% | |
Tue Jan 6 22:33:09.737 538800 7281/second | |
Tue Jan 6 22:33:13.197 Progress: 241748001/261965676 92% | |
Tue Jan 6 22:33:13.197 544000 6974/second | |
Tue Jan 6 22:33:16.092 Progress: 243957435/261965676 93% | |
Tue Jan 6 22:33:16.092 549000 6777/second | |
Tue Jan 6 22:33:19.069 Progress: 248497779/261965676 94% | |
Tue Jan 6 22:33:19.069 559300 6658/second | |
Tue Jan 6 22:33:21.222 check 9 589859 | |
Tue Jan 6 22:33:21.985 imported 589859 objects |
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
2015-01-06 22:28:02,172 [salt.state ][INFO ] Running state [mongodb] at time 22:28:02.172081 | |
2015-01-06 22:28:02,173 [salt.state ][INFO ] Executing state pkg.installed for mongodb | |
2015-01-06 22:28:02,176 [salt.loaded.int.module.cmdmod][INFO ] Executing command ['apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-c | |
onfdef', 'install', 'mongodb'] in directory '/home/ubuntu' | |
2015-01-06 22:29:54,874 [salt.loaded.int.module.cmdmod][DEBUG ] output: Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
libboost-dev libboost-filesystem1.54.0 libboost-program-options1.54.0 | |
libboost-system1.54.0 libboost-thread1.54.0 libboost1.54-dev | |
libgoogle-perftools4 libpcrecpp0 libsnappy1 libstdc++-4.8-dev | |
libtcmalloc-minimal4 libunwind8 libv8-3.14.5 mongodb-clients mongodb-dev | |
mongodb-server | |
Suggested packages: | |
libboost-doc libboost1.54-doc libboost-atomic1.54-dev | |
libboost-chrono1.54-dev libboost-context1.54-dev libboost-coroutine.54-dev | |
libboost-date-time1.54-dev libboost-exception1.54-dev | |
libboost-filesystem1.54-dev libboost-graph1.54-dev | |
libboost-graph-parallel1.54-dev libboost-iostreams1.54-dev | |
libboost-locale1.54-dev libboost-log.54-dev libboost-math1.54-dev | |
libboost-mpi1.54-dev libboost-mpi-python1.54-dev | |
libboost-program-options1.54-dev libboost-python1.54-dev | |
libboost-random1.54-dev libboost-regex1.54-dev | |
libboost-serialization1.54-dev libboost-signals1.54-dev | |
libboost-system1.54-dev libboost-test1.54-dev libboost-thread1.54-dev | |
libboost-timer1.54-dev libboost-wave1.54-dev libboost1.54-tools-dev | |
libmpfrc++-dev libntl-dev libstdc++-4.8-doc | |
The following NEW packages will be installed: | |
libboost-dev libboost-filesystem1.54.0 libboost-program-options1.54.0 | |
libboost-system1.54.0 libboost-thread1.54.0 libboost1.54-dev | |
libgoogle-perftools4 libpcrecpp0 libsnappy1 libstdc++-4.8-dev | |
libtcmalloc-minimal4 libunwind8 libv8-3.14.5 mongodb mongodb-clients | |
mongodb-dev mongodb-server | |
0 upgraded, 17 newly installed, 0 to remove and 71 not upgraded. | |
Need to get 22.4 MB of archives. | |
After this operation, 229 MB of additional disk space will be used. | |
Get:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libboost-system1.54.0 amd64 1.54.0-4ubuntu3.1 [10.1 kB] | |
Get:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libboost-filesystem1.54.0 amd64 1.54.0-4ubuntu3.1 [34.2 kB] | |
Get:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libboost-program-options1.54.0 amd64 1.54.0-4ubuntu3.1 [115 kB] | |
Get:4 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libboost-thread1.54.0 amd64 1.54.0-4ubuntu3.1 [26.5 kB] | |
Get:5 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/main libpcrecpp0 amd64 1:8.31-2ubuntu2 [14.5 kB] | |
Get:6 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/main libunwind8 amd64 1.1-2.2ubuntu3 [48.3 kB] | |
Get:7 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/main libstdc++-4.8-dev amd64 4.8.2-19ubuntu1 [1050 kB] | |
Get:8 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libboost1.54-dev amd64 1.54.0-4ubuntu3.1 [5682 kB] | |
Get:9 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/main libboost-dev amd64 1.54.0.1ubuntu1 [3076 B] | |
Get:10 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/main libtcmalloc-minimal4 amd64 2.1-2ubuntu1 [104 kB] | |
Get:11 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/main libgoogle-perftools4 amd64 2.1-2ubuntu1 [184 kB] | |
Get:12 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/universe libv8-3.14.5 amd64 3.14.5.8-5ubuntu2 [1189 kB] | |
Get:13 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/universe mongodb-dev amd64 1:2.4.9-1ubuntu2 [982 kB] | |
Get:14 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/main libsnappy1 amd64 1.1.0-1ubuntu1 [11.2 kB] | |
Get:15 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/universe mongodb-clients amd64 1:2.4.9-1ubuntu2 [9595 kB] | |
Get:16 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/universe mongodb-server amd64 1:2.4.9-1ubuntu2 [3312 kB] | |
Get:17 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/universe mongodb amd64 1:2.4.9-1ubuntu2 [5124 B] | |
Fetched 22.4 MB in 1min 35s (234 kB/s) | |
Selecting previously unselected package libboost-system1.54.0:amd64. | |
(Reading database ... 59568 files and directories currently installed.) | |
Preparing to unpack .../libboost-system1.54.0_1.54.0-4ubuntu3.1_amd64.deb ... | |
Unpacking libboost-system1.54.0:amd64 (1.54.0-4ubuntu3.1) ... | |
Selecting previously unselected package libboost-filesystem1.54.0:amd64. | |
Preparing to unpack .../libboost-filesystem1.54.0_1.54.0-4ubuntu3.1_amd64.deb ... | |
Unpacking libboost-filesystem1.54.0:amd64 (1.54.0-4ubuntu3.1) ... | |
Selecting previously unselected package libboost-program-options1.54.0:amd64. | |
Preparing to unpack .../libboost-program-options1.54.0_1.54.0-4ubuntu3.1_amd64.deb ... | |
Unpacking libboost-program-options1.54.0:amd64 (1.54.0-4ubuntu3.1) ... | |
Selecting previously unselected package libboost-thread1.54.0:amd64. | |
Preparing to unpack .../libboost-thread1.54.0_1.54.0-4ubuntu3.1_amd64.deb ... | |
Unpacking libboost-thread1.54.0:amd64 (1.54.0-4ubuntu3.1) ... | |
Selecting previously unselected package libpcrecpp0:amd64. | |
Preparing to unpack .../libpcrecpp0_1%3a8.31-2ubuntu2_amd64.deb ... | |
Unpacking libpcrecpp0:amd64 (1:8.31-2ubuntu2) ... | |
Selecting previously unselected package libunwind8. | |
Preparing to unpack .../libunwind8_1.1-2.2ubuntu3_amd64.deb ... | |
Unpacking libunwind8 (1.1-2.2ubuntu3) ... | |
Selecting previously unselected package libstdc++-4.8-dev:amd64. | |
Preparing to unpack .../libstdc++-4.8-dev_4.8.2-19ubuntu1_amd64.deb ... | |
Unpacking libstdc++-4.8-dev:amd64 (4.8.2-19ubuntu1) ... | |
Selecting previously unselected package libboost1.54-dev. | |
Preparing to unpack .../libboost1.54-dev_1.54.0-4ubuntu3.1_amd64.deb ... | |
Unpacking libboost1.54-dev (1.54.0-4ubuntu3.1) ... | |
Selecting previously unselected package libboost-dev. | |
Preparing to unpack .../libboost-dev_1.54.0.1ubuntu1_amd64.deb ... | |
Unpacking libboost-dev (1.54.0.1ubuntu1) ... | |
Selecting previously unselected package libtcmalloc-minimal4. | |
Preparing to unpack .../libtcmalloc-minimal4_2.1-2ubuntu1_amd64.deb ... | |
Unpacking libtcmalloc-minimal4 (2.1-2ubuntu1) ... | |
Selecting previously unselected package libgoogle-perftools4. | |
Preparing to unpack .../libgoogle-perftools4_2.1-2ubuntu1_amd64.deb ... | |
Unpacking libgoogle-perftools4 (2.1-2ubuntu1) ... | |
Selecting previously unselected package libv8-3.14.5. | |
Preparing to unpack .../libv8-3.14.5_3.14.5.8-5ubuntu2_amd64.deb ... | |
Unpacking libv8-3.14.5 (3.14.5.8-5ubuntu2) ... | |
Selecting previously unselected package mongodb-dev. | |
Preparing to unpack .../mongodb-dev_1%3a2.4.9-1ubuntu2_amd64.deb ... | |
Unpacking mongodb-dev (1:2.4.9-1ubuntu2) ... | |
Selecting previously unselected package libsnappy1. | |
Preparing to unpack .../libsnappy1_1.1.0-1ubuntu1_amd64.deb ... | |
Unpacking libsnappy1 (1.1.0-1ubuntu1) ... | |
Selecting previously unselected package mongodb-clients. | |
Preparing to unpack .../mongodb-clients_1%3a2.4.9-1ubuntu2_amd64.deb ... | |
Unpacking mongodb-clients (1:2.4.9-1ubuntu2) ... | |
Selecting previously unselected package mongodb-server. | |
Preparing to unpack .../mongodb-server_1%3a2.4.9-1ubuntu2_amd64.deb ... | |
Unpacking mongodb-server (1:2.4.9-1ubuntu2) ... | |
Selecting previously unselected package mongodb. | |
Preparing to unpack .../mongodb_1%3a2.4.9-1ubuntu2_amd64.deb ... | |
Unpacking mongodb (1:2.4.9-1ubuntu2) ... | |
Processing triggers for man-db (2.6.7.1-1) ... | |
Processing triggers for ureadahead (0.100.0-16) ... | |
Setting up libboost-system1.54.0:amd64 (1.54.0-4ubuntu3.1) ... | |
Setting up libboost-filesystem1.54.0:amd64 (1.54.0-4ubuntu3.1) ... | |
Setting up libboost-program-options1.54.0:amd64 (1.54.0-4ubuntu3.1) ... | |
Setting up libboost-thread1.54.0:amd64 (1.54.0-4ubuntu3.1) ... | |
Setting up libpcrecpp0:amd64 (1:8.31-2ubuntu2) ... | |
Setting up libunwind8 (1.1-2.2ubuntu3) ... | |
Setting up libstdc++-4.8-dev:amd64 (4.8.2-19ubuntu1) ... | |
Setting up libboost1.54-dev (1.54.0-4ubuntu3.1) ... | |
Setting up libboost-dev (1.54.0.1ubuntu1) ... | |
Setting up libtcmalloc-minimal4 (2.1-2ubuntu1) ... | |
Setting up libgoogle-perftools4 (2.1-2ubuntu1) ... | |
Setting up libv8-3.14.5 (3.14.5.8-5ubuntu2) ... | |
Setting up mongodb-dev (1:2.4.9-1ubuntu2) ... | |
Setting up libsnappy1 (1.1.0-1ubuntu1) ... | |
Setting up mongodb-clients (1:2.4.9-1ubuntu2) ... | |
Setting up mongodb-server (1:2.4.9-1ubuntu2) ... | |
Adding system user `mongodb' (UID 107) ... | |
Adding new user `mongodb' (UID 107) with group `nogroup' ... | |
Not creating home directory `/home/mongodb'. | |
Adding group `mongodb' (GID 113) ... | |
Done. | |
Adding user `mongodb' to group `mongodb' ... | |
Adding user mongodb to group mongodb | |
Done. | |
mongodb start/running, process 13182 | |
Processing triggers for ureadahead (0.100.0-16) ... | |
Setting up mongodb (1:2.4.9-1ubuntu2) ... | |
Processing triggers for libc-bin (2.19-0ubuntu6.3) ... | |
2015-01-06 22:29:54,877 [salt.loaded.int.module.cmdmod][INFO ] Executing command "dpkg-query --showformat='${Status} ${Package} ${Version} ${Architecture}\n' -W" in directory '/h | |
ome/ubuntu' | |
2015-01-06 22:29:54,948 [salt.state ][INFO ] Installed Packages: | |
libboost-dev changed from absent to 1.54.0.1ubuntu1 | |
libpcrecpp0 changed from absent to 1:8.31-2ubuntu2 | |
mongodb changed from absent to 1:2.4.9-1ubuntu2 | |
libstdc++-dev changed from absent to 1 | |
libboost-thread1.54.0 changed from absent to 1.54.0-4ubuntu3.1 | |
libboost1.54-dev changed from absent to 1.54.0-4ubuntu3.1 | |
libtcmalloc-minimal4 changed from absent to 2.1-2ubuntu1 | |
libboost-program-options1.54.0 changed from absent to 1.54.0-4ubuntu3.1 | |
mongodb-dev changed from absent to 1:2.4.9-1ubuntu2 | |
mongodb-clients changed from absent to 1:2.4.9-1ubuntu2 | |
mongodb-server changed from absent to 1:2.4.9-1ubuntu2 | |
libgoogle-perftools4 changed from absent to 2.1-2ubuntu1 | |
libstdc++-4.8-dev changed from absent to 4.8.2-19ubuntu1 | |
libboost-system1.54.0 changed from absent to 1.54.0-4ubuntu3.1 | |
libv8-3.14.5 changed from absent to 3.14.5.8-5ubuntu2 | |
libsnappy1 changed from absent to 1.1.0-1ubuntu1 | |
libunwind8 changed from absent to 1.1-2.2ubuntu3 | |
libboost-filesystem1.54.0 changed from absent to 1.54.0-4ubuntu3.1 | |
2015-01-06 22:29:54,951 [salt.state ][DEBUG ] Refreshing modules... | |
2015-01-06 22:29:55,005 [salt.state ][INFO ] Loading fresh modules for state activity | |
2015-01-06 22:29:55,261 [salt.utils.event ][DEBUG ] SaltEvent PUB socket URI: ipc:///var/run/salt/minion/minion_event_306087ba6a_pub.ipc | |
2015-01-06 22:29:55,261 [salt.utils.event ][DEBUG ] SaltEvent PULL socket URI: ipc:///var/run/salt/minion/minion_event_306087ba6a_pull.ipc | |
2015-01-06 22:29:55,261 [salt.utils.event ][DEBUG ] Sending event - data = {'_stamp': '2015-01-06T22:29:55.261288'} | |
2015-01-06 22:30:00,287 [salt.state ][INFO ] Completed state [mongodb] at time 22:30:00.287028 | |
2015-01-06 22:30:00,288 [salt.state ][INFO ] Running state [mongodb] at time 22:30:00.288103 | |
2015-01-06 22:30:00,288 [salt.state ][INFO ] Executing state service.running for mongodb | |
2015-01-06 22:30:00,339 [salt.loaded.int.module.cmdmod][INFO ] Executing command 'service mongodb status' in directory '/home/ubuntu' | |
2015-01-06 22:30:00,926 [salt.loaded.int.module.cmdmod][DEBUG ] output: mongodb start/running, process 13182 | |
2015-01-06 22:30:00,938 [salt.state ][INFO ] Service mongodb is already enabled, and is in the desired state | |
2015-01-06 22:30:00,939 [salt.state ][INFO ] Completed state [mongodb] at time 22:30:00.938685 | |
2015-01-06 22:30:00,939 [salt.state ][INFO ] Running state [/tmp/mongo_data] at time 22:30:00.939341 | |
2015-01-06 22:30:00,940 [salt.state ][INFO ] Executing state file.recurse for /tmp/mongo_data | |
2015-01-06 22:30:07,266 [salt.fileclient ][DEBUG ] Fetching file from saltenv 'base', ** attempting ** 'salt://mongo/data/customer_reviews_1998.json.gz' | |
2015-01-06 22:30:08,884 [salt.fileclient ][INFO ] Fetching file from saltenv 'base', ** done ** 'mongo/data/customer_reviews_1998.json.gz' | |
2015-01-06 22:30:11,119 [salt.state ][INFO ] {'/tmp/mongo_data/customer_reviews_1998.json.gz': {'diff': 'New file', 'group': 'ubuntu', 'mode': '0644', 'user': 'ubuntu'}} | |
2015-01-06 22:30:11,120 [salt.state ][DEBUG ] Refreshing modules... | |
2015-01-06 22:30:11,226 [salt.state ][INFO ] Loading fresh modules for state activity | |
2015-01-06 22:30:11,472 [salt.utils.event ][DEBUG ] SaltEvent PUB socket URI: ipc:///var/run/salt/minion/minion_event_306087ba6a_pub.ipc | |
2015-01-06 22:30:11,731 [salt.utils.event ][DEBUG ] SaltEvent PULL socket URI: ipc:///var/run/salt/minion/minion_event_306087ba6a_pull.ipc | |
2015-01-06 22:30:11,732 [salt.utils.event ][DEBUG ] Sending event - data = {'_stamp': '2015-01-06T22:30:11.731624'} | |
2015-01-06 22:30:16,758 [salt.state ][INFO ] Completed state [/tmp/mongo_data] at time 22:30:16.757732 | |
2015-01-06 22:30:16,759 [salt.state ][INFO ] Running state [gzip -d customer_reviews_1998.json.gz] at time 22:30:16.758846 | |
2015-01-06 22:30:16,759 [salt.state ][INFO ] Executing state cmd.run for gzip -d customer_reviews_1998.json.gz | |
2015-01-06 22:30:22,061 [salt.loaded.int.module.cmdmod][INFO ] Executing command 'gzip -d customer_reviews_1998.json.gz' as user 'ubuntu' in directory '/tmp/mongo_data' | |
2015-01-06 22:30:36,617 [salt.state ][INFO ] {'pid': 13213, 'retcode': 0, 'stderr': '', 'stdout': ''} | |
2015-01-06 22:30:36,618 [salt.state ][INFO ] Completed state [gzip -d customer_reviews_1998.json.gz] at time 22:30:36.617615 | |
2015-01-06 22:30:36,620 [salt.state ][INFO ] Running state [mongoimport --db test --collection customer_reviews --type json --file customer_reviews_1998.json] at time 22:30:36.619720 | |
2015-01-06 22:30:36,621 [salt.state ][INFO ] Executing state cmd.run for mongoimport --db test --collection customer_reviews --type json --file customer_reviews_1998.json | |
2015-01-06 22:30:40,658 [salt.loaded.int.module.cmdmod][INFO ] Executing command 'mongoimport --db test --collection customer_reviews --type json --file customer_reviews_1998.json' as user 'ubuntu' in directory '/tmp/mongo_data' | |
2015-01-06 22:30:44,246 [salt.loaded.int.module.cmdmod][ERROR ] Command 'mongoimport --db test --collection customer_reviews --type json --file customer_reviews_1998.json' failed with return code: 255 | |
2015-01-06 22:30:44,247 [salt.loaded.int.module.cmdmod][ERROR ] stderr: couldn't connect to [127.0.0.1] couldn't connect to server 127.0.0.1:27017 | |
2015-01-06 22:30:44,248 [salt.loaded.int.module.cmdmod][ERROR ] retcode: 255 | |
2015-01-06 22:30:44,249 [salt.state ][ERROR ] {'pid': 13220, 'retcode': 255, 'stderr': "couldn't connect to [127.0.0.1] couldn't connect to server 127.0.0.1:27017", 'stdout': ''} | |
2015-01-06 22:30:44,249 [salt.state ][INFO ] Completed state [mongoimport --db test --collection customer_reviews --type json --file customer_reviews_1998.json] at time 22:30:44.249033 | |
2015-01-06 22:30:44,677 [salt.loader ][DEBUG ] LazyLoaded .returner |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment