-
Notifications
You must be signed in to change notification settings - Fork 0
/
nornir.log
170 lines (151 loc) · 13.6 KB
/
nornir.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
2023-05-09 07:45:21,028 - nornir.core - INFO - run() - Running task 'hello_world' with args {} on 3 hosts
2023-05-09 07:45:27,173 - nornir.core - INFO - run() - Running task 'hello_world' with args {} on 3 hosts
2023-05-09 10:11:51,283 - nornir.core - INFO - run() - Running task 'hello_world' with args {'nautobot': <pynautobot.core.api.Api object at 0x107423520>} on 3 hosts
2023-05-09 10:12:13,697 - nornir.core.task - ERROR - start() - Host 'site01-sw01': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-p_dfniLv-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/Developer/automationday_demos/nornir_example.py", line 41, in hello_world
File "/Users/joshv/Developer/automationday_demos/nornir_example.py", line 41, in hello_world
File "/opt/homebrew/Cellar/python@3.10/3.10.11/Frameworks/Python.framework/Versions/3.10/lib/python3.10/bdb.py", line 90, in trace_dispatch
return self.dispatch_line(frame)
File "/opt/homebrew/Cellar/python@3.10/3.10.11/Frameworks/Python.framework/Versions/3.10/lib/python3.10/bdb.py", line 115, in dispatch_line
if self.quitting: raise BdbQuit
bdb.BdbQuit
2023-05-09 10:12:14,492 - nornir.core.task - ERROR - start() - Host 'site01-rt01': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-p_dfniLv-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/Developer/automationday_demos/nornir_example.py", line 41, in hello_world
File "/Users/joshv/Developer/automationday_demos/nornir_example.py", line 41, in hello_world
File "/opt/homebrew/Cellar/python@3.10/3.10.11/Frameworks/Python.framework/Versions/3.10/lib/python3.10/bdb.py", line 90, in trace_dispatch
return self.dispatch_line(frame)
File "/opt/homebrew/Cellar/python@3.10/3.10.11/Frameworks/Python.framework/Versions/3.10/lib/python3.10/bdb.py", line 115, in dispatch_line
if self.quitting: raise BdbQuit
bdb.BdbQuit
2023-05-09 10:12:15,097 - nornir.core.task - ERROR - start() - Host 'site02-rt01': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-p_dfniLv-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/Developer/automationday_demos/nornir_example.py", line 41, in hello_world
File "/Users/joshv/Developer/automationday_demos/nornir_example.py", line 41, in hello_world
File "/opt/homebrew/Cellar/python@3.10/3.10.11/Frameworks/Python.framework/Versions/3.10/lib/python3.10/bdb.py", line 90, in trace_dispatch
return self.dispatch_line(frame)
File "/opt/homebrew/Cellar/python@3.10/3.10.11/Frameworks/Python.framework/Versions/3.10/lib/python3.10/bdb.py", line 115, in dispatch_line
if self.quitting: raise BdbQuit
bdb.BdbQuit
2023-05-09 10:12:17,819 - nornir.core - INFO - run() - Running task 'hello_world' with args {'nautobot': <pynautobot.core.api.Api object at 0x1042e7610>} on 3 hosts
2023-09-18 13:14:43,355 - nornir.core - INFO - run() - Running task 'hello_world' with args {'nautobot': <pynautobot.core.api.Api object at 0x122978910>} on 27 hosts
2023-09-18 13:14:43,822 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-11': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:43,823 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-02': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:44,077 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-06': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:44,188 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-13': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:44,188 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-03': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:44,292 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-07': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:44,416 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-12': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:44,493 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-01': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:44,580 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-08': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:44,796 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-14': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:44,906 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-04': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:45,199 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-17': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:45,291 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-18': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:45,402 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-05': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:45,683 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-16': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:14:45,709 - nornir.core.task - ERROR - start() - Host 'ams01-pdu-15': task 'hello_world' failed with traceback:
Traceback (most recent call last):
File "/Users/joshv/Library/Caches/pypoetry/virtualenvs/automationday-demos-5VaEYt4g-py3.10/lib/python3.10/site-packages/nornir/core/task.py", line 99, in start
r = self.task(self, **self.params)
File "/Users/joshv/projects/automationday2023/nornir_example.py", line 39, in hello_world
result=f"{task.host.name} says hello world with IP: {graph_response['data']['devices'][0]['primary_ip4']['address']}",
TypeError: 'NoneType' object is not subscriptable
2023-09-18 13:16:23,577 - nornir.core - INFO - run() - Running task 'hello_world' with args {'nautobot': <pynautobot.core.api.Api object at 0x10ad9c7c0>} on 11 hosts