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 | Cloud-init v. 0.7.5 running 'init-local' at Fri, 11 Mar 2016 18:18:28 +0000. Up 45.82 seconds.
Cloud-init v. 0.7.5 running 'init' at Fri, 11 Mar 2016 18:18:30 +0000. Up 47.39 seconds.
ci-info: +++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++
ci-info: +--------+-------+---------------+---------------+-------------------+
ci-info: | Device | Up | Address | Mask | Hw-Address |
ci-info: +--------+-------+---------------+---------------+-------------------+
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . |
ci-info: | eth1 | False | . | . | 00:21:9b:8c:95:25 |
ci-info: | eth0 | True | 192.168.4.146 | 255.255.255.0 | 00:21:9b:8c:95:23 |
ci-info: +--------+-------+---------------+---------------+-------------------+
ci-info: +++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++++
ci-info: +-------+-------------+-------------+---------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+-------------+-------------+---------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 192.168.4.1 | 0.0.0.0 | eth0 | UG |
ci-info: | 1 | 192.168.4.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U |
ci-info: +-------+-------------+-------------+---------------+-----------+-------+
Mar 11 18:18:32 ubuntu pollinate[854]: ERROR: Network communication failed [60]\n18:18:32.595516 * Hostname was NOT found in DNS cache
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 018:18:32.599905 * Trying 91.189.94.24...
18:18:32.693712 * Connected to entropy.ubuntu.com (91.189.94.24) port 443 (#0)
18:18:32.696043 * successfully set certificate verify locations:
18:18:32.696060 * CAfile: /etc/pollinate/entropy.ubuntu.com.pem
CApath: /dev/null
18:18:32.696150 * SSLv3, TLS handshake, Client hello (1):
18:18:32.696165 } [data not shown]
18:18:32.809478 * SSLv3, TLS handshake, Server hello (2):
18:18:32.809507 { [data not shown]
18:18:32.809577 * SSLv3, TLS handshake, CERT (11):
18:18:32.809591 { [data not shown]
18:18:32.809928 * SSLv3, TLS alert, Server hello (2):
18:18:32.809943 } [data not shown]
18:18:32.810006 * SSL certificate problem: unable to get local issuer certificate
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
18:18:32.810074 * Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
2016-03-11 18:18:32,450 - util.py[WARNING]: Running seed_random (<module 'cloudinit.config.cc_seed_random' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_seed_random.pyc'>) failed
2016-03-11 18:18:32,477 - cc_resizefs.py[WARNING]: Device 'overlayroot' did not exist. cannot resize: dev=overlayroot mnt_point=/ path=/
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
9b:7e:8b:44:25:3b:e0:c4:38:22:63:b0:51:54:a2:93 root@Node-7
The key's randomart image is:
+--[ RSA 2048]----+
|oo+.. |
|.= . o |
|E.. o + . . |
|.+ . + . + |
| . S |
| . + |
| + |
| o .. |
| o... |
+-----------------+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
3b:cd:f7:e6:18:df:e4:f3:a7:06:82:a1:b6:d9:a8:40 root@Node-7
The key's randomart image is:
+--[ DSA 1024]----+
| |
| |
| |
| . |
| E .So |
| . o .+. . |
| . . =o o.o. .|
| . + .. . =o=.|
| .. .+=.B|
+-----------------+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
The key fingerprint is:
90:ee:f5:cc:d9:fe:70:42:4f:68:6e:e9:17:e4:cc:7b root@Node-7
The key's randomart image is:
+--[ECDSA 256]---+
| |
| . |
| o |
| . . .. |
| . S +=. |
| . . + * += |
| . = B oo |
| + +o E|
| oo.. |
+-----------------+
Cloud-init v. 0.7.5 running 'modules:config' at Fri, 11 Mar 2016 18:18:33 +0000. Up 50.58 seconds.
Generating locales...
en_US.UTF-8... up-to-date
Generation complete.
Cloud-init v. 0.7.5 running 'modules:final' at Fri, 11 Mar 2016 18:18:36 +0000. Up 54.34 seconds.
Ign http://archive.ubuntu.com trusty InRelease
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Get:3 http://archive.ubuntu.com trusty-updates/main amd64 Packages [714 kB]
Get:4 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [339 kB]
Get:5 http://archive.ubuntu.com trusty-security/main amd64 Packages [431 kB]
Get:6 http://archive.ubuntu.com trusty-security/universe amd64 Packages [125 kB]
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Fetched 1741 kB in 1s (1114 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libdevmapper-event1.02.1 libgmp10 liblzo2-2 libreadline5 postfix
python-crypto ssl-cert watershed
Suggested packages:
thin-provisioning-tools procmail postfix-mysql postfix-pgsql postfix-ldap
postfix-pcre sasl2-bin dovecot-common postfix-cdb mail-reader postfix-doc
python-crypto-dbg python-crypto-doc openssl-blacklist xfsdump acl attr quota
Recommended packages:
default-mta mail-transport-agent
The following NEW packages will be installed:
bcache-tools btrfs-tools libdevmapper-event1.02.1 libgmp10 liblzo2-2
libreadline5 lvm2 mdadm postfix python-crypto python-oauthlib ssl-cert
watershed xfsprogs
0 upgraded, 14 newly installed, 0 to remove and 191 not upgraded.
Need to get 3506 kB of archives.
After this operation, 14.6 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libdevmapper-event1.02.1 amd64 2:1.02.77-6ubuntu2 [10.8 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libgmp10 amd64 2:5.1.3+dfsg-1ubuntu1 [218 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main liblzo2-2 amd64 2.06-1.2ubuntu1.1 [46.1 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libreadline5 amd64 5.2+dfsg-2 [130 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main bcache-tools amd64 1.0.7-1~14.04.1 [17.4 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main btrfs-tools amd64 3.12-1ubuntu0.1 [334 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty/main watershed amd64 7 [11.4 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main lvm2 amd64 2.02.98-6ubuntu2 [470 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mdadm amd64 3.2.5-5ubuntu4.2 [361 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ trusty/main ssl-cert all 1.0.33 [16.6 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ trusty-updates/main postfix amd64 2.11.0-1ubuntu1 [1084 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ trusty/main python-crypto amd64 2.6.1-4build1 [239 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ trusty/main python-oauthlib all 0.6.1-1 [59.4 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ trusty/main xfsprogs amd64 3.1.9ubuntu2 [508 kB]
Preconfiguring packages ...
Fetched 3506 kB in 0s (41.0 MB/s)
Selecting previously unselected package libdevmapper-event1.02.1:amd64.
(Reading database ... 56007 files and directories currently installed.)
Preparing to unpack .../libdevmapper-event1.02.1_2%3a1.02.77-6ubuntu2_amd64.deb ...
Unpacking libdevmapper-event1.02.1:amd64 (2:1.02.77-6ubuntu2) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a5.1.3+dfsg-1ubuntu1_amd64.deb ...
Unpacking libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Selecting previously unselected package liblzo2-2:amd64.
Preparing to unpack .../liblzo2-2_2.06-1.2ubuntu1.1_amd64.deb ...
Unpacking liblzo2-2:amd64 (2.06-1.2ubuntu1.1) ...
Selecting previously unselected package libreadline5:amd64.
Preparing to unpack .../libreadline5_5.2+dfsg-2_amd64.deb ...
Unpacking libreadline5:amd64 (5.2+dfsg-2) ...
Selecting previously unselected package bcache-tools.
Preparing to unpack .../bcache-tools_1.0.7-1~14.04.1_amd64.deb ...
Unpacking bcache-tools (1.0.7-1~14.04.1) ...
Selecting previously unselected package btrfs-tools.
Preparing to unpack .../btrfs-tools_3.12-1ubuntu0.1_amd64.deb ...
Unpacking btrfs-tools (3.12-1ubuntu0.1) ...
Selecting previously unselected package watershed.
Preparing to unpack .../archives/watershed_7_amd64.deb ...
Unpacking watershed (7) ...
Selecting previously unselected package lvm2.
Preparing to unpack .../lvm2_2.02.98-6ubuntu2_amd64.deb ...
Unpacking lvm2 (2.02.98-6ubuntu2) ...
Selecting previously unselected package mdadm.
Preparing to unpack .../mdadm_3.2.5-5ubuntu4.2_amd64.deb ...
Unpacking mdadm (3.2.5-5ubuntu4.2) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../ssl-cert_1.0.33_all.deb ...
Unpacking ssl-cert (1.0.33) ...
Selecting previously unselected package postfix.
Preparing to unpack .../postfix_2.11.0-1ubuntu1_amd64.deb ...
Unpacking postfix (2.11.0-1ubuntu1) ...
Selecting previously unselected package python-crypto.
Preparing to unpack .../python-crypto_2.6.1-4build1_amd64.deb ...
Unpacking python-crypto (2.6.1-4build1) ...
Selecting previously unselected package python-oauthlib.
Preparing to unpack .../python-oauthlib_0.6.1-1_all.deb ...
Unpacking python-oauthlib (0.6.1-1) ...
Selecting previously unselected package xfsprogs.
Preparing to unpack .../xfsprogs_3.1.9ubuntu2_amd64.deb ...
Unpacking xfsprogs (3.1.9ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Setting up libdevmapper-event1.02.1:amd64 (2:1.02.77-6ubuntu2) ...
Setting up libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Setting up liblzo2-2:amd64 (2.06-1.2ubuntu1.1) ...
Setting up libreadline5:amd64 (5.2+dfsg-2) ...
Setting up bcache-tools (1.0.7-1~14.04.1) ...
update-initramfs: deferring update (trigger activated)
Setting up btrfs-tools (3.12-1ubuntu0.1) ...
update-initramfs: deferring update (trigger activated)
Setting up watershed (7) ...
update-initramfs: deferring update (trigger activated)
Setting up lvm2 (2.02.98-6ubuntu2) ...
update-initramfs: deferring update (trigger activated)
Setting up mdadm (3.2.5-5ubuntu4.2) ...
Generating mdadm.conf... done.
Removing any system startup links for /etc/init.d/mdadm-raid ...
update-initramfs: deferring update (trigger activated)
/usr/sbin/grub-probe: error: failed to get canonical path of `overlayroot'.
* Starting MD monitoring service mdadm --monitor
...done.
Setting up ssl-cert (1.0.33) ...
hostname: Name or service not known
make-ssl-cert: Could not get FQDN, using "Node-7".
make-ssl-cert: You may want to fix your /etc/hosts and/or DNS setup and run
make-ssl-cert: make-ssl-cert generate-default-snakeoil --force-overwrite
make-ssl-cert: again.
Setting up postfix (2.11.0-1ubuntu1) ...
Adding group `postfix' (GID 112) ...
Done.
Adding system user `postfix' (UID 106) ...
Adding new user `postfix' (UID 106) with group `postfix' ...
Not creating home directory `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding tcp map entry to /etc/postfix/dynamicmaps.cf
Adding sqlite map entry to /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (GID 113) ...
Done.
setting myhostname: Node-7.crouse-lab.com.
setting alias maps
setting alias database
mailname is not a fully qualified domain name. Not changing /etc/mailname.
setting destinations: localdomain, localhost, localhost.localdomain, localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
setting inet_protocols: all
/etc/aliases does not exist, creating it.
WARNING: /etc/aliases exists, but does not have a root alias.
Postfix is now set up with a default configuration. If you need to make
changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: Node-7.crouse-lab.com.
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: Node-7.crouse-lab.com.
dpkg: error processing package postfix (--configure):
subprocess installed post-installation script returned error exit status 75
Setting up python-crypto (2.6.1-4build1) ...
Setting up python-oauthlib (0.6.1-1) ...
Setting up xfsprogs (3.1.9ubuntu2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-35-generic
cryptsetup: WARNING: failed to detect canonical device of /media/root-ro/
cryptsetup: WARNING: could not determine root device from /etc/fstab
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
Unexpected error while running command.
Command: ['eatmydata', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', 'lvm2', 'mdadm', 'btrfs-tools', 'xfsprogs', 'bcache-tools', 'python-oauthlib']
Exit code: 100
Reason: -
Stdout: ''
Stderr: ''
2016-03-11 18:19:00,706 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [100]
2016-03-11 18:19:00,707 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2016-03-11 18:19:00,707 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
Cloud-init v. 0.7.5 finished at Fri, 11 Mar 2016 18:19:00 +0000. Datasource DataSourceMAAS [http://192.168.4.28/MAAS/metadata/curtin]. Up 78.66 seconds
|