Failed to create root disk

OS: Ubuntu 16.04.1

Issue: When trying to create a VM with Citrix XenServer (version 7), error "Failed to create root disk". The VM is created on the XenServer but with no HDD attached. I can create VMs manually using xencenter.

Output: Creating virtual system with Citrix Xen .. .. creation failed : Failed to create root disk : Failed to create partition : Error: Error informing the kernel about modifications to partition /dev/sm/backend/b958d5ab-470b-5519-39e8-6f37b464e2c0/cef74117-a7 -- Invalid argument. This means Linux won't know about any changes you made to /dev/sm/backend/b958d5ab-470b-5519-39e8-6f37b464e2c0/cef74117-a7 until you reboot -- so you shouldn't mount it or use it in any way before rebooting. Error: Failed to add partition 1 (Invalid argument)

Thanks, Kyle

Status: 
Closed (fixed)

Comments

kdhosting's picture
Submitted by kdhosting on Fri, 08/26/2016 - 14:52

Assigned: » Unassigned

That's an interesting error! If you check with the standard Xen tools like XenCenter, did the new disk actually get created?

kdhosting's picture
Submitted by kdhosting on Sat, 08/27/2016 - 15:35

I monitored xencenter when I was creating a VM, it creates the Storage disk for 5 seconds, then it disappears. Resulting in the error .

Ok, I see the issue - the error Error informing the kernel about modifications to partition from the fdisk command should be ignored by Cloudmin, but due to a change in the format of the message it isn't being.

This will be fixed in the next Cloudmin release.

Status: Active » Fixed
kdhosting's picture
Submitted by kdhosting on Sun, 08/28/2016 - 10:01

Great, when will this be released? As I cannot create any VMs automatically

Hopefully this week, but if you'd like a pre-release version with the fix right now, please let us know.

kdhosting's picture
Submitted by kdhosting on Sun, 08/28/2016 - 13:14

Pre-release would great

Actually, it's going to be released in only a few days, so you'd probably be better off waiting a bit to ensure that you get the fully tested release.

kdhosting's picture
Submitted by kdhosting on Fri, 09/02/2016 - 10:15

Has the new version been released yet?