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 | mike@mike-PC:~$ juju bootstrap --metadata-source /opt/stack --upload-tools -v --debug
2015-01-19 09:51:21 INFO juju.cmd supercommand.go:37 running juju [1.20.14-trusty-amd64 gc]
2015-01-19 09:51:21 DEBUG juju.environs.configstore disk.go:69 Making /home/mike/.juju/environments
2015-01-19 09:51:21 INFO juju.provider.openstack provider.go:204 opening environment "ost"
2015-01-19 09:51:22 INFO juju.cmd.juju bootstrap.go:261 Setting default tools and image metadata sources: /opt/stack
2015-01-19 09:51:22 DEBUG juju.environs.imagemetadata upload.go:35 reading image metadata from /opt/stack/images/streams/v1
2015-01-19 09:51:22 DEBUG juju.environs.imagemetadata upload.go:54 uploading metadata file com.ubuntu.cloud:released:imagemetadata.json
2015-01-19 09:51:22 DEBUG juju.environs.imagemetadata upload.go:54 uploading metadata file index.json
2015-01-19 09:51:22 INFO juju.cmd.juju bootstrap.go:269 custom image metadata uploaded
2015-01-19 09:51:22 DEBUG juju.environs.simplestreams simplestreams.go:419 fetchData failed for "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/index.sjson": failed to GET object images/streams/v1/index.sjson from container 9e3d1c675364474d852b9be6631d35a8
caused by: Resource at http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/index.sjson not found
caused by: request (http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/index.sjson) returned unexpected status: 404; error info: <html><h1>Not Found</h1><p>The resource could not be found.</p></html>
2015-01-19 09:51:22 DEBUG juju.environs.simplestreams simplestreams.go:393 cannot load index "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/index.sjson": invalid URL "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/index.sjson" not found
2015-01-19 09:51:22 DEBUG juju.environs.simplestreams simplestreams.go:419 fetchData failed for "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/mirrors.json": failed to GET object images/streams/v1/mirrors.json from container 9e3d1c675364474d852b9be6631d35a8
caused by: Resource at http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/mirrors.json not found
caused by: request (http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/mirrors.json) returned unexpected status: 404; error info: <html><h1>Not Found</h1><p>The resource could not be found.</p></html>
2015-01-19 09:51:22 DEBUG juju.environs.simplestreams simplestreams.go:496 no mirror index file found
2015-01-19 09:51:22 DEBUG juju.environs.simplestreams simplestreams.go:397 read metadata index at "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/index.json"
2015-01-19 09:51:22 DEBUG juju.environs.simplestreams simplestreams.go:564 candidate matches for products ["com.ubuntu.cloud:server:12.04:amd64" "com.ubuntu.cloud:server:12.04:i386" "com.ubuntu.cloud:server:12.04:armhf" "com.ubuntu.cloud:server:12.04:arm64" "com.ubuntu.cloud:server:12.04:ppc64el" "com.ubuntu.cloud:server:12.10:amd64" "com.ubuntu.cloud:server:12.10:i386" "com.ubuntu.cloud:server:12.10:armhf" "com.ubuntu.cloud:server:12.10:arm64" "com.ubuntu.cloud:server:12.10:ppc64el" "com.ubuntu.cloud:server:13.04:amd64" "com.ubuntu.cloud:server:13.04:i386" "com.ubuntu.cloud:server:13.04:armhf" "com.ubuntu.cloud:server:13.04:arm64" "com.ubuntu.cloud:server:13.04:ppc64el" "com.ubuntu.cloud:server:13.10:amd64" "com.ubuntu.cloud:server:13.10:i386" "com.ubuntu.cloud:server:13.10:armhf" "com.ubuntu.cloud:server:13.10:arm64" "com.ubuntu.cloud:server:13.10:ppc64el" "com.ubuntu.cloud:server:14.04:amd64" "com.ubuntu.cloud:server:14.04:i386" "com.ubuntu.cloud:server:14.04:armhf" "com.ubuntu.cloud:server:14.04:arm64" "com.ubuntu.cloud:server:14.04:ppc64el" "com.ubuntu.cloud:server:14.10:amd64" "com.ubuntu.cloud:server:14.10:i386" "com.ubuntu.cloud:server:14.10:armhf" "com.ubuntu.cloud:server:14.10:arm64" "com.ubuntu.cloud:server:14.10:ppc64el" "com.ubuntu.cloud:server:15.04:amd64" "com.ubuntu.cloud:server:15.04:i386" "com.ubuntu.cloud:server:15.04:armhf" "com.ubuntu.cloud:server:15.04:arm64" "com.ubuntu.cloud:server:15.04:ppc64el"] are [{Mon, 19 Jan 2015 10:36:28 +0100 products:1.0 image-ids custom [{RegionOne http://192.168.0.194:5000/v2.0}] streams/v1/com.ubuntu.cloud:released:imagemetadata.json [com.ubuntu.cloud:server:14.04:amd64]}]
2015-01-19 09:51:22 DEBUG juju.environs.simplestreams simplestreams.go:877 finding products at path "streams/v1/com.ubuntu.cloud:released:imagemetadata.json"
2015-01-19 09:51:22 DEBUG juju.environs.simplestreams simplestreams.go:915 metadata: &{map[com.ubuntu.cloud:server:14.04:amd64:{ 14.04 amd64 map[20151901:0xc2101c8720]}] map[] Mon, 19 Jan 2015 10:36:28 +0100 products:1.0 com.ubuntu.cloud:custom }
2015-01-19 09:51:22 INFO juju.environs.bootstrap synctools.go:35 checking that upload is possible
2015-01-19 09:51:22 INFO juju.cmd cmd.go:113 uploading tools for series [precise trusty]
2015-01-19 09:51:22 DEBUG juju.environs.sync sync.go:277 Building tools
2015-01-19 09:51:22 DEBUG juju.environs.tools build.go:115 looking for: juju
2015-01-19 09:51:22 DEBUG juju.environs.tools build.go:156 checking: /usr/bin/jujud
2015-01-19 09:51:22 INFO juju.environs.tools build.go:162 found existing jujud
2015-01-19 09:51:22 INFO juju.environs.tools build.go:172 target: /tmp/juju-tools527641888/jujud
2015-01-19 09:51:23 DEBUG juju.environs.tools build.go:227 forcing version to 1.20.14.1
2015-01-19 09:51:23 DEBUG juju.environs.tools build.go:39 adding entry: &tar.Header{Name:"FORCE-VERSION", Mode:436, Uid:0, Gid:0, Size:9, ModTime:time.Time{sec:63557257883, nsec:0x1fa69957, loc:(*time.Location)(0x1a67d80)}, Typeflag:0x30, Linkname:"", Uname:"ubuntu", Gname:"ubuntu", Devmajor:0, Devminor:0, AccessTime:time.Time{sec:63557257883, nsec:0x1fa69957, loc:(*time.Location)(0x1a67d80)}, ChangeTime:time.Time{sec:63557257883, nsec:0x1fa69957, loc:(*time.Location)(0x1a67d80)}, Xattrs:map[string]string(nil)}
2015-01-19 09:51:23 DEBUG juju.environs.tools build.go:39 adding entry: &tar.Header{Name:"jujud", Mode:493, Uid:0, Gid:0, Size:40387032, ModTime:time.Time{sec:63557257883, nsec:0x1fa69957, loc:(*time.Location)(0x1a67d80)}, Typeflag:0x30, Linkname:"", Uname:"ubuntu", Gname:"ubuntu", Devmajor:0, Devminor:0, AccessTime:time.Time{sec:63557257883, nsec:0x1fa69957, loc:(*time.Location)(0x1a67d80)}, ChangeTime:time.Time{sec:63557257883, nsec:0x1fa69957, loc:(*time.Location)(0x1a67d80)}, Xattrs:map[string]string(nil)}
2015-01-19 09:51:27 INFO juju.environs.sync sync.go:296 built tools 1.20.14.1-trusty-amd64 (7901kB)
2015-01-19 09:51:27 DEBUG juju.environs.sync sync.go:201 Uploading tools for [precise trusty]
2015-01-19 09:51:27 DEBUG juju.environs.sync sync.go:231 generating tarballs for [precise trusty]
2015-01-19 09:51:27 DEBUG juju.environs.sync sync.go:251 generating tools metadata
2015-01-19 09:51:27 DEBUG juju.environs.tools tools.go:46 no architecture specified when finding tools, looking for any
2015-01-19 09:51:27 DEBUG juju.environs.tools tools.go:57 no series specified when finding tools, looking for any
2015-01-19 09:51:27 DEBUG juju.environs.simplestreams simplestreams.go:419 fetchData failed for "file:///tmp/juju-tools768670207/tools/streams/v1/index.sjson": stat /tmp/juju-tools768670207/tools/streams/v1/index.sjson: no such file or directory
2015-01-19 09:51:27 DEBUG juju.environs.simplestreams simplestreams.go:393 cannot load index "file:///tmp/juju-tools768670207/tools/streams/v1/index.sjson": invalid URL "file:///tmp/juju-tools768670207/tools/streams/v1/index.sjson" not found
2015-01-19 09:51:27 DEBUG juju.environs.simplestreams simplestreams.go:419 fetchData failed for "file:///tmp/juju-tools768670207/tools/streams/v1/index.json": stat /tmp/juju-tools768670207/tools/streams/v1/index.json: no such file or directory
2015-01-19 09:51:27 DEBUG juju.environs.simplestreams simplestreams.go:393 cannot load index "file:///tmp/juju-tools768670207/tools/streams/v1/index.json": invalid URL "file:///tmp/juju-tools768670207/tools/streams/v1/index.json" not found
2015-01-19 09:51:27 INFO juju.environs.tools simplestreams.go:391 Writing tools/streams/v1/index.json
2015-01-19 09:51:27 INFO juju.environs.tools simplestreams.go:391 Writing tools/streams/v1/com.ubuntu.juju:released:tools.json
2015-01-19 09:51:27 DEBUG juju.environs.sync sync.go:340 uploading tools to cloud storage
2015-01-19 09:51:27 INFO juju.environs.sync sync.go:142 using sync tools source: file:///tmp/juju-tools768670207/tools
2015-01-19 09:51:27 INFO juju.environs.sync sync.go:65 listing available tools
2015-01-19 09:51:27 DEBUG juju.environs.tools tools.go:46 no architecture specified when finding tools, looking for any
2015-01-19 09:51:27 DEBUG juju.environs.tools tools.go:57 no series specified when finding tools, looking for any
2015-01-19 09:51:27 INFO juju.utils http.go:59 hostname SSL verification enabled
2015-01-19 09:51:27 DEBUG juju.environs.simplestreams simplestreams.go:419 fetchData failed for "file:///tmp/juju-tools768670207/tools/streams/v1/index.sjson": cannot find URL "file:///tmp/juju-tools768670207/tools/streams/v1/index.sjson" not found
2015-01-19 09:51:27 DEBUG juju.environs.simplestreams simplestreams.go:393 cannot load index "file:///tmp/juju-tools768670207/tools/streams/v1/index.sjson": invalid URL "file:///tmp/juju-tools768670207/tools/streams/v1/index.sjson" not found
2015-01-19 09:51:27 INFO juju.utils http.go:59 hostname SSL verification enabled
2015-01-19 09:51:27 INFO juju.utils http.go:59 hostname SSL verification enabled
2015-01-19 09:51:27 DEBUG juju.environs.simplestreams simplestreams.go:419 fetchData failed for "file:///tmp/juju-tools768670207/tools/streams/v1/mirrors.json": cannot find URL "file:///tmp/juju-tools768670207/tools/streams/v1/mirrors.json" not found
2015-01-19 09:51:27 DEBUG juju.environs.simplestreams simplestreams.go:496 no mirror index file found
2015-01-19 09:51:27 DEBUG juju.environs.simplestreams simplestreams.go:477 no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found
2015-01-19 09:51:27 DEBUG juju.environs.simplestreams simplestreams.go:397 read metadata index at "file:///tmp/juju-tools768670207/tools/streams/v1/index.json"
2015-01-19 09:51:27 DEBUG juju.environs.simplestreams simplestreams.go:564 candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:armhf" "com.ubuntu.juju:12.04:arm64" "com.ubuntu.juju:12.04:ppc64el" "com.ubuntu.juju:12.10:amd64" "com.ubuntu.juju:12.10:i386" "com.ubuntu.juju:12.10:armhf" "com.ubuntu.juju:12.10:arm64" "com.ubuntu.juju:12.10:ppc64el" "com.ubuntu.juju:13.04:amd64" "com.ubuntu.juju:13.04:i386" "com.ubuntu.juju:13.04:armhf" "com.ubuntu.juju:13.04:arm64" "com.ubuntu.juju:13.04:ppc64el" "com.ubuntu.juju:13.10:amd64" "com.ubuntu.juju:13.10:i386" "com.ubuntu.juju:13.10:armhf" "com.ubuntu.juju:13.10:arm64" "com.ubuntu.juju:13.10:ppc64el" "com.ubuntu.juju:14.04:amd64" "com.ubuntu.juju:14.04:i386" "com.ubuntu.juju:14.04:armhf" "com.ubuntu.juju:14.04:arm64" "com.ubuntu.juju:14.04:ppc64el" "com.ubuntu.juju:14.10:amd64" "com.ubuntu.juju:14.10:i386" "com.ubuntu.juju:14.10:armhf" "com.ubuntu.juju:14.10:arm64" "com.ubuntu.juju:14.10:ppc64el" "com.ubuntu.juju:15.04:amd64" "com.ubuntu.juju:15.04:i386" "com.ubuntu.juju:15.04:armhf" "com.ubuntu.juju:15.04:arm64" "com.ubuntu.juju:15.04:ppc64el"] are [{Mon, 19 Jan 2015 10:51:27 +0100 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64 com.ubuntu.juju:14.04:amd64]}]
2015-01-19 09:51:27 DEBUG juju.environs.simplestreams simplestreams.go:877 finding products at path "streams/v1/com.ubuntu.juju:released:tools.json"
2015-01-19 09:51:27 INFO juju.utils http.go:59 hostname SSL verification enabled
2015-01-19 09:51:27 DEBUG juju.environs.simplestreams simplestreams.go:915 metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.20.14.1 amd64 map[20150119:0xc2101d4960]} com.ubuntu.juju:14.04:amd64:{ 1.20.14.1 amd64 map[20150119:0xc2101d4a80]}] map[] Mon, 19 Jan 2015 10:51:27 +0100 products:1.0 com.ubuntu.juju:released:tools }
2015-01-19 09:51:27 INFO juju.environs.sync sync.go:86 found 2 tools
2015-01-19 09:51:27 DEBUG juju.environs.sync sync.go:93 found source tool: &{1.20.14.1-precise-amd64 file:///tmp/juju-tools768670207/tools/releases/juju-1.20.14.1-precise-amd64.tgz d33acb0472ce9b6e1576548138f46899cdad06d95e6fb11c9d9807ced02efda2 8090239}
2015-01-19 09:51:27 DEBUG juju.environs.sync sync.go:93 found source tool: &{1.20.14.1-trusty-amd64 file:///tmp/juju-tools768670207/tools/releases/juju-1.20.14.1-trusty-amd64.tgz d33acb0472ce9b6e1576548138f46899cdad06d95e6fb11c9d9807ced02efda2 8090239}
2015-01-19 09:51:27 INFO juju.environs.sync sync.go:96 listing target tools storage
2015-01-19 09:51:27 DEBUG juju.environs.tools storage.go:35 reading v1.* tools
2015-01-19 09:51:28 INFO juju.environs.sync sync.go:109 found 0 tools in target; 2 tools to be copied
2015-01-19 09:51:28 INFO juju.environs.sync sync.go:149 copying 1.20.14.1-precise-amd64 from file:///tmp/juju-tools768670207/tools/releases/juju-1.20.14.1-precise-amd64.tgz
2015-01-19 09:51:28 INFO juju.environs.sync sync.go:163 copying tools/releases/juju-1.20.14.1-precise-amd64.tgz
2015-01-19 09:51:28 INFO juju.utils http.go:59 hostname SSL verification enabled
2015-01-19 09:51:28 INFO juju.environs.sync sync.go:176 downloaded tools/releases/juju-1.20.14.1-precise-amd64.tgz (7901kB), uploading
2015-01-19 09:51:28 INFO juju.environs.sync sync.go:177 download 7901kB, uploading
2015-01-19 09:51:28 INFO juju.environs.sync sync.go:149 copying 1.20.14.1-trusty-amd64 from file:///tmp/juju-tools768670207/tools/releases/juju-1.20.14.1-trusty-amd64.tgz
2015-01-19 09:51:28 INFO juju.environs.sync sync.go:163 copying tools/releases/juju-1.20.14.1-trusty-amd64.tgz
2015-01-19 09:51:28 INFO juju.utils http.go:59 hostname SSL verification enabled
2015-01-19 09:51:28 INFO juju.environs.sync sync.go:176 downloaded tools/releases/juju-1.20.14.1-trusty-amd64.tgz (7901kB), uploading
2015-01-19 09:51:28 INFO juju.environs.sync sync.go:177 download 7901kB, uploading
2015-01-19 09:51:28 INFO juju.environs.sync sync.go:114 copied 2 tools
2015-01-19 09:51:28 INFO juju.environs.sync sync.go:116 generating tools metadata
2015-01-19 09:51:28 DEBUG juju.environs.tools tools.go:46 no architecture specified when finding tools, looking for any
2015-01-19 09:51:28 DEBUG juju.environs.tools tools.go:57 no series specified when finding tools, looking for any
2015-01-19 09:51:28 DEBUG juju.environs.simplestreams simplestreams.go:419 fetchData failed for "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.sjson": failed to GET object tools/streams/v1/index.sjson from container 9e3d1c675364474d852b9be6631d35a8
caused by: Resource at http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.sjson not found
caused by: request (http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.sjson) returned unexpected status: 404; error info: <html><h1>Not Found</h1><p>The resource could not be found.</p></html>
2015-01-19 09:51:28 DEBUG juju.environs.simplestreams simplestreams.go:393 cannot load index "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.sjson": invalid URL "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.sjson" not found
2015-01-19 09:51:28 DEBUG juju.environs.simplestreams simplestreams.go:419 fetchData failed for "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.json": failed to GET object tools/streams/v1/index.json from container 9e3d1c675364474d852b9be6631d35a8
caused by: Resource at http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.json not found
caused by: request (http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.json) returned unexpected status: 404; error info: <html><h1>Not Found</h1><p>The resource could not be found.</p></html>
2015-01-19 09:51:28 DEBUG juju.environs.simplestreams simplestreams.go:393 cannot load index "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.json": invalid URL "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.json" not found
2015-01-19 09:51:28 INFO juju.environs.tools simplestreams.go:391 Writing tools/streams/v1/index.json
2015-01-19 09:51:28 INFO juju.environs.tools simplestreams.go:391 Writing tools/streams/v1/com.ubuntu.juju:released:tools.json
2015-01-19 09:51:28 INFO juju.environs.sync sync.go:128 tools metadata written
2015-01-19 09:51:28 DEBUG juju.environs.bootstrap bootstrap.go:45 environment "ost" supports service/machine networks: false
2015-01-19 09:51:28 DEBUG juju.environs.bootstrap bootstrap.go:47 network management by juju enabled: false
2015-01-19 09:51:28 INFO juju.environs.bootstrap bootstrap.go:48 bootstrapping environment "ost"
2015-01-19 09:51:28 DEBUG juju.environs.bootstrap synctools.go:167 looking for bootstrap tools: series="trusty", arch=<nil>, version=1.20.14.1
2015-01-19 09:51:28 INFO juju.environs.tools tools.go:87 reading tools with major.minor version 1.20
2015-01-19 09:51:28 INFO juju.environs.tools tools.go:95 filtering tools by version: 1.20.14.1
2015-01-19 09:51:28 INFO juju.environs.tools tools.go:98 filtering tools by series: trusty
2015-01-19 09:51:28 DEBUG juju.environs.tools tools.go:46 no architecture specified when finding tools, looking for any
2015-01-19 09:51:28 DEBUG juju.environs.simplestreams simplestreams.go:419 fetchData failed for "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.sjson": failed to GET object tools/streams/v1/index.sjson from container 9e3d1c675364474d852b9be6631d35a8
caused by: Resource at http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.sjson not found
caused by: request (http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.sjson) returned unexpected status: 404; error info: <html><h1>Not Found</h1><p>The resource could not be found.</p></html>
2015-01-19 09:51:28 DEBUG juju.environs.simplestreams simplestreams.go:393 cannot load index "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.sjson": invalid URL "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.sjson" not found
2015-01-19 09:51:29 DEBUG juju.environs.simplestreams simplestreams.go:419 fetchData failed for "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/mirrors.json": failed to GET object tools/streams/v1/mirrors.json from container 9e3d1c675364474d852b9be6631d35a8
caused by: Resource at http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/mirrors.json not found
caused by: request (http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/mirrors.json) returned unexpected status: 404; error info: <html><h1>Not Found</h1><p>The resource could not be found.</p></html>
2015-01-19 09:51:29 DEBUG juju.environs.simplestreams simplestreams.go:496 no mirror index file found
2015-01-19 09:51:29 DEBUG juju.environs.simplestreams simplestreams.go:477 no mirror information available for {RegionOne http://192.168.0.194:5000/v2.0}: mirror data for "com.ubuntu.juju:released:tools" not found
2015-01-19 09:51:29 DEBUG juju.environs.simplestreams simplestreams.go:397 read metadata index at "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/streams/v1/index.json"
2015-01-19 09:51:29 DEBUG juju.environs.simplestreams simplestreams.go:564 candidate matches for products ["com.ubuntu.juju:14.04:amd64" "com.ubuntu.juju:14.04:i386" "com.ubuntu.juju:14.04:armhf" "com.ubuntu.juju:14.04:arm64" "com.ubuntu.juju:14.04:ppc64el"] are [{Mon, 19 Jan 2015 10:51:28 +0100 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64 com.ubuntu.juju:14.04:amd64]}]
2015-01-19 09:51:29 DEBUG juju.environs.simplestreams simplestreams.go:877 finding products at path "streams/v1/com.ubuntu.juju:released:tools.json"
2015-01-19 09:51:29 DEBUG juju.environs.simplestreams simplestreams.go:915 metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.20.14.1 amd64 map[20150119:0xc210fde4e0]} com.ubuntu.juju:14.04:amd64:{ 1.20.14.1 amd64 map[20150119:0xc210fde600]}] map[] Mon, 19 Jan 2015 10:51:28 +0100 products:1.0 com.ubuntu.juju:released:tools }
2015-01-19 09:51:29 INFO juju.environs.bootstrap bootstrap.go:60 newest version: 1.20.14.1
2015-01-19 09:51:29 INFO juju.environs.bootstrap bootstrap.go:88 picked bootstrap tools version: 1.20.14.1
2015-01-19 09:51:29 DEBUG juju.provider.common bootstrap.go:111 generate a system ssh key
Launching instance
2015-01-19 09:51:31 DEBUG juju.environs.simplestreams simplestreams.go:419 fetchData failed for "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/index.sjson": failed to GET object images/streams/v1/index.sjson from container 9e3d1c675364474d852b9be6631d35a8
caused by: Resource at http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/index.sjson not found
caused by: request (http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/index.sjson) returned unexpected status: 404; error info: <html><h1>Not Found</h1><p>The resource could not be found.</p></html>
2015-01-19 09:51:31 DEBUG juju.environs.simplestreams simplestreams.go:393 cannot load index "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/index.sjson": invalid URL "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/index.sjson" not found
2015-01-19 09:51:31 DEBUG juju.environs.simplestreams simplestreams.go:419 fetchData failed for "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/mirrors.json": failed to GET object images/streams/v1/mirrors.json from container 9e3d1c675364474d852b9be6631d35a8
caused by: Resource at http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/mirrors.json not found
caused by: request (http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/mirrors.json) returned unexpected status: 404; error info: <html><h1>Not Found</h1><p>The resource could not be found.</p></html>
2015-01-19 09:51:31 DEBUG juju.environs.simplestreams simplestreams.go:496 no mirror index file found
2015-01-19 09:51:31 DEBUG juju.environs.simplestreams simplestreams.go:397 read metadata index at "http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/images/streams/v1/index.json"
2015-01-19 09:51:31 DEBUG juju.environs.simplestreams simplestreams.go:564 candidate matches for products ["com.ubuntu.cloud:server:14.04:amd64"] are [{Mon, 19 Jan 2015 10:36:28 +0100 products:1.0 image-ids custom [{RegionOne http://192.168.0.194:5000/v2.0}] streams/v1/com.ubuntu.cloud:released:imagemetadata.json [com.ubuntu.cloud:server:14.04:amd64]}]
2015-01-19 09:51:31 DEBUG juju.environs.simplestreams simplestreams.go:877 finding products at path "streams/v1/com.ubuntu.cloud:released:imagemetadata.json"
2015-01-19 09:51:31 DEBUG juju.environs.simplestreams simplestreams.go:915 metadata: &{map[com.ubuntu.cloud:server:14.04:amd64:{ 14.04 amd64 map[20151901:0xc2101c8d20]}] map[] Mon, 19 Jan 2015 10:36:28 +0100 products:1.0 com.ubuntu.cloud:custom }
2015-01-19 09:51:31 DEBUG juju.provider.openstack provider.go:963 openstack user data; 1365 bytes
2015-01-19 09:51:31 DEBUG juju.provider.openstack provider.go:971 using network id "2b162872-b071-43c3-959d-4bccf69e3c5f"
2015-01-19 09:51:32 INFO juju.provider.openstack provider.go:1030 started instance "e7b5dba7-2b8d-49f0-91d0-8d5d690f7915"
- e7b5dba7-2b8d-49f0-91d0-8d5d690f7915
2015-01-19 09:51:32 DEBUG juju.environs.bootstrap state.go:36 putting "provider-state" to bootstrap storage *openstack.openstackstorage
Waiting for address
2015-01-19 09:51:32 INFO juju.provider.openstack provider.go:403 instance e7b5dba7-2b8d-49f0-91d0-8d5d690f7915 has floating IP address:
2015-01-19 09:51:42 INFO juju.provider.openstack provider.go:403 instance e7b5dba7-2b8d-49f0-91d0-8d5d690f7915 has floating IP address:
Attempting to connect to 10.0.0.2:22
2015-01-19 09:51:42 DEBUG juju.utils.ssh ssh_openssh.go:129 running: ssh -o "StrictHostKeyChecking no" -o "PasswordAuthentication no" -o "ServerAliveInterval 30" -i /home/mike/.juju/ssh/juju_id_rsa -i /home/mike/.ssh/id_rsa ubuntu@10.0.0.2 /bin/bash
2015-01-19 09:51:51 DEBUG juju.utils.ssh ssh_openssh.go:129 running: ssh -o "StrictHostKeyChecking no" -o "PasswordAuthentication no" -o "ServerAliveInterval 30" -i /home/mike/.juju/ssh/juju_id_rsa -i /home/mike/.ssh/id_rsa ubuntu@10.0.0.2 /bin/bash
2015-01-19 09:51:52 INFO juju.provider.openstack provider.go:403 instance e7b5dba7-2b8d-49f0-91d0-8d5d690f7915 has floating IP address:
2015-01-19 09:51:59 DEBUG juju.utils.ssh ssh_openssh.go:129 running: ssh -o "StrictHostKeyChecking no" -o "PasswordAuthentication no" -o "ServerAliveInterval 30" -i /home/mike/.juju/ssh/juju_id_rsa -i /home/mike/.ssh/id_rsa ubuntu@10.0.0.2 /bin/bash
2015-01-19 09:52:02 INFO juju.provider.openstack provider.go:403 instance e7b5dba7-2b8d-49f0-91d0-8d5d690f7915 has floating IP address:
2015-01-19 09:52:04 DEBUG juju.utils.ssh ssh_openssh.go:129 running: ssh -o "StrictHostKeyChecking no" -o "PasswordAuthentication no" -o "ServerAliveInterval 30" -i /home/mike/.juju/ssh/juju_id_rsa -i /home/mike/.ssh/id_rsa ubuntu@10.0.0.2 /bin/bash
2015-01-19 09:52:09 DEBUG juju.utils.ssh ssh_openssh.go:129 running: ssh -o "StrictHostKeyChecking no" -o "PasswordAuthentication no" -o "ServerAliveInterval 30" -i /home/mike/.juju/ssh/juju_id_rsa -i /home/mike/.ssh/id_rsa ubuntu@10.0.0.2 /bin/bash
2015-01-19 09:52:12 INFO juju.provider.openstack provider.go:403 instance e7b5dba7-2b8d-49f0-91d0-8d5d690f7915 has floating IP address:
2015-01-19 09:52:14 DEBUG juju.cloudinit.sshinit configure.go:51 Running script on ubuntu@10.0.0.2: dump_file() {
code=$?
if [ $code -ne 0 -a -e '/var/log/cloud-init-output.log' ]; then
cat '/var/log/cloud-init-output.log' >&2
fi
exit $code
}
trap dump_file EXIT
#!/bin/bash
set -e
test -e /proc/self/fd/9 || exec 9>&2
(
test -e /proc/self/fd/9 || exec 9>&2
echo 'Logging to /var/log/cloud-init-output.log on remote host' >&9
export DEBIAN_FRONTEND=noninteractive
echo 'Running apt-get update' >&9
apt-get --option Dpkg::Options::=--force-confold --assume-yes update
echo 'Running apt-get upgrade' >&9
apt-get --option Dpkg::Options::=--force-confold --assume-yes upgrade
echo 'Installing package: git' >&9
apt-get --option Dpkg::Options::=--force-confold --assume-yes install 'git'
echo 'Installing package: curl' >&9
apt-get --option Dpkg::Options::=--force-confold --assume-yes install 'curl'
echo 'Installing package: cpu-checker' >&9
apt-get --option Dpkg::Options::=--force-confold --assume-yes install 'cpu-checker'
echo 'Installing package: bridge-utils' >&9
apt-get --option Dpkg::Options::=--force-confold --assume-yes install 'bridge-utils'
echo 'Installing package: rsyslog-gnutls' >&9
apt-get --option Dpkg::Options::=--force-confold --assume-yes install 'rsyslog-gnutls'
test -e /proc/self/fd/9 || exec 9>&2
([ ! -e /home/ubuntu/.profile ] || grep -q '.juju-proxy' /home/ubuntu/.profile) || printf '\n# Added by juju\n[ -f "$HOME/.juju-proxy" ] && . "$HOME/.juju-proxy"\n' >> /home/ubuntu/.profile
mkdir -p /var/lib/juju/locks
[ -e /home/ubuntu ] && chown ubuntu:ubuntu /var/lib/juju/locks
mkdir -p /var/log/juju
chown syslog:adm /var/log/juju
echo 'Fetching tools: curl -sSfw '"'"'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s '"'"' --retry 10 -o $bin/tools.tar.gz '"'"'http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/releases/juju-1.20.14.1-trusty-amd64.tgz'"'"'' >&9
bin='/var/lib/juju/tools/1.20.14.1-trusty-amd64'
mkdir -p $bin
for n in $(seq 1 5); do
echo "Attempt $n to download tools..."
curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz 'http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/releases/juju-1.20.14.1-trusty-amd64.tgz' && echo "Tools downloaded successfully." && break
if [ $n -lt 5 ]; then
echo "Download failed..... wait 15s"
fi
sleep 15
done
sha256sum $bin/tools.tar.gz > $bin/juju1.20.14.1-trusty-amd64.sha256
grep 'ff1f7c08726a4e78561a848ab7b3bae1c1ebe60242c0898556ef38900c63cf00' $bin/juju1.20.14.1-trusty-amd64.sha256 || (echo "Tools checksum mismatch"; exit 1)
tar zxf $bin/tools.tar.gz -C $bin
rm $bin/tools.tar.gz && rm $bin/juju1.20.14.1-trusty-amd64.sha256
printf %s '{"version":"1.20.14.1-trusty-amd64","url":"http://192.168.0.194:8080/v1/AUTH_3b048444b53448adb2adfb25dff2204a/9e3d1c675364474d852b9be6631d35a8/tools/releases/juju-1.20.14.1-trusty-amd64.tgz","sha256":"ff1f7c08726a4e78561a848ab7b3bae1c1ebe60242c0898556ef38900c63cf00","size":8090239}' > $bin/downloaded-tools.txt
mkdir -p '/var/lib/juju/agents/machine-0'
install -m 600 /dev/null '/var/lib/juju/agents/machine-0/agent.conf'
printf '%s\n' '# format 1.18
tag: machine-0
datadir: /var/lib/juju
logdir: /var/log/juju
nonce: user-admin:bootstrap
jobs:
- JobManageEnviron
- JobHostUnits
upgradedToVersion: 1.20.14.1
cacert: '"'"'-----BEGIN CERTIFICATE-----
MIICVzCCAcKgAwIBAgIBADALBgkqhkiG9w0BAQUwQTENMAsGA1UEChMEanVqdTEw
MC4GA1UEAwwnanVqdS1nZW5lcmF0ZWQgQ0EgZm9yIGVudmlyb25tZW50ICJvc3Qi
MB4XDTE1MDExOTA5NDYyMVoXDTI1MDExOTA5NTEyMVowQTENMAsGA1UEChMEanVq
dTEwMC4GA1UEAwwnanVqdS1nZW5lcmF0ZWQgQ0EgZm9yIGVudmlyb25tZW50ICJv
c3QiMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDb6ZDiMjkXx40OEjuOOhgM
r3gS2pTau4GcPg7fZzkPcXwOECFEGZMEYukCq7c/p8d/BrcKULkLlDW98lbWN6bZ
6QUjJBJxtORi8PicsOr/5xxUglfrZwNUbAm7pc9Gtwn9IAsQqpws14GbbC2Rx0Cn
X7kQGVEA/VVtknt2mI8IbwIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAKQwDwYDVR0T
AQH/BAUwAwEB/zAdBgNVHQ4EFgQUR8Tr34oLK5aHJHU9fdsr7bjbdBgwHwYDVR0j
BBgwFoAUR8Tr34oLK5aHJHU9fdsr7bjbdBgwCwYJKoZIhvcNAQEFA4GBAChoSbQb
UXus1pst+XjNWbcT336TgbUm2Imq/TVExOB/Y0Frp/Ic59Ehj9N3IKoCGZjfyaQR
1OP/LcIrIN6m23/90cNcHUfqlTVc0OepMhFmxl0AeOtsseGuZuWmDxPSOdlTZiTD
gfyhnDG1GE/JsOLm9PjA2vfJ0DQI+VBXD27P
-----END CERTIFICATE-----
'"'"'
stateaddresses:
- localhost:37017
apiaddresses:
- localhost:17070
oldpassword: qlUcjZrtuD/lPlgCpjsJPW4t
values:
AGENT_SERVICE_NAME: jujud-machine-0
CONTAINER_TYPE: ""
PROVIDER_TYPE: openstack
stateservercert: '"'"'-----BEGIN CERTIFICATE-----
MIICNTCCAaCgAwIBAgIBADALBgkqhkiG9w0BAQUwQTENMAsGA1UEChMEanVqdTEw
MC4GA1UEAwwnanVqdS1nZW5lcmF0ZWQgQ0EgZm9yIGVudmlyb25tZW50IC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"'"'
' > '/var/lib/juju/agents/machine-0/agent.conf'
echo 'Bootstrapping Juju machine agent' >&9
/var/lib/juju/tools/1.20.14.1-trusty-amd64/jujud bootstrap-state --data-dir '/var/lib/juju' --env-config 'YWNjZXNzLWtleTogIiIKYWRtaW4tc2VjcmV0OiAiIgphZ2VudC12ZXJzaW9uOiAxLjIwLjE0LjEKYXBpLXBvcnQ6IDE3MDcwCmF1dGgtbW9kZTogdXNlcnBhc3MKYXV0aC11cmw6IGh0dHA6Ly8xOTIuMTY4LjAuMTk0OjUwMDAvdjIuMAphdXRob3JpemVkLWtleXM6ICdzc2gtcnNhIEFBQUFCM056YUMxeWMyRUFBQUFEQVFBQkFBQUJBUUREUGt1clllYmh4ZDFVOW5kQ2xQdldBSGF1bzFqT3ZGaDhkcXhVN2RDalNvWFpveVdNMExNQ2l4YThpSTJFb2J3bXBLZkNsWFNvbzVmeTNJZVg5aVY5ZHFaM3dOTVY1eXNHR3VZY1h2Q0xRcDFLVmQxSkw2MVhPa2JtL2RPYzJzbVo0ZmgxQVA2ZFUyUDd4UHVJZVJpV3ZqblcyVUJXNXMxc29kOWNTdG4rN2FHTXZFN1pUblBsdXE3dG95S0krdlplRXhwL2Q2b0RUZjJJWjFBa0tjODBHRXRsaWZkU1c0MXkvbGV4RXo5TC85Ti82M2pUZXdVUy9qSk04SWk1b0tIQlBPdHZNSEZVeCtJM2tRWUxHMjVtajl6ZXRCR0xiZVV6L0tYZGRLUWhwK2tYYnVGdWRvMk94Vk5BdzIvc2FtZzJqS2YzQlBJN1dYaEdLVzVaWThleAogIGp1anUtY2xpZW50LWtleQoKICBzc2gtcnNhIEFBQUFCM056YUMxeWMyRUFBQUFEQVFBQkFBQUNBUUNzVFcwcFd2bUF4aU5DTmZNQ0RMTEpZeEV3bmF2anV3Z1ptdmpPN1pYNyt2Yk8waDBxY3laa0lyOS9BUHd2UUJtdGFKTmhTZE92SW1NSTBOYVpEM0c2cDFEVXlkNVhCYk9nN3V4eStzVTlRNmxVY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c2VjcmV0LWtleTogIiIKc3NsLWhvc3RuYW1lLXZlcmlmaWNhdGlvbjogdHJ1ZQpzdGF0ZS1wb3J0OiAzNzAxNwpzeXNsb2ctcG9ydDogNjUxNAp0ZW5hbnQtbmFtZTogZGVtbwp0ZXN0LW1vZGU6IGZhbHNlCnRvb2xzLW1ldGFkYXRhLXVybDogIiIKdG9vbHMtdXJsOiAiIgp0eXBlOiBvcGVuc3RhY2sKdXNlLWRlZmF1bHQtc2VjZ3JvdXA6IGZhbHNlCnVzZS1mbG9hdGluZy1pcDogZmFsc2UKdXNlcm5hbWU6IGFkbWluCg==' --instance-id 'e7b5dba7-2b8d-49f0-91d0-8d5d690f7915' --hardware 'arch=amd64 cpu-cores=1 mem=2048M root-disk=20480M' --debug
ln -s 1.20.14.1-trusty-amd64 '/var/lib/juju/tools/machine-0'
echo 'Starting Juju machine agent (jujud-machine-0)' >&9
cat >> /etc/init/jujud-machine-0.conf << 'EOF'
description "juju machine-0 agent"
author "Juju Team <juju@lists.ubuntu.com>"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
normal exit 0
limit nofile 20000 20000
exec /var/lib/juju/tools/machine-0/jujud machine --data-dir '/var/lib/juju' --machine-id 0 --debug >> /var/log/juju/machine-0.log 2>&1
EOF
start jujud-machine-0
) >> /var/log/cloud-init-output.log 2>&1
2015-01-19 09:52:14 DEBUG juju.utils.ssh ssh.go:234 using OpenSSH ssh client
2015-01-19 09:52:14 DEBUG juju.utils.ssh ssh_openssh.go:129 running: ssh -o "StrictHostKeyChecking no" -o "PasswordAuthentication no" -o "ServerAliveInterval 30" -i /home/mike/.juju/ssh/juju_id_rsa -i /home/mike/.ssh/id_rsa ubuntu@10.0.0.2 sudo /bin/bash
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
5c:b3:27:95:a7:3a:5f:44:4a:18:37:85:73:61:23:9b.
Please contact your system administrator.
Add correct host key in /home/mike/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/mike/.ssh/known_hosts:6
remove with: ssh-keygen -f "/home/mike/.ssh/known_hosts" -R 10.0.0.2
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
|