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
Comments
Submitted by JamieCameron on Sat, 08/27/2016 - 11:11 Comment #2
That's an interesting error! If you check with the standard Xen tools like XenCenter, did the new disk actually get created?
I monitored xencenter when I was creating a VM, it creates the Storage disk for 5 seconds, then it disappears. Resulting in the error .
Submitted by JamieCameron on Sat, 08/27/2016 - 18:29 Comment #4
Ok, I see the issue - the error
Error informing the kernel about modifications to partition
from thefdisk
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.
Submitted by JamieCameron on Sat, 08/27/2016 - 18:29 Comment #5
Great, when will this be released? As I cannot create any VMs automatically
Submitted by JamieCameron on Sun, 08/28/2016 - 11:00 Comment #7
Hopefully this week, but if you'd like a pre-release version with the fix right now, please let us know.
Pre-release would great
Submitted by JamieCameron on Mon, 08/29/2016 - 00:08 Comment #9
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.
Has the new version been released yet?