Ubuntu Pastebin

Paste from ubuntu at Tue, 28 Nov 2017 19:42:24 +0000

Download as text
  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
2017-11-28 19:13:15 INFO juju.cmd supercommand.go:56 running jujud [2.3-beta3 gc go1.9]
2017-11-28 19:13:15 DEBUG juju.cmd supercommand.go:57   args: []string{"/var/lib/juju/tools/unit-elasticsearch-logs-0/jujud", "unit", "--data-dir", "/var/lib/juju", "--unit-name", "elasticsearch-logs/0", "--debug"}
2017-11-28 19:13:15 DEBUG juju.agent agent.go:538 read agent config, format "2.0"
2017-11-28 19:13:15 DEBUG juju.worker runner.go:319 start "api"
2017-11-28 19:13:15 INFO juju.worker runner.go:477 start "api"
2017-11-28 19:13:15 DEBUG juju.wrench wrench.go:112 couldn't read wrench directory: stat /var/lib/juju/wrench: no such file or directory
2017-11-28 19:13:15 INFO juju.worker.upgradesteps worker.go:69 upgrade steps for 2.3-beta3 have already been run.
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "upgrader" manifold worker stopped: "agent" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "meter-status" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "upgrade-check-flag" manifold worker stopped: "upgrade-check-gate" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:486 "upgrade-steps-gate" manifold worker started
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "upgrade-steps-flag" manifold worker stopped: <nil>
2017-11-28 19:13:15 DEBUG juju.worker.introspection socket.go:89 introspection worker listening on "@jujud-unit-elasticsearch-logs-0"
2017-11-28 19:13:15 DEBUG juju.worker runner.go:328 "api" started
2017-11-28 19:13:15 DEBUG juju.worker.introspection socket.go:115 stats worker now serving
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:486 "upgrade-check-gate" manifold worker started
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "upgrader" manifold worker stopped: <nil>
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "migration-fortress" manifold worker stopped: "upgrade-check-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:486 "agent" manifold worker started
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "api-address-updater" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "proxy-config-updater" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "uniter" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "metric-sender" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "api-config-watcher" manifold worker stopped: "agent" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "migration-minion" manifold worker stopped: "agent" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "charm-dir" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "leadership-tracker" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "api-caller" manifold worker stopped: "agent" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "log-sender" manifold worker stopped: "api-caller" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "upgrade-steps-runner" manifold worker stopped: "agent" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "migration-inactive-flag" manifold worker stopped: "api-caller" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "logging-config-updater" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "hook-retry-strategy" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "metric-spool" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "metric-collect" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "upgrader" manifold worker stopped: <nil>
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:486 "api-config-watcher" manifold worker started
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "api-caller" manifold worker stopped: <nil>
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "upgrade-steps-runner" manifold worker stopped: "api-caller" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "metric-collect" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "leadership-tracker" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "upgrader" manifold worker stopped: "api-caller" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "metric-sender" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.apicaller connect.go:119 connecting with old password
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:486 "upgrade-check-flag" manifold worker started
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "metric-spool" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.api apiclient.go:844 successfully dialed "wss://172.31.35.211:17070/model/67477340-3b89-4058-8076-21721570979b/api"
2017-11-28 19:13:15 INFO juju.api apiclient.go:598 connection established to "wss://172.31.35.211:17070/model/67477340-3b89-4058-8076-21721570979b/api"
2017-11-28 19:13:15 DEBUG juju.api apiclient.go:823 error dialing websocket: dial tcp 252.35.211.1:17070: operation was canceled
2017-11-28 19:13:15 DEBUG juju.api apiclient.go:844 successfully dialed "wss://54.244.178.193:17070/model/67477340-3b89-4058-8076-21721570979b/api"
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "migration-minion" manifold worker stopped: "api-caller" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "meter-status" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "uniter" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "api-address-updater" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:486 "upgrade-steps-flag" manifold worker started
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "migration-fortress" manifold worker stopped: <nil>
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "hook-retry-strategy" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "logging-config-updater" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "proxy-config-updater" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:15 DEBUG juju.worker.dependency engine.go:504 "migration-fortress" manifold worker stopped: "upgrade-check-flag" not set: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.apicaller connect.go:149 connected
2017-11-28 19:13:16 DEBUG juju.worker.apicaller connect.go:229 changing password...
2017-11-28 19:13:16 DEBUG juju.worker.apicaller connect.go:234 password changed
2017-11-28 19:13:16 DEBUG juju.api monitor.go:35 RPC connection died
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "api-caller" manifold worker stopped: restart immediately
2017-11-28 19:13:16 DEBUG juju.worker.apicaller connect.go:106 connecting with current password
2017-11-28 19:13:16 DEBUG juju.api apiclient.go:844 successfully dialed "wss://172.31.35.211:17070/model/67477340-3b89-4058-8076-21721570979b/api"
2017-11-28 19:13:16 INFO juju.api apiclient.go:598 connection established to "wss://172.31.35.211:17070/model/67477340-3b89-4058-8076-21721570979b/api"
2017-11-28 19:13:16 DEBUG juju.api apiclient.go:823 error dialing websocket: dial tcp 252.35.211.1:17070: operation was canceled
2017-11-28 19:13:16 DEBUG juju.api apiclient.go:844 successfully dialed "wss://54.244.178.193:17070/model/67477340-3b89-4058-8076-21721570979b/api"
2017-11-28 19:13:16 DEBUG juju.worker.apicaller connect.go:149 connected
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:486 "api-caller" manifold worker started
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "proxy-config-updater" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "migration-minion" manifold worker stopped: "migration-fortress" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "logging-config-updater" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "metric-sender" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "uniter" manifold worker stopped: "migration-inactive-flag" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:486 "migration-inactive-flag" manifold worker started
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "leadership-tracker" manifold worker stopped: <nil>
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "hook-retry-strategy" manifold worker stopped: <nil>
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "meter-status" manifold worker stopped: <nil>
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "api-address-updater" manifold worker stopped: <nil>
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "api-address-updater" manifold worker stopped: "migration-fortress" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:486 "upgrade-steps-runner" manifold worker started
2017-11-28 19:13:16 DEBUG juju.wrench wrench.go:112 couldn't read wrench directory: stat /var/lib/juju/wrench: no such file or directory
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "upgrade-steps-runner" manifold worker stopped: <nil>
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:486 "upgrader" manifold worker started
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:486 "log-sender" manifold worker started
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "proxy-config-updater" manifold worker stopped: "migration-fortress" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "hook-retry-strategy" manifold worker stopped: "migration-fortress" not running: dependency not available
2017-11-28 19:13:16 INFO juju.worker.upgrader upgrader.go:139 abort check blocked until version event received
2017-11-28 19:13:16 INFO juju.worker.upgrader upgrader.go:145 unblocking abort check
2017-11-28 19:13:16 INFO juju.worker.upgrader upgrader.go:178 desired agent binary version: 2.3-beta3
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "upgrade-check-flag" manifold worker stopped: gate unlocked
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "uniter" manifold worker stopped: "migration-fortress" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "metric-collect" manifold worker stopped: "migration-fortress" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "meter-status" manifold worker stopped: "migration-fortress" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "metric-spool" manifold worker stopped: "migration-fortress" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "migration-fortress" manifold worker stopped: "upgrade-check-flag" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:486 "upgrade-check-flag" manifold worker started
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "logging-config-updater" manifold worker stopped: "migration-fortress" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "metric-sender" manifold worker stopped: "migration-fortress" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "leadership-tracker" manifold worker stopped: "migration-fortress" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "charm-dir" manifold worker stopped: "migration-fortress" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:486 "migration-fortress" manifold worker started
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:486 "migration-minion" manifold worker started
2017-11-28 19:13:16 INFO juju.worker.migrationminion worker.go:116 migration phase is now: NONE
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "uniter" manifold worker stopped: "leadership-tracker" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:486 "proxy-config-updater" manifold worker started
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:504 "metric-collect" manifold worker stopped: "metric-spool" not running: dependency not available
2017-11-28 19:13:16 DEBUG juju.worker.proxyupdater proxyupdater.go:144 new proxy settings proxy.Settings{Http:"", Https:"", Ftp:"", NoProxy:"127.0.0.1,172.31.35.211,252.35.211.1,54.244.178.193,::1,localhost", AutoNoProxy:""}
2017-11-28 19:13:16 DEBUG juju.worker.proxyupdater proxyupdater.go:171 new apt proxy settings proxy.Settings{Http:"", Https:"", Ftp:"", NoProxy:"127.0.0.1,::1,localhost", AutoNoProxy:""}
2017-11-28 19:13:16 DEBUG juju.worker.logger logger.go:43 initial log config: "<root>=DEBUG"
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:486 "logging-config-updater" manifold worker started
2017-11-28 19:13:16 DEBUG juju.worker.logger logger.go:92 logger setup
2017-11-28 19:13:16 DEBUG juju.worker.dependency engine.go:486 "hook-retry-strategy" manifold worker started
2017-11-28 19:13:16 DEBUG juju.worker.logger logger.go:70 reconfiguring logging from "<root>=DEBUG" to "<root>=WARNING;unit=DEBUG"
2017-11-28 19:13:17 INFO juju-log Installing ansible with options: ['--option=Dpkg::Options::=--force-confold']
2017-11-28 19:13:17 DEBUG install Reading package lists...
2017-11-28 19:13:18 DEBUG install Building dependency tree...
2017-11-28 19:13:18 DEBUG install Reading state information...
2017-11-28 19:13:18 DEBUG install The following additional packages will be installed:
2017-11-28 19:13:18 DEBUG install   ieee-data libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python
2017-11-28 19:13:18 DEBUG install   python-crypto python-ecdsa python-httplib2 python-jinja2 python-markupsafe
2017-11-28 19:13:18 DEBUG install   python-minimal python-netaddr python-paramiko python-pkg-resources
2017-11-28 19:13:18 DEBUG install   python-selinux python-six python-yaml python2.7 python2.7-minimal
2017-11-28 19:13:18 DEBUG install Suggested packages:
2017-11-28 19:13:18 DEBUG install   sshpass python-doc python-tk python-crypto-dbg python-crypto-doc
2017-11-28 19:13:18 DEBUG install   python-jinja2-doc ipython python-netaddr-docs python-setuptools
2017-11-28 19:13:18 DEBUG install   python2.7-doc binutils binfmt-support
2017-11-28 19:13:18 DEBUG install The following NEW packages will be installed:
2017-11-28 19:13:18 DEBUG install   ansible ieee-data libpython-stdlib libpython2.7-minimal libpython2.7-stdlib
2017-11-28 19:13:18 DEBUG install   python python-crypto python-ecdsa python-httplib2 python-jinja2
2017-11-28 19:13:18 DEBUG install   python-markupsafe python-minimal python-netaddr python-paramiko
2017-11-28 19:13:18 DEBUG install   python-pkg-resources python-selinux python-six python-yaml python2.7
2017-11-28 19:13:18 DEBUG install   python2.7-minimal
2017-11-28 19:13:18 DEBUG install 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
2017-11-28 19:13:18 DEBUG install Need to get 6872 kB of archives.
2017-11-28 19:13:18 DEBUG install After this operation, 34.5 MB of additional disk space will be used.
2017-11-28 19:13:18 DEBUG install Get:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-minimal amd64 2.7.12-1ubuntu0~16.04.2 [338 kB]
2017-11-28 19:13:18 DEBUG install Get:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7-minimal amd64 2.7.12-1ubuntu0~16.04.2 [1294 kB]
2017-11-28 19:13:18 DEBUG install Get:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-minimal amd64 2.7.11-1 [28.2 kB]
2017-11-28 19:13:18 DEBUG install Get:4 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-stdlib amd64 2.7.12-1ubuntu0~16.04.2 [1880 kB]
2017-11-28 19:13:18 DEBUG install Get:5 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7 amd64 2.7.12-1ubuntu0~16.04.2 [224 kB]
2017-11-28 19:13:18 DEBUG install Get:6 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libpython-stdlib amd64 2.7.11-1 [7656 B]
2017-11-28 19:13:18 DEBUG install Get:7 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python amd64 2.7.11-1 [137 kB]
2017-11-28 19:13:18 DEBUG install Get:8 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-crypto amd64 2.6.1-6ubuntu0.16.04.2 [246 kB]
2017-11-28 19:13:18 DEBUG install Get:9 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-markupsafe amd64 0.23-2build2 [15.5 kB]
2017-11-28 19:13:18 DEBUG install Get:10 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-jinja2 all 2.8-1 [109 kB]
2017-11-28 19:13:18 DEBUG install Get:11 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-six all 1.10.0-3 [10.9 kB]
2017-11-28 19:13:18 DEBUG install Get:12 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-ecdsa all 0.13-2 [34.0 kB]
2017-11-28 19:13:18 DEBUG install Get:13 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-paramiko all 1.16.0-1 [109 kB]
2017-11-28 19:13:18 DEBUG install Get:14 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-pkg-resources all 20.7.0-1 [108 kB]
2017-11-28 19:13:18 DEBUG install Get:15 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-yaml amd64 3.11-3build1 [105 kB]
2017-11-28 19:13:18 DEBUG install Get:16 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-httplib2 all 0.9.1+dfsg-1 [34.2 kB]
2017-11-28 19:13:18 DEBUG install Get:17 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 ieee-data all 20150531.1 [830 kB]
2017-11-28 19:13:18 DEBUG install Get:18 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-netaddr all 0.7.18-1 [174 kB]
2017-11-28 19:13:18 DEBUG install Get:19 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 ansible all 2.0.0.2-2ubuntu1 [1016 kB]
2017-11-28 19:13:18 DEBUG install Get:20 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 python-selinux amd64 2.4-3build2 [173 kB]
2017-11-28 19:13:18 DEBUG install Fetched 6872 kB in 0s (31.4 MB/s)
2017-11-28 19:13:18 DEBUG install Selecting previously unselected package libpython2.7-minimal:amd64.
2017-11-28 19:13:18 DEBUG install (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 51339 files and directories currently installed.)
2017-11-28 19:13:18 DEBUG install Preparing to unpack .../libpython2.7-minimal_2.7.12-1ubuntu0~16.04.2_amd64.deb ...
2017-11-28 19:13:18 DEBUG install Unpacking libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.2) ...
2017-11-28 19:13:18 DEBUG install Selecting previously unselected package python2.7-minimal.
2017-11-28 19:13:18 DEBUG install Preparing to unpack .../python2.7-minimal_2.7.12-1ubuntu0~16.04.2_amd64.deb ...
2017-11-28 19:13:18 DEBUG install Unpacking python2.7-minimal (2.7.12-1ubuntu0~16.04.2) ...
2017-11-28 19:13:19 DEBUG install Selecting previously unselected package python-minimal.
2017-11-28 19:13:19 DEBUG install Preparing to unpack .../python-minimal_2.7.11-1_amd64.deb ...
2017-11-28 19:13:19 DEBUG install Unpacking python-minimal (2.7.11-1) ...
2017-11-28 19:13:19 DEBUG install Selecting previously unselected package libpython2.7-stdlib:amd64.
2017-11-28 19:13:19 DEBUG install Preparing to unpack .../libpython2.7-stdlib_2.7.12-1ubuntu0~16.04.2_amd64.deb ...
2017-11-28 19:13:19 DEBUG install Unpacking libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.2) ...
2017-11-28 19:13:19 DEBUG install Selecting previously unselected package python2.7.
2017-11-28 19:13:19 DEBUG install Preparing to unpack .../python2.7_2.7.12-1ubuntu0~16.04.2_amd64.deb ...
2017-11-28 19:13:19 DEBUG install Unpacking python2.7 (2.7.12-1ubuntu0~16.04.2) ...
2017-11-28 19:13:19 DEBUG install Selecting previously unselected package libpython-stdlib:amd64.
2017-11-28 19:13:19 DEBUG install Preparing to unpack .../libpython-stdlib_2.7.11-1_amd64.deb ...
2017-11-28 19:13:19 DEBUG install Unpacking libpython-stdlib:amd64 (2.7.11-1) ...
2017-11-28 19:13:19 DEBUG install Processing triggers for man-db (2.7.5-1) ...
2017-11-28 19:13:19 DEBUG install Processing triggers for mime-support (3.59ubuntu1) ...
2017-11-28 19:13:20 DEBUG install Setting up libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.2) ...
2017-11-28 19:13:20 DEBUG install Setting up python2.7-minimal (2.7.12-1ubuntu0~16.04.2) ...
2017-11-28 19:13:20 DEBUG install Setting up python-minimal (2.7.11-1) ...
2017-11-28 19:13:20 DEBUG install Selecting previously unselected package python.
2017-11-28 19:13:20 DEBUG install (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 52085 files and directories currently installed.)
2017-11-28 19:13:20 DEBUG install Preparing to unpack .../python_2.7.11-1_amd64.deb ...
2017-11-28 19:13:20 DEBUG install Unpacking python (2.7.11-1) ...
2017-11-28 19:13:20 DEBUG install Selecting previously unselected package python-crypto.
2017-11-28 19:13:20 DEBUG install Preparing to unpack .../python-crypto_2.6.1-6ubuntu0.16.04.2_amd64.deb ...
2017-11-28 19:13:20 DEBUG install Unpacking python-crypto (2.6.1-6ubuntu0.16.04.2) ...
2017-11-28 19:13:20 DEBUG install Selecting previously unselected package python-markupsafe.
2017-11-28 19:13:20 DEBUG install Preparing to unpack .../python-markupsafe_0.23-2build2_amd64.deb ...
2017-11-28 19:13:20 DEBUG install Unpacking python-markupsafe (0.23-2build2) ...
2017-11-28 19:13:20 DEBUG install Selecting previously unselected package python-jinja2.
2017-11-28 19:13:20 DEBUG install Preparing to unpack .../python-jinja2_2.8-1_all.deb ...
2017-11-28 19:13:20 DEBUG install Unpacking python-jinja2 (2.8-1) ...
2017-11-28 19:13:20 DEBUG install Selecting previously unselected package python-six.
2017-11-28 19:13:20 DEBUG install Preparing to unpack .../python-six_1.10.0-3_all.deb ...
2017-11-28 19:13:20 DEBUG install Unpacking python-six (1.10.0-3) ...
2017-11-28 19:13:20 DEBUG install Selecting previously unselected package python-ecdsa.
2017-11-28 19:13:20 DEBUG install Preparing to unpack .../python-ecdsa_0.13-2_all.deb ...
2017-11-28 19:13:20 DEBUG install Unpacking python-ecdsa (0.13-2) ...
2017-11-28 19:13:20 DEBUG install Selecting previously unselected package python-paramiko.
2017-11-28 19:13:20 DEBUG install Preparing to unpack .../python-paramiko_1.16.0-1_all.deb ...
2017-11-28 19:13:20 DEBUG install Unpacking python-paramiko (1.16.0-1) ...
2017-11-28 19:13:21 DEBUG install Selecting previously unselected package python-pkg-resources.
2017-11-28 19:13:21 DEBUG install Preparing to unpack .../python-pkg-resources_20.7.0-1_all.deb ...
2017-11-28 19:13:21 DEBUG install Unpacking python-pkg-resources (20.7.0-1) ...
2017-11-28 19:13:21 DEBUG install Selecting previously unselected package python-yaml.
2017-11-28 19:13:21 DEBUG install Preparing to unpack .../python-yaml_3.11-3build1_amd64.deb ...
2017-11-28 19:13:21 DEBUG install Unpacking python-yaml (3.11-3build1) ...
2017-11-28 19:13:21 DEBUG install Selecting previously unselected package python-httplib2.
2017-11-28 19:13:21 DEBUG install Preparing to unpack .../python-httplib2_0.9.1+dfsg-1_all.deb ...
2017-11-28 19:13:21 DEBUG install Unpacking python-httplib2 (0.9.1+dfsg-1) ...
2017-11-28 19:13:21 DEBUG install Selecting previously unselected package ieee-data.
2017-11-28 19:13:21 DEBUG install Preparing to unpack .../ieee-data_20150531.1_all.deb ...
2017-11-28 19:13:21 DEBUG install Unpacking ieee-data (20150531.1) ...
2017-11-28 19:13:22 DEBUG install Selecting previously unselected package python-netaddr.
2017-11-28 19:13:22 DEBUG install Preparing to unpack .../python-netaddr_0.7.18-1_all.deb ...
2017-11-28 19:13:22 DEBUG install Unpacking python-netaddr (0.7.18-1) ...
2017-11-28 19:13:22 DEBUG install Selecting previously unselected package ansible.
2017-11-28 19:13:22 DEBUG install Preparing to unpack .../ansible_2.0.0.2-2ubuntu1_all.deb ...
2017-11-28 19:13:22 DEBUG install Unpacking ansible (2.0.0.2-2ubuntu1) ...
2017-11-28 19:13:22 DEBUG install Selecting previously unselected package python-selinux.
2017-11-28 19:13:22 DEBUG install Preparing to unpack .../python-selinux_2.4-3build2_amd64.deb ...
2017-11-28 19:13:22 DEBUG install Unpacking python-selinux (2.4-3build2) ...
2017-11-28 19:13:22 DEBUG install Processing triggers for man-db (2.7.5-1) ...
2017-11-28 19:13:23 DEBUG install Setting up libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.2) ...
2017-11-28 19:13:23 DEBUG install Setting up python2.7 (2.7.12-1ubuntu0~16.04.2) ...
2017-11-28 19:13:23 DEBUG install Setting up libpython-stdlib:amd64 (2.7.11-1) ...
2017-11-28 19:13:23 DEBUG install Setting up python (2.7.11-1) ...
2017-11-28 19:13:23 DEBUG install Setting up python-crypto (2.6.1-6ubuntu0.16.04.2) ...
2017-11-28 19:13:23 DEBUG install Setting up python-markupsafe (0.23-2build2) ...
2017-11-28 19:13:24 DEBUG install Setting up python-jinja2 (2.8-1) ...
2017-11-28 19:13:24 DEBUG install Setting up python-six (1.10.0-3) ...
2017-11-28 19:13:24 DEBUG install Setting up python-ecdsa (0.13-2) ...
2017-11-28 19:13:24 DEBUG install Setting up python-paramiko (1.16.0-1) ...
2017-11-28 19:13:24 DEBUG install Setting up python-pkg-resources (20.7.0-1) ...
2017-11-28 19:13:24 DEBUG install Setting up python-yaml (3.11-3build1) ...
2017-11-28 19:13:24 DEBUG install Setting up python-httplib2 (0.9.1+dfsg-1) ...
2017-11-28 19:13:24 DEBUG install Setting up ieee-data (20150531.1) ...
2017-11-28 19:13:24 DEBUG install Setting up python-netaddr (0.7.18-1) ...
2017-11-28 19:13:24 DEBUG install Setting up ansible (2.0.0.2-2ubuntu1) ...
2017-11-28 19:13:25 DEBUG install Setting up python-selinux (2.4-3build2) ...
2017-11-28 19:13:26 INFO juju-log /usr/bin/rsync -r --delete --executability ansible_module_backports /usr/share/ansible
2017-11-28 19:13:27 DEBUG install 
2017-11-28 19:13:27 DEBUG install PLAY ***************************************************************************
2017-11-28 19:13:27 DEBUG install 
2017-11-28 19:13:27 DEBUG install TASK [setup] *******************************************************************
2017-11-28 19:13:28 DEBUG install ok: [localhost]
2017-11-28 19:13:28 DEBUG install 
2017-11-28 19:13:28 DEBUG install TASK [include] *****************************************************************
2017-11-28 19:13:28 DEBUG install included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/install-elasticsearch.yml for localhost
2017-11-28 19:13:28 DEBUG install 
2017-11-28 19:13:28 DEBUG install TASK [Add apt key.] ************************************************************
2017-11-28 19:13:28 DEBUG install changed: [localhost]
2017-11-28 19:13:28 DEBUG install 
2017-11-28 19:13:28 DEBUG install TASK [Add apt archive.] ********************************************************
2017-11-28 19:13:35 DEBUG install changed: [localhost]
2017-11-28 19:13:35 DEBUG install 
2017-11-28 19:13:35 DEBUG install TASK [Install dependent packages.] *********************************************
2017-11-28 19:13:48 DEBUG install changed: [localhost] => (item=[u'default-jre-headless', u'ufw'])
2017-11-28 19:13:48 DEBUG install 
2017-11-28 19:13:48 DEBUG install TASK [Check for local elasticsearch.deb in payload.] ***************************
2017-11-28 19:13:48 DEBUG install ok: [localhost]
2017-11-28 19:13:48 DEBUG install 
2017-11-28 19:13:48 DEBUG install TASK [Install elasticsearch from repository] ***********************************
2017-11-28 19:13:54 DEBUG install changed: [localhost]
2017-11-28 19:13:54 DEBUG install 
2017-11-28 19:13:54 DEBUG install TASK [Install ElasticSearch from payload] **************************************
2017-11-28 19:13:55 DEBUG install skipping: [localhost]
2017-11-28 19:13:55 DEBUG install 
2017-11-28 19:13:55 DEBUG install TASK [include] *****************************************************************
2017-11-28 19:13:55 DEBUG install included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/peer-relations.yml for localhost
2017-11-28 19:13:55 DEBUG install 
2017-11-28 19:13:55 DEBUG install TASK [include] *****************************************************************
2017-11-28 19:13:55 DEBUG install included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/setup-ufw.yml for localhost
2017-11-28 19:13:55 DEBUG install 
2017-11-28 19:13:55 DEBUG install TASK [Update ufw config to avoid error] ****************************************
2017-11-28 19:13:55 DEBUG install changed: [localhost]
2017-11-28 19:13:55 DEBUG install 
2017-11-28 19:13:55 DEBUG install TASK [Disable firewall only when explicitly configured to do so.] **************
2017-11-28 19:13:55 DEBUG install skipping: [localhost]
2017-11-28 19:13:55 DEBUG install 
2017-11-28 19:13:55 DEBUG install TASK [Reset firewall] **********************************************************
2017-11-28 19:13:55 DEBUG install ok: [localhost]
2017-11-28 19:13:55 DEBUG install 
2017-11-28 19:13:55 DEBUG install TASK [Turn on fire wall with logging.] *****************************************
2017-11-28 19:13:56 DEBUG install changed: [localhost]
2017-11-28 19:13:56 DEBUG install 
2017-11-28 19:13:56 DEBUG install TASK [Open the firewall for all clients] ***************************************
2017-11-28 19:13:56 DEBUG install 
2017-11-28 19:13:56 DEBUG install TASK [Deny all other requests on 9200] *****************************************
2017-11-28 19:13:56 DEBUG install changed: [localhost]
2017-11-28 19:13:56 DEBUG install 
2017-11-28 19:13:56 DEBUG install TASK [Open the firewall for all peers] *****************************************
2017-11-28 19:13:57 DEBUG install 
2017-11-28 19:13:57 DEBUG install TASK [Record current cluster health] *******************************************
2017-11-28 19:13:57 DEBUG install fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Socket error: [Errno 111] Connection refused to http://localhost:9200/_cluster/health"}
2017-11-28 19:13:57 DEBUG install ...ignoring
2017-11-28 19:13:57 DEBUG install 
2017-11-28 19:13:57 DEBUG install TASK [Deny all incoming requests on 9300 once unit is part of cluster] *********
2017-11-28 19:13:57 DEBUG install skipping: [localhost]
2017-11-28 19:13:57 DEBUG install 
2017-11-28 19:13:57 DEBUG install PLAY RECAP *********************************************************************
2017-11-28 19:13:57 DEBUG install localhost                  : ok=14   changed=7    unreachable=0    failed=0   
2017-11-28 19:13:57 DEBUG install 
2017-11-28 19:13:58 DEBUG config-changed 
2017-11-28 19:13:58 DEBUG config-changed PLAY ***************************************************************************
2017-11-28 19:13:58 DEBUG config-changed 
2017-11-28 19:13:58 DEBUG config-changed TASK [setup] *******************************************************************
2017-11-28 19:13:58 DEBUG config-changed ok: [localhost]
2017-11-28 19:13:58 DEBUG config-changed 
2017-11-28 19:13:58 DEBUG config-changed TASK [include] *****************************************************************
2017-11-28 19:13:58 DEBUG config-changed included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/install-elasticsearch.yml for localhost
2017-11-28 19:13:58 DEBUG config-changed 
2017-11-28 19:13:58 DEBUG config-changed TASK [Add apt key.] ************************************************************
2017-11-28 19:13:58 DEBUG config-changed ok: [localhost]
2017-11-28 19:13:58 DEBUG config-changed 
2017-11-28 19:13:58 DEBUG config-changed TASK [Add apt archive.] ********************************************************
2017-11-28 19:13:59 DEBUG config-changed ok: [localhost]
2017-11-28 19:13:59 DEBUG config-changed 
2017-11-28 19:13:59 DEBUG config-changed TASK [include] *****************************************************************
2017-11-28 19:13:59 DEBUG config-changed included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/peer-relations.yml for localhost
2017-11-28 19:13:59 DEBUG config-changed 
2017-11-28 19:13:59 DEBUG config-changed TASK [include] *****************************************************************
2017-11-28 19:13:59 DEBUG config-changed included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/setup-ufw.yml for localhost
2017-11-28 19:13:59 DEBUG config-changed 
2017-11-28 19:13:59 DEBUG config-changed TASK [Update ufw config to avoid error] ****************************************
2017-11-28 19:13:59 DEBUG config-changed changed: [localhost]
2017-11-28 19:13:59 DEBUG config-changed 
2017-11-28 19:13:59 DEBUG config-changed TASK [Disable firewall only when explicitly configured to do so.] **************
2017-11-28 19:13:59 DEBUG config-changed skipping: [localhost]
2017-11-28 19:13:59 DEBUG config-changed 
2017-11-28 19:13:59 DEBUG config-changed TASK [Reset firewall] **********************************************************
2017-11-28 19:14:00 DEBUG config-changed changed: [localhost]
2017-11-28 19:14:00 DEBUG config-changed 
2017-11-28 19:14:00 DEBUG config-changed TASK [Turn on fire wall with logging.] *****************************************
2017-11-28 19:14:00 DEBUG config-changed changed: [localhost]
2017-11-28 19:14:00 DEBUG config-changed 
2017-11-28 19:14:00 DEBUG config-changed TASK [Open the firewall for all clients] ***************************************
2017-11-28 19:14:01 DEBUG config-changed 
2017-11-28 19:14:01 DEBUG config-changed TASK [Deny all other requests on 9200] *****************************************
2017-11-28 19:14:01 DEBUG config-changed changed: [localhost]
2017-11-28 19:14:01 DEBUG config-changed 
2017-11-28 19:14:01 DEBUG config-changed TASK [Open the firewall for all peers] *****************************************
2017-11-28 19:14:01 DEBUG config-changed 
2017-11-28 19:14:01 DEBUG config-changed TASK [Record current cluster health] *******************************************
2017-11-28 19:14:01 DEBUG config-changed fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Socket error: [Errno 111] Connection refused to http://localhost:9200/_cluster/health"}
2017-11-28 19:14:01 DEBUG config-changed ...ignoring
2017-11-28 19:14:01 DEBUG config-changed 
2017-11-28 19:14:01 DEBUG config-changed TASK [Deny all incoming requests on 9300 once unit is part of cluster] *********
2017-11-28 19:14:01 DEBUG config-changed skipping: [localhost]
2017-11-28 19:14:01 DEBUG config-changed 
2017-11-28 19:14:01 DEBUG config-changed TASK [Update configuration] ****************************************************
2017-11-28 19:14:01 DEBUG config-changed changed: [localhost]
2017-11-28 19:14:01 DEBUG config-changed 
2017-11-28 19:14:01 DEBUG config-changed RUNNING HANDLER [Restart ElasticSearch] ****************************************
2017-11-28 19:14:01 DEBUG config-changed changed: [localhost]
2017-11-28 19:14:01 DEBUG config-changed 
2017-11-28 19:14:01 DEBUG config-changed PLAY RECAP *********************************************************************
2017-11-28 19:14:01 DEBUG config-changed localhost                  : ok=13   changed=6    unreachable=0    failed=0   
2017-11-28 19:14:01 DEBUG config-changed 
2017-11-28 19:14:04 DEBUG start 
2017-11-28 19:14:04 DEBUG start PLAY ***************************************************************************
2017-11-28 19:14:04 DEBUG start 
2017-11-28 19:14:04 DEBUG start TASK [setup] *******************************************************************
2017-11-28 19:14:05 DEBUG start ok: [localhost]
2017-11-28 19:14:05 DEBUG start 
2017-11-28 19:14:05 DEBUG start TASK [include] *****************************************************************
2017-11-28 19:14:05 DEBUG start included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/install-elasticsearch.yml for localhost
2017-11-28 19:14:05 DEBUG start 
2017-11-28 19:14:05 DEBUG start TASK [include] *****************************************************************
2017-11-28 19:14:05 DEBUG start included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/peer-relations.yml for localhost
2017-11-28 19:14:05 DEBUG start 
2017-11-28 19:14:05 DEBUG start TASK [include] *****************************************************************
2017-11-28 19:14:05 DEBUG start included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/setup-ufw.yml for localhost
2017-11-28 19:14:05 DEBUG start 
2017-11-28 19:14:05 DEBUG start TASK [Open ES Port when exposed] ***********************************************
2017-11-28 19:14:06 DEBUG start changed: [localhost]
2017-11-28 19:14:06 DEBUG start 
2017-11-28 19:14:06 DEBUG start TASK [Start ElasticSearch] *****************************************************
2017-11-28 19:14:06 DEBUG start ok: [localhost]
2017-11-28 19:14:06 DEBUG start 
2017-11-28 19:14:06 DEBUG start TASK [Set exit user messaging.] ************************************************
2017-11-28 19:14:06 DEBUG start changed: [localhost]
2017-11-28 19:14:06 DEBUG start 
2017-11-28 19:14:06 DEBUG start PLAY RECAP *********************************************************************
2017-11-28 19:14:06 DEBUG start localhost                  : ok=7    changed=2    unreachable=0    failed=0   
2017-11-28 19:14:06 DEBUG start 
2017-11-28 19:35:47 DEBUG client-relation-joined 
2017-11-28 19:35:47 DEBUG client-relation-joined PLAY ***************************************************************************
2017-11-28 19:35:47 DEBUG client-relation-joined 
2017-11-28 19:35:47 DEBUG client-relation-joined TASK [setup] *******************************************************************
2017-11-28 19:35:47 DEBUG client-relation-joined ok: [localhost]
2017-11-28 19:35:47 DEBUG client-relation-joined 
2017-11-28 19:35:47 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:35:47 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/install-elasticsearch.yml for localhost
2017-11-28 19:35:47 DEBUG client-relation-joined 
2017-11-28 19:35:47 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:35:47 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/peer-relations.yml for localhost
2017-11-28 19:35:47 DEBUG client-relation-joined 
2017-11-28 19:35:47 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:35:47 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/setup-ufw.yml for localhost
2017-11-28 19:35:47 DEBUG client-relation-joined 
2017-11-28 19:35:47 DEBUG client-relation-joined TASK [Update ufw config to avoid error] ****************************************
2017-11-28 19:35:47 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:35:47 DEBUG client-relation-joined 
2017-11-28 19:35:47 DEBUG client-relation-joined TASK [Disable firewall only when explicitly configured to do so.] **************
2017-11-28 19:35:48 DEBUG client-relation-joined skipping: [localhost]
2017-11-28 19:35:48 DEBUG client-relation-joined 
2017-11-28 19:35:48 DEBUG client-relation-joined TASK [Reset firewall] **********************************************************
2017-11-28 19:35:48 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:35:48 DEBUG client-relation-joined 
2017-11-28 19:35:48 DEBUG client-relation-joined TASK [Turn on fire wall with logging.] *****************************************
2017-11-28 19:35:49 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:35:49 DEBUG client-relation-joined 
2017-11-28 19:35:49 DEBUG client-relation-joined TASK [Open the firewall for all clients] ***************************************
2017-11-28 19:35:49 DEBUG client-relation-joined fatal: [localhost]: FAILED! => {"failed": true, "msg": "ERROR! lookup plugin (dns) not found"}
2017-11-28 19:35:49 DEBUG client-relation-joined 
2017-11-28 19:35:49 DEBUG client-relation-joined PLAY RECAP *********************************************************************
2017-11-28 19:35:49 DEBUG client-relation-joined localhost                  : ok=7    changed=3    unreachable=0    failed=1   
2017-11-28 19:35:49 DEBUG client-relation-joined 
2017-11-28 19:35:49 DEBUG client-relation-joined Traceback (most recent call last):
2017-11-28 19:35:49 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/client-relation-joined", line 101, in <module>
2017-11-28 19:35:49 DEBUG client-relation-joined     hooks.execute(sys.argv)
2017-11-28 19:35:49 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 229, in execute
2017-11-28 19:35:49 DEBUG client-relation-joined     self.playbook_path, tags=[hook_name], extra_vars=extra_vars)
2017-11-28 19:35:49 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 161, in apply_playbook
2017-11-28 19:35:49 DEBUG client-relation-joined     subprocess.check_call(call, env=env)
2017-11-28 19:35:49 DEBUG client-relation-joined   File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
2017-11-28 19:35:49 DEBUG client-relation-joined     raise CalledProcessError(retcode, cmd)
2017-11-28 19:35:49 DEBUG client-relation-joined subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'playbook.yaml', '--tags', 'client-relation-joined']' returned non-zero exit status 2
2017-11-28 19:35:49 ERROR juju.worker.uniter.operation runhook.go:108 hook "client-relation-joined" failed: exit status 1
2017-11-28 19:35:56 DEBUG client-relation-joined 
2017-11-28 19:35:56 DEBUG client-relation-joined PLAY ***************************************************************************
2017-11-28 19:35:56 DEBUG client-relation-joined 
2017-11-28 19:35:56 DEBUG client-relation-joined TASK [setup] *******************************************************************
2017-11-28 19:35:56 DEBUG client-relation-joined ok: [localhost]
2017-11-28 19:35:56 DEBUG client-relation-joined 
2017-11-28 19:35:56 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:35:56 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/install-elasticsearch.yml for localhost
2017-11-28 19:35:56 DEBUG client-relation-joined 
2017-11-28 19:35:56 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:35:57 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/peer-relations.yml for localhost
2017-11-28 19:35:57 DEBUG client-relation-joined 
2017-11-28 19:35:57 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:35:57 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/setup-ufw.yml for localhost
2017-11-28 19:35:57 DEBUG client-relation-joined 
2017-11-28 19:35:57 DEBUG client-relation-joined TASK [Update ufw config to avoid error] ****************************************
2017-11-28 19:35:57 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:35:57 DEBUG client-relation-joined 
2017-11-28 19:35:57 DEBUG client-relation-joined TASK [Disable firewall only when explicitly configured to do so.] **************
2017-11-28 19:35:57 DEBUG client-relation-joined skipping: [localhost]
2017-11-28 19:35:57 DEBUG client-relation-joined 
2017-11-28 19:35:57 DEBUG client-relation-joined TASK [Reset firewall] **********************************************************
2017-11-28 19:35:58 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:35:58 DEBUG client-relation-joined 
2017-11-28 19:35:58 DEBUG client-relation-joined TASK [Turn on fire wall with logging.] *****************************************
2017-11-28 19:35:58 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:35:58 DEBUG client-relation-joined 
2017-11-28 19:35:58 DEBUG client-relation-joined TASK [Open the firewall for all clients] ***************************************
2017-11-28 19:35:58 DEBUG client-relation-joined fatal: [localhost]: FAILED! => {"failed": true, "msg": "ERROR! lookup plugin (dns) not found"}
2017-11-28 19:35:58 DEBUG client-relation-joined 
2017-11-28 19:35:58 DEBUG client-relation-joined PLAY RECAP *********************************************************************
2017-11-28 19:35:58 DEBUG client-relation-joined localhost                  : ok=7    changed=3    unreachable=0    failed=1   
2017-11-28 19:35:58 DEBUG client-relation-joined 
2017-11-28 19:35:58 DEBUG client-relation-joined Traceback (most recent call last):
2017-11-28 19:35:58 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/client-relation-joined", line 101, in <module>
2017-11-28 19:35:58 DEBUG client-relation-joined     hooks.execute(sys.argv)
2017-11-28 19:35:58 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 229, in execute
2017-11-28 19:35:58 DEBUG client-relation-joined     self.playbook_path, tags=[hook_name], extra_vars=extra_vars)
2017-11-28 19:35:58 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 161, in apply_playbook
2017-11-28 19:35:58 DEBUG client-relation-joined     subprocess.check_call(call, env=env)
2017-11-28 19:35:58 DEBUG client-relation-joined   File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
2017-11-28 19:35:58 DEBUG client-relation-joined     raise CalledProcessError(retcode, cmd)
2017-11-28 19:35:58 DEBUG client-relation-joined subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'playbook.yaml', '--tags', 'client-relation-joined']' returned non-zero exit status 2
2017-11-28 19:35:58 ERROR juju.worker.uniter.operation runhook.go:108 hook "client-relation-joined" failed: exit status 1
2017-11-28 19:36:10 DEBUG client-relation-joined 
2017-11-28 19:36:10 DEBUG client-relation-joined PLAY ***************************************************************************
2017-11-28 19:36:10 DEBUG client-relation-joined 
2017-11-28 19:36:10 DEBUG client-relation-joined TASK [setup] *******************************************************************
2017-11-28 19:36:11 DEBUG client-relation-joined ok: [localhost]
2017-11-28 19:36:11 DEBUG client-relation-joined 
2017-11-28 19:36:11 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:36:11 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/install-elasticsearch.yml for localhost
2017-11-28 19:36:11 DEBUG client-relation-joined 
2017-11-28 19:36:11 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:36:11 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/peer-relations.yml for localhost
2017-11-28 19:36:11 DEBUG client-relation-joined 
2017-11-28 19:36:11 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:36:11 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/setup-ufw.yml for localhost
2017-11-28 19:36:11 DEBUG client-relation-joined 
2017-11-28 19:36:11 DEBUG client-relation-joined TASK [Update ufw config to avoid error] ****************************************
2017-11-28 19:36:11 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:36:11 DEBUG client-relation-joined 
2017-11-28 19:36:11 DEBUG client-relation-joined TASK [Disable firewall only when explicitly configured to do so.] **************
2017-11-28 19:36:11 DEBUG client-relation-joined skipping: [localhost]
2017-11-28 19:36:11 DEBUG client-relation-joined 
2017-11-28 19:36:11 DEBUG client-relation-joined TASK [Reset firewall] **********************************************************
2017-11-28 19:36:12 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:36:12 DEBUG client-relation-joined 
2017-11-28 19:36:12 DEBUG client-relation-joined TASK [Turn on fire wall with logging.] *****************************************
2017-11-28 19:36:13 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:36:13 DEBUG client-relation-joined 
2017-11-28 19:36:13 DEBUG client-relation-joined TASK [Open the firewall for all clients] ***************************************
2017-11-28 19:36:13 DEBUG client-relation-joined fatal: [localhost]: FAILED! => {"failed": true, "msg": "ERROR! lookup plugin (dns) not found"}
2017-11-28 19:36:13 DEBUG client-relation-joined 
2017-11-28 19:36:13 DEBUG client-relation-joined PLAY RECAP *********************************************************************
2017-11-28 19:36:13 DEBUG client-relation-joined localhost                  : ok=7    changed=3    unreachable=0    failed=1   
2017-11-28 19:36:13 DEBUG client-relation-joined 
2017-11-28 19:36:13 DEBUG client-relation-joined Traceback (most recent call last):
2017-11-28 19:36:13 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/client-relation-joined", line 101, in <module>
2017-11-28 19:36:13 DEBUG client-relation-joined     hooks.execute(sys.argv)
2017-11-28 19:36:13 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 229, in execute
2017-11-28 19:36:13 DEBUG client-relation-joined     self.playbook_path, tags=[hook_name], extra_vars=extra_vars)
2017-11-28 19:36:13 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 161, in apply_playbook
2017-11-28 19:36:13 DEBUG client-relation-joined     subprocess.check_call(call, env=env)
2017-11-28 19:36:13 DEBUG client-relation-joined   File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
2017-11-28 19:36:13 DEBUG client-relation-joined     raise CalledProcessError(retcode, cmd)
2017-11-28 19:36:13 DEBUG client-relation-joined subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'playbook.yaml', '--tags', 'client-relation-joined']' returned non-zero exit status 2
2017-11-28 19:36:13 ERROR juju.worker.uniter.operation runhook.go:108 hook "client-relation-joined" failed: exit status 1
2017-11-28 19:36:34 DEBUG client-relation-joined 
2017-11-28 19:36:34 DEBUG client-relation-joined PLAY ***************************************************************************
2017-11-28 19:36:34 DEBUG client-relation-joined 
2017-11-28 19:36:34 DEBUG client-relation-joined TASK [setup] *******************************************************************
2017-11-28 19:36:35 DEBUG client-relation-joined ok: [localhost]
2017-11-28 19:36:35 DEBUG client-relation-joined 
2017-11-28 19:36:35 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:36:35 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/install-elasticsearch.yml for localhost
2017-11-28 19:36:35 DEBUG client-relation-joined 
2017-11-28 19:36:35 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:36:35 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/peer-relations.yml for localhost
2017-11-28 19:36:35 DEBUG client-relation-joined 
2017-11-28 19:36:35 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:36:35 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/setup-ufw.yml for localhost
2017-11-28 19:36:35 DEBUG client-relation-joined 
2017-11-28 19:36:35 DEBUG client-relation-joined TASK [Update ufw config to avoid error] ****************************************
2017-11-28 19:36:35 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:36:35 DEBUG client-relation-joined 
2017-11-28 19:36:35 DEBUG client-relation-joined TASK [Disable firewall only when explicitly configured to do so.] **************
2017-11-28 19:36:35 DEBUG client-relation-joined skipping: [localhost]
2017-11-28 19:36:35 DEBUG client-relation-joined 
2017-11-28 19:36:35 DEBUG client-relation-joined TASK [Reset firewall] **********************************************************
2017-11-28 19:36:36 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:36:36 DEBUG client-relation-joined 
2017-11-28 19:36:36 DEBUG client-relation-joined TASK [Turn on fire wall with logging.] *****************************************
2017-11-28 19:36:37 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:36:37 DEBUG client-relation-joined 
2017-11-28 19:36:37 DEBUG client-relation-joined TASK [Open the firewall for all clients] ***************************************
2017-11-28 19:36:37 DEBUG client-relation-joined fatal: [localhost]: FAILED! => {"failed": true, "msg": "ERROR! lookup plugin (dns) not found"}
2017-11-28 19:36:37 DEBUG client-relation-joined 
2017-11-28 19:36:37 DEBUG client-relation-joined PLAY RECAP *********************************************************************
2017-11-28 19:36:37 DEBUG client-relation-joined localhost                  : ok=7    changed=3    unreachable=0    failed=1   
2017-11-28 19:36:37 DEBUG client-relation-joined 
2017-11-28 19:36:37 DEBUG client-relation-joined Traceback (most recent call last):
2017-11-28 19:36:37 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/client-relation-joined", line 101, in <module>
2017-11-28 19:36:37 DEBUG client-relation-joined     hooks.execute(sys.argv)
2017-11-28 19:36:37 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 229, in execute
2017-11-28 19:36:37 DEBUG client-relation-joined     self.playbook_path, tags=[hook_name], extra_vars=extra_vars)
2017-11-28 19:36:37 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 161, in apply_playbook
2017-11-28 19:36:37 DEBUG client-relation-joined     subprocess.check_call(call, env=env)
2017-11-28 19:36:37 DEBUG client-relation-joined   File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
2017-11-28 19:36:37 DEBUG client-relation-joined     raise CalledProcessError(retcode, cmd)
2017-11-28 19:36:37 DEBUG client-relation-joined subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'playbook.yaml', '--tags', 'client-relation-joined']' returned non-zero exit status 2
2017-11-28 19:36:37 ERROR juju.worker.uniter.operation runhook.go:108 hook "client-relation-joined" failed: exit status 1
2017-11-28 19:37:18 DEBUG client-relation-joined 
2017-11-28 19:37:18 DEBUG client-relation-joined PLAY ***************************************************************************
2017-11-28 19:37:18 DEBUG client-relation-joined 
2017-11-28 19:37:18 DEBUG client-relation-joined TASK [setup] *******************************************************************
2017-11-28 19:37:18 DEBUG client-relation-joined ok: [localhost]
2017-11-28 19:37:18 DEBUG client-relation-joined 
2017-11-28 19:37:18 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:37:18 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/install-elasticsearch.yml for localhost
2017-11-28 19:37:18 DEBUG client-relation-joined 
2017-11-28 19:37:18 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:37:18 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/peer-relations.yml for localhost
2017-11-28 19:37:18 DEBUG client-relation-joined 
2017-11-28 19:37:18 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:37:18 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/setup-ufw.yml for localhost
2017-11-28 19:37:18 DEBUG client-relation-joined 
2017-11-28 19:37:18 DEBUG client-relation-joined TASK [Update ufw config to avoid error] ****************************************
2017-11-28 19:37:18 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:37:18 DEBUG client-relation-joined 
2017-11-28 19:37:18 DEBUG client-relation-joined TASK [Disable firewall only when explicitly configured to do so.] **************
2017-11-28 19:37:18 DEBUG client-relation-joined skipping: [localhost]
2017-11-28 19:37:18 DEBUG client-relation-joined 
2017-11-28 19:37:18 DEBUG client-relation-joined TASK [Reset firewall] **********************************************************
2017-11-28 19:37:19 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:37:19 DEBUG client-relation-joined 
2017-11-28 19:37:19 DEBUG client-relation-joined TASK [Turn on fire wall with logging.] *****************************************
2017-11-28 19:37:20 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:37:20 DEBUG client-relation-joined 
2017-11-28 19:37:20 DEBUG client-relation-joined TASK [Open the firewall for all clients] ***************************************
2017-11-28 19:37:20 DEBUG client-relation-joined fatal: [localhost]: FAILED! => {"failed": true, "msg": "ERROR! lookup plugin (dns) not found"}
2017-11-28 19:37:20 DEBUG client-relation-joined 
2017-11-28 19:37:20 DEBUG client-relation-joined PLAY RECAP *********************************************************************
2017-11-28 19:37:20 DEBUG client-relation-joined localhost                  : ok=7    changed=3    unreachable=0    failed=1   
2017-11-28 19:37:20 DEBUG client-relation-joined 
2017-11-28 19:37:20 DEBUG client-relation-joined Traceback (most recent call last):
2017-11-28 19:37:20 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/client-relation-joined", line 101, in <module>
2017-11-28 19:37:20 DEBUG client-relation-joined     hooks.execute(sys.argv)
2017-11-28 19:37:20 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 229, in execute
2017-11-28 19:37:20 DEBUG client-relation-joined     self.playbook_path, tags=[hook_name], extra_vars=extra_vars)
2017-11-28 19:37:20 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 161, in apply_playbook
2017-11-28 19:37:20 DEBUG client-relation-joined     subprocess.check_call(call, env=env)
2017-11-28 19:37:20 DEBUG client-relation-joined   File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
2017-11-28 19:37:20 DEBUG client-relation-joined     raise CalledProcessError(retcode, cmd)
2017-11-28 19:37:20 DEBUG client-relation-joined subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'playbook.yaml', '--tags', 'client-relation-joined']' returned non-zero exit status 2
2017-11-28 19:37:20 ERROR juju.worker.uniter.operation runhook.go:108 hook "client-relation-joined" failed: exit status 1
2017-11-28 19:38:39 DEBUG client-relation-joined 
2017-11-28 19:38:39 DEBUG client-relation-joined PLAY ***************************************************************************
2017-11-28 19:38:39 DEBUG client-relation-joined 
2017-11-28 19:38:39 DEBUG client-relation-joined TASK [setup] *******************************************************************
2017-11-28 19:38:40 DEBUG client-relation-joined ok: [localhost]
2017-11-28 19:38:40 DEBUG client-relation-joined 
2017-11-28 19:38:40 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:38:40 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/install-elasticsearch.yml for localhost
2017-11-28 19:38:40 DEBUG client-relation-joined 
2017-11-28 19:38:40 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:38:40 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/peer-relations.yml for localhost
2017-11-28 19:38:40 DEBUG client-relation-joined 
2017-11-28 19:38:40 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:38:40 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/setup-ufw.yml for localhost
2017-11-28 19:38:40 DEBUG client-relation-joined 
2017-11-28 19:38:40 DEBUG client-relation-joined TASK [Update ufw config to avoid error] ****************************************
2017-11-28 19:38:40 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:38:40 DEBUG client-relation-joined 
2017-11-28 19:38:40 DEBUG client-relation-joined TASK [Disable firewall only when explicitly configured to do so.] **************
2017-11-28 19:38:40 DEBUG client-relation-joined skipping: [localhost]
2017-11-28 19:38:40 DEBUG client-relation-joined 
2017-11-28 19:38:40 DEBUG client-relation-joined TASK [Reset firewall] **********************************************************
2017-11-28 19:38:41 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:38:41 DEBUG client-relation-joined 
2017-11-28 19:38:41 DEBUG client-relation-joined TASK [Turn on fire wall with logging.] *****************************************
2017-11-28 19:38:42 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:38:42 DEBUG client-relation-joined 
2017-11-28 19:38:42 DEBUG client-relation-joined TASK [Open the firewall for all clients] ***************************************
2017-11-28 19:38:42 DEBUG client-relation-joined fatal: [localhost]: FAILED! => {"failed": true, "msg": "ERROR! lookup plugin (dns) not found"}
2017-11-28 19:38:42 DEBUG client-relation-joined 
2017-11-28 19:38:42 DEBUG client-relation-joined PLAY RECAP *********************************************************************
2017-11-28 19:38:42 DEBUG client-relation-joined localhost                  : ok=7    changed=3    unreachable=0    failed=1   
2017-11-28 19:38:42 DEBUG client-relation-joined 
2017-11-28 19:38:42 DEBUG client-relation-joined Traceback (most recent call last):
2017-11-28 19:38:42 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/client-relation-joined", line 101, in <module>
2017-11-28 19:38:42 DEBUG client-relation-joined     hooks.execute(sys.argv)
2017-11-28 19:38:42 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 229, in execute
2017-11-28 19:38:42 DEBUG client-relation-joined     self.playbook_path, tags=[hook_name], extra_vars=extra_vars)
2017-11-28 19:38:42 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 161, in apply_playbook
2017-11-28 19:38:42 DEBUG client-relation-joined     subprocess.check_call(call, env=env)
2017-11-28 19:38:42 DEBUG client-relation-joined   File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
2017-11-28 19:38:42 DEBUG client-relation-joined     raise CalledProcessError(retcode, cmd)
2017-11-28 19:38:42 DEBUG client-relation-joined subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'playbook.yaml', '--tags', 'client-relation-joined']' returned non-zero exit status 2
2017-11-28 19:38:42 ERROR juju.worker.uniter.operation runhook.go:108 hook "client-relation-joined" failed: exit status 1
2017-11-28 19:41:22 DEBUG client-relation-joined 
2017-11-28 19:41:22 DEBUG client-relation-joined PLAY ***************************************************************************
2017-11-28 19:41:22 DEBUG client-relation-joined 
2017-11-28 19:41:22 DEBUG client-relation-joined TASK [setup] *******************************************************************
2017-11-28 19:41:23 DEBUG client-relation-joined ok: [localhost]
2017-11-28 19:41:23 DEBUG client-relation-joined 
2017-11-28 19:41:23 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:41:23 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/install-elasticsearch.yml for localhost
2017-11-28 19:41:23 DEBUG client-relation-joined 
2017-11-28 19:41:23 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:41:23 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/peer-relations.yml for localhost
2017-11-28 19:41:23 DEBUG client-relation-joined 
2017-11-28 19:41:23 DEBUG client-relation-joined TASK [include] *****************************************************************
2017-11-28 19:41:23 DEBUG client-relation-joined included: /var/lib/juju/agents/unit-elasticsearch-logs-0/charm/tasks/setup-ufw.yml for localhost
2017-11-28 19:41:23 DEBUG client-relation-joined 
2017-11-28 19:41:23 DEBUG client-relation-joined TASK [Update ufw config to avoid error] ****************************************
2017-11-28 19:41:23 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:41:23 DEBUG client-relation-joined 
2017-11-28 19:41:23 DEBUG client-relation-joined TASK [Disable firewall only when explicitly configured to do so.] **************
2017-11-28 19:41:23 DEBUG client-relation-joined skipping: [localhost]
2017-11-28 19:41:23 DEBUG client-relation-joined 
2017-11-28 19:41:23 DEBUG client-relation-joined TASK [Reset firewall] **********************************************************
2017-11-28 19:41:24 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:41:24 DEBUG client-relation-joined 
2017-11-28 19:41:24 DEBUG client-relation-joined TASK [Turn on fire wall with logging.] *****************************************
2017-11-28 19:41:24 DEBUG client-relation-joined changed: [localhost]
2017-11-28 19:41:24 DEBUG client-relation-joined 
2017-11-28 19:41:24 DEBUG client-relation-joined TASK [Open the firewall for all clients] ***************************************
2017-11-28 19:41:24 DEBUG client-relation-joined fatal: [localhost]: FAILED! => {"failed": true, "msg": "ERROR! lookup plugin (dns) not found"}
2017-11-28 19:41:24 DEBUG client-relation-joined 
2017-11-28 19:41:24 DEBUG client-relation-joined PLAY RECAP *********************************************************************
2017-11-28 19:41:24 DEBUG client-relation-joined localhost                  : ok=7    changed=3    unreachable=0    failed=1   
2017-11-28 19:41:24 DEBUG client-relation-joined 
2017-11-28 19:41:25 DEBUG client-relation-joined Traceback (most recent call last):
2017-11-28 19:41:25 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/client-relation-joined", line 101, in <module>
2017-11-28 19:41:25 DEBUG client-relation-joined     hooks.execute(sys.argv)
2017-11-28 19:41:25 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 229, in execute
2017-11-28 19:41:25 DEBUG client-relation-joined     self.playbook_path, tags=[hook_name], extra_vars=extra_vars)
2017-11-28 19:41:25 DEBUG client-relation-joined   File "/var/lib/juju/agents/unit-elasticsearch-logs-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 161, in apply_playbook
2017-11-28 19:41:25 DEBUG client-relation-joined     subprocess.check_call(call, env=env)
2017-11-28 19:41:25 DEBUG client-relation-joined   File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
2017-11-28 19:41:25 DEBUG client-relation-joined     raise CalledProcessError(retcode, cmd)
2017-11-28 19:41:25 DEBUG client-relation-joined subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'playbook.yaml', '--tags', 'client-relation-joined']' returned non-zero exit status 2
2017-11-28 19:41:25 ERROR juju.worker.uniter.operation runhook.go:108 hook "client-relation-joined" failed: exit status 1
Download as text