All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Can't create KVM VPS on SolusVM
Hello.
I've been trying to setup a personal node and installed SolusVM with KVM virtualization however when I try to create a KVM VPS I get the following error:
2015-08-11 22:21:05.195+0000: 2130: error : virStorageFileGetMetadataRecurse:952 : Failed to open file '/dev/sda5/kvm101_img': Not a directory
2015-08-11 22:21:05.196+0000: 2130: error : qemuRemoveCgroup:785 : internal error Unable to find cgroup for kvm101
2015-08-11 22:21:05.196+0000: 2130: warning : qemuProcessStop:4613 : Failed to remove cgroup for kvm101
The partition exists fine:
[root@vpsserver dev]# fdisk -l
Disk /dev/sda: 2000.4 GB, 2000365379584 bytes
255 heads, 63 sectors/track, 243197 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ad0e7
Device Boot Start End Blocks Id System
/dev/sda1 * 1 66 524288 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 66 13120 104857600 83 Linux
/dev/sda3 13120 16253 25165824 82 Linux swap / Solaris
/dev/sda4 16253 243198 1822933080 5 Extended
/dev/sda5 16253 243198 1822931968 8e Linux LVM
[root@vpsserver dev]#
Do you have any pointers what I should be checking next to resolve the issue?
Comments
What's the output of
vgdisplay
Here is the output of vgdisplay:
[root@vpsserver dev]# vgdisplay
--- Volume group ---
VG Name vg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 1.70 TiB
PE Size 32.00 MiB
Total PE 55631
Alloc PE / Size 0 / 0
Free PE / Size 55631 / 1.70 TiB
VG UUID WSW3md-E0GM-vcGG-OZnc-pMh2-8cDy-kaXzTx
[root@vpsserver dev]#
There is no volume group for Solus to create logical volumes in. I'm not sure, but in the solus admin cp you may be able to set the node to use the VG of vg but I would re-format and setup a logical volume group for Solus / KVM itself to use.
If you have a LVM partition made then you just need to create a volume group and fill in that volume groups name you make in the node settings on solusvm admin
I've never had great success with modifying sizing of the VGs and imo its just easier if no VMs are created to re-format (plus it will show you what to do next time)
@VPSSoldiers
I've resized before but yes, I agree. Go for a re format and see how to do it the right way this time. Re sizing can get confusing too depending on experience
All resolved, it was a error on my part. I just had to specify the LV group value as 'vg' instead of 'sda5' which I specified before.
Glad you got it resolved
What @SSDBlaze said :P