set-boot-disk yields in a machine not being able to deploy

Bug #1501400 reported by Andres Rodriguez on 2015-09-30
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Critical
Blake Rouse
curtin
Undecided
Unassigned

Bug Description

I commissioned a machine with 2 disks. Right after the machine was commissioned, "vda" was set as the root disk "/". However, Via the API I set-boot-disk to vdb. However, the deployment failed:

Ign http://security.ubuntu.com trusty-security InRelease
Ign http://archive.ubuntu.com trusty InRelease
Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Ign http://archive.ubuntu.com trusty-updates InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Get:2 http://security.ubuntu.com trusty-security Release [63.5 kB]
Get:3 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Get:4 http://security.ubuntu.com trusty-security/main Sources [96.2 kB]
Hit http://archive.ubuntu.com trusty Release
Get:5 http://archive.ubuntu.com trusty-updates Release [63.5 kB]
Get:6 http://security.ubuntu.com trusty-security/universe Sources [31.1 kB]
Get:7 http://archive.ubuntu.com trusty/main Sources [1064 kB]
Get:8 http://security.ubuntu.com trusty-security/main amd64 Packages [350 kB]
Get:9 http://security.ubuntu.com trusty-security/universe amd64 Packages [117 kB]
Get:10 http://archive.ubuntu.com trusty/universe Sources [6399 kB]
Get:11 http://security.ubuntu.com trusty-security/main Translation-en [191 kB]
Get:12 http://security.ubuntu.com trusty-security/universe Translation-en [68.2 kB]
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:13 http://archive.ubuntu.com trusty-updates/main Sources [236 kB]
Get:14 http://archive.ubuntu.com trusty-updates/universe Sources [139 kB]
Get:15 http://archive.ubuntu.com trusty-updates/main amd64 Packages [626 kB]
Get:16 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [320 kB]
Get:17 http://archive.ubuntu.com trusty-updates/main Translation-en [304 kB]
Get:18 http://archive.ubuntu.com trusty-updates/universe Translation-en [168 kB]
Fetched 10.2 MB in 8s (1203 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 libreadline5 postfix 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
  openssl-blacklist
Recommended packages:
  default-mta mail-transport-agent
The following NEW packages will be installed:
  bcache-tools libdevmapper-event1.02.1 libreadline5 lvm2 mdadm postfix
  ssl-cert watershed
0 upgraded, 8 newly installed, 0 to remove and 49 not upgraded.
Need to get 2101 kB of archives.
After this operation, 6837 kB 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 libreadline5 amd64 5.2+dfsg-2 [130 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main bcache-tools amd64 1.0.7-1~14.04.1 [17.4 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main watershed amd64 7 [11.4 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty/main lvm2 amd64 2.02.98-6ubuntu2 [470 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mdadm amd64 3.2.5-5ubuntu4.2 [361 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty/main ssl-cert all 1.0.33 [16.6 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/main postfix amd64 2.11.0-1ubuntu1 [1084 kB]
Preconfiguring packages ...
Fetched 2101 kB in 0s (20.5 MB/s)
Selecting previously unselected package libdevmapper-event1.02.1:amd64.
(Reading database ... 56174 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 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 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) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
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 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 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'.
invoke-rc.d: policy-rc.d denied execution of start.
Setting up ssl-cert (1.0.33) ...
hostname: Name or service not known
make-ssl-cert: Could not get FQDN, using "node01".
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: node01
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
invoke-rc.d: policy-rc.d denied execution of restart.
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-62-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) ...
Error: /dev/vda: unrecognised disk label
mdadm: No arrays found in config file or automatically
mdadm: No arrays found in config file or automatically
Error: /dev/vdb: unrecognised disk label
--2015-09-30 15:47:30-- http://192.168.122.1:5248/images/ubuntu/amd64/generic/trusty/daily/root-tgz
Connecting to 192.168.122.1:5248... connected.
HTTP request sent, awaiting response... 200 OK
Length: 319472215 (305M) [text/html]
Saving to: 'STDOUT'

     0K ........ ........ ........ ........ ........ ........ 0% 12.0M 25s
  3072K ........ ........ ........ ........ ........ ........ 1% 29.0M 18s
  6144K ........ ........ ........ ........ ........ ........ 2% 8.97M 23s
  9216K ........ ........ ........ ........ ........ ........ 3% 18.7M 21s
 12288K ........ ........ ........ ........ ........ ........ 4% 16.6M 20s
 15360K ........ ........ ........ ........ ........ ........ 5% 21.0M 19s
 18432K ........ ........ ........ ........ ........ ........ 6% 9.13M 20s
 21504K ........ ........ ........ ........ ........ ........ 7% 29.3M 19s
 24576K ........ ........ ........ ........ ........ ........ 8% 38.6M 17s
 27648K ........ ........ ........ ........ ........ ........ 9% 16.6M 17s
 30720K ........ ........ ........ ........ ........ ........ 10% 29.1M 16s
 33792K ........ ........ ........ ........ ........ ........ 11% 16.5M 16s
 36864K ........ ........ ........ ........ ........ ........ 12% 44.0M 15s
 39936K ........ ........ ........ ........ ........ ........ 13% 18.7M 15s
 43008K ........ ........ ........ ........ ........ ........ 14% 15.8M 15s
 46080K ........ ........ ........ ........ ........ ........ 15% 18.9M 15s
 49152K ........ ........ ........ ........ ........ ........ 16% 17.0M 14s
 52224K ........ ........ ........ ........ ........ ........ 17% 7.39M 15s
 55296K ........ ........ ........ ........ ........ ........ 18% 12.9M 15s
 58368K ........ ........ ........ ........ ........ ........ 19% 21.6M 15s
 61440K ........ ........ ........ ........ ........ ........ 20% 24.7M 15s
 64512K ........ ........ ........ ........ ........ ........ 21% 6.46M 15s
 67584K ........ ........ ........ ........ ........ ........ 22% 16.3M 15s
 70656K ........ ........ ........ ........ ........ ........ 23% 12.3M 15s
 73728K ........ ........ ........ ........ ........ ........ 24% 6.85M 16s
 76800K ........ ........ ........ ........ ........ ........ 25% 8.91M 16s
 79872K ........ ........ ........ ........ ........ ........ 26% 7.92M 16s
 82944K ........ ........ ........ ........ ........ ........ 27% 11.3M 16s
 86016K ........ ........ ........ ........ ........ ........ 28% 17.1M 16s
 89088K ........ ........ ........ ........ ........ ........ 29% 22.9M 15s
 92160K ........ ........ ........ ........ ........ ........ 30% 21.3M 15s
 95232K ........ ........ ........ ........ ........ ........ 31% 20.3M 15s
 98304K ........ ........ ........ ........ ........ ........ 32% 21.2M 14s
101376K ........ ........ ........ ........ ........ ........ 33% 18.6M 14s
104448K ........ ........ ........ ........ ........ ........ 34% 13.4M 14s
107520K ........ ........ ........ ........ ........ ........ 35% 13.3M 14s
110592K ........ ........ ........ ........ ........ ........ 36% 15.9M 13s
113664K ........ ........ ........ ........ ........ ........ 37% 10.4M 13s
116736K ........ ........ ........ ........ ........ ........ 38% 16.5M 13s
119808K ........ ........ ........ ........ ........ ........ 39% 15.5M 13s
122880K ........ ........ ........ ........ ........ ........ 40% 8.26M 13s
125952K ........ ........ ........ ........ ........ ........ 41% 12.9M 13s
129024K ........ ........ ........ ........ ........ ........ 42% 11.8M 12s
132096K ........ ........ ........ ........ ........ ........ 43% 11.8M 12s
135168K ........ ........ ........ ........ ........ ........ 44% 11.3M 12s
138240K ........ ........ ........ ........ ........ ........ 45% 4.25M 13s
141312K ........ ........ ........ ........ ........ ........ 46% 7.12M 13s
144384K ........ ........ ........ ........ ........ ........ 47% 20.7M 12s
147456K ........ ........ ........ ........ ........ ........ 48% 24.6M 12s
150528K ........ ........ ........ ........ ........ ........ 49% 18.2M 12s
153600K ........ ........ ........ ........ ........ ........ 50% 29.5M 11s
156672K ........ ........ ........ ........ ........ ........ 51% 25.7M 11s
159744K ........ ........ ........ ........ ........ ........ 52% 37.0M 11s
162816K ........ ........ ........ ........ ........ ........ 53% 4.57M 11s
165888K ........ ........ ........ ........ ........ ........ 54% 14.1M 11s
168960K ........ ........ ........ ........ ........ ........ 55% 10.3M 10s
172032K ........ ........ ........ ........ ........ ........ 56% 18.7M 10s
175104K ........ ........ ........ ........ ........ ........ 57% 13.2M 10s
178176K ........ ........ ........ ........ ........ ........ 58% 14.6M 10s
181248K ........ ........ ........ ........ ........ ........ 59% 3.35M 10s
184320K ........ ........ ........ ........ ........ ........ 60% 7.35M 10s
187392K ........ ........ ........ ........ ........ ........ 61% 7.80M 10s
190464K ........ ........ ........ ........ ........ ........ 62% 16.8M 9s
193536K ........ ........ ........ ........ ........ ........ 63% 16.8M 9s
196608K ........ ........ ........ ........ ........ ........ 64% 3.05M 9s
199680K ........ ........ ........ ........ ........ ........ 64% 15.6M 9s
202752K ........ ........ ........ ........ ........ ........ 65% 9.32M 9s
205824K ........ ........ ........ ........ ........ ........ 66% 26.3M 8s
208896K ........ ........ ........ ........ ........ ........ 67% 9.81M 8s
211968K ........ ........ ........ ........ ........ ........ 68% 7.54M 8s
215040K ........ ........ ........ ........ ........ ........ 69% 3.27M 8s
218112K ........ ........ ........ ........ ........ ........ 70% 12.7M 8s
221184K ........ ........ ........ ........ ........ ........ 71% 7.22M 8s
224256K ........ ........ ........ ........ ........ ........ 72% 16.6M 7s
227328K ........ ........ ........ ........ ........ ........ 73% 25.3M 7s
230400K ........ ........ ........ ........ ........ ........ 74% 13.0M 7s
233472K ........ ........ ........ ........ ........ ........ 75% 19.9M 6s
236544K ........ ........ ........ ........ ........ ........ 76% 3.01M 6s
239616K ........ ........ ........ ........ ........ ........ 77% 32.0M 6s
242688K ........ ........ ........ ........ ........ ........ 78% 18.6M 6s
245760K ........ ........ ........ ........ ........ ........ 79% 11.3M 5s
248832K ........ ........ ........ ........ ........ ........ 80% 8.13M 5s
251904K ........ ........ ........ ........ ........ ........ 81% 15.2M 5s
254976K ........ ........ ........ ........ ........ ........ 82% 23.4M 5s
258048K ........ ........ ........ ........ ........ ........ 83% 4.29M 4s
261120K ........ ........ ........ ........ ........ ........ 84% 20.5M 4s
264192K ........ ........ ........ ........ ........ ........ 85% 25.0M 4s
267264K ........ ........ ........ ........ ........ ........ 86% 19.6M 4s
270336K ........ ........ ........ ........ ........ ........ 87% 26.0M 3s
273408K ........ ........ ........ ........ ........ ........ 88% 18.6M 3s
276480K ........ ........ ........ ........ ........ ........ 89% 76.3M 3s
279552K ........ ........ ........ ........ ........ ........ 90% 73.8M 2s
282624K ........ ........ ........ ........ ........ ........ 91% 49.6M 2s
285696K ........ ........ ........ ........ ........ ........ 92% 36.0M 2s
288768K ........ ........ ........ ........ ........ ........ 93% 74.3M 2s
291840K ........ ........ ........ ........ ........ ........ 94% 5.87M 1s
294912K ........ ........ ........ ........ ........ ........ 95% 57.3M 1s
297984K ........ ........ ........ ........ ........ ........ 96% 56.7M 1s
301056K ........ ........ ........ ........ ........ ........ 97% 61.8M 1s
304128K ........ ........ ........ ........ ........ ........ 98% 34.4M 0s
307200K ........ ........ ........ ........ ........ ........ 99% 30.1M 0s
310272K ........ ........ ........ .. 100% 16.6M=25s

2015-09-30 15:47:55 (12.3 MB/s) - written to stdout [319472215/319472215]

Ign http://archive.ubuntu.com trusty InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://archive.ubuntu.com trusty-security InRelease
Get:1 http://archive.ubuntu.com trusty Release.gpg [933 B]
Get:2 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Get:3 http://archive.ubuntu.com trusty-security Release.gpg [933 B]
Get:4 http://archive.ubuntu.com trusty Release [58.5 kB]
Get:5 http://archive.ubuntu.com trusty-updates Release [63.5 kB]
Get:6 http://archive.ubuntu.com trusty-security Release [63.5 kB]
Get:7 http://archive.ubuntu.com trusty/main amd64 Packages [1350 kB]
Get:8 http://archive.ubuntu.com trusty/restricted amd64 Packages [13.0 kB]
Get:9 http://archive.ubuntu.com trusty/universe amd64 Packages [5859 kB]
Get:10 http://archive.ubuntu.com trusty/multiverse amd64 Packages [132 kB]
Get:11 http://archive.ubuntu.com trusty/main Translation-en [762 kB]
Get:12 http://archive.ubuntu.com trusty/multiverse Translation-en [102 kB]
Get:13 http://archive.ubuntu.com trusty/restricted Translation-en [3457 B]
Get:14 http://archive.ubuntu.com trusty/universe Translation-en [4089 kB]
Get:15 http://archive.ubuntu.com trusty-updates/main amd64 Packages [626 kB]
Get:16 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.4 kB]
Get:17 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [320 kB]
Get:18 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [11.9 kB]
Get:19 http://archive.ubuntu.com trusty-updates/main Translation-en [304 kB]
Get:20 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [6148 B]
Get:21 http://archive.ubuntu.com trusty-updates/restricted Translation-en [3569 B]
Get:22 http://archive.ubuntu.com trusty-updates/universe Translation-en [168 kB]
Get:23 http://archive.ubuntu.com trusty-security/main amd64 Packages [350 kB]
Get:24 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [12.4 kB]
Get:25 http://archive.ubuntu.com trusty-security/universe amd64 Packages [117 kB]
Get:26 http://archive.ubuntu.com trusty-security/multiverse amd64 Packages [3691 B]
Get:27 http://archive.ubuntu.com trusty-security/main Translation-en [191 kB]
Get:28 http://archive.ubuntu.com trusty-security/multiverse Translation-en [1679 B]
Get:29 http://archive.ubuntu.com trusty-security/restricted Translation-en [3076 B]
Get:30 http://archive.ubuntu.com trusty-security/universe Translation-en [68.2 kB]
Fetched 14.7 MB in 9s (1499 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  linux-headers-3.13.0-65 linux-headers-3.13.0-65-generic
  linux-headers-generic linux-image-3.13.0-65-generic
  linux-image-extra-3.13.0-65-generic linux-image-generic
Suggested packages:
  fdutils linux-doc-3.13.0 linux-source-3.13.0 linux-tools
The following NEW packages will be installed:
  linux-headers-3.13.0-65 linux-headers-3.13.0-65-generic
  linux-image-3.13.0-65-generic linux-image-extra-3.13.0-65-generic
The following packages will be upgraded:
  linux-generic linux-headers-generic linux-image-generic
3 upgraded, 4 newly installed, 0 to remove and 46 not upgraded.
Need to get 61.6 MB of archives.
After this operation, 271 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com//ubuntu/ trusty-updates/main linux-image-3.13.0-65-generic amd64 3.13.0-65.105 [15.2 MB]
Get:2 http://archive.ubuntu.com//ubuntu/ trusty-updates/main linux-image-extra-3.13.0-65-generic amd64 3.13.0-65.105 [36.8 MB]
Get:3 http://archive.ubuntu.com//ubuntu/ trusty-updates/main linux-generic amd64 3.13.0.65.71 [1786 B]
Get:4 http://archive.ubuntu.com//ubuntu/ trusty-updates/main linux-image-generic amd64 3.13.0.65.71 [2392 B]
Get:5 http://archive.ubuntu.com//ubuntu/ trusty-updates/main linux-headers-3.13.0-65 all 3.13.0-65.105 [8873 kB]
Get:6 http://archive.ubuntu.com//ubuntu/ trusty-updates/main linux-headers-3.13.0-65-generic amd64 3.13.0-65.105 [704 kB]
Get:7 http://archive.ubuntu.com//ubuntu/ trusty-updates/main linux-headers-generic amd64 3.13.0.65.71 [2372 B]
Fetched 61.6 MB in 2s (24.1 MB/s)
Selecting previously unselected package linux-image-3.13.0-65-generic.
(Reading database ... 56174 files and directories currently installed.)
Preparing to unpack .../linux-image-3.13.0-65-generic_3.13.0-65.105_amd64.deb ...
Done.
Unpacking linux-image-3.13.0-65-generic (3.13.0-65.105) ...
Selecting previously unselected package linux-image-extra-3.13.0-65-generic.
Preparing to unpack .../linux-image-extra-3.13.0-65-generic_3.13.0-65.105_amd64.deb ...
Unpacking linux-image-extra-3.13.0-65-generic (3.13.0-65.105) ...
Preparing to unpack .../linux-generic_3.13.0.65.71_amd64.deb ...
Unpacking linux-generic (3.13.0.65.71) over (3.13.0.62.69) ...
Preparing to unpack .../linux-image-generic_3.13.0.65.71_amd64.deb ...
Unpacking linux-image-generic (3.13.0.65.71) over (3.13.0.62.69) ...
Selecting previously unselected package linux-headers-3.13.0-65.
Preparing to unpack .../linux-headers-3.13.0-65_3.13.0-65.105_all.deb ...
Unpacking linux-headers-3.13.0-65 (3.13.0-65.105) ...
Selecting previously unselected package linux-headers-3.13.0-65-generic.
Preparing to unpack .../linux-headers-3.13.0-65-generic_3.13.0-65.105_amd64.deb ...
Unpacking linux-headers-3.13.0-65-generic (3.13.0-65.105) ...
Preparing to unpack .../linux-headers-generic_3.13.0.65.71_amd64.deb ...
Unpacking linux-headers-generic (3.13.0.65.71) over (3.13.0.62.69) ...
Setting up linux-image-3.13.0-65-generic (3.13.0-65.105) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-65-generic
df: Warning: cannot read table of mounted file systems: No such file or directory
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-65-generic
Found kernel: /boot/vmlinuz-3.13.0-62-generic
Replacing config file /run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-65-generic
Found initrd image: /boot/initrd.img-3.13.0-65-generic
Found linux image: /boot/vmlinuz-3.13.0-62-generic
Found initrd image: /boot/initrd.img-3.13.0-62-generic
done
Setting up linux-image-extra-3.13.0-65-generic (3.13.0-65.105) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-65-generic
df: Warning: cannot read table of mounted file systems: No such file or directory
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-65-generic
Found kernel: /boot/vmlinuz-3.13.0-62-generic
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-65-generic
Found initrd image: /boot/initrd.img-3.13.0-65-generic
Found linux image: /boot/vmlinuz-3.13.0-62-generic
Found initrd image: /boot/initrd.img-3.13.0-62-generic
done
Setting up linux-image-generic (3.13.0.65.71) ...
Setting up linux-headers-3.13.0-65 (3.13.0-65.105) ...
Setting up linux-headers-3.13.0-65-generic (3.13.0-65.105) ...
Setting up linux-headers-generic (3.13.0.65.71) ...
Setting up linux-generic (3.13.0.65.71) ...
Leaving 'diversion of /etc/init/ureadahead.conf to /etc/init/ureadahead.conf.disabled by cloud-init'
Setting up swapspace version 1, size = 1548284 KiB
no label, UUID=13bff2df-66d1-4b26-b2a4-cbfbc2350bb9
Replacing config file /etc/default/grub with new version
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-65-generic
Found initrd image: /boot/initrd.img-3.13.0-65-generic
Found linux image: /boot/vmlinuz-3.13.0-62-generic
Found initrd image: /boot/initrd.img-3.13.0-62-generic
done
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-65-generic
Found initrd image: /boot/initrd.img-3.13.0-65-generic
Found linux image: /boot/vmlinuz-3.13.0-62-generic
Found initrd image: /boot/initrd.img-3.13.0-62-generic
done
Installing for i386-pc platform.
grub-install: error: unable to identify a filesystem in hostdisk//dev/vdb; safety check can't be performed.
failed to install grub!
Unexpected error while running command.
Command: ['install-grub', '/tmp/tmpwJHv00/target', '/dev/vdb']
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'curthooks']
Exit code: 3
Reason: -

Related branches

Andres Rodriguez (andreserl) wrote :

partitioning_commands:
  builtin: [curtin, block-meta, custom]
storage:
  config:
  - {id: vda, name: vda, path: /dev/vda, ptable: msdos, type: disk, wipe: superblock}
  - {grub_device: true, id: vdb, name: vdb, path: /dev/vdb, type: disk, wipe: superblock}
  - {device: vda, id: vda-part1, name: vda-part1, number: 1, offset: 2097152B, size: 17176723456B,
    type: partition, uuid: ca084ad5-12c9-49ce-97dd-522d7d5d3b16, wipe: superblock}
  - {fstype: ext4, id: vda-part1_format, label: root, type: format, uuid: fe749e7a-5ee9-42c1-8d0e-074a487d0ac3,
    volume: vda-part1}
  - {device: vda-part1_format, id: vda-part1_mount, path: /, type: mount}
  version: 1

Andres Rodriguez (andreserl) wrote :
Changed in maas:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Blake Rouse (blake-rouse)
milestone: none → 1.9.0
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
Ryan Harper (raharper) on 2016-04-06
Changed in curtin:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers