Comment 3 for bug 1394179

Revision history for this message
Kashyap Chamarthy (kashyapc) wrote :

Output of 'vgs':
--------
$ sudo vgs
  VG #PV #LV #SN Attr VSize VFree
  fedora_ip-192-169-142-68 1 2 0 wz--n- 39.51g 40.00m
--------

From this contextual log for volume group creation in DevStack, it says Volume group successfully created:
--------
.
.
.
2014-11-19 09:46:38.728 | + _create_cinder_volume_group stack-volumes-lvmdriver-1 /home/kashyapc/src/cloud/data/stack-volumes-lvmdriver-1-backing-file
2014-11-19 09:46:38.729 | + local vg_name=stack-volumes-lvmdriver-1
2014-11-19 09:46:38.729 | + local backing_file=/home/kashyapc/src/cloud/data/stack-volumes-lvmdriver-1-backing-file
2014-11-19 09:46:38.729 | + sudo vgs stack-volumes-lvmdriver-1
2014-11-19 09:46:38.820 | Volume group "stack-volumes-lvmdriver-1" not found
2014-11-19 09:46:38.820 | Skipping volume group stack-volumes-lvmdriver-1
2014-11-19 09:46:38.852 | + '[' -z '' ']'
2014-11-19 09:46:38.853 | + [[ -f /home/kashyapc/src/cloud/data/stack-volumes-lvmdriver-1-backing-file ]]
2014-11-19 09:46:38.853 | + truncate -s 24G /home/kashyapc/src/cloud/data/stack-volumes-lvmdriver-1-backing-file
2014-11-19 09:46:38.872 | ++ sudo losetup -f --show /home/kashyapc/src/cloud/data/stack-volumes-lvmdriver-1-backing-file
2014-11-19 09:46:38.956 | + local vg_dev=/dev/loop0
2014-11-19 09:46:38.957 | + sudo vgs stack-volumes-lvmdriver-1
2014-11-19 09:46:39.037 | Volume group "stack-volumes-lvmdriver-1" not found
2014-11-19 09:46:39.037 | Skipping volume group stack-volumes-lvmdriver-1
2014-11-19 09:46:39.069 | + sudo vgcreate stack-volumes-lvmdriver-1 /dev/loop0
2014-11-19 09:46:39.201 | Physical volume "/dev/loop0" successfully created
2014-11-19 09:46:39.235 | Volume group "stack-volumes-lvmdriver-1" successfully created
.
.
.
--------

It's a VM, I see there's enough space for a 'tiny' flavoured Nova instance:

    $ nova boot --image cirros-0.3.1-x86_64-disk --flavor m1.tiny cirrvm5

Isn't this space sufficient for a tiny guest?

$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/fedora_ip--192--169--142--68-root ext4 35G 3.5G 30G 11% /
devtmpfs devtmpfs 3.8G 0 3.8G 0% /dev
tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs tmpfs 3.9G 356K 3.9G 1% /run
tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs tmpfs 3.9G 8.0K 3.9G 1% /tmp
/dev/vda1 ext4 477M 94M 354M 21% /boot
tmpfs tmpfs 780M 0 780M 0% /run/user/0

(I had successful DevStack runs on this very same virtual machine previously.)