I'm not sure if it's my setup or because of a recent change in libvirt
or lxc but I'm still having the resize error on a lxc container:
2012-02-25 21:46:53,755 - __init__.py[DEBUG]: handling resizefs with freq=None
and args=[]
2012-02-25 21:46:53,764 - cc_resizefs.py[WARNING]: Failed to make device node
to resize /
2012-02-25 21:46:53,772 - __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 313, in
sem_and_run
func(*args)
File "/usr/lib/python2.7/dist-packages/cloudinit/CloudConfig/cc_resizefs.py",
line 46, in handle
os.mknod(devpth, 0400 | stat.S_IFBLK, dev)
OSError: [Errno 1] Operation not permitted
This is what I got from /proc/1/cgroup instead of /
root@server-50:~# cat /proc/1/cgroup
1:blkio,freezer,devices,memory,cpuacct,cpu:/libvirt/lxc/instance-00000032
In the virtual server:
ii cloud-init 0.6.3~bzr502-0ubuntu1
In the openstack compute server:
ii libvirt-bin 0.9.8-2ubuntu10
ii lxc 0.7.5-3ubuntu30
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/cloud-init/+bug/800856/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs