root-disk too small when using LXC as hypervisor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-compute (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Inside the newly launched instance (a container):
root@juju-
Filesystem Size Used Avail Use% Mounted on
/dev/nbd2 1.4G 911M 358M 72% /
tmpfs 64K 0 64K 0% /sys/fs/cgroup
devfs 64K 4.0K 60K 7% /dev
none 1.6G 100K 1.6G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 7.9G 0 7.9G 0% /run/shm
none 100M 0 100M 0% /run/user
The "disk" file on the outside that qemu-nbd is pointing at:
10550 ? Ssl 0:05 /usr/bin/qemu-nbd -c /dev/nbd2 /var/lib/
root@flexible:
0 console.log
250M disk
4.0K disk.info
4.0K libvirt.xml
4.0K rootfs
root@flexible:
image: disk
file format: qcow2
virtual size: 20G (21474836480 bytes)
disk size: 258M
cluster_size: 65536
backing file: /var/lib/
Format specific information:
compat: 1.1
lazy refcounts: false
root@flexible:
The image this container was launched with came from this tarball:
https:/
The image, when uploaded to glance, had a rootfs size constraint of 10G applied, so juju picked the right image.
I'm guessing a partition/fs resize that happens normally with kvm images doesn't work when using lxc, or is not applied.
tags: | added: cloud-installer landscape |
Status changed to 'Confirmed' because the bug affects multiple users.