-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upload ISO to a NFS ISO share in XO #288
Comments
Yes, but keep in mind in that case you need some kind of user quote. There is risk of filling up all ISO SR. |
This will be done first for an admin only, then with permissions and finally with quotas. |
@olivierlambert What's the priority for this? |
Long term. So far from being urgent. |
Be able to make XO download an iso by giving it a FTP, HTTP or HTTP link could be great to! Use case: I am over an ADSL and I want to add an DVD ISO on a remote XO. I'd like to be able to give it a link ( example ) and be happy! |
For your use case, netinstall URL seems appropriated (in PV, for HVM you can use PXE boot). Streaming a CD drive device is not possible easily (I had a discussion about this with XAPI devs few month ago). |
It was an example of a link... Next time I can give an example with MultiDeskOS.
It's not what I'm talking about. Instead of downloading an ISO locally then upload it to XO, it may be usefull to ask XO do download it directly by giving him the link. |
My point is we can't write directly on a ISO SR, it's mounted in read only on XenServer. So, anyway, XOA will need to download it itself, and store it somewhere (where?) Anyway, that seems "risky" in terms of feature (I mean time to develop it against potential issues encountered). Ideally, streaming the ISO would be the ideal solution, but it's far from being possible without a lot of pain. |
I understood you point. What I said was: if you manage to code something to allow the upload of an ISO from the XO interface, it could be a good idea to allow people to give a link instead of uploading a file. And I gave a use case of someone wanting to add a Debian ISO on a SR. The stream idea is, IMHO, sexy on paper but risky and complicated. |
Yes sure I got your point. But anyway, before going there, there is still the complicated question on the place to store this ISO. Thus, PXE or netinstall in PV seems more appropriated at the moment |
It would be great if we didn't even have to download locally and then upload to the XenServer but rather on the LocalISO pool we could have a modal we can open, paste the url for the ISO, hit a download button and see a progress bar of the ISO downloading directly onto the XenServer from the vendor site. In this was we do not have to download the ISO onto our primary machine then Upload / SCP the ISO onto the XenServer. |
This is how I setup my ISO store |
That's not the issue here. XAPI doesn't support adding an ISO directly (it's not like a "normal" storage repository, it's a specific "iso" type). So until we found a simple way to do that, user workflow like upload/pasting ISO URL whatever is not even possible. edit: @reecefowell don't forget that your way of creating an ISO store is not the advised way. I mean, that's okay for a home install or isolated host, but in general Citrix prefer that you use a NFS or SMB share for that. This share can be connected from multiple pools, it doesn't matter (because it's in read only, thus the problem for us too) |
Maybe look at it another way : Allowing xo to mount à smb ou NFS shared directory without anything linked to the XAPI, and a limited file manager allowing to upload, etc, the files. It may offer many possibility:
The purpose of xo is not to be an online file manager, but this idea may be interesting. It would open a lot of futur possibility. |
I don't see the connection with this current issue. Can you be more explicit? Because, let's imagine we got a way to manage a remote ISO folder. Great, and now, what's next? How to share those ISO to XenServer for VM install? Also, you are talking (in other words) about our existing "remote" system (the thing causing us 80% of our support request due to user misconfiguration of their NFS/SMB share). I get your point for:
If the idea is to manage a NFS/SMB share in read/write, the same used to manage files as a ISO repo in XAPI, it's not really a big step forward IMHO. You still need to configure it yourself (or to have a extra machine to behave as a NFS/SMB share). Most of our users just want to avoid discovering the horrible way to add ISOs and to create a share themselves. The real value would be in a "plug and play" solution, and so far, the least crappy idea I heard (and it's not mine for the record) is to expose XOA itself via NFS and connect it automagically (at least try) to XS hosts and having an ISO manager right there. That's only possible because we could know our current IP and try to add our own appliance to every pool connected to XOA. I like the idea because it's really "plug and play", something like:
The big downside is the space available on XOA itself... (and plausible configuration issues in client infrastructure). Or we need to go further, with a storage appliance with enough intelligence to answer to XOA and help with backup/ISO management/XOA backup workflow. Anyway, that kind of dedicated appliance will exists some day, to cope with the remote site backup issue, see #1201 (comment) I'm open for any alternative that are in priority:
3 of them seems impossible, but I'm sure we can find something with 2 points and a bit of the third. |
Idea added into the wiki |
Because we know everything about an existing NFS ISO share in XAPI (server address and NFS path), we should be able to mount it in XOA to allow user to upload the ISO file directly in it.
After the upload is complete, we need to make a SR.scan to tell the SR to refresh.
The text was updated successfully, but these errors were encountered: