Not a dupe of bug 906722, but it seems very similar.
Occasionally on openstack clouds, we're seeing the root partition not being/grown on first-boot as it should be.
This was reported, and I have observed it on precise alpha-2 and will attach console logs. It happens sporadically.
The output of the relevant section of initramfs in the failed case looks like this:
| Begin: Running /scripts/init-premount ... done. | Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. | Begin: Running /scripts/local-premount ... done. | [ 0.940836] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null) | Begin: Running /scripts/local-bottom ... [ 0.955771] FDC 0 is a S82078B | [ 1.012874] vda: vda1 | GROWROOT: WARNING: resize failed: FAILED: failed to resize | ***** WARNING: Resize failed, attempting to revert ****** | Re-reading the partition table ... | BLKRRPART: Device or resource busy | The command to re-read the partition table failed. | Run partprobe(8), kpartx(8) or reboot your system now, | before using mkfs | ***** Appears to have gone OK **** | [ 1.114017] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null) | done. | done. | Begin: Running /scripts/init-bottom ... done.
In the successful case, it looks like this:
| Begin: Running /scripts/init-premount ... done. | Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. | Begin: Running /scripts/local-premount ... done. | [ 1.035664] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null) | Begin: Running /scripts/local-bottom ... [ 1.052365] FDC 0 is a S82078B | [ 1.094201] vda: vda1 | [ 1.135831] vda: vda1 | GROWROOT: CHANGED: partition=1 start=16065 old: size=4176900 end=4192965 new: size=20948760,end=20964825 | [ 1.164067] Refined TSC clocksource calibration: 2532.595 MHz. | [ 1.202383] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null) | done. | done. | Begin: Running /scripts/init-bottom ... done.
The code that is running here is growroot/scripts/local-bottom/growroot [1]
-- [1] http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/cloud-initramfs-tools/precise/view/head:/growroot/scripts/local-bottom/growroot
Not a dupe of bug 906722, but it seems very similar.
Occasionally on openstack clouds, we're seeing the root partition not being/grown on first-boot as it should be.
This was reported, and I have observed it on precise alpha-2 and will attach console logs. It happens sporadically.
The output of the relevant section of initramfs in the failed case looks like this:
| Begin: Running /scripts/ init-premount ... done. local-premount ... done. local-bottom ... [ 0.955771] FDC 0 is a S82078B init-bottom ... done.
| Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
| Begin: Running /scripts/
| [ 0.940836] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
| Begin: Running /scripts/
| [ 1.012874] vda: vda1
| GROWROOT: WARNING: resize failed: FAILED: failed to resize
| ***** WARNING: Resize failed, attempting to revert ******
| Re-reading the partition table ...
| BLKRRPART: Device or resource busy
| The command to re-read the partition table failed.
| Run partprobe(8), kpartx(8) or reboot your system now,
| before using mkfs
| ***** Appears to have gone OK ****
| [ 1.114017] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
| done.
| done.
| Begin: Running /scripts/
In the successful case, it looks like this:
| Begin: Running /scripts/ init-premount ... done. local-premount ... done. local-bottom ... [ 1.052365] FDC 0 is a S82078B end=20964825 init-bottom ... done.
| Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
| Begin: Running /scripts/
| [ 1.035664] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
| Begin: Running /scripts/
| [ 1.094201] vda: vda1
| [ 1.135831] vda: vda1
| GROWROOT: CHANGED: partition=1 start=16065 old: size=4176900 end=4192965 new: size=20948760,
| [ 1.164067] Refined TSC clocksource calibration: 2532.595 MHz.
| [ 1.202383] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
| done.
| done.
| Begin: Running /scripts/
The code that is running here is growroot/ scripts/ local-bottom/ growroot [1]
-- bazaar. launchpad. net/~ubuntu- branches/ ubuntu/ precise/ cloud-initramfs -tools/ precise/ view/head: /growroot/ scripts/ local-bottom/ growroot
[1] http://