-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpypuller.log
3853 lines (3841 loc) · 253 KB
/
pypuller.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Tue 07 Mar 2017 23:43:34 DEBUG pypuller.py 1087 6360 command line options read:
Tue 07 Mar 2017 23:43:34 DEBUG pypuller.py 1088 6360 debug = 1
Tue 07 Mar 2017 23:43:34 DEBUG pypuller.py 1089 6360 user = None
Tue 07 Mar 2017 23:43:34 DEBUG pypuller.py 1090 6360 password = None
Tue 07 Mar 2017 23:43:34 DEBUG pypuller.py 1091 6360 host_file = None
Tue 07 Mar 2017 23:43:34 DEBUG pypuller.py 1092 6360 cli_file = None
Tue 07 Mar 2017 23:43:34 DEBUG pypuller.py 1093 6360 log_dir = None
Tue 07 Mar 2017 23:43:34 DEBUG pypuller.py 1094 6360 host_list = []
Tue 07 Mar 2017 23:43:34 DEBUG pypuller.py 1095 6360 cli_list = []
Tue 07 Mar 2017 23:43:34 DEBUG pypuller.py 1096 6360 commit = False
Tue 07 Mar 2017 23:43:34 DEBUG pypuller.py 1199 6360 no yaml_file found or skipped by 'NONE'!
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1087 14528 command line options read:
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1088 14528 debug = 1
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1089 14528 user = 'root'
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1090 14528 password = 'Juniper'
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1091 14528 host_file = None
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1092 14528 cli_file = None
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1093 14528 log_dir = None
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1094 14528 host_list = []
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1095 14528 cli_list = []
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1096 14528 commit = False
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1199 14528 no yaml_file found or skipped by 'NONE'!
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1425 14528 create a Queue as tasks queue
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1427 14528 create a Queue as results queue
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1432 14528 create 0 workers
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1436 14528 start all 0 workers, 1s interval
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1456 14528 put 0 poison tasks
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 1461 14528 tasks.join
Tue 07 Mar 2017 23:43:47 INFO pypuller.py 1477 14528 hosts scan result saved to: ./host-lists.txt.result
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 454 14528 write to file ./host-lists.txt.result
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 454 14528 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 454 14528 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 454 14528 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:43:47 DEBUG pypuller.py 454 14528 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:43:47 WARNING pypuller.py 1489 14528 hosts scan result statistics:
{'connected': [], 'failed': [], 'scanned': []}
Tue 07 Mar 2017 23:43:47 INFO pypuller.py 1497 14528 ====Task MainProcess runs 0.11 seconds.
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1087 14616 command line options read:
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1088 14616 debug = 1
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1089 14616 user = 'root'
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1090 14616 password = 'Juniper'
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1091 14616 host_file = None
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1092 14616 cli_file = None
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1093 14616 log_dir = None
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1094 14616 host_list = []
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1095 14616 cli_list = []
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1096 14616 commit = False
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1199 14616 no yaml_file found or skipped by 'NONE'!
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1425 14616 create a Queue as tasks queue
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1427 14616 create a Queue as results queue
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1432 14616 create 0 workers
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1436 14616 start all 0 workers, 1s interval
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1456 14616 put 0 poison tasks
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 1461 14616 tasks.join
Tue 07 Mar 2017 23:44:01 INFO pypuller.py 1477 14616 hosts scan result saved to: ./host-lists.txt.result
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 454 14616 write to file ./host-lists.txt.result
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 454 14616 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 454 14616 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 454 14616 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:44:01 DEBUG pypuller.py 454 14616 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:44:01 WARNING pypuller.py 1489 14616 hosts scan result statistics:
{'connected': [], 'failed': [], 'scanned': []}
Tue 07 Mar 2017 23:44:01 INFO pypuller.py 1497 14616 ====Task MainProcess runs 0.07 seconds.
Tue 07 Mar 2017 23:45:21 DEBUG pypuller.py 1087 15044 command line options read:
Tue 07 Mar 2017 23:45:21 DEBUG pypuller.py 1088 15044 debug = 2
Tue 07 Mar 2017 23:45:21 DEBUG pypuller.py 1089 15044 user = 'root'
Tue 07 Mar 2017 23:45:21 DEBUG pypuller.py 1090 15044 password = 'Juniper'
Tue 07 Mar 2017 23:45:21 DEBUG pypuller.py 1091 15044 host_file = None
Tue 07 Mar 2017 23:45:21 DEBUG pypuller.py 1092 15044 cli_file = None
Tue 07 Mar 2017 23:45:21 DEBUG pypuller.py 1093 15044 log_dir = None
Tue 07 Mar 2017 23:45:21 DEBUG pypuller.py 1094 15044 host_list = []
Tue 07 Mar 2017 23:45:21 DEBUG pypuller.py 1095 15044 cli_list = []
Tue 07 Mar 2017 23:45:21 DEBUG pypuller.py 1096 15044 commit = False
Tue 07 Mar 2017 23:45:21 VERBOSE pypuller.py 1136 15044 host_list read from ./host-lists.txt:
[]
Tue 07 Mar 2017 23:45:21 VERBOSE pypuller.py 1138 15044 cli_list read from ./cli-lists.txt:
['uptime', 'df -h']
Tue 07 Mar 2017 23:45:21 DEBUG pypuller.py 1199 15044 no yaml_file found or skipped by 'NONE'!
Tue 07 Mar 2017 23:45:21 VERBOSE pypuller.py 1203 15044 cli_list after read from None:
['uptime', 'df -h']
Tue 07 Mar 2017 23:45:21 VERBOSE pypuller.py 1231 15044 final host_list:
[]
Tue 07 Mar 2017 23:45:21 VERBOSE pypuller.py 1233 15044 final cli_list:
['uptime', 'df -h']
Tue 07 Mar 2017 23:45:21 VERBOSE pypuller.py 1257 15044 after processing command line args options looks:
{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'cli_list': ['uptime', 'df -h'],
'commit': False,
'debug': 2,
'host_file': './host-lists.txt',
'host_list': [],
'iteration_max': 2,
'log_dir': '/home/pings/pypuller_logs',
'normalize': False,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'Juniper',
'port': 22,
'processes': 0,
'protocol': 'ssh',
're0': None,
're1': None,
'user': 'root',
'yaml_file': None}
Tue 07 Mar 2017 23:45:21 DEBUG pypuller.py 1425 15044 create a Queue as tasks queue
Tue 07 Mar 2017 23:45:22 DEBUG pypuller.py 1427 15044 create a Queue as results queue
Tue 07 Mar 2017 23:45:22 DEBUG pypuller.py 1432 15044 create 0 workers
Tue 07 Mar 2017 23:45:22 VERBOSE pypuller.py 1434 15044 list of workers looks []
Tue 07 Mar 2017 23:45:22 DEBUG pypuller.py 1436 15044 start all 0 workers, 1s interval
Tue 07 Mar 2017 23:45:22 DEBUG pypuller.py 1456 15044 put 0 poison tasks
Tue 07 Mar 2017 23:45:22 DEBUG pypuller.py 1461 15044 tasks.join
Tue 07 Mar 2017 23:45:22 INFO pypuller.py 1477 15044 hosts scan result saved to: ./host-lists.txt.result
Tue 07 Mar 2017 23:45:22 DEBUG pypuller.py 454 15044 write to file ./host-lists.txt.result
Tue 07 Mar 2017 23:45:22 DEBUG pypuller.py 454 15044 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:45:22 DEBUG pypuller.py 454 15044 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:45:22 DEBUG pypuller.py 454 15044 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:45:22 DEBUG pypuller.py 454 15044 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:45:22 WARNING pypuller.py 1489 15044 hosts scan result statistics:
{'connected': [], 'failed': [], 'scanned': []}
Tue 07 Mar 2017 23:45:22 INFO pypuller.py 1497 15044 ====Task MainProcess runs 0.08 seconds.
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1087 3736 command line options read:
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1088 3736 debug = 2
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1089 3736 user = 'root'
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1090 3736 password = 'Juniper'
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1091 3736 host_file = None
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1092 3736 cli_file = None
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1093 3736 log_dir = None
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1094 3736 host_list = []
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1095 3736 cli_list = []
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1096 3736 commit = False
Tue 07 Mar 2017 23:47:58 VERBOSE pypuller.py 1135 3736 host_list read from ./host-lists.txt:
['10.85.19.197', '10.85.19.198', '10.85.19.199']
Tue 07 Mar 2017 23:47:58 VERBOSE pypuller.py 1137 3736 cli_list read from ./cli-lists.txt:
['uptime', 'df -h']
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1198 3736 no yaml_file found or skipped by 'NONE'!
Tue 07 Mar 2017 23:47:58 VERBOSE pypuller.py 1202 3736 cli_list after read from None:
['uptime', 'df -h']
Tue 07 Mar 2017 23:47:58 VERBOSE pypuller.py 1230 3736 final host_list:
['10.85.19.197', '10.85.19.198', '10.85.19.199']
Tue 07 Mar 2017 23:47:58 VERBOSE pypuller.py 1232 3736 final cli_list:
['uptime', 'df -h']
Tue 07 Mar 2017 23:47:58 VERBOSE pypuller.py 1256 3736 after processing command line args options looks:
{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'cli_list': ['uptime', 'df -h'],
'commit': False,
'debug': 2,
'host_file': './host-lists.txt',
'host_list': ['10.85.19.197', '10.85.19.198', '10.85.19.199'],
'iteration_max': 2,
'log_dir': '/home/pings/pypuller_logs',
'normalize': False,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'Juniper',
'port': 22,
'processes': 3,
'protocol': 'ssh',
're0': None,
're1': None,
'user': 'root',
'yaml_file': None}
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1424 3736 create a Queue as tasks queue
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1426 3736 create a Queue as results queue
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1431 3736 create 3 workers
Tue 07 Mar 2017 23:47:58 VERBOSE pypuller.py 1264 3736 initiating a Worker...
Tue 07 Mar 2017 23:47:58 VERBOSE pypuller.py 1264 3736 initiating a Worker...
Tue 07 Mar 2017 23:47:58 VERBOSE pypuller.py 1264 3736 initiating a Worker...
Tue 07 Mar 2017 23:47:58 VERBOSE pypuller.py 1433 3736 list of workers looks [<Worker(Worker-1, initial)>,
<Worker(Worker-2, initial)>,
<Worker(Worker-3, initial)>]
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1435 3736 start all 3 workers, 1s interval
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1275 14300 Worker-1 get started (in "run")...
Tue 07 Mar 2017 23:47:58 INFO pypuller.py 1278 14300 ===>Process Worker-1 PID(14300) started...
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1282 14300 Worker-1 try to get a task...
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1275 15276 Worker-2 get started (in "run")...
Tue 07 Mar 2017 23:47:58 INFO pypuller.py 1278 15276 ===>Process Worker-2 PID(15276) started...
Tue 07 Mar 2017 23:47:58 DEBUG pypuller.py 1282 15276 Worker-2 try to get a task...
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1446 3736 get a host: 10.85.19.197, put in tasks queue...
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1315 3736 Task init: 10.85.19.197 ...
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1446 3736 get a host: 10.85.19.198, put in tasks queue...
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1315 3736 Task init: 10.85.19.198 ...
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1285 14300 Worker-1:got a (next) task:10.85.19.197 from tasks queue
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1446 3736 get a host: 10.85.19.199, put in tasks queue...
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1292 14300 Worker-1: object (Task) call to get it executed
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1315 3736 Task init: 10.85.19.199 ...
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1319 14300 task called to be executed:10.85.19.197 ...
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1285 15276 Worker-2:got a (next) task:10.85.19.198 from tasks queue
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1292 15276 Worker-2: object (Task) call to get it executed
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1319 15276 task called to be executed:10.85.19.198 ...
Tue 07 Mar 2017 23:47:59 VERBOSE pypuller.py 734 14300 10.85.19.197's final looks:
{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'cli_list': ['uptime', 'df -h'],
'commit': False,
'debug': 2,
'host_file': './host-lists.txt',
'host_list': ['10.85.19.197', '10.85.19.198', '10.85.19.199'],
'hostname': '10.85.19.197',
'iteration_max': 2,
'log_dir': '/home/pings/pypuller_logs',
'normalize': False,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'Juniper',
'port': 22,
'processes': 3,
'protocol': 'ssh',
're0': None,
're1': None,
'user': 'root',
'yaml_file': None}
Tue 07 Mar 2017 23:47:59 INFO pypuller.py 748 14300 connecting to 10.85.19.197 ...
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 749 14300 protocol looks ssh ...
Tue 07 Mar 2017 23:47:59 VERBOSE pypuller.py 758 14300 connecting via ssh
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 700 14300 attempting ssh to 10.85.19.197!
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1455 3736 put 3 poison tasks
Tue 07 Mar 2017 23:47:59 VERBOSE pypuller.py 734 15276 10.85.19.198's final looks:
{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'cli_list': ['uptime', 'df -h'],
'commit': False,
'debug': 2,
'host_file': './host-lists.txt',
'host_list': ['10.85.19.197', '10.85.19.198', '10.85.19.199'],
'hostname': '10.85.19.198',
'iteration_max': 2,
'log_dir': '/home/pings/pypuller_logs',
'normalize': False,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'Juniper',
'port': 22,
'processes': 3,
'protocol': 'ssh',
're0': None,
're1': None,
'user': 'root',
'yaml_file': None}
Tue 07 Mar 2017 23:47:59 INFO pypuller.py 748 15276 connecting to 10.85.19.198 ...
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 749 15276 protocol looks ssh ...
Tue 07 Mar 2017 23:47:59 VERBOSE pypuller.py 758 15276 connecting via ssh
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 700 15276 attempting ssh to 10.85.19.198!
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1275 12512 Worker-3 get started (in "run")...
Tue 07 Mar 2017 23:47:59 INFO pypuller.py 1278 12512 ===>Process Worker-3 PID(12512) started...
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1282 12512 Worker-3 try to get a task...
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1285 12512 Worker-3:got a (next) task:10.85.19.199 from tasks queue
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1292 12512 Worker-3: object (Task) call to get it executed
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1319 12512 task called to be executed:10.85.19.199 ...
Tue 07 Mar 2017 23:47:59 VERBOSE pypuller.py 734 12512 10.85.19.199's final looks:
{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'cli_list': ['uptime', 'df -h'],
'commit': False,
'debug': 2,
'host_file': './host-lists.txt',
'host_list': ['10.85.19.197', '10.85.19.198', '10.85.19.199'],
'hostname': '10.85.19.199',
'iteration_max': 2,
'log_dir': '/home/pings/pypuller_logs',
'normalize': False,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'Juniper',
'port': 22,
'processes': 3,
'protocol': 'ssh',
're0': None,
're1': None,
'user': 'root',
'yaml_file': None}
Tue 07 Mar 2017 23:47:59 INFO pypuller.py 748 12512 connecting to 10.85.19.199 ...
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 749 12512 protocol looks ssh ...
Tue 07 Mar 2017 23:47:59 VERBOSE pypuller.py 758 12512 connecting via ssh
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 700 12512 attempting ssh to 10.85.19.199!
Tue 07 Mar 2017 23:47:59 DEBUG pypuller.py 1460 3736 tasks.join
Tue 07 Mar 2017 23:48:00 VERBOSE pypuller.py 890 14300 log file full path looks:/home/pings/pypuller_logs/10.85.19.197
Tue 07 Mar 2017 23:48:00 INFO pypuller.py 821 14300 --->thread ""uptime"" started, PID(14300)...
Tue 07 Mar 2017 23:48:00 INFO pypuller.py 821 14300 --->thread ""df -h"" started, PID(14300)...
Tue 07 Mar 2017 23:48:00 VERBOSE pypuller.py 890 15276 log file full path looks:/home/pings/pypuller_logs/10.85.19.198
Tue 07 Mar 2017 23:48:00 VERBOSE pypuller.py 890 12512 log file full path looks:/home/pings/pypuller_logs/10.85.19.199
Tue 07 Mar 2017 23:48:00 INFO pypuller.py 821 12512 --->thread ""uptime"" started, PID(12512)...
Tue 07 Mar 2017 23:48:00 INFO pypuller.py 821 15276 --->thread ""uptime"" started, PID(15276)...
Tue 07 Mar 2017 23:48:00 INFO pypuller.py 821 12512 --->thread ""df -h"" started, PID(12512)...
Tue 07 Mar 2017 23:48:00 INFO pypuller.py 821 15276 --->thread ""df -h"" started, PID(15276)...
Tue 07 Mar 2017 23:48:00 VERBOSE pypuller.py 838 14300 output of cli 'uptime' looks:
20:48:01 up 13:01, 2 users, load average: 0.00, 0.01, 0.05
Tue 07 Mar 2017 23:48:00 DEBUG pypuller.py 454 14300 append to file /home/pings/pypuller_logs/10.85.19.197
Tue 07 Mar 2017 23:48:00 INFO pypuller.py 843 14300 <---thread "uptime" exited (0.59 sec).
Tue 07 Mar 2017 23:48:00 VERBOSE pypuller.py 838 15276 output of cli 'df -h' looks:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 87G 1.3G 81G 2% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 16G 4.0K 16G 1% /dev
tmpfs 3.2G 688K 3.2G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 16G 0 16G 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 236M 38M 186M 17% /boot
Tue 07 Mar 2017 23:48:00 DEBUG pypuller.py 454 15276 append to file /home/pings/pypuller_logs/10.85.19.198
Tue 07 Mar 2017 23:48:00 INFO pypuller.py 843 15276 <---thread "df -h" exited (0.59 sec).
Tue 07 Mar 2017 23:48:00 VERBOSE pypuller.py 838 12512 output of cli 'df -h' looks:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 87G 1.3G 81G 2% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 16G 4.0K 16G 1% /dev
tmpfs 3.2G 684K 3.2G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 16G 0 16G 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 236M 38M 186M 17% /boot
Tue 07 Mar 2017 23:48:00 VERBOSE pypuller.py 838 15276 output of cli 'uptime' looks:
20:48:01 up 12:59, 1 user, load average: 0.00, 0.01, 0.05
Tue 07 Mar 2017 23:48:00 DEBUG pypuller.py 454 15276 append to file /home/pings/pypuller_logs/10.85.19.198
Tue 07 Mar 2017 23:48:00 DEBUG pypuller.py 454 12512 append to file /home/pings/pypuller_logs/10.85.19.199
Tue 07 Mar 2017 23:48:00 INFO pypuller.py 843 15276 <---thread "uptime" exited (0.62 sec).
Tue 07 Mar 2017 23:48:00 INFO pypuller.py 843 12512 <---thread "df -h" exited (0.62 sec).
Tue 07 Mar 2017 23:48:00 VERBOSE pypuller.py 838 14300 output of cli 'df -h' looks:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 87G 3.8G 79G 5% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 16G 4.0K 16G 1% /dev
tmpfs 3.2G 700K 3.2G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 16G 0 16G 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 236M 38M 186M 17% /boot
Tue 07 Mar 2017 23:48:00 DEBUG pypuller.py 454 14300 append to file /home/pings/pypuller_logs/10.85.19.197
Tue 07 Mar 2017 23:48:01 INFO pypuller.py 843 14300 <---thread "df -h" exited (0.67 sec).
Tue 07 Mar 2017 23:48:01 VERBOSE pypuller.py 838 12512 output of cli 'uptime' looks:
20:48:01 up 13:00, 1 user, load average: 0.00, 0.01, 0.03
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 454 12512 append to file /home/pings/pypuller_logs/10.85.19.199
Tue 07 Mar 2017 23:48:01 INFO pypuller.py 843 12512 <---thread "uptime" exited (0.72 sec).
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 1282 15276 Worker-2 try to get a task...
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 1285 15276 Worker-2:got a (next) task:None from tasks queue
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 1288 15276 Worker-2: got a None task, Exiting
Tue 07 Mar 2017 23:48:01 INFO pypuller.py 1305 15276 <===Process Worker-2 exited (2.19 sec).
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 1282 14300 Worker-1 try to get a task...
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 1285 14300 Worker-1:got a (next) task:None from tasks queue
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 1288 14300 Worker-1: got a None task, Exiting
Tue 07 Mar 2017 23:48:01 INFO pypuller.py 1305 14300 <===Process Worker-1 exited (2.46 sec).
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 1282 12512 Worker-3 try to get a task...
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 1285 12512 Worker-3:got a (next) task:None from tasks queue
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 1288 12512 Worker-3: got a None task, Exiting
Tue 07 Mar 2017 23:48:01 INFO pypuller.py 1305 12512 <===Process Worker-3 exited (2.04 sec).
Tue 07 Mar 2017 23:48:01 INFO pypuller.py 1476 3736 hosts scan result saved to: ./host-lists.txt.result
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 454 3736 write to file ./host-lists.txt.result
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 454 3736 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 454 3736 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 454 3736 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:48:01 DEBUG pypuller.py 454 3736 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:48:01 WARNING pypuller.py 1488 3736 hosts scan result statistics:
{'connected': ['10.85.19.198', '10.85.19.197', '10.85.19.199'],
'failed': [],
'scanned': ['10.85.19.198', '10.85.19.197', '10.85.19.199']}
Tue 07 Mar 2017 23:48:01 INFO pypuller.py 1496 3736 ====Task MainProcess runs 2.86 seconds.
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1087 14360 command line options read:
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1088 14360 debug = 2
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1089 14360 user = 'root'
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1090 14360 password = 'Juniper'
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1091 14360 host_file = None
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1092 14360 cli_file = None
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1093 14360 log_dir = None
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1094 14360 host_list = []
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1095 14360 cli_list = []
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1096 14360 commit = False
Tue 07 Mar 2017 23:49:57 VERBOSE pypuller.py 1136 14360 host_list read from ./host-lists.txt:
[]
Tue 07 Mar 2017 23:49:57 VERBOSE pypuller.py 1138 14360 cli_list read from ./cli-lists.txt:
['uptime', 'df -h']
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1199 14360 no yaml_file found or skipped by 'NONE'!
Tue 07 Mar 2017 23:49:57 VERBOSE pypuller.py 1203 14360 cli_list after read from None:
['uptime', 'df -h']
Tue 07 Mar 2017 23:49:57 VERBOSE pypuller.py 1231 14360 final host_list:
[]
Tue 07 Mar 2017 23:49:57 VERBOSE pypuller.py 1233 14360 final cli_list:
['uptime', 'df -h']
Tue 07 Mar 2017 23:49:57 VERBOSE pypuller.py 1257 14360 after processing command line args options looks:
{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'cli_list': ['uptime', 'df -h'],
'commit': False,
'debug': 2,
'host_file': './host-lists.txt',
'host_list': [],
'iteration_max': 2,
'log_dir': '/home/pings/pypuller_logs',
'normalize': False,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'Juniper',
'port': 22,
'processes': 0,
'protocol': 'ssh',
're0': None,
're1': None,
'user': 'root',
'yaml_file': None}
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1425 14360 create a Queue as tasks queue
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1427 14360 create a Queue as results queue
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1432 14360 create 0 workers
Tue 07 Mar 2017 23:49:57 VERBOSE pypuller.py 1434 14360 list of workers looks []
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1436 14360 start all 0 workers, 1s interval
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1456 14360 put 0 poison tasks
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 1461 14360 tasks.join
Tue 07 Mar 2017 23:49:57 INFO pypuller.py 1477 14360 hosts scan result saved to: ./host-lists.txt.result
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 454 14360 write to file ./host-lists.txt.result
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 454 14360 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 454 14360 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 454 14360 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:49:57 DEBUG pypuller.py 454 14360 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:49:57 WARNING pypuller.py 1489 14360 hosts scan result statistics:
{'connected': [], 'failed': [], 'scanned': []}
Tue 07 Mar 2017 23:49:57 INFO pypuller.py 1497 14360 ====Task MainProcess runs 0.09 seconds.
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1087 11224 command line options read:
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1088 11224 debug = 2
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1089 11224 user = 'root'
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1090 11224 password = 'Juniper'
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1091 11224 host_file = None
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1092 11224 cli_file = None
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1093 11224 log_dir = None
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1094 11224 host_list = []
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1095 11224 cli_list = []
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1096 11224 commit = False
Tue 07 Mar 2017 23:50:20 VERBOSE pypuller.py 1136 11224 host_list read from ./host-lists.txt:
[]
Tue 07 Mar 2017 23:50:20 VERBOSE pypuller.py 1138 11224 cli_list read from ./cli-lists.txt:
['uptime', 'df -h']
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1199 11224 no yaml_file found or skipped by 'NONE'!
Tue 07 Mar 2017 23:50:20 VERBOSE pypuller.py 1203 11224 cli_list after read from None:
['uptime', 'df -h']
Tue 07 Mar 2017 23:50:20 VERBOSE pypuller.py 1231 11224 final host_list:
[]
Tue 07 Mar 2017 23:50:20 VERBOSE pypuller.py 1233 11224 final cli_list:
['uptime', 'df -h']
Tue 07 Mar 2017 23:50:20 VERBOSE pypuller.py 1257 11224 after processing command line args options looks:
{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'cli_list': ['uptime', 'df -h'],
'commit': False,
'debug': 2,
'host_file': './host-lists.txt',
'host_list': [],
'iteration_max': 2,
'log_dir': '/home/pings/pypuller_logs',
'normalize': False,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'Juniper',
'port': 22,
'processes': 0,
'protocol': 'ssh',
're0': None,
're1': None,
'user': 'root',
'yaml_file': None}
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1425 11224 create a Queue as tasks queue
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1427 11224 create a Queue as results queue
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1432 11224 create 0 workers
Tue 07 Mar 2017 23:50:20 VERBOSE pypuller.py 1434 11224 list of workers looks []
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1436 11224 start all 0 workers, 1s interval
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1456 11224 put 0 poison tasks
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 1461 11224 tasks.join
Tue 07 Mar 2017 23:50:20 INFO pypuller.py 1477 11224 hosts scan result saved to: ./host-lists.txt.result
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 454 11224 write to file ./host-lists.txt.result
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 454 11224 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 454 11224 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 454 11224 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:50:20 DEBUG pypuller.py 454 11224 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:50:20 WARNING pypuller.py 1489 11224 hosts scan result statistics:
{'connected': [], 'failed': [], 'scanned': []}
Tue 07 Mar 2017 23:50:20 INFO pypuller.py 1497 11224 ====Task MainProcess runs 0.10 seconds.
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1087 12324 command line options read:
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1088 12324 debug = 2
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1089 12324 user = 'root'
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1090 12324 password = 'Juniper'
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1091 12324 host_file = None
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1092 12324 cli_file = None
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1093 12324 log_dir = None
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1094 12324 host_list = []
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1095 12324 cli_list = []
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1096 12324 commit = False
Tue 07 Mar 2017 23:52:31 VERBOSE pypuller.py 1136 12324 host_list read from ./host-lists.txt:
['10.85.19.197', '10.85.19.198', '10.85.19.199']
Tue 07 Mar 2017 23:52:31 VERBOSE pypuller.py 1138 12324 cli_list read from ./cli-lists.txt:
['uptime', 'df -h']
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1199 12324 no yaml_file found or skipped by 'NONE'!
Tue 07 Mar 2017 23:52:31 VERBOSE pypuller.py 1203 12324 cli_list after read from None:
['uptime', 'df -h']
Tue 07 Mar 2017 23:52:31 VERBOSE pypuller.py 1231 12324 final host_list:
['10.85.19.197', '10.85.19.198', '10.85.19.199']
Tue 07 Mar 2017 23:52:31 VERBOSE pypuller.py 1233 12324 final cli_list:
['uptime', 'df -h']
Tue 07 Mar 2017 23:52:31 VERBOSE pypuller.py 1257 12324 after processing command line args options looks:
{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'cli_list': ['uptime', 'df -h'],
'commit': False,
'debug': 2,
'host_file': './host-lists.txt',
'host_list': ['10.85.19.197', '10.85.19.198', '10.85.19.199'],
'iteration_max': 2,
'log_dir': '/home/pings/pypuller_logs',
'normalize': False,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'Juniper',
'port': 22,
'processes': 3,
'protocol': 'ssh',
're0': None,
're1': None,
'user': 'root',
'yaml_file': None}
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1425 12324 create a Queue as tasks queue
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1427 12324 create a Queue as results queue
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1432 12324 create 3 workers
Tue 07 Mar 2017 23:52:31 VERBOSE pypuller.py 1265 12324 initiating a Worker...
Tue 07 Mar 2017 23:52:31 VERBOSE pypuller.py 1265 12324 initiating a Worker...
Tue 07 Mar 2017 23:52:31 VERBOSE pypuller.py 1265 12324 initiating a Worker...
Tue 07 Mar 2017 23:52:31 VERBOSE pypuller.py 1434 12324 list of workers looks [<Worker(Worker-1, initial)>,
<Worker(Worker-2, initial)>,
<Worker(Worker-3, initial)>]
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1436 12324 start all 3 workers, 1s interval
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1276 11420 Worker-1 get started (in "run")...
Tue 07 Mar 2017 23:52:31 INFO pypuller.py 1279 11420 ===>Process Worker-1 PID(11420) started...
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1283 11420 Worker-1 try to get a task...
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1276 12756 Worker-2 get started (in "run")...
Tue 07 Mar 2017 23:52:31 INFO pypuller.py 1279 12756 ===>Process Worker-2 PID(12756) started...
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1283 12756 Worker-2 try to get a task...
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1447 12324 get a host: 10.85.19.197, put in tasks queue...
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1316 12324 Task init: 10.85.19.197 ...
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1447 12324 get a host: 10.85.19.198, put in tasks queue...
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1286 11420 Worker-1:got a (next) task:10.85.19.197 from tasks queue
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1316 12324 Task init: 10.85.19.198 ...
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1293 11420 Worker-1: object (Task) call to get it executed
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1320 11420 task called to be executed:10.85.19.197 ...
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1286 12756 Worker-2:got a (next) task:10.85.19.198 from tasks queue
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1293 12756 Worker-2: object (Task) call to get it executed
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 1320 12756 task called to be executed:10.85.19.198 ...
Tue 07 Mar 2017 23:52:31 VERBOSE pypuller.py 734 11420 10.85.19.197's final looks:
{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'cli_list': ['uptime', 'df -h'],
'commit': False,
'debug': 2,
'host_file': './host-lists.txt',
'host_list': ['10.85.19.197', '10.85.19.198', '10.85.19.199'],
'hostname': '10.85.19.197',
'iteration_max': 2,
'log_dir': '/home/pings/pypuller_logs',
'normalize': False,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'Juniper',
'port': 22,
'processes': 3,
'protocol': 'ssh',
're0': None,
're1': None,
'user': 'root',
'yaml_file': None}
Tue 07 Mar 2017 23:52:31 INFO pypuller.py 748 11420 connecting to 10.85.19.197 ...
Tue 07 Mar 2017 23:52:31 VERBOSE pypuller.py 734 12756 10.85.19.198's final looks:
{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'cli_list': ['uptime', 'df -h'],
'commit': False,
'debug': 2,
'host_file': './host-lists.txt',
'host_list': ['10.85.19.197', '10.85.19.198', '10.85.19.199'],
'hostname': '10.85.19.198',
'iteration_max': 2,
'log_dir': '/home/pings/pypuller_logs',
'normalize': False,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'Juniper',
'port': 22,
'processes': 3,
'protocol': 'ssh',
're0': None,
're1': None,
'user': 'root',
'yaml_file': None}
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 749 11420 protocol looks ssh ...
Tue 07 Mar 2017 23:52:31 INFO pypuller.py 748 12756 connecting to 10.85.19.198 ...
Tue 07 Mar 2017 23:52:31 VERBOSE pypuller.py 758 11420 connecting via ssh
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 749 12756 protocol looks ssh ...
Tue 07 Mar 2017 23:52:31 VERBOSE pypuller.py 758 12756 connecting via ssh
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 700 11420 attempting ssh to 10.85.19.197!
Tue 07 Mar 2017 23:52:31 DEBUG pypuller.py 700 12756 attempting ssh to 10.85.19.198!
Tue 07 Mar 2017 23:52:32 DEBUG pypuller.py 1447 12324 get a host: 10.85.19.199, put in tasks queue...
Tue 07 Mar 2017 23:52:32 DEBUG pypuller.py 1316 12324 Task init: 10.85.19.199 ...
Tue 07 Mar 2017 23:52:32 DEBUG pypuller.py 1456 12324 put 3 poison tasks
Tue 07 Mar 2017 23:52:32 DEBUG pypuller.py 1461 12324 tasks.join
Tue 07 Mar 2017 23:52:32 DEBUG pypuller.py 1276 13608 Worker-3 get started (in "run")...
Tue 07 Mar 2017 23:52:32 INFO pypuller.py 1279 13608 ===>Process Worker-3 PID(13608) started...
Tue 07 Mar 2017 23:52:32 DEBUG pypuller.py 1283 13608 Worker-3 try to get a task...
Tue 07 Mar 2017 23:52:32 DEBUG pypuller.py 1286 13608 Worker-3:got a (next) task:10.85.19.199 from tasks queue
Tue 07 Mar 2017 23:52:32 DEBUG pypuller.py 1293 13608 Worker-3: object (Task) call to get it executed
Tue 07 Mar 2017 23:52:32 DEBUG pypuller.py 1320 13608 task called to be executed:10.85.19.199 ...
Tue 07 Mar 2017 23:52:32 VERBOSE pypuller.py 734 13608 10.85.19.199's final looks:
{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'cli_list': ['uptime', 'df -h'],
'commit': False,
'debug': 2,
'host_file': './host-lists.txt',
'host_list': ['10.85.19.197', '10.85.19.198', '10.85.19.199'],
'hostname': '10.85.19.199',
'iteration_max': 2,
'log_dir': '/home/pings/pypuller_logs',
'normalize': False,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'Juniper',
'port': 22,
'processes': 3,
'protocol': 'ssh',
're0': None,
're1': None,
'user': 'root',
'yaml_file': None}
Tue 07 Mar 2017 23:52:32 INFO pypuller.py 748 13608 connecting to 10.85.19.199 ...
Tue 07 Mar 2017 23:52:32 DEBUG pypuller.py 749 13608 protocol looks ssh ...
Tue 07 Mar 2017 23:52:32 VERBOSE pypuller.py 758 13608 connecting via ssh
Tue 07 Mar 2017 23:52:32 DEBUG pypuller.py 700 13608 attempting ssh to 10.85.19.199!
Tue 07 Mar 2017 23:52:33 VERBOSE pypuller.py 890 12756 log file full path looks:/home/pings/pypuller_logs/10.85.19.198
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 821 12756 --->thread ""uptime"" started, PID(12756)...
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 821 12756 --->thread ""df -h"" started, PID(12756)...
Tue 07 Mar 2017 23:52:33 VERBOSE pypuller.py 890 11420 log file full path looks:/home/pings/pypuller_logs/10.85.19.197
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 821 11420 --->thread ""uptime"" started, PID(11420)...
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 821 11420 --->thread ""df -h"" started, PID(11420)...
Tue 07 Mar 2017 23:52:33 VERBOSE pypuller.py 890 13608 log file full path looks:/home/pings/pypuller_logs/10.85.19.199
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 821 13608 --->thread ""uptime"" started, PID(13608)...
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 821 13608 --->thread ""df -h"" started, PID(13608)...
Tue 07 Mar 2017 23:52:33 VERBOSE pypuller.py 838 12756 output of cli 'uptime' looks:
20:52:34 up 13:04, 1 user, load average: 0.00, 0.01, 0.05
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 454 12756 append to file /home/pings/pypuller_logs/10.85.19.198
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 843 12756 <---thread "uptime" exited (0.42 sec).
Tue 07 Mar 2017 23:52:33 VERBOSE pypuller.py 838 11420 output of cli 'uptime' looks:
20:52:34 up 13:05, 2 users, load average: 0.00, 0.01, 0.05
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 454 11420 append to file /home/pings/pypuller_logs/10.85.19.197
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 843 11420 <---thread "uptime" exited (0.48 sec).
Tue 07 Mar 2017 23:52:33 VERBOSE pypuller.py 838 13608 output of cli 'uptime' looks:
20:52:34 up 13:05, 1 user, load average: 0.00, 0.01, 0.03
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 454 13608 append to file /home/pings/pypuller_logs/10.85.19.199
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 843 13608 <---thread "uptime" exited (0.49 sec).
Tue 07 Mar 2017 23:52:33 VERBOSE pypuller.py 838 12756 output of cli 'df -h' looks:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 87G 1.3G 81G 2% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 16G 4.0K 16G 1% /dev
tmpfs 3.2G 688K 3.2G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 16G 0 16G 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 236M 38M 186M 17% /boot
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 454 12756 append to file /home/pings/pypuller_logs/10.85.19.198
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 843 12756 <---thread "df -h" exited (0.51 sec).
Tue 07 Mar 2017 23:52:33 VERBOSE pypuller.py 838 11420 output of cli 'df -h' looks:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 87G 3.8G 79G 5% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 16G 4.0K 16G 1% /dev
tmpfs 3.2G 700K 3.2G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 16G 0 16G 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 236M 38M 186M 17% /boot
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 454 11420 append to file /home/pings/pypuller_logs/10.85.19.197
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 843 11420 <---thread "df -h" exited (0.58 sec).
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 1283 11420 Worker-1 try to get a task...
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 1286 11420 Worker-1:got a (next) task:None from tasks queue
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 1289 11420 Worker-1: got a None task, Exiting
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 1306 11420 <===Process Worker-1 exited (2.01 sec).
Tue 07 Mar 2017 23:52:33 VERBOSE pypuller.py 838 13608 output of cli 'df -h' looks:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 87G 1.3G 81G 2% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 16G 4.0K 16G 1% /dev
tmpfs 3.2G 684K 3.2G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 16G 0 16G 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 236M 38M 186M 17% /boot
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 454 13608 append to file /home/pings/pypuller_logs/10.85.19.199
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 843 13608 <---thread "df -h" exited (0.59 sec).
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 1283 13608 Worker-3 try to get a task...
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 1286 13608 Worker-3:got a (next) task:None from tasks queue
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 1289 13608 Worker-3: got a None task, Exiting
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 1306 13608 <===Process Worker-3 exited (1.74 sec).
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 1283 12756 Worker-2 try to get a task...
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 1286 12756 Worker-2:got a (next) task:None from tasks queue
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 1289 12756 Worker-2: got a None task, Exiting
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 1306 12756 <===Process Worker-2 exited (1.92 sec).
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 1477 12324 hosts scan result saved to: ./host-lists.txt.result
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 454 12324 write to file ./host-lists.txt.result
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 454 12324 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 454 12324 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 454 12324 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:52:33 DEBUG pypuller.py 454 12324 append to file ./host-lists.txt.result
Tue 07 Mar 2017 23:52:33 WARNING pypuller.py 1489 12324 hosts scan result statistics:
{'connected': ['10.85.19.197', '10.85.19.199', '10.85.19.198'],
'failed': [],
'scanned': ['10.85.19.197', '10.85.19.199', '10.85.19.198']}
Tue 07 Mar 2017 23:52:33 INFO pypuller.py 1497 12324 ====Task MainProcess runs 2.30 seconds.
Tue 18 Apr 2017 14:45:50 INFO pypuller 1294 22916 ===>Process Worker-1 PID(22916) started...
Tue 18 Apr 2017 14:45:50 INFO pypuller 1294 4344 ===>Process Worker-2 PID(4344) started...
Tue 18 Apr 2017 14:45:50 INFO pypuller 1294 9528 ===>Process Worker-3 PID(9528) started...
Tue 18 Apr 2017 14:45:50 INFO pypuller 1294 16700 ===>Process Worker-4 PID(16700) started...
Tue 18 Apr 2017 14:45:50 INFO pypuller 1294 15964 ===>Process Worker-5 PID(15964) started...
Tue 18 Apr 2017 14:45:50 INFO pypuller 1294 12524 ===>Process Worker-6 PID(12524) started...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1099 10776 command line options read:
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1100 10776 debug = 1
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1101 10776 user = None
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1102 10776 password = None
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1103 10776 host_file = None
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1104 10776 cli_file = None
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1105 10776 log_dir = None
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1106 10776 host_list = []
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1107 10776 cli_list = []
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1108 10776 commit = False
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1166 10776 yaml_file ./pypuller.yaml found!
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1440 10776 create a Queue as tasks queue
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1442 10776 create a Queue as results queue
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1447 10776 create 6 workers
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1451 10776 start all 6 workers, 1s interval
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1291 18872 Worker-1 get started (in "run")...
Tue 18 Apr 2017 14:46:39 INFO pypuller 1294 18872 ===>Process Worker-1 PID(18872) started...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1298 18872 Worker-1 try to get a task...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1291 20676 Worker-2 get started (in "run")...
Tue 18 Apr 2017 14:46:39 INFO pypuller 1294 20676 ===>Process Worker-2 PID(20676) started...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1298 20676 Worker-2 try to get a task...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1291 1404 Worker-3 get started (in "run")...
Tue 18 Apr 2017 14:46:39 INFO pypuller 1294 1404 ===>Process Worker-3 PID(1404) started...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1298 1404 Worker-3 try to get a task...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1291 20444 Worker-4 get started (in "run")...
Tue 18 Apr 2017 14:46:39 INFO pypuller 1294 20444 ===>Process Worker-4 PID(20444) started...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1298 20444 Worker-4 try to get a task...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1291 17196 Worker-5 get started (in "run")...
Tue 18 Apr 2017 14:46:39 INFO pypuller 1294 17196 ===>Process Worker-5 PID(17196) started...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1298 17196 Worker-5 try to get a task...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1462 10776 get a host: Router2, put in tasks queue...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1331 10776 Task init: Router2 ...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1462 10776 get a host: server1, put in tasks queue...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1301 18872 Worker-1:got a (next) task:Router2 from tasks queue
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1331 10776 Task init: server1 ...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1308 18872 Worker-1: object (Task) call to get it executed
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1462 10776 get a host: Router1, put in tasks queue...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1335 18872 task called to be executed:Router2 ...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1331 10776 Task init: Router1 ...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1462 10776 get a host: 172.19.161.123, put in tasks queue...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1331 10776 Task init: 172.19.161.123 ...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1462 10776 get a host: 172.19.164.5, put in tasks queue...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1331 10776 Task init: 172.19.164.5 ...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1462 10776 get a host: matrix-re0.ultralab.juniper.net, put in tasks queue...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1331 10776 Task init: matrix-re0.ultralab.juniper.net ...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1471 10776 put 6 poison tasks
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1476 10776 tasks.join
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1301 20676 Worker-2:got a (next) task:server1 from tasks queue
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1301 1404 Worker-3:got a (next) task:Router1 from tasks queue
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1308 1404 Worker-3: object (Task) call to get it executed
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1301 20444 Worker-4:got a (next) task:172.19.161.123 from tasks queue
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1335 1404 task called to be executed:Router1 ...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1308 20444 Worker-4: object (Task) call to get it executed
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1335 20444 task called to be executed:172.19.161.123 ...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1308 20676 Worker-2: object (Task) call to get it executed
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1335 20676 task called to be executed:server1 ...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1301 17196 Worker-5:got a (next) task:172.19.164.5 from tasks queue
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1308 17196 Worker-5: object (Task) call to get it executed
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1335 17196 task called to be executed:172.19.164.5 ...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1291 22472 Worker-6 get started (in "run")...
Tue 18 Apr 2017 14:46:39 INFO pypuller 1294 22472 ===>Process Worker-6 PID(22472) started...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1298 22472 Worker-6 try to get a task...
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1301 22472 Worker-6:got a (next) task:matrix-re0.ultralab.juniper.net from tasks queue
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1308 22472 Worker-6: object (Task) call to get it executed
Tue 18 Apr 2017 14:46:39 DEBUG pypuller 1335 22472 task called to be executed:matrix-re0.ultralab.juniper.net ...
Tue 18 Apr 2017 14:47:10 DEBUG pypuller 1099 19744 command line options read:
Tue 18 Apr 2017 14:47:10 DEBUG pypuller 1100 19744 debug = 2
Tue 18 Apr 2017 14:47:10 DEBUG pypuller 1101 19744 user = None
Tue 18 Apr 2017 14:47:10 DEBUG pypuller 1102 19744 password = None
Tue 18 Apr 2017 14:47:10 DEBUG pypuller 1103 19744 host_file = None
Tue 18 Apr 2017 14:47:10 DEBUG pypuller 1104 19744 cli_file = None
Tue 18 Apr 2017 14:47:10 DEBUG pypuller 1105 19744 log_dir = None
Tue 18 Apr 2017 14:47:10 DEBUG pypuller 1106 19744 host_list = []
Tue 18 Apr 2017 14:47:10 DEBUG pypuller 1107 19744 cli_list = []
Tue 18 Apr 2017 14:47:10 DEBUG pypuller 1108 19744 commit = False
Tue 18 Apr 2017 14:47:10 VERBOSE pypuller 1154 19744 host_list read from ./host-lists.txt:
['matrix-re0.ultralab.juniper.net',
'mango-re0.ultralab.juniper.net',
'bombay-re1.ultralab.juniper.net']
Tue 18 Apr 2017 14:47:10 VERBOSE pypuller 1156 19744 cli_list read from ./cli-lists.txt:
['# Junos commands',
'show version',
'show chassis hardware',
'show chassis fpc pic-status',
'# linux command',
'## uptime',
'## df -h']
Tue 18 Apr 2017 14:47:10 DEBUG pypuller 1166 19744 yaml_file ./pypuller.yaml found!
Tue 18 Apr 2017 14:47:10 VERBOSE pypuller 1173 19744 the yaml data looks:
[{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'commit': False,
'iteration_max': 2,
'log_dir': '~/pypuller_logs',
'normalize': True,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'lab123',
'protocol': 'netconf',
'router_file': './router-lists.txt',
'user': 'labroot'},
{'Router1': [{'access': {'passwd': 'lab123',
'port': 830,
'protocol': 'netconf',
'su': 'Juniper1',
'user': 'labroot'},
'hostname': '172.19.161.123',
're0': '172.19.161.124',
're1': '172.19.161.125'},
{'clies': ['show version', 'show interface terse lo0']}],
'Router2': [{'access': {'passwd': 356669,
'su': 'Juniper1',
'user': 923768},
'hostname': '172.19.164.5',
're0': '172.19.164.6',
're1': '172.19.164.7'},
{'clies': ['show chassis hardware',
'show system core',
'show system uptime']}],
'clies': ['show chassis hardware',
'show system core',
'show system uptime'],
'hosts': ['172.19.161.123',
'172.19.164.5',
'matrix-re0.ultralab.juniper.net'],
'server1': [{'access': {'passwd': 'ping1234', 'user': 'ping'},
'hostname': '10.85.4.54'},
{'clies': ['ifconfig', 'uptime']}]}]
Tue 18 Apr 2017 14:47:10 VERBOSE pypuller 1178 19744 parameters defined in y0 looks:
{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'commit': False,
'iteration_max': 2,
'log_dir': '~/pypuller_logs',
'normalize': True,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'lab123',
'protocol': 'netconf',
'router_file': './router-lists.txt',
'user': 'labroot'}
Tue 18 Apr 2017 14:47:10 VERBOSE pypuller 1182 19744 options looks after reading from 1st yaml doc:
{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'cli_list': ['# Junos commands',
'show version',
'show chassis hardware',
'show chassis fpc pic-status',
'# linux command',
'## uptime',
'## df -h'],
'commit': False,
'debug': 2,
'force_hfile': False,
'host_file': './host-lists.txt',
'host_list': ['matrix-re0.ultralab.juniper.net',
'mango-re0.ultralab.juniper.net',
'bombay-re1.ultralab.juniper.net'],
'iteration_max': 2,
'log_dir': '~/pypuller_logs',
'normalize': True,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'lab123',
'port': 22,
'processes': 12,
'protocol': 'netconf',
're0': None,
're1': None,
'result': False,
'router_file': './router-lists.txt',
'user': 'labroot',
'yaml_file': './pypuller.yaml'}
Tue 18 Apr 2017 14:47:10 VERBOSE pypuller 1209 19744 host_list after read from ./pypuller.yaml:
['Router2',
'server1',
'Router1',
'172.19.161.123',
'172.19.164.5',
'matrix-re0.ultralab.juniper.net']
Tue 18 Apr 2017 14:47:10 VERBOSE pypuller 1218 19744 cli_list after read from ./pypuller.yaml:
['show chassis hardware', 'show system core', 'show system uptime']
Tue 18 Apr 2017 14:47:10 VERBOSE pypuller 1246 19744 final host_list:
['Router2',
'server1',
'Router1',
'172.19.161.123',
'172.19.164.5',
'matrix-re0.ultralab.juniper.net']
Tue 18 Apr 2017 14:47:10 VERBOSE pypuller 1248 19744 final cli_list:
['show chassis hardware', 'show system core', 'show system uptime']
Tue 18 Apr 2017 14:47:10 VERBOSE pypuller 1272 19744 after processing command line args options looks:
{'attempt_max': 2,
'cli_file': './cli-lists.txt',
'cli_list': ['show chassis hardware',
'show system core',
'show system uptime'],
'commit': False,
'debug': 2,
'force_hfile': False,
'host': {'Router1': [{'access': {'passwd': 'lab123',
'port': 830,
'protocol': 'netconf',
'su': 'Juniper1',
'user': 'labroot'},
'hostname': '172.19.161.123',
're0': '172.19.161.124',
're1': '172.19.161.125'},
{'clies': ['show version',
'show interface terse lo0']}],
'Router2': [{'access': {'passwd': 356669,
'su': 'Juniper1',
'user': 923768},
'hostname': '172.19.164.5',
're0': '172.19.164.6',
're1': '172.19.164.7'},
{'clies': ['show chassis hardware',
'show system core',
'show system uptime']}],
'server1': [{'access': {'passwd': 'ping1234', 'user': 'ping'},
'hostname': '10.85.4.54'},
{'clies': ['ifconfig', 'uptime']}]},
'host_file': './host-lists.txt',
'host_list': ['Router2',
'server1',
'Router1',
'172.19.161.123',
'172.19.164.5',
'matrix-re0.ultralab.juniper.net'],
'iteration_max': 2,
'log_dir': '~/pypuller_logs',
'normalize': True,
'package': '/var/tmp/junos-install-mx-x86-64-15.1F2-S13.tgz',
'password': 'lab123',
'port': 22,
'processes': 6,
'protocol': 'netconf',
're0': None,
're1': None,
'result': False,
'router_file': './router-lists.txt',
'user': 'labroot',
'yaml_file': './pypuller.yaml'}
Tue 18 Apr 2017 14:47:10 DEBUG pypuller 1440 19744 create a Queue as tasks queue
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1442 19744 create a Queue as results queue
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1447 19744 create 6 workers
Tue 18 Apr 2017 14:47:11 VERBOSE pypuller 1280 19744 initiating a Worker...
Tue 18 Apr 2017 14:47:11 VERBOSE pypuller 1280 19744 initiating a Worker...
Tue 18 Apr 2017 14:47:11 VERBOSE pypuller 1280 19744 initiating a Worker...
Tue 18 Apr 2017 14:47:11 VERBOSE pypuller 1280 19744 initiating a Worker...
Tue 18 Apr 2017 14:47:11 VERBOSE pypuller 1280 19744 initiating a Worker...
Tue 18 Apr 2017 14:47:11 VERBOSE pypuller 1280 19744 initiating a Worker...
Tue 18 Apr 2017 14:47:11 VERBOSE pypuller 1449 19744 list of workers looks [<Worker(Worker-1, initial)>,
<Worker(Worker-2, initial)>,
<Worker(Worker-3, initial)>,
<Worker(Worker-4, initial)>,
<Worker(Worker-5, initial)>,
<Worker(Worker-6, initial)>]
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1451 19744 start all 6 workers, 1s interval
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1291 21764 Worker-1 get started (in "run")...
Tue 18 Apr 2017 14:47:11 INFO pypuller 1294 21764 ===>Process Worker-1 PID(21764) started...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1298 21764 Worker-1 try to get a task...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1291 8516 Worker-2 get started (in "run")...
Tue 18 Apr 2017 14:47:11 INFO pypuller 1294 8516 ===>Process Worker-2 PID(8516) started...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1298 8516 Worker-2 try to get a task...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1291 11552 Worker-3 get started (in "run")...
Tue 18 Apr 2017 14:47:11 INFO pypuller 1294 11552 ===>Process Worker-3 PID(11552) started...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1298 11552 Worker-3 try to get a task...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1291 1772 Worker-4 get started (in "run")...
Tue 18 Apr 2017 14:47:11 INFO pypuller 1294 1772 ===>Process Worker-4 PID(1772) started...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1298 1772 Worker-4 try to get a task...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1291 12980 Worker-5 get started (in "run")...
Tue 18 Apr 2017 14:47:11 INFO pypuller 1294 12980 ===>Process Worker-5 PID(12980) started...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1298 12980 Worker-5 try to get a task...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1462 19744 get a host: Router2, put in tasks queue...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1331 19744 Task init: Router2 ...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1462 19744 get a host: server1, put in tasks queue...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1331 19744 Task init: server1 ...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1462 19744 get a host: Router1, put in tasks queue...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1331 19744 Task init: Router1 ...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1462 19744 get a host: 172.19.161.123, put in tasks queue...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1301 21764 Worker-1:got a (next) task:Router2 from tasks queue
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1308 21764 Worker-1: object (Task) call to get it executed
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1335 21764 task called to be executed:Router2 ...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1301 8516 Worker-2:got a (next) task:server1 from tasks queue
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1331 19744 Task init: 172.19.161.123 ...
Tue 18 Apr 2017 14:47:11 DEBUG pypuller 1308 8516 Worker-2: object (Task) call to get it executed