[Bug 800856] [NEW] resizefs module causes problems on LXC containers

Clint Byrum clint at fewbar.com
Wed Jun 22 19:14:11 UTC 2011


Public bug reported:

$ sudo lxc-start -n natty-im
cloud-init start-local running: Wed, 22 Jun 2011 19:05:58 +0000. up 335311.61 seconds
no instance data found in start-local
init: cloud-init-local main process (25) terminated with status 1
init: cloud-init-nonet main process (26) killed by TERM signal
cloud-init start running: Wed, 22 Jun 2011 19:06:01 +0000. up 335314.42 seconds
found data source: DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net]
2011-06-22 19:06:01,362 - cc_resizefs.py[WARNING]: Failed to make device node to resize /
2011-06-22 19:06:01,362 - __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 43, in handle
    os.mknod(devpth, 0400 | stat.S_IFBLK, dev)
OSError: [Errno 1] Operation not permitted

2011-06-22 19:06:01,362 - __init__.py[ERROR]: config handling of
resizefs, None, [] failed

init: cloud-init main process (91) terminated with status 1
mountall: Event failed
init: ureadahead-other main process (104) terminated with status 4

This error shoudl be handled more gracefully since it will happen every
time on LXC containers

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/800856

Title:
  resizefs module causes problems on LXC containers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/800856/+subscriptions



More information about the Ubuntu-server-bugs mailing list