config resizefs fails

Bug #726938 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: cloud-init

booting under kvm, I get the following:
2011-03-01 02:35:57,308 - cc_resizefs.py[WARNING]: Failed to get filesystem type via ['blkid', '-c', '/dev/null', '-sTYPE', '-ovalue', '/dev/root']
2011-03-01 02:35:57,319 - __init__.py[WARNING]: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cloudinit/CloudConfig/__init__.py", line 108, in run_cc_modules
    cc.handle(name, run_args, freq=freq)
  File "/usr/lib/python2.7/dist-packages/cloudinit/CloudConfig/__init__.py", line 72, in handle
    [ name, self.cfg, self.cloud, cloudinit.log, args ])
  File "/usr/lib/python2.7/dist-packages/cloudinit/__init__.py", line 307, in sem_and_run
    func(*args)
  File "/usr/lib/python2.7/dist-packages/cloudinit/CloudConfig/cc_resizefs.py", line 36, in handle
    (fstype,err) = util.subp(cmd)
  File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line 150, in subp
    raise subprocess.CalledProcessError(sp.returncode,args)
CalledProcessError: Command '['blkid', '-c', '/dev/null', '-sTYPE', '-ovalue', '/dev/root']' returned non-zero exit status 2

2011-03-01 02:35:57,320 - __init__.py[ERROR]: config handling of resizefs, None, [] failed

This was booted under kvm from the ovf image with command line changed in grub.
$ kvm -drive file=disk.img,if=virtio,boot=on -curses -serial file:out.console
# then modifying grub with:
/boot/vmlinuz-2.6.38-5-virtual root=LABEL=uec-rootfs ro console=ttyS0 ds=nocloud cc: password: passw0rd

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: cloud-init 0.6.1-0ubuntu1
ProcVersionSignature: User Name 2.6.38-5.32-virtual 2.6.38-rc6
Uname: Linux 2.6.38-5-virtual i686
Architecture: i386
Date: Tue Mar 1 02:18:43 2011
Ec2AMI: ami-4a669523
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-east-1c
Ec2InstanceType: t1.micro
Ec2Kernel: aki-407d9529
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cloud-init

Related branches

Revision history for this message
Scott Moser (smoser) wrote :
Scott Moser (smoser)
Changed in cloud-init (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
tags: added: server-nrs
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 0.6.1-0ubuntu4

---------------
cloud-init (0.6.1-0ubuntu4) natty; urgency=low

  * catch up to trunk cloud-init (rev 389).
  * fix bug in part-handler code, that broke part handlers (LP: #739694)
  * fix sporadic resizefs failure (LP: #726938)
 -- Scott Moser <email address hidden> Mon, 21 Mar 2011 22:06:59 -0400

Changed in cloud-init (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.