Create VM with ISO in XO-Lite
-
I know XO-Lite is still very much in its infancy stage. But, it would be nice to at least create a VM on a XCP-ng Host straight away after XCP install at least. My goal is to create an Ubuntu VM to install XO from sources (please don't suggest XOA
)..to continue my testing/documentation from. But, when I go to create a VM in XO-Lite and select ISO, the only iso showing are the guest-tools.iso. Can I upload an Ubuntu ISO to that XCP-ng Tools ISO directory? If so, where is this directory in XCP-ng Linux directory structure?
I did attempt to create my own ISO directory via Olivier's blog post from a few yrs ago, but it appears that doesn't show up in the drop-down in XO-Lite. Now, I could create my XO VM 'elsewhere', export it as ova, then import onto my XCP-ng Host...but why on earth does it have to be such a layered process....just to create a VM?
Thanks in advance for the assist! -
@MathieuRA - I think I'm good now. And, I think I know what I did incorrectly. I performed the process as I stated, but I think my xe cmd to create my custom ISO SR wasn't completely correct. I think I copied/pasted the cmd in Oliver's post. But, the directory I created on my host was named "iso_store", not "ISO_Store" as is shown in Olivier's post. So, I ran the cmds to 'unplug' then 'forget' the SR I created, then recreated it and I can now see the Ubuntu ISO I uploaded. I think I'm good now. I'll revert this post to a question and we can close this out. Thanks for the assist!
-
Hi,
- No you can't. You need to create an ISO SR first.
- If you have a ISO SR correctly setup, it should be displayed on VM installation
-
@olivierlambert Hi Olivier. Yep..ok...thought I couldn't import to that directory.
So, as mentioned..I did create a custom ISO SR, but it doesn't show. Maybe I need to reboot the Host first?
-
That sounds more like a bug in XO Lite than a "feature". The ISO selector should list all available ISO. Let me ping some people internally.
-
@olivierlambert Ok great. Thank you! Let me know if you need anything further on my end Olivier (logs, etc)...happy to assist!
-
I can reproduce internally, so I think we are good for a bug report
-
@olivierlambert Ok. Will await your findings...
-
I reported internally, now it's on them
-
Hello @coolsport00
I'm unable to reproduce the issue on my side.
Can you confirm that the issue persists on the latest version of XO-Lite? (v0.14.0)Have you imported any ISOs into your SR ISO?
-
@MathieuRA There has been a newer version of XCP-ng I think since this version of it I downloaded in Feb. I purposefully installed this version to go through the Rolling Update process in XO, when I can get an XO VM built
I did download XCP again a couple days ago...so have the newest one. How can I verify the version of XO-Lite? Where is the build/version number listed?
Thanks. -
Actually...I found it (not too intuitive imo
). Yes..appears I'm on v0.14:
-
And, I used Olivier's blog to create my local SR.
https://xcp-ng.org/blog/2022/05/05/how-to-create-a-local-iso-repository-in-xcp-ngOnly 2 cmds - 1. create a dir; 2. run the xe cmd. I then used scp to upload my Ubuntu ISO to the directory I created. So all "seems" like it's ready & good to go, but again..I don't see my newly created custom local ISO SR
-
@MathieuRA - I think I'm good now. And, I think I know what I did incorrectly. I performed the process as I stated, but I think my xe cmd to create my custom ISO SR wasn't completely correct. I think I copied/pasted the cmd in Oliver's post. But, the directory I created on my host was named "iso_store", not "ISO_Store" as is shown in Olivier's post. So, I ran the cmds to 'unplug' then 'forget' the SR I created, then recreated it and I can now see the Ubuntu ISO I uploaded. I think I'm good now. I'll revert this post to a question and we can close this out. Thanks for the assist!
-
-
-
Excellent
Now you can create your VMs!
-
Late to the party... Several months ago when I rebuilt my lab, I did everything from XO-lite and the only issue I had back then was that UEFI was not allowed for a VM through the XO-lite interface. It errored out every time. Otherwise I had no issues creating a VM SR on NFS and an ISO SR on SMB all from the web gui in XO-lite or from the host console. I then created a Debian VM in BIOS boot and installed XO sources on it to bring the system all the way up. Pretty sure it was a combination of the XO-lite and host console that got the storage set up, I'd need to go back and look at my notes.
I took multiple screen shots and intended to write up my procedure, by the time I get back to this, things will have changed and XO-lite will have gained new features. I guess when I get back to this I'll have to nuke my lab again and start from fresh installs.
[edit] you can get the host console through the XO-lite interface, so once the OS is installed and networking is created, you are done with IPMI or local keyboard/mouse/video.
-
@Greg_E hahaha..funny Greg. I just created a new post/question on the very thing you stated -> am unable to get my UEFI-based VM to boot to ISO. So, I guess I'll have to change it to BIOS-based and create it. Hopefully I can change it back to UEFI after creation and it be all good.
I am going through multiple avenues of testing, beit xcp-ng, XO-Lite, and XO...and am working on many posts for the Veeam Community (you can check out the site if you like at: community.veeam.com ). So will be going through as much as I can to help the virtualization community as a whole transition away from VMware if they want to...and feel XCP is the way to go for them.
@olivierlambert yes sir..am good to go. Sorry for my mis-typing and taking time of your support folks due to my misstep
But really appreciate the assist!
-
No worries, it happens, glad to see it works as it should
-
Create that first VM as either XOA from the button provided or Linux with XO from sources in BIOS, then log into the full XO and you can set everything else up as UEFI. I think that is the proper workflow until XO 6 and XO-lite hit full feature release. Once we get to full release, I think you'll be able to do everything needed to get up and running on XO-lite, it's come a long way and looks like it will be a nice set up and emergency control point, or maybe a substitute for most of the XO functions.
-
@Greg_E XO-Lite is pretty slick I must say. Would like it to be a bit...mmm....more navigation friendly maybe? Same with XO. But, I like it. Just needs more functions of course
-
Also, I have a post somewhere about the UEFI not working from XO-lite, maybe they can be merged?