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
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=[] py[WARNING] : Failed to make device node to resize / _.py[WARNING] : Traceback (most recent call last): python2. 7/dist- packages/ cloudinit/ CloudConfig/ __init_ _.py", line 108, in run_cc_modules python2. 7/dist- packages/ cloudinit/ CloudConfig/ __init_ _.py", line 72, in handle python2. 7/dist- packages/ cloudinit/ __init_ _.py", line 313, in sem_and_run python2. 7/dist- packages/ cloudinit/ CloudConfig/ cc_resizefs. py", line 46, in handle mknod(devpth, 0400 | stat.S_IFBLK, dev)
2012-02-25 21:46:53,764 - cc_resizefs.
2012-02-25 21:46:53,772 - __init_
File "/usr/lib/
cc.handle(name, run_args, freq=freq)
File "/usr/lib/
[ name, self.cfg, self.cloud, cloudinit.log, args ])
File "/usr/lib/
func(*args)
File "/usr/lib/
os.
OSError: [Errno 1] Operation not permitted
This is what I got from /proc/1/cgroup instead of /
root@server-50:~# cat /proc/1/cgroup freezer, devices, memory, cpuacct, cpu:/libvirt/ lxc/instance- 00000032
1:blkio,
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