sown / tasks

Tasks for sown projects
0 stars 0 forks source link

VMS templates creating VMs on wrong storage location #47

Closed drn05r closed 4 years ago

drn05r commented 4 years ago

CoreOS, Ubuntu 16.04.5 and Ubuntu 18.04.1 templates all had there storage location set to default rather than disks. So a number of VMs have been created on the hosts main disk partition (default) rather than the one dedicated to guests (disks). This has led to the host system almost running out of disk space,

drn05r commented 4 years ago

All templates have been updated to use the 'disks' rather than the 'default' storage location according to the Wok web interface.

drn05r commented 4 years ago

@TimStallard has successfully copied the CoreOS VM to the appropriate location and updated the VM's metadata with virsh. He checked it boots and deleted the old image and interfaces.

TimStallard commented 4 years ago

To migrate:

TimStallard commented 4 years ago

All migrated, should probably keep old disk images for a week or so in case of any issues, then clear them out. May be worthwhile looking at dropping the libvirt "default" storage pool, and moving ISOs to the kimchi specific ISO one? Some VMs have ISOs attached in the old location, so would need to update config for that as well, or remove the ISOs from the VMs.

TimStallard commented 4 years ago

ISOs all removed from guests and moved to the Kimchi ISO storage pool now, and have deactivated the default pool. Just need to clean up VM disks soon now.

TimStallard commented 4 years ago

I've just removed all the old VM disks.